Raspberry Camera API
From Rsewiki
(Difference between revisions)
(→Raspicam) |
(→Raspicam) |
||
Line 2: | Line 2: | ||
===Raspicam=== | ===Raspicam=== | ||
− | |||
− | |||
A rather short raspberry pi camera API is available from https://www.uco.es/investiga/grupos/ava/node/40. | A rather short raspberry pi camera API is available from https://www.uco.es/investiga/grupos/ava/node/40. |
Revision as of 14:03, 24 December 2020
Back to [Robobot]]
Raspicam
A rather short raspberry pi camera API is available from https://www.uco.es/investiga/grupos/ava/node/40. And can be downloaded from https://sourceforge.net/projects/raspicam/files/,
or get the file from sourceforge with no GUI, with:
cd ~/Downloads wget --no-check-certificate -O raspicam-0.1.9.zip https://downloads.sourceforge.net/project/raspicam/raspicam-0.1.9.zip?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fraspicam%2F%3Fsource%3Dtyp_redirect&ts=1486483484&use_mirror=netix
Once fetched and available on the raspberry, then Unpack and install:
unzip raspicam-0.1.9.zip cd raspicam-0.1.9 mkdir build cd build cmake .. make sudo make install sudo ldconfig
The library is installed in /usr/local, and therefore to make cmake find it the path needs to be added to startup configuration, in file ~/.bashrc
nano ~/.bashrc add at the end: export CMAKE_PREFIX_PATH=/usr/local/lib source ~/.bashrc # to implement export