How to use cv2 and toga #1921
Replies: 1 comment 1 reply
-
In general, there's no special instructions for how to use any package in Briefcase. Add the package to your requirement, and run either The caveat on that is that the package needs to exist for the platform you want to target. In your case, you want to target Android and use the camera APIs, so you need a version of the opencv wheel that has been compiled for Android with camera support enabled. At present, opencv-python is on the list of packages that is currently supported, but the camera APIs haven't been enabled. Apparently OpenCV has Android support for camera APIs; but that support hasn't been enabled as part of the compiled wheel. This is likely solvable, but it requires someone looking into the problem. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
Im looking for an example that use toga and cv2 to get webcam stream to apply a tflite object detection and tracking. I already have a model that works fine but I cant manage to use toga. My goal is to deploy my app on android.
Do you know any example or project that has those features ?
Paolo
Beta Was this translation helpful? Give feedback.
All reactions