- Raspbian zipped image. You can download it from here
- OpenCV zipped sources from github
- OpenCV modules cloned from github
- run
python setup.py
with root. This need for fdisk and mount
Copy downloaded opencv zipped sources and cloned additional modules into opencv/. Raspbian image (zipped or unzipped) must exist into work directory where setup.py installed.
Working directory must have this hierarcy:
- raspbian.zip
- opencv/
- 3.1.0.zip
- opencv_contrib/
- README.md
- setup.py
Login with root and simply run:
# python setup.py
❗ Compiling is a long process. Please be patient.
Compiled and builded opencv package will be stored in the working directory. Find the .deb file.
- https://wiki.debian.org/QemuUserEmulation
- https://wiki.debian.org/RaspberryPi/qemu-user-static
- http://neophob.com/2014/10/run-arm-binaries-in-your-docker-container-using-boot2docker/
- https://github.com/dweinstein/dockerfile-qemu-arm-chroot
- http://blog.jenrom.com/2014/09/14/%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0-opencv-%D0%BD%D0%B0-linux/
- http://answers.opencv.org/questions/
- http://elinux.org/RPi_Software
- CrossCompiling: