I am working on my b.tech final year project now and i encountered a problem. My project is make a desktop application for the deep learning code that existed , which mainly uses OpenCV and mediapipe libraries , its more like a object detection project and no dataset is needed to provide.. I used flutter and dart to make the frontend and now i know nothing about how to integrate my deep learning code into this flutter application.
i searched it on youtube and did’nt find what i was looking for exactly. I want to include this deep learning code into this flutter application so as that when i open this app, deep learning code should run in background and give me the exact output. Basically i know nothing about application building and i am learning as i go. so if you know anything about how to make this happen please help
2
Answers
I’m not really familiar with Flutter applications, but I would generally suggest pickling your trained model and integrating your frontend with a Flask backend. Flask is useful because you can essentially say, for example, when I click this button, call predict using the saved model. I did something similar with a classification model in the repo below if it helps!
https://github.com/smiley-maker/Creamy-Classifier
You need to add the Deep Learning code on server and then connect your application with that server through APIs. You can provide the datasets from the application to server and server will provide response. In that way, if the operations are memory extensive, the server will handle those.