SMS: Integration of image processing with 6-degrees-of-freedom robotic arm for advanced automation