exposed OpenCV interface