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:

Metadata

Release files for groundlight 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for groundlight 1.5.0
File Size Uploaded Provenance Actions
groundlight-1.5.0.tar.gz 145.3 kB Without provenance Details for groundlight-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for groundlight 1.5.0
File Interpreter ABI Platform Actions
groundlight-1.5.0-py3-none-any.whl Python 3 none any Details for groundlight-1.5.0-py3-none-any.whl

Total release size: 542.9 kB

Release files / groundlight-1.5.0.tar.gz

Download URL groundlight-1.5.0.tar.gz
Size 145.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1308c841db3c518cb3dee11cc911e0a25b3e422b5534a98da1fbf8fa862d7a01
BLAKE2b-256 checksum
How to use checksums
5cfb0c8b11a6e90bd4dfae4d4534907ac60529189fe974e6993fb7951730cc7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.18 Linux/7.0.0-1020-azure

Release files / groundlight-1.5.0-py3-none-any.whl

Download URL groundlight-1.5.0-py3-none-any.whl
Size 397.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee21fbe76262847120b885fe3bdc5b08d736955c3ee38141c58a52d1af22503f
BLAKE2b-256 checksum
How to use checksums
8dc7e42df9e91d07081d7cb10ec0a707afb78bc3c32a1dccad58055620b3d63d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.18 Linux/7.0.0-1020-azure

Security for groundlight 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page