mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
Fix Diff & Improve OCR readme (#184)
* 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 * Fix bug in the Classify process * Imporve OCR Readme * Fix diff in Cls model * Update Model Download Link in Readme
This commit is contained in:
@@ -144,10 +144,11 @@ bool DBDetector::Postprocess(
|
||||
|
||||
std::vector<std::vector<std::vector<int>>> boxes;
|
||||
|
||||
post_processor_.BoxesFromBitmap(pred_map, &boxes, bit_map, det_db_box_thresh,
|
||||
det_db_unclip_ratio, det_db_score_mode);
|
||||
boxes =
|
||||
post_processor_.BoxesFromBitmap(pred_map, bit_map, det_db_box_thresh,
|
||||
det_db_unclip_ratio, det_db_score_mode);
|
||||
|
||||
post_processor_.FilterTagDetRes(&boxes, ratio_h, ratio_w, im_info);
|
||||
boxes = post_processor_.FilterTagDetRes(boxes, ratio_h, ratio_w, im_info);
|
||||
|
||||
// boxes to boxes_result
|
||||
for (int i = 0; i < boxes.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user