20 if (!svm->
load( params))
throw cv::Exception( -1,
"Could not open svm file :"+params,
"Detector::create",
" ",-1 );
31 throw cv::Exception( -1,
"No valid labeler indicated:"+detector,
"Detector::create",
" ",-1 );
void setParams(const Dictionary &dic, float max_correction_rate)
bool load(std::string path="")
static cv::Ptr< MarkerLabeler > create(Dictionary::DICT_TYPES dict_type, float error_correction_rate=0)
static Dictionary loadPredefined(DICT_TYPES type)