Skip to content

Instantly share code, notes, and snippets.

View allsey87's full-sized avatar

Michael Allwright allsey87

View GitHub Profile
@g40
g40 / configure.sh
Last active August 29, 2024 11:09
How to configure OpenCV with Python3/numpy support in an aarch64 (ARM64) chroot for QEMU compilation
#!/bin/sh
#
# configure OpenCV with Python/numpy support in an Arm64 chroot on an Intel host.
#
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D BUILD_PYTHON3=ON \
-D BUILD_OPENCV_PYTHON2=OFF \
-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-3.4.1/modules
-D WITH_NEON=ON \
-D BUILD_JAVA=OFF \