Patent ID: 8660697

Claim:
A shape detection system comprising: a distance image sensor configured to detect an image of a plurality of detection objects randomly arranged in a container, and distances from the distance image sensor to the detection objects; a sensor controller configured to detect a position and an orientation of each of the detection objects in the container on the basis of the image and the distances detected by the distance image sensor and a preset algorithm; an algorithm database including pre-registered shape patterns of the detection objects and detection algorithms corresponding to the pre-registered shape patterns, the pre-registered shape patterns and the detection algorithms being in association with each other; a script database including a plurality of scripts that serve as parts of the detection algorithms; and a user controller configured to select a detection algorithm from the algorithm database as the preset algorithm, the user controller comprising: a selector configured to allow a user to select a desired shape pattern from the pre-registered shape patterns of the detection objects in order to set, as the preset algorithm, one of the detection algorithms in the algorithm database on the basis of the desired shape pattern; a script selector configured to display the scripts in the script database and configured to allow the user to select desired scripts from the scripts and an order of execution of the desired scripts; and an algorithm creator configured to create a new detection algorithm on the basis of a combination of the desired scripts and the order of execution of the desired scripts, and configured to register the new detection algorithm to the algorithm database.