A package of useful utilities for general computer vision tasks written in Python.
- OpenCV 2.3.1 or greater with Python bindings
- Numpy
- Scipy
- Matplotlib
- FFMpeg
Something something something...
About: Code for overlaying a model on a video feed given pose parameters and a camera calibration file.
Usage:
$python -m cv_utils.overlay --video SOMEFILE.avi --pose POSES.csv --calib CALIB.xml [--stereo]
- The camera calibration file should be in the OpenCV XML format.
- The poses should be one for each frame on a new line in the format tx,ty,tz,r1,r2,r3 where the rotations are obtained from Rodrigues rotation forumla. Units are mm and radians.
- The stereo flag is optional. This is only used for video splitting and does not make any assumptions about the calibration parameters.
A utility for plotting the pose of a tracking algorithm and a ground truth in 3D.
Generating interesting colorspaces from an RGB image.
Copyright (C) 2013 Max Allan
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses.