Zoloto
A fiducial marker system powered by OpenCV - Supports ArUco and April
Installation
pip install zoloto
OpenCV
OpenCV should be installed manually, ideally through your system package manager. This makes it easier to customize your OpenCV installation for your system, or use the optimal settings for your OS / hardware. Note that you may need to install opencv-contrib as well as opencv.
If you'd rather have one installed automatically, install the extra opencv:
pip install zoloto[opencv]
Note that this version lacks hardware acceleration. See the README for more details.
For storage-constrained environments, there's also opencv-contrib-python-headless, which should be installed manually.
Examples
from pathlib import Path
from zoloto import MarkerType
from zoloto.cameras import ImageFileCamera
with ImageFileCamera(Path("my-image.png"), marker_type=MarkerType.ARUCO_6X6) as camera:
camera.save_frame("my-annotated-image.png", annotate=True)
print("I saved an image with {} markers in.".format(len(camera.get_visible_markers())))
Zoloto ships with a CLI (aptly named zoloto), which contains some helpful utils for working with Zoloto and fiducial markers.
Development setup
./scripts/setup.sh will create a virtual environment, and install all the required development dependencies into it.
Note that this will not install a version of OpenCV for you. For that, run ./scripts/setup.sh opencv.
There are some additional useful scripts to assist:
./scripts/test.sh: Run the unit tests and linters./scripts/fix.sh: Automatically fix issues fromblackandisort./scripts/benchmark.sh: Run benchmarks (these can take a couple minutes depending on your hardware)
Metadata
Release files for zoloto 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zoloto-0.9.0.tar.gz | 20.8 kB | Without provenance | Details for zoloto-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zoloto-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for zoloto-0.9.0-py3-none-any.whl |
Total release size: 45.0 kB
Release files / zoloto-0.9.0.tar.gz
| Download URL | zoloto-0.9.0.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39151c13afac718bcd60a858348994d0ba5b73ba9cab367f886be0f1bd4a443f
|
|
BLAKE2b-256 checksum How to use checksums |
ab1edface24111e6a64f772c20b6fef489602b40f904101139dd00108de851d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / zoloto-0.9.0-py3-none-any.whl
| Download URL | zoloto-0.9.0-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8d75efd529a8f2179db4216c45631c2a75ca764cb0a0bea48eaab7c4bdf4725
|
|
BLAKE2b-256 checksum How to use checksums |
ce6770972b30a02ac8935e697cf39ab427b1a2770efdcd44a37a55ad866db46f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for zoloto 0.9.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.