This contains scripts and patch files for cross-compiling Opencv to run in Termux android application. Patch files and scripts are generated by first modifying opencv source code to run on phone architectures and using diff and patch utilities.
You can directly use the deb files in debs/
Or do the following to produce the deb package:
- First clone termux-packages
- Copy and paste opencv/ to packages/ forlder inside the cloned directory
- Then Use the guide provided in termux-packages
Inside termux you can do:
dpkg -i /path/to/deb/file
or something like (less recommended):
dpkg -x /path/to/deb/file $PREFIX