Skip to main content

A fiducial marker system powered by OpenCV - Supports ArUco and April

Project description

Zoloto

Build Status PyPI PyPI - Python Version PyPI - Wheel PyPI - Status PyPI - License

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

with ImageFileCamera(Path("my-image.png"), marker_dict=MarkerDict.DICT_6X6_50) 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())))

More examples can be found in the examples/ directory.

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 from black and isort
  • ./scripts/benchmark.sh: Run benchmarks (these can take a couple minutes depending on your hardware)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zoloto, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size zoloto-0.4.0.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page