Giter VIP home page Giter VIP logo

pyopticam's Introduction

pyopticam

This repository contains a comprehensive Python wrapper for the Optitrack Camera SDK using nanobind. It exposes a wide variety of camera manipulation functions, as well as GIL-friendly video and marker retrieval functions for use with numpy.

Requires python >= 3.8. This has only ever been tested with Prime 13W's; different cameras may need some of the hard-coded resolution assumptions updated.

Installation

  1. Ensure you are using Python 3.8.10 and you're on Windows
  2. Make a virtual environment with python.exe -m venv .venv, activate venv with .\.venv\Scripts\activate
  3. Install the Optitrack Camera SDK to: C:/Program Files (x86)/OptiTrack/Camera SDK
  4. Clone this repository
  5. Navigate to the top-level pyopticam directory and run pip install -e . (Do not upgrade pip, use pip version 21.1.1)
  6. Find C:/Program Files (x86)/OptiTrack/Camera SDK/lib/CameraLibrary2015x64S.dll and copy it to pyopticam/src/pyopticam

Afterwards, make sure your Optitrack cameras are accessible on the network, and try the video_viewer.py or the marker_viewer.py example.

License

pyopticam is provided under the Apache V2 license that can be found in the LICENSE file.

By using, distributing, or contributing to this project, you agree to the terms and conditions of this license, and the licenses of nanobind (BSD 3-Clause) and Optitrack's Camera SDK.

pyopticam's People

Contributors

olliepowelluh avatar zalo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gkrqja98 gebenh zalo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.