This project consist in fit a uEye webcam in one of the tools of a industrial robot (ABB
IRC5). The objective of our robot is to move once a face has been seen through the
webcam. Once the face has been detected, the robot gets always aligned with the
direction of a face. In other words, the robot tries to “see” the face in the middle of the
webcam capture.
This project can be split in 4 big functions. The next graphic it's an example of the
project working method.
The uEye webcam capture 25 frames per second. This frames are processed under
python using opencv libraries. The face detect function returns the position and size of
the detected face. The LabJack function sets the 5 signal values so the robot can know
where to move to. The robot sets it's movement depending of the combination of the
value of the 5 signals.