Skip to main content

scikit-surgeryarucotracker is a simple tracking interface using ARuCo markers

Project description

Logo GitHub CI test status Test coverage Documentation Status The SciKit-Surgery paper Software DOI

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.connect()

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/UCL/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-0.1.1.tar.gz (22.7 kB view hashes)

Uploaded Source

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