Skip to main content

Groundlight Python SDK

Groundlight makes it simple to build reliable visual applications. Read the full documentation here.

Computer Vision powered by Natural Language

pip install groundlight

Build a working computer vision system in just a few lines of python:

from groundlight import Groundlight

gl = Groundlight()
det = gl.get_or_create_detector(name="doorway", query="Is the doorway open?")
img = "./docs/static/img/doorway.jpg"  # Image can be a file or a Python object
image_query = gl.submit_image_query(detector=det, image=img)
print(f"The answer is {image_query.result}")

How does it work?

Your images are first analyzed by machine learning (ML) models which are automatically trained on your data. If those models have high enough confidence, that's your answer. But if the models are unsure, then the images are progressively escalated to more resource-intensive analysis methods up to real-time human review. So what you get is a computer vision system that starts working right away without even needing to first gather and label a dataset. At first it will operate with high latency, because people need to review the image queries. But over time, the ML systems will learn and improve so queries come back faster with higher confidence.

Learn more

Some more resources you might like:

Download files

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

Source Distribution

groundlight-0.32.0.tar.gz (135.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

groundlight-0.32.0-py3-none-any.whl (405.3 kB view details)

Uploaded Python 3

File details

Details for the file groundlight-0.32.0.tar.gz.

File metadata

  • Download URL: groundlight-0.32.0.tar.gz
  • Upload date:
  • Size: 135.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.15 Linux/6.17.0-1020-azure

File hashes

Hashes for groundlight-0.32.0.tar.gz
Algorithm Hash digest
SHA256 d07e382aeaa44ad5325f6d7102b25635ef80bc6c20f043cbca72f8c7b79ef26e
MD5 b136a341cb7c2a96642f5e290333667c
BLAKE2b-256 1f1d7a07dfe03e9e237302b7e48a3fd31ddc582a8a6c58bd7e1d1789d05a9fa4

See more details on using hashes here.

File details

Details for the file groundlight-0.32.0-py3-none-any.whl.

File metadata

  • Download URL: groundlight-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 405.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.15 Linux/6.17.0-1020-azure

File hashes

Hashes for groundlight-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1d7c9ea5f2e3f5fe9d772ea36c7e7f74f0958a053cd89c4a1fe46cfee29b3df
MD5 53564c4f882f044c78b84d588afc7d64
BLAKE2b-256 1266eb0c0d186fdae579afc98d0acbb1c34199d0245291c7be70cedd32a70893

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page