use the new opencv_candidate API