-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up Raspicam Module
Jean Lucas edited this page Apr 11, 2017
·
3 revisions
wget https://sourceforge.net/projects/raspicam/files/raspicam-0.1.6.zip
unzip raspi....
cd raspicam && cd build
Now edit the CMakeList.txt in the OpenCV portion to contain SET("OpenCV_DIR" "/home/pi/homescripts/opencv/build")
cmake .. followed by make followed by sudo make install
Now in our project CMake file we add the following lines
SET("raspicam_DIR" "/usr/local/lib/cmake/")
find_package(raspicam REQUIRED)
...
...
target_link_libraries(car_ctrl ${raspicam_CV_LIBS})
target_link_libraries(car_ctrl ${raspicam_LIBS})
links: https://neverbenever.wordpress.com/2015/05/18/how-to-use-pi-camera-with-opencv-for-raspberry-pi/ https://github.com/cedricve/raspicam