Skip to content
Egor Burkov edited this page Oct 24, 2015 · 37 revisions

OpenCV bindings for Torch

Goal: A Complete set of OpenCV 3.0 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 (yes, you can already run it: see Trying it out).

Check out the progress by watching the distance to the nearest milestone.

High Priority Toolboxes

  • imgproc
  • imgcodecs
  • videoio
  • video
  • ml
  • flann
  • photo
  • optflow
  • features2d
  • superres

cuda

  • cudaarithm
  • cudabgsegm
  • cudacodec
  • cudafeatures2d
  • cudafilters
  • cudaimgproc
  • cudaoptflow
  • cudastereo
  • cudawarping

Mid Priority Toolboxes

  • calib3d
  • tracking
  • xphoto
  • ximgproc
  • stitching

Low Priority Toolboxes

  • highgui
  • viz
  • shape
  • reg
  • rgbd
  • xfeatures2d

Not needed Toolboxes

  • objdetect
  • bioinspired
  • cvv
  • datasets
  • face
  • Binary descriptors for lines extracted from an image
  • text

Contribution

  1. What we mostly need at the time being are unit tests and smoke tests for the work that is already done.
  2. See the issues list for the work to be tested.
  3. Let's work via pull requests.
  4. 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:

Clone this wiki locally