Two cameras detect same reference on workpiece to define its position in space