问题
I'm developing a project (in Python) that does video processing using OpenCV. Now I'm planning to implement that in my android phone. I read that Qpython supports python on android. So is there any way to import third party libs like OpenCV in Qpython.
Thanks in advance.
回答1:
You can install opencv from qpython libraries(install from QPypi).
QPython --> Libraries --> QPypi --> opencv-qpython --> install
Use it as import cv
回答2:
In Qpython3 there is a pip program (not sure if on qpython too) but running that program you can "pip install [your module]" Worked for me installing sqlalchemy and youtube_dl
来源:https://stackoverflow.com/questions/37833638/opencv-in-qpython