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:

Release files for groundlight 0.33.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 0.33.0
File Size Uploaded
groundlight-0.33.0.tar.gz 136.0 kB Details

Built distribution (wheel)

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

Total release size: 545.0 kB

Release files / groundlight-0.33.0.tar.gz

Download URL groundlight-0.33.0.tar.gz
Size 136.0 kB
Tags Source
SHA-256 checksum
How to use checksums
66e5df213ac7a0bc4180b20d1ddd3873109577b1feecd90360e2c5a52d3edcba
BLAKE2b-256 checksum
How to use checksums
7a80fac3fa7c565c5b78b80a4b65546e438177488d1ed2557768e19aafe6d2d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.16 Linux/6.17.0-1022-azure

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

Download URL groundlight-0.33.0-py3-none-any.whl
Size 409.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0bc1f656527c529cd7bd6e2ffc59ccc34c8421827b1f5ca6ff1b925601d76393
BLAKE2b-256 checksum
How to use checksums
b446e03368d15e90a613d0c85d13bcb02231aa60c983e4481b3d1693aca7e762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.16 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

0.33.0 This release

2 release files

0.32.0

2 release files

0.31.0

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.25.1

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.23.3

2 release files

0.23.2

2 release files

0.23.0

2 release files

0.22.7

2 release files

0.22.3

2 release files

0.22.2

2 release files

0.22.1

2 release files

0.22.0

2 release files

0.21.3

2 release files

0.21.2

2 release files

0.21.1

2 release files

0.19.0

2 release files

0.18.4

2 release files

0.18.3

2 release files

0.17.6

2 release files

0.17.5

2 release files

0.17.4

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.2

2 release files

0.13.2

2 release files

0.13.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

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