Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
lirec:firewire_camera_notes [2009-03-24 16:38] 161.23.251.227lirec:firewire_camera_notes [2009-03-24 16:41] 161.23.251.227
Line 5: Line 5:
   * [[http://www.theimagingsource.com/|Imaging Source]] DFK 31AF03-Z   * [[http://www.theimagingsource.com/|Imaging Source]] DFK 31AF03-Z
  
-===Howto===+===Getting it working===
  
   * After plugging the camera in, you may need to do:   * After plugging the camera in, you may need to do:
Line 34: Line 34:
   - In Trigger you should be able to select 30fps   - 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.+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. The caminfo for OpenCV I used for the raw image was as follows (I think Marek has a better way): 
 + 
 +<code> 
 +static struct caminfo cameras[] = 
 +
 +   { 
 +      handle:            NULL, 
 +      device_identifier: "Imaging Source DFx 31AF03-Z 1940800048", 
 +      fourcc:            UCIL_FOURCC( 'Y', '8', '0', '0' ), 
 +      format_size:       { 0, 0, 1024, 768 }, 
 +      window:            "Camera 1", 
 +      image:             NULL, 
 +      properties:        camera0_properties, 
 +      property_count:    sizeof( camera0_properties ) / sizeof( unicap_property_t ), 
 + 
 +      cascade: NULL, 
 +      storage: NULL, 
 +   }, 
 +}; 
 +</code>
  • lirec/firewire_camera_notes.txt
  • Last modified: 2009-05-08 12:55
  • by davegriffiths