Add utils of sorting det boxes. (#172)

* Add PaddleOCR Support

* Add PaddleOCR Support

* Add PaddleOCRv3 Support

* Add PaddleOCRv3 Support

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Add PaddleOCRv3 Support

* Add PaddleOCRv3 Supports

* Add PaddleOCRv3 Suport

* Fix Rec diff

* Remove useless functions

* Remove useless comments

* Add PaddleOCRv2 Support

* Add PaddleOCRv3 & PaddleOCRv2 Support

* remove useless parameters

* Add utils of sorting det boxes

* Fix code naming convention

* Fix code naming convention

* Fix code naming convention
This commit is contained in:
yunyaoXYY
2022-08-30 14:37:24 +08:00
committed by GitHub
parent 1d84ce5741
commit c1e65d0e57
4 changed files with 52 additions and 4 deletions
@@ -28,8 +28,11 @@ namespace fastdeploy {
namespace vision {
namespace ocr {
cv::Mat GetRotateCropImage(const cv::Mat &srcimage,
const std::array<int, 8> &box);
cv::Mat GetRotateCropImage(const cv::Mat& srcimage,
const std::array<int, 8>& box);
void SortBoxes(OCRResult* result);
} // namespace ocr
} // namespace vision
} // namespace fastdeploy