Machine vision measuring features of a syringe