A Machine Learning Approach for a Vision-Based Van-Herick Measurement System