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.
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.