-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework opencv's recipe (enable cv2.so and the extra opencv libraries) #1661
Conversation
We enable the build of the cv2.so library to be able to interact with opencv from python and also we enable the build of most of the opencv's libraries or we will not be able to perform operation with videos, photos, images and others.
Nice work @opacam!
The build seem to run for ages and fails with:
In the broken recipe list, you could also add a comment explaining that it's not actually broken, but the CI fail to compile to the end (timeout) and you can link this build https://travis-ci.org/kivy/python-for-android/jobs/487920951 What do you think? |
Well, I think that it depends on the target app and the use who mades of opencv in there, so more libraries will grant more compatibility with different types of objects...mmm...I tried to disable some of them (
Of course, if we don't find a solution for this travis error I will do it |
Ok, I made a test in a parallel branch with a debug build (disabling all tests except the
I think you are right @AndreMiras, too much processing and because we suppress some logs in the standard build the inactivity in logs cause travis to fail...🤔 |
Thanks for investigating further! Well then let's just add it to the list of recipe to skip. Just make it clear with a comment, maybe linking to this PR that it fails because of Travis timeout |
Let me try something that can solve the travis problem, I'm trying right now (in other branch)...if not working I will |
Because we probably don't need that. Also add a commented line to disable `opencv_highgui` (we can safely build the cv2.so without it) ¡¡¡Thanks @AndreMiras!!!
¡¡¡Again, thanks @AndreMiras!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
How difficult would it be to include and enable libopencv_face.so? |
We enable the build of the cv2.so library to be able to interact with opencv from python and also we enable the build of most of the opencv's libraries or we will not be able to perform operation with videos, photos, images and others.
Tested in a device with python2 and python3 modifying the testapp_sqlite_openssl with:
Producing the following result with
adb logcat
:Note: this pr completes the work started by @AndreMiras in #1650