How to Capture and Label Training Data to Improve Object Detection Model Accuracy

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ค. 2024
  • Learn tips and techniques for gathering and labeling images to train object detection models! This video gives instructions on how to take pictures of your objects and label them for training. It also discusses best practices for collecting images that will improve your model's overall accuracy.
    Keep an eye on my website for more information and tips about building strong image datasets: ejtech.io/learn
    -- Links --
    LabelImg download page for Windows: github.com/heartexlabs/labelI...
    LabelImg install instructions for macOS and Linux: github.com/heartexlabs/labelI...
    How to train a custom a TensorFlow Lite model: • How to Train TensorFlo...
    PictureTaker.py program on GitHub: github.com/EdjeElectronics/Im...
    -- Music --
    - Blue Wednesday - Road Back Home
    - Provided by Lofi Records
    - Watch: • Blue Wednesday - Road ...
    - Download/Stream: fanlink.to/InMyHeadEP
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 59

  • @EdjeElectronics
    @EdjeElectronics  ปีที่แล้ว +102

    Unfortunately, Cleo passed away unexpectedly several months ago. She was a wonderful cat, and she will be dearly missed. May her memory live on forever through this TH-cam video.

  • @nickfisher6813
    @nickfisher6813 ปีที่แล้ว +5

    this has channel has been a huge help for my college projects, thanks for all your uploads, literally way to helpful

  • @kevinsmithwoo
    @kevinsmithwoo ปีที่แล้ว +7

    Please, keep creating content. Awesome job!

  • @mage2754
    @mage2754 ปีที่แล้ว +2

    Thank you so much. Been looking for a concise explanation on this

  • @dcdales
    @dcdales 10 หลายเดือนก่อน

    This is very helpful. Thanks so much, Edje!

  • @ivandimitrov2401
    @ivandimitrov2401 7 หลายเดือนก่อน +3

    Amazing tutorial! One of the most useful videos I've ever watched. Keep up the good work!
    Thanks a lot, Edje!

  • @MrMintMonkey
    @MrMintMonkey ปีที่แล้ว +2

    Gained a new subscriber, keep up the great work!

  • @TomasAlmeida-CC
    @TomasAlmeida-CC 6 หลายเดือนก่อน +1

    Thank you, that was really useful, and your cat is so cute!

  • @nurmanprihatna4274
    @nurmanprihatna4274 11 หลายเดือนก่อน +1

    Awsome ...
    it very inspiring and gave me new insights about computer vision..

  • @lontongtepungroti2777
    @lontongtepungroti2777 10 หลายเดือนก่อน

    your video is amazing thank you very much :")

  • @syazwansharani8907
    @syazwansharani8907 4 หลายเดือนก่อน +2

    thanks! I learnt a lot from this. Cheers, mate :) and RIP Cleo ;(

  • @ANUJSINGH-bz7ci
    @ANUJSINGH-bz7ci ปีที่แล้ว +1

    love u mate ❤ u help me alot doing things ,huge respect

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว

      Thanks man! I appreciate it. More videos coming in the next few months :)

  • @microwavecoffee
    @microwavecoffee 10 หลายเดือนก่อน +5

    When dealing with images not taken by your camera, would you suggest normalization of images dimensions before/after drawing bounding boxes, or to do it programmatically?

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 10 หลายเดือนก่อน

    Perfect!

  • @orkunvemosi
    @orkunvemosi 5 หลายเดือนก่อน +1

    sorry about your cat. you're an awesome human being for teaching us this stuff

  • @ibersonsilva9413
    @ibersonsilva9413 11 หลายเดือนก่อน

    Good video! I just have one question: How can I detect places instead of objects?

  • @calvjohn8165
    @calvjohn8165 ปีที่แล้ว +2

    This is an amazing content, I have tried the coins detection as well and it worked but how do you change the color of the bounded boxes?

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว +1

      Thanks! Check Line 209 of my TFLite_detection_webcam.py script - the "cv2.rectangle" call sets the color of the rectangle to (10,255,0) which is a light green. You can change that value to change the color.
      github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi/blob/master/TFLite_detection_webcam.py#L209

  • @christophgottert3110
    @christophgottert3110 7 หลายเดือนก่อน +1

    Thanks for the video! I wonder how to decide which resolution & aspect ratio to choose for the test data? E.g. if I'm about to use a model with 256x256 input tensor, does it even make sense to label an 800x600 image?

  • @sgschusswaffenlol9
    @sgschusswaffenlol9 7 หลายเดือนก่อน

    Hello- Thank you for this great tutorial. I am new to deep learning and image object detection. However I would like to detect a line or vector in my image. Are there any "Image Labeling" tools that help me to create my dataset,? Are there any tutorials online that show how to detect "line-like" objects?
    I would really appreciate it, if somebody can give me some tips.

  • @briannyirenda9951
    @briannyirenda9951 11 หลายเดือนก่อน

    Thanks for this awesome video am really learning ... but I have a question I am creating a social media app and decided to use tensor flow lite for content moderation is it possible to prohibit images that have been uploaded by users if they are in appropriate. ?

  • @khenpahilanga9596
    @khenpahilanga9596 ปีที่แล้ว +1

    hello sir, thanks alot for this video, I would like to ask, is it possible to use object detection more specifically to detect disease on plant leaves, e.g. tomatoes or eggplants? I would highly appreciate it if you could provide tips if otherwise, to create a system for this kind of detection real time, im new to machine learning and these stuff :)

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว

      Hello! Here's a video that looks like it covers how to detect diseased plant leaves using a YOLOv5 model. When collecting the dataset, keep the tips from my video in mind.
      th-cam.com/video/mFrnRIVj8m0/w-d-xo.html

  • @cbara568
    @cbara568 9 หลายเดือนก่อน

    Please, when is the next video coming out? I can't wait

  • @arya83o292
    @arya83o292 ปีที่แล้ว

    Sir, how to use feature extractor ssdlite mobilenetv3 small in tensorflow 2?

  • @WAWASAMBHUWARA
    @WAWASAMBHUWARA ปีที่แล้ว

    Really love yout video sir. I have a question. Can I use Faster RCNN on android? Because I try it but it doesn't work. Thanks

  • @user-ci2xr4qs4x
    @user-ci2xr4qs4x ปีที่แล้ว

    Can this product export item and time into a excel spreadaheet

  • @faraway27
    @faraway27 ปีที่แล้ว +1

    Thank you very much for your tutorials, but I am still having an open question:
    I want to create a shopping item detection model, which detects items in supermarkets.
    Is it possible to label these objects always as „items“ (0, Background and 1 item), since the camera will only see background or shopping items? Or will it be difficult to train such a model on only one class?

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว +1

      Oh yeah! I remember your question from the other video. If you're detecting items on a checkout conveyor, I think it would work to just label everything as "item". You don't need to worry about having a separate class for background. Your labelmap would have just one entry, like this:
      item
      If you have enough images of objects on the conveyer belt and label all the objects as "item", I think it will be fairly accurate. I would start with just 100 - 200 images and see how it works. The only drawback is if you try the model on a new item on that it hasn't ever seen before, it might not recognize it.

    • @faraway27
      @faraway27 ปีที่แล้ว +1

      Thank you for the answer. I thought so too, which is why I have already collected data. However, as a beginner, I did not realize how important the quantity as well as quality is, as shown here in the video. Now that I have seen this video I am excited to start the project properly.

  • @mehow99_91
    @mehow99_91 ปีที่แล้ว

    Hey, I've Got a question. I was trying to run tensorflow object detection program an somehow have remote Access to this screen, not only from home but for example when I go to the nearby store and want to check if everything is safe iside my house. Could you help me with that?

  • @adityapatel-qp2ir
    @adityapatel-qp2ir ปีที่แล้ว

    Edje please help me. With ur batch size setting my model stops learning in initial phase with ^c . Without my intervention. Do u have any optimization or fix please help

  • @SA-oj3bo
    @SA-oj3bo 18 วันที่ผ่านมา

    Hi, could you please make a video how to recognize sounds with a RP? Thanks in advance!

  • @romellfudi
    @romellfudi ปีที่แล้ว +1

    Thats awesome, how many objects do you need per class?

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว

      I recommend using at least 50 images per class to start with 👍

  • @07_firzaichlasulamalarians8
    @07_firzaichlasulamalarians8 ปีที่แล้ว

    hei why i use same format xml but my dataset get error in convert to csv but if im use ur dataset it can
    can u solve that?

  • @GNPWIJAYARATHNA
    @GNPWIJAYARATHNA ปีที่แล้ว +1

    Hello, thanks for sharing, I want to know the image size or resolution, can you suggest any?

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว +1

      If you know what resolution your camera will run at in the application, then you should use that resolution. Otherwise, I generally recommend capturing 1280x720 images.

    • @nipunagnp
      @nipunagnp ปีที่แล้ว +1

      Thanks. Image Captures around 2-3 mb. My worry is this increase huge image capacity. And effects to collab’s processing time? . Your images are around 100 kb 🙄🤔😰

    • @EdjeElectronics
      @EdjeElectronics  ปีที่แล้ว +1

      @@nipunagnp yep, if your images are 2-3MB, you’re probably using 1920x1080 resolution or higher. Try reducing it to 1280x720, or even 640x360.

  • @HaiLe-hl1wj
    @HaiLe-hl1wj 2 หลายเดือนก่อน

    hello, how many images do you need per object for training it?

  • @patriciowallace446
    @patriciowallace446 9 หลายเดือนก่อน +1

    Hi, very interesting, There is a way to presize the size of an object if I fix the camera in a place and an object in the same perspective and distance, like a machine making parts, just to detect parts not good well done by the machine.
    There is a way ?

    • @EdjeElectronics
      @EdjeElectronics  9 หลายเดือนก่อน

      I see what you mean! Unfortunately, LabelImg is fairly basic and I don't think there's a way to presize the bounding box. You might want to look at Label Studio - it's free and offers more flexibility. labelstud.io/

  • @marc-antoinepelletier4661
    @marc-antoinepelletier4661 หลายเดือนก่อน

    do you need to have all the objects in all the pictures or you could have 4 different folder for all diffrent type of objects?

  • @RED-zs4cq
    @RED-zs4cq ปีที่แล้ว

    labelstudio is also a good labeling tool

  • @sohaibzafar6110
    @sohaibzafar6110 3 หลายเดือนก่อน

    your cat is beautifull MA SHA ALLAH

  • @piconano
    @piconano 2 หลายเดือนก่อน

    Thank you for your informative video.
    I'm starting on this journey and have a few questions before I go too deep down the rabbit hole.
    1- If I had a video showing an object from all possible positions, is there a way to automate the training and let a script take picture instead of me?
    2- Once this dataset has been captured, is it possible to transfer the dataset to an identical system without retraining? What about the improvements that each machine will come up with, is there a way to integrate new learned data and share them between two or more machines?
    I have more questions but for now, these are my stumbling blocks.
    Thanks again.

  • @daryljaysagabaen9562
    @daryljaysagabaen9562 6 หลายเดือนก่อน

    8:23

  • @mr.sunshine0226
    @mr.sunshine0226 หลายเดือนก่อน

    the cat want to escape 😼