Skip to main content

scikit-surgeryarucotracker is a simple tracking interface using ARuCo markers

Project description

Logo GitLab-CI test status Test coverage Documentation Status

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 usinng other tracking hardware (e.g. NDI - scikit-surgerynditracker).

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

scikit-surgeryarucotracker supports Python 2.7 and Python 3.6.

Installing

pip install scikit-surgeryarucotracker

Using

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

from sksurgerarucotracker.tracker import ARuCoTracker
SETTINGS = {
    "video source" : 0
        }
TRACKER = ARuCo()
TRACKER.connect(SETTINGS)

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://weisslab.cs.ucl.ac.uk/WEISS/SoftwareRepositories/SNAPPY/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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scikit_surgeryarucotracker-0.0.1-py2.py3-none-any.whl (13.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file scikit_surgeryarucotracker-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: scikit_surgeryarucotracker-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

File hashes

Hashes for scikit_surgeryarucotracker-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 31f363ed0fcaffecae0625523f780fa90d555fe9a3750c0f16297249c6b407f0
MD5 98d32ca5a241a187bef3fbf1c58bace8
BLAKE2b-256 3bbd65cd9dfa89e6f46d179fdd6a9202fb9dbe568a9a4129dc146956605577f9

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