Object recognition to track object on conveyor