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)

Project details


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.4.0.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file zoloto-0.4.0.tar.gz.

File metadata

  • Download URL: zoloto-0.4.0.tar.gz
  • Upload date:
  • Size: 8.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.41.1 CPython/3.7.3

File hashes

Hashes for zoloto-0.4.0.tar.gz
Algorithm Hash digest
SHA256 755d55b5d2c6183d6b50b3b1db2962c7943124c8218c7e47b44da9cfd46255a2
MD5 2c1310ef63d1af56e7d01e407395119b
BLAKE2b-256 0f29f6cbeb0dc53300024ac8d6f55a4abadba09828c0ae4d07a3e00621c58db4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page