I want to build an android camera app with real time object recognition (similar to face recognition). I know that object recognition it's more complex than face recognition, so what I want to do is to use object-recognition algorithm for machine learning on a server and send from android to server frames that will pe processed by server and return back the object name that was found.
Right now the server receives a picture as parameter and response with the objects in the picture and I was thinking to use Camera.PreviewCallback and onPreviewFrame() to send the frame to server (deprecated in API level 21). Or should I do something with video streaming from android to server?
Can someone explain if it's possible and what it's the best way to do it?