Blog

3D Void Detection System

3D Void Detection System

I recently developed a 3D void detection prototype system for the packaging industry.

The system will measure the empty volume inside of a box filled with contents. Once this volume is known, a subsequent system can optimize the number of packing peanuts required to fill up the box. By using this system, the filling of boxes with packing peanuts can be automated.

The Hardware and Software used to measure the empty volume are:

  • 3D camera from IFM Electronic (part number PMD O3D201)
  • Windows PC
  • OpenCV (open source computer vision library)
  • C#/Visual Studio 2008/.NET Framework 3.5

Since the 3D camera can output both gray scale and Cartesian coordinate values (X, Y, Z) for each pixel, implementing the solution is not very difficult.

The 3D camera sends the image data via TCP/IP to the PC. The C# program on the PC calculates the empty volume box by processing these images with OpenCV.

The system first measures the outer volume of the box. Then the system calculates the volume of the contents inside of the box. By subtracting the content volume from the outer volume, the empty volume inside the box is calculated.

Check out the video for more info:

Learn more about DMC's vision inspection services.

Comments

imoerial
# imoerial
Hi,
i am actually working on a collision detection for an autonomic robot. I am using the same sensor and LabView.
@Tullio: I would appreciate if you could upload your VI somewhere! Really looking forward how you connected LabView with the sensor.
Thanks a lot in advance.
Tullio
# Tullio
Good Morning,
i have developed a similar application with Labview but i have a problem with communication (after 15 minutes of connection i receive an error from PC), so i want to re-project all,is possible to have this code for developed a new application with visual studio.
I can give you my code developed in LABVIEW.

Thank you
Tullio
# Tullio
Good Morning,
i have developed a similar application with Labview but i have a problem with communication (after 15 minutes of connection i receive an error from PC), so i want to re-project all,is possible to have this code for developed a new application with visual studio.
I can give you my code developed in LABVIEW.

Thank you
murat
# murat
Hi this is very good application. I should make like this software and need to use same camera. Is it possible to share code with us.
Joe
# Joe
Hi,

is the code somewhere available?
Should be a nice app vor Kinect!

Post a comment

Name (required)

Email (required)

CAPTCHA image
Enter the code shown above:

Related Blog Posts