Measure size of objects in real-time with Computer Vision | Opencv with Python
Vložit
- čas přidán 26. 07. 2024
- 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 - Věda a technologie
Learning more and more from your tutos, keep it up 🥳
Great video Thank you so much
Wonderful video. Please share dataset video and complete code for practice. Without dataset and code can't practice.
Thank you so much! Greate
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
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.
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.
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)
That's great video buddy !! Can you please the source that you used in video. I want to try it myself.
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
Will it work for object bigger then 2m? What precision i could get?
Thank youuuuuuuuuuuuuuuuuuuuuuu ❤
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?
dose the camera position effect the measurements of objects ? if yes how can i avoid that
Hi, do u have the data source used?
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
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!
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.
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.
How to catch events, if object cross the 3 lines?
What type of camera you are using
Hello, I want to ask about if the camera already calibrated, did it still need to calculate the pixel ratio to cm?
of course you do. you can move a calibrated camera further away form the part, and you will get a diferent measurement.
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?
i want to make object sorting..for example mixed bolts..i want one servo to drop the object in bins,,,
Sir i have to detect the node of the sugarcane on a conveyor can you help?
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
The detectron2 version of Mask R-CNN can run on jetson xavier
Can mask r cnn be run on raspberry Pi 4 B??
@@ajaykushwah6793 Nope, raspberry pi 4 is too weak.
Minimum you need a Jetson Xavier with 8GB of RAM
@@pysource-com thank you
Sir please upload your course on udemy
Please can you do in 3d😍
Can you provide draw video ?
cant you just crank up the contrast and then make the image black and white to identify the borders that way?
when the nuts rotate how to measure how many degrees they have turned?👏😊
OK, but would much like to see a written tuition + source for this video.
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/
@@pysource-com thank you for the code snippets!!
I have learned so much from your ML tutorials! Best instructor🤙
Can you deliver the same but using Azure services??? ,
highly application your feedback for future collaboration
👍🏻
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?
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
hello,my name is kun ,i am doing miniproject to sent teacher,
i have problem about setting size object,can you teach me please?
Please make a video on counting of these nuts
Can you give me discount for this course? Let me know where t request for this if you have a discount code? Thank you
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)