Determine available space inside a trailer using hd camera

asked 2019-11-20 11:18:08 -0600

updated 2020-11-23 11:24:02 -0600

Hi, my objective here is to count how much space is available in the trailer either by counting the objects inside trailer or by checking a visible edge of trailer. Can some please suggest me any method that I can use to achieve this.

Basically I just want to know how to the trailer is filled and how much it is empty. I tried with canny edge detection but it has given me poor results.

Even if there is deep learning or machine learning approach that can help me will be appreciated

image description

edit retag flag offensive close merge delete

Comments

1

I tried with canny edge detection but it has given me poor results.

yea, seems entirely unrelated. but what was the idea behind it ?

berak gravatar imageberak ( 2019-11-20 13:05:10 -0600 )edit

You just need Calibration ( Detect some key points (corners for example) and transform from pixel to world ) + some geometry to calculate the volume ; it's more precise than going deep learning.

Second method i would suggest is to estimate the depth ( something like this link text) and calculate that small rectangle area inside ; you'll end up with volume.

Ziri gravatar imageZiri ( 2019-11-21 02:48:58 -0600 )edit

My guess is you've tried Canny to count the vertical lines on sides/roof and knowing their dimensions (which are usually standard all over the world) calculate the free space in depth. The idea might be good if you get to detect them properly, but good luck with the lighting: that's probably not gonna work on cloudy days/night, unless you can guarantee the amount of light that you have in this picture. Calibration would help if you can get some key-points, but I don't see any of them in a general container and corners might be occluded...

David_86 gravatar imageDavid_86 ( 2019-11-21 06:06:28 -0600 )edit