Pi4 is 64 bit and is Arm8 is there a build process to get the best performance from OpenCV?
I tried compiling and building following these directions and it did not work.
1 wget https://github.com/opencv/opencv/archive/4.1.0.zip 2 unzip 4.1.0.zip
3 cd opencv-4.1.0 4 mkdir build && cd build
5 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/ -DPYTHON3_EXECUTABLE=/usr/lib/python3.7 –DPYTHON_INCLUDE_DIR=/usr/include/python3.7 –DPYTHON_INCLUDE_DIR2=/usr/include/arm-linux-gnueabihf/python3.7m –DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so ..
6 make && make install
The make && make install had an error
CMake Error at cmake_install.cmake:41(file):
file INSTLL cannot set permission on
make: *** [Makfile:74: install] Error 1
Any step by step directions that work for installing OpenCV on the Pi4