Measure size of objects in real-time with Computer Vision | Opencv with Python

Ғылым және технология

Article here: pysource.com/2022/11/29/measu...
In this video we're going to measure the size of Objects in real-time using Opencv with Python.
Measuring the size of objects with Computer vision is a complex task that involves being able to identify accurately the boundaries of the objects and being able to convert them into a unit of measure (ex. centimeters, or inches).
we will go through all these steps by using a simple scenario where a camera is on a fixed position and the objects are on a plane surfaces.
➤ Courses:
Full Computer Vision course: pysource.com/object-detection...
Training Mask R-CNN PRO (Notebook + Mini-Course): pysource.com/mask-rcnn-traini...
Blueprint: pysource.com/blueprint
➤ Follow me on:
LinkedIn: / pysource
➤ For business inquiries:
pysource.com/contact
#computervision #measurement #objects

Пікірлер: 47

  • @connectrRomania
    @connectrRomania Жыл бұрын

    Learning more and more from your tutos, keep it up 🥳

  • @MakerTutor101
    @MakerTutor101 Жыл бұрын

    Great video Thank you so much

  • @anuragarunedlabadkar8889
    @anuragarunedlabadkar8889 Жыл бұрын

    Wonderful video. Please share dataset video and complete code for practice. Without dataset and code can't practice.

  • @orhandag540
    @orhandag540 Жыл бұрын

    That's great video buddy !! Can you please the source that you used in video. I want to try it myself.

  • @peterr2237
    @peterr2237 Жыл бұрын

    Thanks for sharing this wonderful idea that estimates the width of the boudning box of rois. However, as you said, a more practical application would need to put the camera right on top of the belt conveyor with the correct calibration. So in this case, I believe that a Mask-RCNN might not be helpful as it cannot obtain a percise mask and pretty clunky. In my view, any version of YOLO above 3 would be fair enough. Moreoever, some projects need to estimate the inner diameter of the nuts or to calculate the area of them which lead to the application of bernouli random variable.

  • @user-ee5mw8xf7l
    @user-ee5mw8xf7l11 ай бұрын

    Hello and thanks for such a great video! I was wondering if it was possible to measure a size of an object via a ruler or a scale line, which appears on the same image as the object? For example if i am working with maps of different scale and need to get a measurement of object on such maps.

  • @nakulmali1413
    @nakulmali1413 Жыл бұрын

    Hello Sir first upon thanks for this video. sir i request you please upload video on how to calculate size of irregular shapes using OpenCV (my camera is moving and capturing objects)

  • @NTechVision
    @NTechVision Жыл бұрын

    Thank you so much! Greate

  • @spyts
    @spyts Жыл бұрын

    Nice video!!! How to insert a tolerance for the object and inform in a text box (GD / NG) if the object is within a defined tolerance? Tks

  • @christianrazvan
    @christianrazvan3 ай бұрын

    U could have a 1 cm length band taped to the rail( on the metal part) and from that u could calculate the pixel/cm distance value and apply that to your objects measure. It saves you a complex camera or two cameras

  • @iyshwaryakannan6677
    @iyshwaryakannan6677 Жыл бұрын

    Hi sir, most helpful video for my project work, I'm working on estimating height of a person using CCTV, can the same be applied for this sir

  • @_ABDULGHANI
    @_ABDULGHANI11 ай бұрын

    Thank you for this video, if I want to calculate the hight only I will use Y (Y2-Y1). is this right? And can I use this code with YOLOv8 sgmentation?

  • @MrStickyIggy
    @MrStickyIggy Жыл бұрын

    What kind of accuracy can be obtained with computer vision? For example, if a 64 megapixel camera was used could a program be able to measure simple objects with a +\-2mm tolerance? Thank you so much for these videos!

  • @pysource-com

    @pysource-com

    Жыл бұрын

    yes definitely with a precise industrial camera and an accurate study of the project into its minimal details it's possible to achieve such accuracy with computer vision.

  • @abdulrahmanmohammed5874
    @abdulrahmanmohammed5874 Жыл бұрын

    dose the camera position effect the measurements of objects ? if yes how can i avoid that

  • @UocLv
    @UocLv9 ай бұрын

    Will it work for object bigger then 2m? What precision i could get?

  • @mhh5002
    @mhh5002 Жыл бұрын

    Hi, do u have the data source used?

  • @AmadeaPermanaS
    @AmadeaPermanaS Жыл бұрын

    Hello, I want to ask about if the camera already calibrated, did it still need to calculate the pixel ratio to cm?

  • @Queracus

    @Queracus

    9 ай бұрын

    of course you do. you can move a calibrated camera further away form the part, and you will get a diferent measurement.

  • @onkarchaudhari626
    @onkarchaudhari6263 ай бұрын

    What type of camera you are using

  • @piconano
    @piconano2 ай бұрын

    I'm starting my journey into computer vision and Ai. Would it be possible for me to train a raspberry pi to count the number of cars from a video, models made by Honda for example? Am I barking up the wrong tree? I don't know Python but know C/C++ very well and the migration will be a walk in the park. Does Pi3B+ and Camera have the power to do that or do I need much better hardware which I don't have? Thanks for any guidance.

  • @petersobotta3601
    @petersobotta3601 Жыл бұрын

    Great video once again. Can mask-rcnn be run on an edge device like a Jetson? I need object detection and the orientation of the object. Thanks

  • @pysource-com

    @pysource-com

    Жыл бұрын

    The detectron2 version of Mask R-CNN can run on jetson xavier

  • @ajaykushwah6793

    @ajaykushwah6793

    Жыл бұрын

    Can mask r cnn be run on raspberry Pi 4 B??

  • @pysource-com

    @pysource-com

    Жыл бұрын

    @@ajaykushwah6793 Nope, raspberry pi 4 is too weak. Minimum you need a Jetson Xavier with 8GB of RAM

  • @ajaykushwah6793

    @ajaykushwah6793

    Жыл бұрын

    @@pysource-com thank you

  • @suphasud
    @suphasud Жыл бұрын

    Thank youuuuuuuuuuuuuuuuuuuuuuu ❤

  • @HopeHumor
    @HopeHumor9 ай бұрын

    i want to make object sorting..for example mixed bolts..i want one servo to drop the object in bins,,,

  • @upgradeu3928
    @upgradeu3928 Жыл бұрын

    How to catch events, if object cross the 3 lines?

  • @mayankmaurya7877
    @mayankmaurya787715 сағат бұрын

    Sir i have to detect the node of the sugarcane on a conveyor can you help?

  • @keepsecret7624
    @keepsecret7624 Жыл бұрын

    OK, but would much like to see a written tuition + source for this video.

  • @pysource-com

    @pysource-com

    Жыл бұрын

    I've just added the article including the information I shared in the video and with the code snipped I coded in realtime pysource.com/2022/11/29/measure-size-of-objects-in-real-time-with-computer-vision-opencv-with-python/

  • @MrBLAA

    @MrBLAA

    Жыл бұрын

    @@pysource-com​ thank you for the code snippets!! I have learned so much from your ML tutorials! Best instructor🤙

  • @salutamicamea
    @salutamicamea Жыл бұрын

    I can't download a resource from the site, it sends it to the subscribe screen, I write my e-mail, but it does not approve or send a code to the e-mail. Can you please take care mr. sergio?

  • @pysource-com

    @pysource-com

    Жыл бұрын

    please contact us at pysource.com/contact and provide the link of the page of the code you want and we'll help you with that

  • @dansimek6790
    @dansimek67902 ай бұрын

    Hi, does anybody know how to measure size of rectangular box that can be rotated? Imagine same example as in the video, but instead of bolt nuts, it is packages and they can lay in any orientation on the conveyor belt. How would you approach that?

  • @nikitamitrofanov3113
    @nikitamitrofanov31133 ай бұрын

    cant you just crank up the contrast and then make the image black and white to identify the borders that way?

  • @ANSCENTER-yw8jb
    @ANSCENTER-yw8jb Жыл бұрын

    Can you provide draw video ?

  • @nakulmali1413
    @nakulmali1413 Жыл бұрын

    Sir please upload your course on udemy

  • @PanDaBoMa
    @PanDaBoMa7 ай бұрын

    when the nuts rotate how to measure how many degrees they have turned?👏😊

  • @iyadhh2
    @iyadhh22 ай бұрын

    Can you deliver the same but using Azure services??? , highly application your feedback for future collaboration

  • @kunthanakorn4234
    @kunthanakorn42348 ай бұрын

    hello,my name is kun ,i am doing miniproject to sent teacher, i have problem about setting size object,can you teach me please?

  • @francescofabbri5398
    @francescofabbri5398 Жыл бұрын

    Please can you do in 3d😍

  • @kamrangul2876
    @kamrangul2876 Жыл бұрын

    Please make a video on counting of these nuts

  • @paulikhane
    @paulikhane Жыл бұрын

    Can you give me discount for this course? Let me know where t request for this if you have a discount code? Thank you

  • @Xiaoxiaoxiaomao
    @Xiaoxiaoxiaomao Жыл бұрын

    👍🏻

  • @nakulmali1413
    @nakulmali1413 Жыл бұрын

    Hello Sir first upon thanks for this video. sir i request you please upload video on how to calculate size of irregular shapes using OpenCV (my camera is moving and capturing objects)

Келесі