Hello sir the video was really useful for me. But i have a struggle in measuring a particular object ( example: I want to measure the size of single tree in image where as the image has many trees and other noisy background). Can you please suggest me to measure the particular object with exact edges in image. Please. Waiting for you reply.
Use an image segmentation algorithm to separate the tree of interest from the background. There are various techniques available for image segmentation, such as thresholding, region growing, watershed, and active contours. Once you have segmented the tree of interest, you can use techniques like edge detection or boundary tracing to extract the exact edges of the tree. Finally, you can measure the size of the tree by calculating its area, perimeter, or other relevant metrics. Some popular image processing libraries like OpenCV or scikit-image have built-in functions for image segmentation and edge detection. You can explore those libraries and their documentation for more details. I hope this helps!
hi sir, i found this informative, i have a doubt without that 2cm box.. if i have to predict original dimension of parcel basically. is it possible?
Yes you can in this same technique
Thank you..Also I'm using coco dataset where in using pixel dimensions how to predict the original dimension of parcel?
@@cindrellabk7478 logical its same
Does this work for curved objects? Ie, a thick curved line, or a thick circle
you can try it, we are nnot used in curved shape
Hello sir the video was really useful for me. But i have a struggle in measuring a particular object ( example: I want to measure the size of single tree in image where as the image has many trees and other noisy background). Can you please suggest me to measure the particular object with exact edges in image. Please. Waiting for you reply.
Use an image segmentation algorithm to separate the tree of interest from the background. There are various techniques available for image segmentation, such as thresholding, region growing, watershed, and active contours.
Once you have segmented the tree of interest, you can use techniques like edge detection or boundary tracing to extract the exact edges of the tree.
Finally, you can measure the size of the tree by calculating its area, perimeter, or other relevant metrics.
Some popular image processing libraries like OpenCV or scikit-image have built-in functions for image segmentation and edge detection. You can explore those libraries and their documentation for more details.
I hope this helps!
@@Pyresearch thank you so much sir
@@anusiyakumari7321 keep connect with us
Do you have a Volume measure like 3d estimation?
You try it this code into your way
is it run using gpu or cpu?
cpu
May I know the distance between camera and the object
depen on your camera your camera angle
I can’t find code
🫡 hahahaha
Please share report
code: github.com/noorkhokhar99/Measure-size-of-objects-in-an-image-using-OpenCV