Cam-server: Difference between revisions

From University of Washington - Ubicomp Research Page
Jump to navigationJump to search
No edit summary
 
No edit summary
 
Line 3: Line 3:
* [{{SERVER}}/files/uwar/imote2_sdcard/cam-server linux download (xscale)]
* [{{SERVER}}/files/uwar/imote2_sdcard/cam-server linux download (xscale)]


cam-server is a program that captures an image using an OV9650 CMOS camera attached to the LSB. Images are captured once a second and compressed using JPEG, using a quality setting of 80 (using the IJG's algorithm to modify the quantization tables, adjustable in the source), and then sent over shared memory to [[Logger|logger]] and/or [[Cam-net-stream|cam-net-stream application]]. <br /><br /><b>/dev/camera</b> must exist and point to the ov9650 driver for cam-server to work. To create /dev/camera, insmod ov9650.ko, cat /proc/devices to see which major device number it was assigned, and mknod /dev/camera c <major number> 0.
cam-server is a program that captures an image using an OV9650 CMOS camera attached to the LSB. Images are captured once a second and compressed using JPEG, using a quality setting of 80 (using the IJG's algorithm to modify the quantization tables, adjustable in the source), and then sent over shared memory to [[Logger|logger]] and/or [[Cam-net-stream|cam-net-stream application]]. <br /><br /><b>/dev/camera</b> must exist and point to the ov9650 driver for cam-server to work. To create /dev/camera, insmod ov9650.ko, cat /proc/devices to see which major device number it was assigned, and mknod /dev/camera c <major number> 0.<br /><br />The time the image is captured is stored as a suggested file name in a comment in the JPEG data stream. The file name is <i>&lt;number of milliseconds since the UNIX epoch&gt;</i>.jpg.


== usage ==
== usage ==

Latest revision as of 00:30, 17 August 2007

cam-server

cam-server is a program that captures an image using an OV9650 CMOS camera attached to the LSB. Images are captured once a second and compressed using JPEG, using a quality setting of 80 (using the IJG's algorithm to modify the quantization tables, adjustable in the source), and then sent over shared memory to logger and/or cam-net-stream application.

/dev/camera must exist and point to the ov9650 driver for cam-server to work. To create /dev/camera, insmod ov9650.ko, cat /proc/devices to see which major device number it was assigned, and mknod /dev/camera c <major number> 0.

The time the image is captured is stored as a suggested file name in a comment in the JPEG data stream. The file name is <number of milliseconds since the UNIX epoch>.jpg.

usage

    Command line format

      cam-server
      cam-server has no options.