C
Objective-C
Lua
Latest commit
6a202af
Jul 11, 2014
Permalink
| Failed to load latest commit information. | |||
|
|
examples |
|
|
|
|
macos |
|
|
|
|
opencv |
|
|
|
|
video4linux |
|
|
|
|
.gitignore |
|
|
|
|
CMakeLists.txt |
|
|
|
|
README.txt |
|
|
|
|
camera-1.0-0.rockspec |
|
|
|
|
camera-1.1-0.rockspec |
|
|
|
|
init.lua |
|
|
README.txt
DEPENDENCIES: MacOS: Install OpenCV 2.X: http://opencv.willowgarage.com/ Linux: None All: Torch7 (follow instructions here: www.torch.ch) INSTALL: $ luarocks install camera STATE: MacOS: working on all MacOS builds, using OpenCV (wrapper from Jordan Bates) Linux: working all right, using raw video4linux2 (wrapper from Clement Farabet) USE: $ torch > require 'camera' > camera.testme() -- a simple grabber+display > cam = image.Camera() -- create the camera grabber > frame = cam:forward() -- return the next frame available > cam:stop() -- release the camera > image.display(frame) -- display frame