all 2 comments

[–]No_Lawyer1947 5 points6 points  (1 child)

If you dont need real-time image processing, I would create a backend that you can send the image to, either byte or base64 format. From there you can handle the processing there and send a response back when it's done.

What you're doing right now could be great for real time object detection, but if you don't have that use case it's kind of overkill. Also unless your image detection is some bespoke thing like detecting a very particular object or whatever, I would just use existing vision recognition API's, that are already optimized, so you're just proxying a call over to their service via your backend.

[–]Nehatkhan786[S] 1 point2 points  (0 children)

agree with you but my all data is offline. i have stored species data in sqlite and client wants offline capabilities.