You can find here, programs to reproduce spotted issue (firmware OV580SpecificFW20151229.bin) for OV4689.
When option --dump is used, images are converted to RGB and stored using ppm (P6) format and can be view by any image viewer (e.g. feh)
Current known issue for stereo camera aka OV4689x2 -> OV580 -> USB 3.0
-
CRITICAL: The camera timeout when trying to get the first image after a STREAM_ON if camera is over-exposed. (i.e. over exposure is an issue at startup only).
Please see the ov4689_full readme for further details.
ERRATUM: Fixed by OV580SpecificFW_20160523.bin -
It seems that camera can't set Resolution (i.e. S_FMT) after a STREAM_OFF.
Please see the camera_startup readme for further details. -
Usually first N images (with N equal to v4l2 queue buffer size) are empty.
Please see the camera_queue readme for further details. -
It seems that S_FMT and S_PARM are order dependent. Thus setFramerate must done after setResolution note: can be test with ov4689_order program
Current known issue for 2D camera aka OV5640 -> CX3 -> USB 3.0
-
CRITICAL: Sometime, UVC controls fails.
Please see the ov5640_ext readme for further details. -
Register state (e.g. flip) are lost when stream is stopped. Please see the ov5640_flip readme for further details.
-
It seems that camera can't set Resolution (i.e. S_FMT) after a STREAM_OFF.
Please see the camera_startup readme for further details. -
Usually first N images (with N equal to v4l2 queue buffer size) are empty.
Please see the camera_queue readme for further details.
Project use CMake >= 3.2, C++11, and v4l2 API (i.e. programs are linux only).
To install new cmake version on old Ubuntu just retrieve a new version on ppa.
sudo add-apt-repository ppa:george-edison55/cmake-3.x -y
sudo apt-get update -qq
sudo apt-get install -qq cmake
On Desktop
mkdir build && cd build
cmake ..
make
Build & Deploy:
qibuild configure -c juliette --release
qibuild make -c juliette
qibuild deploy -c juliette --url nao@ip.of.the.robot:~/foo
On robot:
ssh nao@ip.of.the.robot
./foo/bin/ov4689_full -d /dev/videoX -w 640 -h 480 -fps 15
To retrieve images on Desktop:
rm *.ppm
scp nao@ip.of.the.robot:/home/nao/foo/bin/\*.ppm .
Display images:
feh *.ppm