Caution
This project reached the end of its development on January 21, 2024.
Nowadays, the vast majority of transit of goods is done via pallets. They are easy to use, reuse and come in standard sizes. But as they are made of wood and degrade over time, they can be a real threat to warehouses, especially automated ones. That’s why every warehouse is equipped with a PIE (or Product Inspection Entry). Its main purpose is to determine whether the pallet (and merchandise) meets the required conditions in order to be stocked. It is crucial to discard defective pallets, especially in automated warehouses, as they can have huge consequences, from losing merchandise to a total warehouse blockage.
The objective of this project is to detect the defects a palet can have using 3D cameras. To do this, we will use MATLAB and the intel realsense D435i.
Note
Custom classes have been defined in this project (getFrames, getDistance,...). Their purpose is to facilitate the transition between frames from the camera and saved frames. This was an approach to standarize the code between each member of the team, and facilitate bulk changes.
This project will be divided into several parts:
- Detection of the palet from below
- Detection of the palet from a perspective
- 3D point cloud
More information about each section will be provided below.
The cameras used are intel realsense D435i
More information about palet defects
Palets can have many diferent defects, from missing the EU sign to missing parts of the palet itself.
In this project we will treat the following defects:
- Incorrect sizes
- Missing panel
More information can be found on the palet_below folder.
One camera will capture the palet using this angle. This will help us identify the following issues:- Incorrect sizes
- Detecting the squares of the palet, we can identify the palet sizes
- Missing panel
Our goal is to update a Product Inspection Entry point which has the following form:
As we cannot have a real life-size model of this structure in our laboratory, we decided to create a functioning prototype, in which the pallet is turned upside down respect to the PIE:
The pallet is able to move as it is onto a sliding platform:
And the cameras are mounted in the top of the prototipe, at a respective angle of 45º






