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.3.1

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.3.1
File Size Uploaded Provenance Actions
groundlight-1.3.1.tar.gz 143.0 kB Without provenance Details for groundlight-1.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 565.0 kB

Release files / groundlight-1.3.1.tar.gz

Download URL groundlight-1.3.1.tar.gz
Size 143.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cae01995be23bf987fa321dd1d8760a9543a5bf3be75d150ec49de3d997c1363
BLAKE2b-256 checksum
How to use checksums
10c929a25e0e2fcc962a92323f3eaac0d36a529102af4ccea77f507aa494d376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.17 Linux/6.17.0-1022-azure

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

Download URL groundlight-1.3.1-py3-none-any.whl
Size 422.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49abf725aed02cc55e8560dc0c2e35ed9b915883bb05fc93f9d1690e0caf0eb3
BLAKE2b-256 checksum
How to use checksums
aa667b14404a2e6e8e1b71a33651f375f10400f408a7cf4f78e5ba133953d9e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.17 Linux/6.17.0-1022-azure

Security for groundlight 1.3.1

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.3.1 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