Skip to main content

Helper library for interacting with Landing AI LandingLens

Project description

LandingLens code sample repository

This repository contains LandingLens development library and running examples showing how to integrate LandingLens on a variety of scenarios.

example description language
Door monitoring for home automation This notebook uses an object detection model to determine whether a door is open or closed. the notebook can acquire images directly from an RTSP camera Jupyter Notebook Colab
Cosmic ray detector This application shows how to do continuous acquisition from an image sensor using RTSP. Images are analyzed using a segmentation model to detect cosmic rays Python application

Install the library

pip install landingai

Running examples locally

All the examples in this repo can be run locally.

Here is an example to show you how to run the rtsp-capture example locally in a shell environment:

NOTE: it's recommended to create a new Python virtual environment first.

  1. Clone the repo to local: git clone https://github.com/landing-ai/landingai-python-v1.git
  2. Install the library: pip install landingai
  3. Run: landingai-python-v1/examples/rtsp-capture/run.py

Install the LandingLens library locally

Most of the time you won't need to build the library since it is included on this repository and also published to pypi.

But if you want to contribute to the repo, you can follow the below steps:

Install poetry

See more from the official doc.

For Linux, macOS, Windows (WSL):

curl -sSL https://install.python-poetry.org | python3 -

NOTE: you can switch to use a different Python version by specifying the python version:

curl -sSL https://install.python-poetry.org | python3.10 -

or run below command after you have installed poetry:

poetry env use 3.10

Install all the dependencies

poetry install --with test

Run tests

poetry run pytest tests/

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

landingai-0.0.2-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page