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
  • Наука та технологія

КОМЕНТАРІ • 63

  • @Sunil-ez1hx
    @Sunil-ez1hx 2 місяці тому +1

    Your channel is the best for Artificial Intelligence & Data Science upto date knowledge with latest topics

  • @kevingiftson9420
    @kevingiftson9420 3 місяці тому

    Thank you,you're a life saver

  • @arnavthakur5409
    @arnavthakur5409 2 місяці тому

    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

  • @GuanLaoban
    @GuanLaoban 2 місяці тому

    Thanks, Aarohi..! Great videos!

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      Thank you! Glad my video is helpful 🙂

  • @soravsingla8782
    @soravsingla8782 2 місяці тому

    What an amazing video👏👏👏

  • @amanullah1583
    @amanullah1583 3 місяці тому

    excellent video

  • @bayda3695
    @bayda3695 Місяць тому

    thanks a lot, when I run the code the results video not embedded in the same site it displayed in a separate window. why?

  • @SerSer-xi6et
    @SerSer-xi6et Місяць тому

    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.

  • @sreethasetty
    @sreethasetty 3 місяці тому

    great video!!

  • @Vnobile
    @Vnobile 2 місяці тому

    for me i couldnt use the yolov9 weight as it says it does not match ultralytics model which is only yolov8

  • @hieuhoanghuu35
    @hieuhoanghuu35 3 місяці тому +2

    why I clone code on your git have not button Start webcam and Start RSTP Stream

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      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).

  • @waseemhaider5295
    @waseemhaider5295 3 місяці тому

    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

    • @CodeWithAarohi
      @CodeWithAarohi  3 місяці тому

      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.

  • @mghirbirahma4733
    @mghirbirahma4733 2 місяці тому

    great video.. can i work on collab and vs code ??

  • @sanjay6242
    @sanjay6242 12 днів тому

    how to run custom model / Weights ?

  • @pifordtechnologiespvtltd5698
    @pifordtechnologiespvtltd5698 2 місяці тому

    Nice

  • @umutcelik9821
    @umutcelik9821 3 місяці тому

    nice job Aarohi

  • @busra1494
    @busra1494 3 місяці тому

    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?

    • @CodeWithAarohi
      @CodeWithAarohi  3 місяці тому

      You need to make minor modifications in your function in order to redirect.

  • @TomislavLevakovic
    @TomislavLevakovic Місяць тому

    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 :-)

    • @CodeWithAarohi
      @CodeWithAarohi  Місяць тому

      Mail me at aarohisingla1987@gmail.com
      I will send you code there.

  • @omerjadoon
    @omerjadoon 2 місяці тому

    Thanks for the video and code. But i couldnt find any code related to web cam in your github repo.

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      It is because that code code is available for channel members (Contribution level 2)

  • @saraalkhalily6400
    @saraalkhalily6400 2 місяці тому

    hi , if i want to display the image in HTML page instead of video how can i do ?

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      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.

  • @AmandeepSingh-uq3wp
    @AmandeepSingh-uq3wp 2 місяці тому

    How did you get the static folder? I am not able to understand its code.

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому +1

      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.

  • @VTVoice761
    @VTVoice761 2 місяці тому

    Mam which version of tensorflow is required

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      You can just run pip install tensorflow. It will work with the latest one also

  • @akhilsajeevan1192
    @akhilsajeevan1192 7 днів тому

    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

    • @CodeWithAarohi
      @CodeWithAarohi  6 днів тому

      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.

    • @akhilsajeevan1192
      @akhilsajeevan1192 6 днів тому

      @@CodeWithAarohi Can you show any documentation or links for doing this procedure .
      step by step simple method

  • @poojakabirdas9006
    @poojakabirdas9006 Місяць тому

    Thanks Aarohi, good content, meanwhile I have a doubt, how to access this web app from a remote location.

    • @CodeWithAarohi
      @CodeWithAarohi  Місяць тому

      You can host it on any server and then you can access it from anywhere.

  • @AbhishekKumar-cd7co
    @AbhishekKumar-cd7co 3 місяці тому +1

    Hello mam, how to get the full code because i am facing error while performing with this code.

    • @CodeWithAarohi
      @CodeWithAarohi  3 місяці тому

      This code will work perfectly for image and video detection. Share error.

  • @leejaric4448
    @leejaric4448 2 місяці тому +1

    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?

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      Sorry, No idea

    • @leejaric4448
      @leejaric4448 2 місяці тому

      @@CodeWithAarohi Madam, Can you show me the code of the webcam, I really need it T_T

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      @@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.

  • @bijayaojha8288
    @bijayaojha8288 2 місяці тому

    mam please upload for licence plate detection also

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      The code will be same. You just need to change the name of trained model in your webapp.py file.

  • @romeroe5931
    @romeroe5931 Місяць тому

    How to create yolov9 custom detection web application with flask?

    • @CodeWithAarohi
      @CodeWithAarohi  Місяць тому

      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.

  • @mghirbirahma4733
    @mghirbirahma4733 2 місяці тому

    how can i be from your channel member plz ??

    • @CodeWithAarohi
      @CodeWithAarohi  2 місяці тому

      Click on this link and then click on join button. Follow on screen instructions. ua-cam.com/channels/gHDngFV50KmbqF_6-K8XhA.html

  • @sohanwagh5447
    @sohanwagh5447 3 місяці тому

    can i pass my custom yolo v9 model

  • @user-cs9en8wj5g
    @user-cs9en8wj5g Місяць тому

    The title of the video is "Object Detection Web Application with Flask and YOLOv9", but you're using YOLOv8. Please fix the title.