opencv-python
opencv-python copied to clipboard
Error Running OpenCV on Android aarch64 A14
Expected behaviour
The library cv2.abi3.so should be compiled for target architecture (arm64 Android).
I'm using crossenv
to cross compiled wheels of OpenCV
for android. The compilation succeeds flawlessly, but it compiles cv2.abi3.so for x86_64 (host arch), not for the target architecture.
Actual behaviour
The compilation should work as intended and cv2.abi3.so should be compiled for aarch64 only.
Steps to reproduce
- Setup an environment using crossenv
- Target (Android aarch64), Host (Ubuntu x86_64)
- aarch64
- opencv-python version 4.9.0.80
Wheel built :
https://file.io/Z56ehWWa2yho