RobotPy bindings for cscore image processing library
Project description
robotpy-cscore
These are python bindings for the cscore library, which is a high performance library used in the FIRST Robotics competition to serve video to/from robots. However, the core library is suitable for use in other applications, and is comparable to something like mjpg-streamer.
This library has only been tested with Python 3, and will most likely not work with Python 2.7. We do not intend to support using Python 2.7.
RoboRIO usage
TODO
Compilation
Currently, this isn’t setup to work on Windows. It might work on Windows though, I haven’t tried it yet.
Important: You MUST compile OpenCV with shared libraries (the default), if your python cv2 is statically linked this will most likely not work with it (if you do get such a setup working , please let me know!).
Requirements
Python 3.x
OpenCV 3.x
NumPy
pybind11
You should be able to install numpy and pybind11 via pip:
pip3 install numpy pybind11
You cannot use opencv-python at this time (see notes below), you will need to compile it from source yourself.
Installation
Once you get OpenCV and NumPy installed, then you should be able to do a:
pip3 install .
Notes
Long term, I’d like to get this working with opencv-python. However, that’s going to take a bit of work. To track the primary problem related to this, see https://github.com/skvark/opencv-python/issues/22
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for robotpy-cscore-2017.0.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 732b3303b2fff13c36490ba2277ca45a95a963996c6881ee911c2b96c49fef32 |
|
MD5 | a7e33742d7436b8ec1afb8ab71250b95 |
|
BLAKE2b-256 | a4c0ba9c92e668e3388630e95ffea586c9cf27864bf738f4374901053df61b77 |