C# - Real-time Object Detection From an Image | Yolo - II | Draw Rectange and Text on the Image

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 48

  • @rajaabdulmoeez3802
    @rajaabdulmoeez3802 5 років тому +2

    HI Balaji S I appreciate your work very much. Thanks for your tutorial that help me a lot. But now I need to do it with the video instead of the still image please help me out how can I do that?

    • @tungtran2559
      @tungtran2559 5 років тому

      hi raja do you have it? please share with me

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому +1

      @@tungtran2559 Hi Raja,
      I'm sorry that my response didn't reach you. I already replied you how to do object detection on video. But I don't know where my comment went. Today I got notification from Tung Tran. Then only I realized my comment got deleted automatically.
      The solution to your problem:
      -----------------------------------------------------
      1) Get each and every frame from a video
      2) Apply Object Detection Algorithm on it (I demonstrated that in the above video)
      3) Then merge all the frames into video again.
      Use ffmpeg library for converting image to video and vice versa.
      I try to (and I will) create a tutorial on it and let you know.

    • @tungtran2559
      @tungtran2559 5 років тому

      @@ProgramWithBalaji Thanks for the help. I'll try do it and looking for your video.

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      @@tungtran2559 All the Best Dude

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому +1

      @@tungtran2559 Hi Dude, Did you get the desired output that you want. I tried achieving it and I made it work. What about you? You too got the solution?
      You can download ffmpeg from this link www.filehorse.com/download-ffmpeg-64/
      Give it a try. If you got the solution, let me know.
      If you want I'll record a video on that (But it'll take some time). Or if you want I can take private session for you. Else, I can just share the code. Just let me know what you want.

  • @Frank-xc2ib
    @Frank-xc2ib 4 роки тому +2

    Please make a video about how to train customized yolo model in C#!
    You did a great job!

    • @ProgramWithBalaji
      @ProgramWithBalaji  4 роки тому +1

      Sure. I'll try to do a video

    • @martinl.2033
      @martinl.2033 3 роки тому +1

      @@ProgramWithBalaji Hi I need exactly the same. What would be an approach to train and use custom yolo model

  • @amquangphuoc5377
    @amquangphuoc5377 4 роки тому +2

    WTH real-time?

  • @swarajbiswas3056
    @swarajbiswas3056 4 роки тому

    Hello, Iam Swaraj. I have tried your tutorials myself and they do really work. I want this yolo object detection in live webcam feed. Can you please give a tutorial for that. Your reply is awaited. Thankyou.

  • @dangnguyenvan5500
    @dangnguyenvan5500 2 роки тому

    Hi, could you show me where is Real-time?

  • @illusioniste00
    @illusioniste00 4 роки тому

    Hi I'm very greatfull to you for this video. I have a question, is it possible to customize the detected objects or learn to yolo to detect new ones?

  • @PHM_Tech
    @PHM_Tech 3 роки тому

    Not working for me, im using a bitmap the list items is like to be nothing inside, can you please help?

  • @mhmdhussein7739
    @mhmdhussein7739 5 років тому

    Thank you very much my friend

  • @devesh1709
    @devesh1709 4 роки тому

    Hi, how to train model for new object

  • @kumaresha3348
    @kumaresha3348 4 роки тому

    Great Video. Like it. Can you make image detection with stones. If possible, can you do video to detect them. Thanks.

  • @Basav555
    @Basav555 4 роки тому

    does fps increase for this compared to python

  • @mhmdhussein7739
    @mhmdhussein7739 5 років тому

    Please , can you do a tutorial about how the scanner works directly for more than one page and collect it in a pdf file

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      Do you want how to interact with a scanner using C#?

    • @mhmdhussein7739
      @mhmdhussein7739 5 років тому

      Yes please i need it
      It is very important to me 🌹

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      @@mhmdhussein7739 Sorry Hussein, I don't have access my scanner, right now. So, I can't test my code and help you with that. But, if you really want my help in that, I'll try helping you. I found this page, where they explained how to use WIA class to access the scanner
      ourcodeworld.com/articles/read/382/creating-a-scanning-application-in-winforms-with-csharp

  • @3tgunner392
    @3tgunner392 5 років тому

    Hi Balaji, Where i can get label names output? I need it to use serial port. Thanks

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      Sorry I didn't get you

    • @3tgunner392
      @3tgunner392 5 років тому

      Balaji, into README file i see
      //items[0].Type -> "Person, Car, ..."
      //items[0].Confidence -> 0.0 (low) -> 1.0 (high)
      //items[0].X -> bounding box
      //items[0].Y -> bounding box
      //items[0].Width -> bounding box
      //items[0].Height -> bounding box
      Can i get Type output?
      for example:
      if ( items[0] = " Person ")
      {
      ......
      }

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      Yes, you can use the conditional statements
      if(item[0]=="Person"){
      // Do whatever you want
      }

  • @ligeirow
    @ligeirow 5 років тому

    how i put camera video with yolo C#?

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      Hi Adariano, Check this tutorial ua-cam.com/video/blx8oC82wFE/v-deo.html
      This tutorial is all about using EmguCV to access a webcam.

  • @ArhamAhmed-ff5jz
    @ArhamAhmed-ff5jz 4 роки тому

    HI Balaji S I appreciate your work very much, but now i am suffering from exception {"Unable to load DLL 'x64\\yolo_cpp_dll_cpu.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"} could you please help me.

  • @jamaticon
    @jamaticon 4 роки тому +1

    Great tutorial, but poor choice of test images.

    • @ProgramWithBalaji
      @ProgramWithBalaji  4 роки тому

      I just tested it with my video thumbnails 😂

    • @jamaticon
      @jamaticon 4 роки тому

      @@ProgramWithBalaji Great! More distinct objects in the sample would illustrate the demo clearly. Thank you

  • @marcorodrigues3136
    @marcorodrigues3136 4 роки тому

    Hi could you do it in real time with camera?

    • @ProgramWithBalaji
      @ProgramWithBalaji  4 роки тому

      Hey Dude, I have a separate video on how to capture your webcam input ua-cam.com/video/blx8oC82wFE/v-deo.html
      Watch the above video and merge that concept with the concept I explained in this video.
      Hope my answer helps :)

  • @anhquoc9800
    @anhquoc9800 5 років тому

    Thank you very much, but I have a question: I have another yolov3 weight files, how can I use it for my own project? I have the .cfg and .weights and .json file.

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      Hi Anh,
      Now you want to train yolo by your custom configuration. For that use the following code
      var yoloCustomWrapper = new YoloWrapper("", "", "");
      var items = yoloCustomWrapper.Detect(@"image.jpg");
      // Note: Place all cfg file, weights file and names file in the Debug Folder (i.e., the folder where you have .exe file of your application and then specify the path to the file)

    • @anhquoc9800
      @anhquoc9800 5 років тому +1

      @@ProgramWithBalaji Thanks u for help ^^

    • @ProgramWithBalaji
      @ProgramWithBalaji  5 років тому

      @@anhquoc9800 You are welcome

  • @nguyenanhtuan4566
    @nguyenanhtuan4566 4 роки тому

    Thank you so much for your tutorial. I have a question when I try to run detect in video or camera. How do I load the config of the model only 1 time? because now it loads model every frame so time for processing is bigger. Could you share your email or what's app number to me? I have something want to talk with you. Thank you so much!