I am implementing a feature in my app that needs to take images from camera live feed and send it to server for barcode detection. I already have an message class that I can pass an image to and it will take care the communication with the server. But I am struggling to see how to implement the continuous image sending.
Here as the steps that I see right now- have a loop where I would capture images via AVCapture, then send them to server via my message class(in separate threads?) till on of them returns positive result from the server. Does my logic sound right?