This is an old revision of the document!


The Lirec camera & Linux

The official lirec camera is:

Howto

  • After plugging the camera in, you may need to do:
modprobe raw1394
modprobe video1394
chmod 777 /dev/raw1394
chmod 777 /dev/video1394

To get an image you have to press the buttons in the following order:

  1. In the services tab click 'Receive' at the top
  2. Then in the ISO Control box in the same tab, click 'Start'
  3. Click 'Display' at the top

To test OpenCV, install libunicap from http://unicap-imaging.org, then rebuild opencv by rerunning:

./configure --use-unicap=yes

The examples in libunicap are very useful for debugging, such as device_info, raw_image and sdl_display. There is also an OpenCV example here.

Getting debayering working in coriander

  1. In services tab again, in Format select 'Format_1, Mode_5:1024×768 Mono 8bpp'
  2. In options click Nearest and GBRG
  3. In Trigger you should be able to select 30fps

You can also get OpenCV to read from this mode, but it will get the raw image directly. This is where we might need a debayer algorithm.

  • lirec/firewire_camera_notes.1237912655.txt.gz
  • Last modified: 2009-03-24 16:37
  • by 161.23.251.227
  • Currently locked by: 18.223.21.5