A fiducial marker system powered by OpenCV - Supports ArUco and April
Project description
Zoloto
A fiducial marker system powered by OpenCV - Supports ArUco and April
Installation
pip install zoloto
Examples
from pathlib import Path
from zoloto import MarkerDict
from zoloto.cameras import ImageFileCamera
class MyCamera(ImageFileCamera):
marker_dict = MarkerDict.DICT_6X6_50
with MyCamera(Path("my-image.png")) 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())))
Development setup
./scripts/setup.sh
will create a virtual environment, and install all the required development dependencies into it.
There are some additional useful scripts to assist:
./scripts/test.sh
: Run the unit tests and linters./scripts/fix.sh
: Automatically fix issues fromblack
andisort
./scripts/benchmark.sh
: Run benchmarks (these can take a couple minutes depending on your hardware)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zoloto-0.5.1.tar.gz
(9.7 kB
view details)
File details
Details for the file zoloto-0.5.1.tar.gz
.
File metadata
- Download URL: zoloto-0.5.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d2b62ea9fb1f3bd39cf64b808f99d9c6917d7ef9df782316c19b797b42b3b1 |
|
MD5 | 20d2268b6bd328f9a1b99ead675e788e |
|
BLAKE2b-256 | 80741bd19c68fe16b2ee721045c0de1c671a543b946630ecdc83adaa66ee6b74 |