Implementation of automatic focusing algorithms for a computer vision system with camera control | Synapse