Skip to content
ebiiii edited this page Oct 16, 2014 · 1 revision

##USB-Cam Wrapper (usb-cam)

Because of a license incompatibility, the wrapper for OV511/518 wired usb cameras is not distributed with the standard installation of GSN.

To use the ovcam511/518 wrapper with linux:

  • Get the driver from http://ovcam.org/ov511/, compile it and install it.
  • Download the Java Media Framework for your platform and install it. At this stage, the JMF should detect your webcam. If it does not, most probably the ov511 driver was not correctly installed. Please refer to the documentation of your distribution.
  • Once the webcam is detected by the JMF, On linux : sudo rmmod ov511; sudo modprobe ovcamchip;sudo modprobe ov511
  • The system environment or the java execution environment (in Eclipse) must be configured:
LD_LIBRARY_PATH=/home/ali/download/JMF-2.1.1e/lib:/usr/local/java/jdk1.5.0/jre/lib/i386:/usr/local/java/jdk1.5.0/jre/lib/i386/client:/usr/local/java/jdk1.5.0/jre/lib/i386/xawt

LD_PRELOAD=/usr/local/java/jdk1.5.0/jre/lib/i386/libjawt.so

Open the build.xml file and comment the sections which are indicated for JMF.

Parameters:

  • live-view is a boolean variable defaulted to false. You can configure GSN to run in live view mode or not. In the live-view mode a JFrame will open and show the current picture received from the usb-camera. This option is good for testing.
Clone this wiki locally