mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-05-01 12:56:36 +08:00
[Bug Fix] add ocr new feature and fix codestyle (#764)
* fix ocr bug and add new feature * fix bug * fix bug * fix bug * fix bug * fix bug * fix bug * add property * add test * fix code style * fix bug * fix bug * fix bug * fix port * fix ocr * fix_ocr * fix ocr * fix ocr * fix ocr * fix ocr * Update paddle2onnx.cmake * Update paddle2onnx.cmake * Update paddle2onnx.cmake Co-authored-by: Jason <jiangjiajun@baidu.com> Co-authored-by: Jason <928090362@qq.com>
This commit is contained in:
@@ -50,14 +50,6 @@ bool DBDetector::Initialize() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool DBDetector::Predict(cv::Mat* img,
|
||||
std::vector<std::array<int, 8>>* boxes_result) {
|
||||
if (!Predict(*img, boxes_result)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool DBDetector::Predict(const cv::Mat& img,
|
||||
std::vector<std::array<int, 8>>* boxes_result) {
|
||||
std::vector<std::vector<std::array<int, 8>>> det_results;
|
||||
|
||||
Reference in New Issue
Block a user