ML algorithms for visual data processing