change recognizer output format
This commit is contained in:
@@ -378,7 +378,7 @@ uns::EOCR_ResultSet uns::EasyOCR_Recognizer::operator()(const cv::Mat& full_imag
|
||||
if (crop.empty())
|
||||
continue;
|
||||
auto [text, conf] = (*this)(crop);
|
||||
result_set.insert({ i, { text, conf } });
|
||||
result_set.insert({ i, { text, conf, rect } });
|
||||
}
|
||||
return result_set;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user