oCam-1CGN-U USER MANUAL Verion 1.0
July 2017
www.withrobot.com
Page 15
On Windows hosts, you can use the dll file of the oCam-Viewer to acquire the image. You can
use cvtColor(BAYER2RGB) function of the OpenCV to get the RGB image as in the Linux
host.
You can refer the source code at
https://github.com/withrobot/oCam/tree/master/Examples/libCamCap-withOpenCV
.
7.2. Guvcview
On Linux host, you can use guvcview to view the image of the oCam-1CGN-U.
Download the guvcview using the following commands.
7.3. Bayer RGB
The Bayer RGB format shows the image as captured by the image sensor.
Refer
https://en.wikipedia.org/wiki/Bayer_filter
for further information.
It is recommended to resize the 1280 x 960 to 640 x 480 for better image quality.
7.4. DIY Fixture
As a DIY fixture for oCam-1CGN-U, the 3D printable files are available at
https://github.com/withrobot/oCam/tree/master/DIY_Fixture
.
7.5. Technical support
E-mail technical support is available at
.
$ sudo apt-get install guvcview
$ guvcview -d /dev/video0