Skip to main content

scikit-surgeryarucotracker is a simple tracking interface using ARuCo markers

Project description

Logo

OpenSSF Best Practices GitHub CI test status Test coverage Documentation Status https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg The SciKit-Surgery paper Software DOI Follow scikit_surgery on twitter

Author: Stephen Thompson

scikit-surgeryarucotracker provides a simple Python interface between OpenCV’s ARuCo marker tracking libraries and other Python packages designed around scikit-surgerytrackers. It allows you to treat an object tracked using ARuCo markers in the same way as an object tracked using other tracking hardware (e.g. aruco - scikit-surgerynditracker).

scikit-surgeryarucotracker is part of the SciKit-Surgery software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).

scikit-surgeryarucotracker is tested with Python 3.6 and may support other Python versions.

Installing

pip install scikit-surgeryarucotracker

Using

Configuration is done using Python libraries. Tracking data is returned in NumPy arrays.

from sksurgeryarucotracker.arucotracker import ArUcoTracker
config = {
    "video source" : 0
        }
tracker = ArUcoTracker(config)

tracker.start_tracking()
print(tracker.get_frame())
tracker.stop_tracking()
tracker.close()

Developing

Cloning

You can clone the repository using the following command:

git clone https://github.com/SciKit-Surgery/scikit-surgeryarucotracker

Running the tests

You can run the unit tests by installing and running tox:

pip install tox
tox

Contributing

Please see the contributing guidelines.

Acknowledgements

Supported by Wellcome and EPSRC.

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

scikit_surgeryarucotracker-1.1.0.tar.gz (37.5 kB view details)

Uploaded Source

File details

Details for the file scikit_surgeryarucotracker-1.1.0.tar.gz.

File metadata

File hashes

Hashes for scikit_surgeryarucotracker-1.1.0.tar.gz
Algorithm Hash digest
SHA256 008f99270a3d3879b3b27f386a950a44936765814e915c5879545184b540ccda
MD5 58689eaca6b59748e0ce676d24656f77
BLAKE2b-256 1d5f047c07b3b8341c7b69603b4e2006c6b6fbaca86d34d74fea10d05cc33112

See more details on using hashes here.

Supported by

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