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.31.0.tar.gz (134.7 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.31.0-py3-none-any.whl (405.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: groundlight-0.31.0.tar.gz
  • Upload date:
  • Size: 134.7 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.31.0.tar.gz
Algorithm Hash digest
SHA256 2fda30bdd993efb007ae46d8611342ba7168d8cea6d9968d7e8cfd4a6490f97b
MD5 bd860265e716cc46eea202b4954d46e6
BLAKE2b-256 a4b02aec7e927073bfed746852c1cd3a523f6f76f5b0d1a42b851fad6d65fe16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: groundlight-0.31.0-py3-none-any.whl
  • Upload date:
  • Size: 405.1 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.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dae5848356858c25e03d4bad529e2a84664ea17ffd2d60dbc1bba27ef1c980c4
MD5 cb4ab1d1191ba02b5fe8858cc37d407a
BLAKE2b-256 cf9a558aed43a521630ad2c349ae722b344ddbacb03bab3e76b7ac4a9b2cd183

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