Android Question Use camera to trigger procedure

canalrun

Well-Known Member
Licensed User
Longtime User
Your app will need to run for it to be able to use the camera. You will need to analyze the picture and recognize the object. This is a difficult task.

As Erel says "not a simple task". I did something similar a while ago. I used OpenCV functions to recognize an object (they have object recognition routines). In my case I just logged recognition success, but you could also run a subroutine based on an object being recognized.

There is discussion, I believe in the Chit Chat subforum (found it: https://www.b4x.com/android/forum/threads/say-hello-to-opencv-for-b4a.78255/), about an OpenCV library that will be available to B4A. I believe it's in beta, but it may be worth looking at.

Barry.
 
Last edited:
Upvote 0
Top