Object Detection Web Application with Flask and YOLOv9
Вставка
- Опубліковано 30 бер 2024
- Learn how to create your own Object Detection Web Application using Flask and YOLOv9. In this tutorial, I'll walk through the process step by step, empowering you to deploy your own powerful AI-driven tool for object recognition on the web.
GitHub: github.com/AarohiSingla/Objec...
For queries: You can comment in comment section or you can email me at aarohisingla1987@gmail.com
#computervision #yolov9 #objectdetection #yolov8 #flask #webapplicationdevelopment - Наука та технологія
Your channel is the best for Artificial Intelligence & Data Science upto date knowledge with latest topics
Glad you think so!
Thank you,you're a life saver
Happy to help
Thank you ma'am for making this useful video. Your channel is really helping me building my career in Artificial Intelligence & many of your topics are related to projects our company is working upon. Thank you again & keep sharing your videos
It's my pleasure
Thanks, Aarohi..! Great videos!
Thank you! Glad my video is helpful 🙂
What an amazing video👏👏👏
Thank you so much
excellent video
Thanks!
thanks a lot, when I run the code the results video not embedded in the same site it displayed in a separate window. why?
thank you very much for the quality content. It’s very interesting to try, but tell me why the code located on Github does not have a display function when launching webcams and starting an RTSP stream. (or maybe it didn’t start for me.) My native language is not English, so the text may be a little incorrect.
great video!!
Thank you!!
for me i couldnt use the yolov9 weight as it says it does not match ultralytics model which is only yolov8
why I clone code on your git have not button Start webcam and Start RSTP Stream
I have mentioned in last few minutes of my video that there are 2 versions of this code. 1st version (where you can test on images and videos) is available for all. 2nd version where you can get entire code is for Channel members (Contribution Level 2).
great work ,and i want to create project to select one person according to user choice in one camera and detect our system exact person in any camera or video and track successfully, please mam one video for this type of project , love from Pakistan
Step 1: Create an object detection model to detect all persons.
Step 2: Compare the features of the selected person with the features of each detected person to identify the exact person chosen by the user.
Extract features from both the selected person and all detected persons in the camera feed.
You can use Histogram of Oriented Gradients (HOG), deep learning embeddings (e.g., from convolutional neural networks)
Once you have extracted features for the selected person and all detected persons, you can compare these features to find the best match.
This comparison can be done using various distance metrics such as Euclidean distance, cosine similarity etc.
Set a threshold to determine the best match between the selected person and the detected persons.
great video.. can i work on collab and vs code ??
how to run custom model / Weights ?
Nice
Thanks
nice job Aarohi
Thanks!
Great project but I have a question. When I run the project, I always want to see the prediction screen on the Yolov9 Object Detection Result page. How can I solve it?
You need to make minor modifications in your function in order to redirect.
Hi ! Great channel ! Lot to learn ! Can ypu explain more precisely where to download full code for this video i have just start Contribution Level 2 :-)
Mail me at aarohisingla1987@gmail.com
I will send you code there.
Thanks for the video and code. But i couldnt find any code related to web cam in your github repo.
It is because that code code is available for channel members (Contribution level 2)
hi , if i want to display the image in HTML page instead of video how can i do ?
You need to make changes in your webapp.py file. There, we have a function which is responsible for showing the output after detection. You can modify that function.
How did you get the static folder? I am not able to understand its code.
Static folder have files related to css and javascript. These files are used to design the dashboard. I picked these files from internet. No need to understand these files. They are only helpful to design the app.
Mam which version of tensorflow is required
You can just run pip install tensorflow. It will work with the latest one also
Hi, I have a doubt.
I trained a yolov8 model with a 4 claases with my custom dataset. Now i want to add a new 2 classes into that model with another dataset but i dont want to loss the older weights of the best model when trained , which is already trained with 4 classes.
Is there any solutions or reference to resolve this?
Is freezing the model layers may be helpful?
Is that so can you show me to resolve it
Yes, you can add new classes to your model without losing the weights already learned for the existing classes. Use transfer learning (freezing some layers of the pre-trained model) to retain their learned features while allowing new layers to adapt to the new classes.
@@CodeWithAarohi Can you show any documentation or links for doing this procedure .
step by step simple method
Thanks Aarohi, good content, meanwhile I have a doubt, how to access this web app from a remote location.
You can host it on any server and then you can access it from anywhere.
Hello mam, how to get the full code because i am facing error while performing with this code.
This code will work perfectly for image and video detection. Share error.
Hi madam, is it possible to make an integration between the yolo v8 output with react native app, so i can view the webcam output and the data on my app, you have any idea on this?
Sorry, No idea
@@CodeWithAarohi Madam, Can you show me the code of the webcam, I really need it T_T
@@leejaric4448 As I have mentioned in the end of this video that code for image and video is available for all users but channel members ( Contribution level 2) can access the code of webcam and rtsp stream also.
mam please upload for licence plate detection also
The code will be same. You just need to change the name of trained model in your webapp.py file.
How to create yolov9 custom detection web application with flask?
This is what I have explained in this video. Train your custom model using yolov9. Then provide the path of that custom model in web_app.py file.
how can i be from your channel member plz ??
Click on this link and then click on join button. Follow on screen instructions. ua-cam.com/channels/gHDngFV50KmbqF_6-K8XhA.html
can i pass my custom yolo v9 model
Yes
The title of the video is "Object Detection Web Application with Flask and YOLOv9", but you're using YOLOv8. Please fix the title.
Sure! Thanks