根據網路上的文章加以測試,整理步驟如下
1. 準備Raspberry + 原廠攝影模組
2. 安裝 OpenCV2
http://www.pyimagesearch.com/2015/02/23/install-opencv-and-python-on-your-raspberry-pi-2-and-b/
註:如果make有遇到錯誤,請依下列步驟處理
if some error raised during make, perform the following steps:
1 2 |
install libgtk2.0-dev 在cmake的後面參數中加入 -DWITH_GTK=ON, and make |