-
Notifications
You must be signed in to change notification settings - Fork 48
Installation
Egor Burkov edited this page Dec 21, 2015
·
12 revisions
First, install OpenCV 3.0 and Torch 7. Then:
luarocks install --server=http://luarocks.org/dev cv
Or you can install it manually:
git clone [email protected]:VisionLabs/torch-opencv.git && cd torch-opencv
luarocks make cv-scm-1.rockspec
# if CMake fails to find OpenCV or links to OpenCV 2.x, help him by providing the dir:
# -DOpenCV_DIR="<path to OpenCVConfig.cmake, usually it's in your OpenCV build dir>"
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>