Ask Your Question

camilap's profile - activity

2017-03-04 13:17:52 -0600 commented answer Opencv + python + raspberry pi minimum required size on disk

I would like to compile sources myself as you described on the second point, but I am completely new to the rasp pi 2.

Can I plug my USB into a laptop, download the build directory onto the USB, then do:

  • $ unzip opencv-2.4.10.zip
  • $ cd opencv-2.4.10
  • $ mkdir build
  • $ cd build
  • $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON ..
  • $ make
  • $ sudo make install
  • $ sudo ldconfig