Text this: Development of vision-based sensor of smart gripper for industrial applications