What is the USB Camera handler
TQLEngine provides a protocol handler wrapper to interact with USB Camera.
- High frame rate MJPEG 60 fps @ 1280 (H) x 720 (V) , 30 fps @ 1920 (H) x 1080 (V)
- CMOS 1080P sensor for high quality image and low power consumption
- high pixel technology for sharp image and accurate color reproduction
- low light performance - ideal for any lighting condition
- UVC for use in Linux, Windows XP, WIN CE, MAC, SP2 or above
USB Camera Parameters
Parameter Name | Description |
---|---|
Driver Installation Steps
Installing V4l4j
Installing V4l4j
For the ucam handler to work two things are needed, the video driver of the camera which comes by default and the v4l4j library. The steps below show installing of v4l4j library.library
Steps:
- Before installing the v4l4j some packages are needed to be installed. If you are running debian based operating system type the command
Anchor | ||||
---|---|---|---|---|
|
It will download and install the required prereqs,
2. To download the
...
v4l4j you need subversion
...
(svn) tool, download and install it as shown below
sudo apt-get install subversion
3. Now download the library using the following command
svn co http://v4l4j.googlecode.com/svn/v4l4j/trunk v4l4j-trunk
4. Then go to the v4l4j-trunk directory (cd v4l4j-trunk) and start the build process by typing the command shown below
{}On Raspbian Wheezy (Raspberry pi):
JDK_HOME=/usr/lib/jvm/java-7-openjdk-armhf/ LIBPIXFC=pixfc-sse/libpixfc-sse-armv6l-hardfp.a ant clean all
*On Wheezy beta: (Raspberry Pi)*
JDK_HOME=/usr/lib/jvm/java-7-openjdk-armhf/ LIBPIXFC=pixfc-sse/libpixfc-sse-armv6l-softfp.a ant clean all
On other environments setup
Setup JDK_HOME environment variable to your JDK path and do
ant clean all
5. If you get this error "error: libv4lconvert.h: No such file or directory" , type
sudo apt-get install libv4l-dev
And do the build process again.
6. Once the build process is completed
7. Install by running command
sudo ant install
8. Finally test the library by running command
ant test-fps