matlab - Finding the length/area of the object using 2d web cam -


I have to calculate area or length of objects in the frame.

As I use the 2d camera, the camera's distance can not be found.

In this case, I am planning to attract a continuous (X CM) line in the previous ground, where its length is known to the CM / M.

Please find attachments for a sample input image (yellow line is a constant line)

Consider that a person or object is standing in front of a wall, where the constant line drawn < / Strong>.

What is the method to calculate the distance of other objects with reference to the continuous line?

First of all, this is not a line. This parcel is a non-physical line in the area of ​​pixel parcel Both the length and the length of the images are the natural unit pixels of the measurement units of length are both non-physical and assumptions are required.

Secondly, you can convert thresholds to 2-D conversions, it uses 2D conversion, it can allow some faster, more accurate measurement in images. Peak intensity will tell you something about length or area You can use line-amount and column yoga very quickly to get the idea of ​​length. This helps to combine images with pixel-axes in your image. You can test different rotation for the use of annexic changes.


Comments