mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
Delete redundant Chinese comments (#275)
This commit is contained in:
@@ -24,11 +24,9 @@ cv::Mat Visualize::VisOcr(const cv::Mat &im, const OCRResult &ocr_result) {
|
||||
auto vis_im = im.clone();
|
||||
|
||||
for (int n = 0; n < ocr_result.boxes.size(); n++) {
|
||||
//遍历每一个盒子
|
||||
cv::Point rook_points[4];
|
||||
|
||||
for (int m = 0; m < 4; m++) {
|
||||
//对每一个盒子 array<float,8>
|
||||
rook_points[m] = cv::Point(int(ocr_result.boxes[n][m * 2]),
|
||||
int(ocr_result.boxes[n][m * 2 + 1]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user