Skip to content
Egor Burkov edited this page Dec 22, 2015 · 12 revisions

First, install OpenCV 3 and Torch 7. Then:

luarocks install --server=http://luarocks.org/dev cv
# if CMake fails to find OpenCV or links to OpenCV 2.x,
# help him by providing the dir:
OpenCV_DIR="<path to OpenCV 3 build>" luarocks install --server=http://luarocks.org/dev cv

Now you can run demos from project root, for example,

th demo/SVM.lua
th demo/videocap.lua
th demo/flann.lua
th demo/filtering.lua <path-to-image>
Clone this wiki locally