Error Running OpenCV on Android aarch64 A14
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 3
Description
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 :
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the crossenv setup and the uploaded wheel from the reproduction steps, checking why cv2.abi3.so is built for the Ubuntu x86_64 host instead of Android aarch64. Confirm the build produces an arm64 Android wheel containing an aarch64-only library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, opencv, python
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100