Camera detects orientation, position workpiece, points of workpiece