revert. add asst::

This commit is contained in:
lhhxxxxx
2022-07-30 06:18:47 +08:00
committed by GitHub
parent cc17d30e9f
commit 5658a630bd

View File

@@ -118,7 +118,7 @@ std::vector<asst::TextRect> asst::OcrPack::recognize(const cv::Mat& image, const
return result;
}
std::vector<asst::TextRect> asst::OcrPack::recognize(const cv::Mat& image, const Rect& roi, const TextRectProc& pred, bool without_det)
std::vector<asst::TextRect> asst::OcrPack::recognize(const cv::Mat& image, const Rect& roi, const asst::TextRectProc& pred, bool without_det)
{
auto rect_cor = [&roi, &pred, &without_det](TextRect& tr) -> bool {
if (without_det) {