This driver is in alpha stage and not fully tested yet. In order to compile and test:
svn checkout svn://svn.code.sf.net/p/indi-opencv/code/trunk/ indi-opencv-code
mkdir indi-opencv-build
cd indi-opencv-build
cmake -DCMAKE_INSTALL_PREFIX=/usr ../indi-opencv-code
make
sudo make install
# run the driver with
indiserver indi_opencv_ccd
You may have to install opencv development packages in addition to indi-dev.
- Before connection: you may set the capture device in Options tab giving an OpenCV device number (0 for /dev/video0, ...) or give a filename containing an avi sequence (which will be repeated when streaming/recording).
- Streaming: you may set a streaming rate divisor to reduce image transfers. The default value is 10, yielding 3 Frame Per Second if your camera is set at 30 fps. To further reduce transfer loads, you may compress the images (in Image Settings)
- FPS: it is not possible in OpenCV 2.4 to get the FPS settings of a camera. Thus there are two numbers giving measured FPS values. These are used when recording AVI files (AVI format needs a FPS value).
- Image controls: they are made through OpenCV controls and are not always settable depending on the underlying driver. Their values should be between 0.0 and 1.0 (OpenCV translates your values in the corresponding min,max interval).
- Histograms: they are computed for each streamed frame (not each frame) and dispayed alongside the frame. They are not included in the recorded frame.
- Recording: in addition to a free running record, you may either record for a fixed duration or for a fixed number of frames. Use the corresponding Record buttons in that cases
- Codec: I put a lot of codecs, half of them not working on my development machine. If someone can suggest which ones to put here, it would be glad.
- Record files: you have to specify a record directory name together with a file name. You may use special character sequences to generate dynamic names:
_D_
is replaced with the date ('YYYY-MM-DD')
_H_
is replaced with the time ('hh-mm-ss')
_T_
is replaced with a timestamp
_F_
is replaced with the filter name currently in use (see Snoop Devices in Options tab)
- Exposure: it is not yet implemented.