-
Notifications
You must be signed in to change notification settings - Fork 48
Home
Egor Burkov edited this page Mar 4, 2018
·
37 revisions
Goal: A complete set of OpenCV 3.1 bindings for Torch, with almost all toolboxes (including CUDA, excluding OpenCL). It's going to be like OpenCV's Python bindings, but using Torch Tensors instead of numpy.
Here's an example of code.
Check out the progress in issues.
imgprocimgcodecsvideoiovideomlflannphotooptflowfeatures2dsuperres
cudaarithmcudabgsegmcudacodeccudafeatures2dcudafilterscudaimgproccudaoptflowcudastereocudawarpingcudaobjdetect
calib3d- tracking
- xphoto
- ximgproc
stitching
highgui- viz
- shape
- reg
- rgbd
- xfeatures2d
objdetect- bioinspired
- cvv
- datasets
- face
- Binary descriptors for lines extracted from an image
- text
Generally, you should refer to OpenCV documentation. Most functions' signatures match their C++ originals, but some of them, for example, exclude OutputArray
s, so please check functions' definitions in cv/<module-name>/init.lua
. In Python, help(cv2.someFunction)
is provided; we're working on the same feature for TREPL: ? cv.someFunction
.
Tutorials for users:
- Installation
- OpenCV basics: reading, converting, transforming images
- <...> Coming soon...contribution is welcome!
- What we mostly need at the time being are unit tests and smoke tests for the work that is already done. Watch the issues as well.
- See the issues list for the work to be tested.
- Let's work via pull requests.
- Please check the tutorials first, and consult with the existing code. For example,
imgproc
module has examples for almost every pattern that you might encounter.
Tutorials for contributors: