I am using a fanuc robot (LR mate with R-30iB mate) and a Cognex 2d VisionPro system to pick randomly presented parts. The parts are all sitting on a flat plane, however they can be in any rotation. Some of these parts have features that make them not sit flat on the pick plane, therefore making them not perpendicular to the camera. This combined with the random rotation is causing the coords that the vision system sends to the robot to change up to ~5mm when the part is rotated.
I had an idea to transform the image to just the area around the located part after an initial location (using PMRedline tool), then run that image thru some kind of calibration to get rid of the perspective distortion from the part tilt and get an accurate part location within that image.
This is all to say, is there a simpler way to solve the problem of parts being tilted in relation to the camera?
Thanks for any help you all can offer!