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.4.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.4.0
File Size Uploaded Provenance Actions
groundlight-1.4.0.tar.gz 135.9 kB Without provenance Details for groundlight-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 504.0 kB

Release files / groundlight-1.4.0.tar.gz

Download URL groundlight-1.4.0.tar.gz
Size 135.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ff9e0cc6b598df806af4b8460e85c5be93347bb82e4d59c8984cea3868acbdf4
BLAKE2b-256 checksum
How to use checksums
1463851be7de4ba79fa2991d87e0e7d4ef75668d55221292deff524a289b9831
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-1019-azure

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

Download URL groundlight-1.4.0-py3-none-any.whl
Size 368.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd0334b0dc45b2f8891ef64c0dfa02cef819ddc99a947282116f0d786958a83e
BLAKE2b-256 checksum
How to use checksums
34f0f93c625c97e45a6309994223357c1a435dab35ad523223f262201eb10778
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-1019-azure

Security for groundlight 1.4.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.4.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