Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
2524 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | benchmark/analysis.py | 15 | |
| LOW | benchmark/PaddleOCR_DBNet/post_processing/__init__.py | 5 | |
| LOW | benchmark/PaddleOCR_DBNet/tools/export_model.py | 8 | |
| LOW | benchmark/PaddleOCR_DBNet/tools/infer.py | 24 | |
| LOW | benchmark/PaddleOCR_DBNet/tools/infer.py | 27 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/compute_mean_std.py | 7 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/util.py | 8 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/__init__.py | 4 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/__init__.py | 5 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/__init__.py | 6 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/__init__.py | 7 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/__init__.py | 8 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/cal_recall/__init__.py | 4 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/ocr_metric/__init__.py | 4 | |
| LOW | …PaddleOCR_DBNet/utils/ocr_metric/icdar2015/__init__.py | 5 | |
| LOW | …DBNet/utils/ocr_metric/icdar2015/detection/mtwi2018.py | 4 | |
| LOW | …BNet/utils/ocr_metric/icdar2015/detection/icdar2013.py | 3 | |
| LOW | …BNet/utils/ocr_metric/icdar2015/detection/icdar2013.py | 4 | |
| LOW | …_DBNet/utils/ocr_metric/icdar2015/detection/deteval.py | 3 | |
| LOW | …_DBNet/utils/ocr_metric/icdar2015/detection/deteval.py | 4 | |
| LOW | benchmark/PaddleOCR_DBNet/models/__init__.py | 5 | |
| LOW | benchmark/PaddleOCR_DBNet/models/__init__.py | 6 | |
| LOW | benchmark/PaddleOCR_DBNet/models/losses/__init__.py | 5 | |
| LOW | benchmark/PaddleOCR_DBNet/models/head/__init__.py | 4 | |
| LOW | benchmark/PaddleOCR_DBNet/models/neck/__init__.py | 4 | |
| LOW | benchmark/PaddleOCR_DBNet/models/backbone/__init__.py | 5 | |
| LOW | benchmark/PaddleOCR_DBNet/models/backbone/resnet.py | 1 | |
| LOW | …chmark/PaddleOCR_DBNet/data_loader/modules/__init__.py | 4 | |
| LOW | …chmark/PaddleOCR_DBNet/data_loader/modules/__init__.py | 5 | |
| LOW | …chmark/PaddleOCR_DBNet/data_loader/modules/__init__.py | 6 | |
| LOW | …chmark/PaddleOCR_DBNet/data_loader/modules/__init__.py | 6 | |
| LOW | …chmark/PaddleOCR_DBNet/data_loader/modules/__init__.py | 7 | |
| LOW | …chmark/PaddleOCR_DBNet/data_loader/modules/__init__.py | 8 | |
| LOW | benchmark/PaddleOCR_DBNet/base/base_dataset.py | 6 | |
| LOW | benchmark/PaddleOCR_DBNet/base/base_trainer.py | 7 | |
| LOW | benchmark/PaddleOCR_DBNet/base/__init__.py | 1 | |
| LOW | benchmark/PaddleOCR_DBNet/base/__init__.py | 2 | |
| LOW | benchmark/PaddleOCR_DBNet/trainer/__init__.py | 4 | |
| LOW | tools/export_model.py | 22 | |
| LOW | tools/infer_kie_token_ser_re.py | 15 | |
| LOW | tools/infer_kie_token_ser_re.py | 16 | |
| LOW | tools/infer_kie_token_ser_re.py | 17 | |
| LOW | tools/infer_kie_token_ser_re.py | 34 | |
| LOW | tools/infer_kie_token_ser_re.py | 34 | |
| LOW | tools/infer_kie_token_ser_re.py | 40 | |
| LOW | tools/infer_sr.py | 15 | |
| LOW | tools/infer_sr.py | 16 | |
| LOW | tools/infer_sr.py | 17 | |
| LOW | tools/infer_sr.py | 23 | |
| LOW | tools/export_center.py | 15 | |
| LOW | tools/export_center.py | 16 | |
| LOW | tools/export_center.py | 17 | |
| LOW | tools/export_center.py | 31 | |
| LOW | tools/infer_det.py | 15 | |
| LOW | tools/infer_det.py | 16 | |
| LOW | tools/infer_det.py | 17 | |
| LOW | tools/infer_table.py | 15 | |
| LOW | tools/infer_table.py | 16 | |
| LOW | tools/infer_table.py | 17 | |
| LOW | tools/infer_table.py | 32 | |
| 1230 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mkdocs.yml | 221 | # Home: トップページ |
| LOW | setup.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | benchmark/analysis.py | 1 | # copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. |
| LOW | benchmark/PaddleOCR_DBNet/tools/__init__.py | 1 | # -*- coding: utf-8 -*- |
| LOW | benchmark/PaddleOCR_DBNet/tools/infer.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | benchmark/PaddleOCR_DBNet/utils/profiler.py | 1 | # copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. |
| LOW | benchmark/PaddleOCR_DBNet/trainer/__init__.py | 1 | # -*- coding: utf-8 -*- |
| LOW | tools/export_model.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_kie_token_ser_re.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_sr.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/export_center.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_det.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_table.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_cls.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/__init__.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_kie.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_kie_token_ser.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/test_hubserving.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/naive_sync_bn.py | 1 | # Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_e2e.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer_rec.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/train.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/program.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/eval.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/end2end/draw_html.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/end2end/eval_end2end.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/end2end/convert_ppocr_label.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/predict_sr.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/utility.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/predict_rec.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/predict_e2e.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/predict_cls.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/predict_system.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | tools/infer/predict_det.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/__init__.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/metrics/det_metric.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/metrics/cls_metric.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/vqa_token_ser_metric.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/metrics/kie_metric.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/metrics/bleu.py | 1 | # copyright (c) 2024 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/__init__.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/sr_metric.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/rec_metric.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/e2e_metric.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/metrics/ct_metric.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/metrics/distillation_metric.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/table_metric.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/metrics/vqa_token_re_metric.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
| LOW | ppocr/losses/rec_parseq_loss.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_vl_loss.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/basic_loss.py | 1 | # copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_satrn_loss.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/e2e_pg_loss.py | 1 | # copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_ctc_loss.py | 1 | # copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_pren_loss.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_multi_loss.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/distillation_loss.py | 1 | # copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_rfl_loss.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/det_fce_loss.py | 1 | # copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. |
| LOW | ppocr/losses/rec_srn_loss.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. |
| 430 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | benchmark/PaddleOCR_DBNet/utils/util.py | 161 | def order_points_clockwise_list(pts): |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 321 | def validate_point_inside_bounds(x, y, imWidth, imHeight): |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 334 | def validate_clockwise_points(points): |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 362 | def get_tl_line_values_from_file_contents( |
| LOW | benchmark/PaddleOCR_DBNet/utils/cal_recall/script.py | 9 | def default_evaluation_params(): |
| LOW | benchmark/PaddleOCR_DBNet/utils/cal_recall/script.py | 117 | def get_intersection_over_union(pD, pG): |
| LOW | …DBNet/utils/ocr_metric/icdar2015/detection/mtwi2018.py | 24 | def get_intersection_over_union(pD, pG): |
| LOW | …BNet/utils/ocr_metric/icdar2015/detection/icdar2013.py | 30 | def get_intersection_over_union(pD, pG): |
| LOW | …eOCR_DBNet/utils/ocr_metric/icdar2015/detection/iou.py | 43 | def get_intersection_over_union(pD, pG): |
| LOW | …_DBNet/utils/ocr_metric/icdar2015/detection/deteval.py | 30 | def get_intersection_over_union(pD, pG): |
| LOW | …addleOCR_DBNet/data_loader/modules/random_crop_data.py | 105 | def region_wise_random_select(self, regions, max_size): |
| LOW | tools/naive_sync_bn.py | 36 | def differentiable_all_reduce(input): |
| LOW | tools/infer/predict_rec.py | 427 | def resize_norm_img_cppd_padding( |
| LOW | tools/infer/predict_e2e.py | 98 | def filter_tag_det_res_only_clip(self, dt_boxes, image_shape): |
| LOW | tools/infer/predict_det.py | 223 | def filter_tag_det_res_only_clip(self, dt_boxes, image_shape): |
| LOW | ppocr/metrics/eval_det_iou.py | 22 | def get_intersection_over_union(pD, pG): |
| LOW | ppocr/metrics/table_metric.py | 99 | def prepare_bbox_metric_input(self, pred_label): |
| LOW | ppocr/utils/export_model.py | 33 | def represent_dictionary_order(self, dict_data): |
| LOW | ppocr/utils/network.py | 33 | def download_with_progressbar(url, save_path): |
| LOW | ppocr/utils/e2e_metric/polygon_fast.py | 35 | def approx_area_of_intersection(det_x, det_y, gt_x, gt_y): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 92 | def instance_ctc_greedy_decoder( |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 209 | def sort_and_expand_with_direction(pos_list, f_direction): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 470 | def sort_by_direction_with_image_id_deprecated(pos_list, f_direction): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 485 | def sort_by_direction_with_image_id(pos_list, f_direction): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 157 | def instance_ctc_greedy_decoder(gather_info, logits_map, keep_blank_in_idxs=True): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 236 | def sort_and_expand_with_direction(pos_list, f_direction): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 345 | def generate_pivot_list_curved( |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 409 | def generate_pivot_list_horizontal( |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 533 | def sort_by_direction_with_image_id_deprecated(pos_list, f_direction): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 548 | def sort_by_direction_with_image_id(pos_list, f_direction): |
| LOW | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 589 | def generate_pivot_list_tt_inference( |
| LOW | ppocr/utils/e2e_utils/visual.py | 73 | def resize_image_for_totaltext(im, max_side_len=512): |
| LOW | ppocr/modeling/heads/rec_satrn_head.py | 138 | def _get_sinusoid_encoding_table(self, n_position, d_hid): |
| LOW | ppocr/modeling/heads/rec_satrn_head.py | 338 | def _get_sinusoid_encoding_table(self, n_position, d_hid): |
| LOW | ppocr/modeling/heads/local_graph.py | 29 | def normalize_adjacent_matrix(A): |
| LOW | ppocr/modeling/heads/local_graph.py | 43 | def euclidean_distance_matrix(A, B): |
| LOW | ppocr/modeling/heads/proposal_local_graph.py | 162 | def propose_comps_and_attribs( |
| LOW | ppocr/modeling/heads/rec_visionlan_head.py | 38 | def _get_sinusoid_encoding_table(self, n_position, d_hid): |
| LOW | ppocr/modeling/heads/rec_nrtr_head.py | 200 | def get_inst_idx_to_tensor_position_map(inst_idx_list): |
| LOW | ppocr/modeling/heads/rec_nrtr_head.py | 271 | def collect_active_inst_idx_list( |
| LOW | ppocr/modeling/heads/rec_nrtr_head.py | 293 | def collect_hypothesis_and_scores(inst_dec_beams, n_best): |
| LOW | ppocr/modeling/heads/rec_nrtr_head.py | 352 | def generate_square_subsequent_mask(self, sz): |
| LOW | ppocr/modeling/heads/rec_nrtr_head.py | 683 | def get_the_best_score_and_idx(self): |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 878 | def prepare_inputs_for_generation( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 1253 | def _scaled_dot_product_attention( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 1321 | def multi_head_attention_forward( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2137 | def _get_decoder_start_token_id( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2158 | def _prepare_decoder_input_ids_for_generation( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2227 | def prepare_inputs_for_generation_mbart( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2255 | def prepare_inputs_for_generation( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2282 | def prepare_inputs_for_generation_export( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2297 | def _extract_past_from_model_output( |
| LOW | ppocr/modeling/heads/rec_unimernet_head.py | 2310 | def _update_model_kwargs_for_generation( |
| LOW | ppocr/modeling/heads/rec_ppformulanet_head.py | 123 | def _make_causal_mask_parallel( |
| LOW | ppocr/modeling/heads/rec_ppformulanet_head.py | 809 | def prepare_inputs_for_generation( |
| LOW | ppocr/modeling/heads/rec_ppformulanet_head.py | 835 | def _extract_past_from_model_output( |
| LOW | ppocr/modeling/heads/rec_ppformulanet_head.py | 847 | def _update_model_kwargs_for_generation( |
| LOW | ppocr/modeling/heads/rec_ppformulanet_head.py | 906 | def stopping_criteria_parallel(self, input_ids): |
| LOW | ppocr/modeling/heads/rec_ppformulanet_head.py | 968 | def _prepare_decoder_input_ids_for_generation( |
| LOW | ppocr/modeling/transforms/tps_spatial_transformer.py | 77 | def build_output_control_points(num_control_points, margins): |
| 234 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | benchmark/PaddleOCR_DBNet/utils/util.py | 0 | recursively visualize a dict and indenting acrrording by the relationship of keys. |
| HIGH | ppocr/utils/utility.py | 0 | recursively visualize a dict and indenting acrrording by the relationship of keys. |
| HIGH | test_tipc/supplementary/utils.py | 0 | recursively visualize a dict and indenting acrrording by the relationship of keys. |
| HIGH | …PaddleOCR_DBNet/data_loader/modules/make_shrink_map.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …PaddleOCR_DBNet/data_loader/modules/make_border_map.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …nchmark/PaddleOCR_DBNet/data_loader/modules/augment.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …nchmark/PaddleOCR_DBNet/data_loader/modules/augment.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …nchmark/PaddleOCR_DBNet/data_loader/modules/augment.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …nchmark/PaddleOCR_DBNet/data_loader/modules/augment.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …nchmark/PaddleOCR_DBNet/data_loader/modules/augment.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | …addleOCR_DBNet/data_loader/modules/random_crop_data.py | 0 | 从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return: |
| HIGH | tools/program.py | 0 | merge config into global config. args: config (dict): config to be merged. returns: global config |
| HIGH | …/rec/multi_language/generate_multi_language_configs.py | 0 | merge config into global config. args: config (dict): config to be merged. returns: global config |
| HIGH | test_tipc/supplementary/config.py | 0 | merge config into global config. args: config (dict): config to be merged. returns: global config |
| HIGH | ppocr/losses/det_pse_loss.py | 0 | this code is refer from: https://github.com/whai362/psenet/blob/python3/models/head/psenet_head.py |
| HIGH | ppocr/modeling/heads/det_pse_head.py | 0 | this code is refer from: https://github.com/whai362/psenet/blob/python3/models/head/psenet_head.py |
| HIGH | ppocr/postprocess/pse_postprocess/pse_postprocess.py | 0 | this code is refer from: https://github.com/whai362/psenet/blob/python3/models/head/psenet_head.py |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...] |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 0 | transfer vertical point_pairs into poly point in clockwise. |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | transfer vertical point_pairs into poly point in clockwise. |
| HIGH | ppocr/utils/e2e_utils/visual.py | 0 | transfer vertical point_pairs into poly point in clockwise. |
| HIGH | ppocr/postprocess/sast_postprocess.py | 0 | transfer vertical point_pairs into poly point in clockwise. |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_fast.py | 0 | return center point and end point of tcl instance; filter with the char maps; |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | return center point and end point of tcl instance; filter with the char maps; |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | return center point and end point of tcl instance; filter with the char maps; |
| HIGH | ppocr/utils/e2e_utils/extract_textpoint_slow.py | 0 | return center point and end point of tcl instance; filter with the char maps; |
| HIGH | ppocr/modeling/heads/sr_rensnet_transformer.py | 0 | generate a square mask for the sequence. the masked positions are filled with float('-inf'). unmasked positions are fill |
| HIGH | ppocr/modeling/heads/rec_abinet_head.py | 0 | generate a square mask for the sequence. the masked positions are filled with float('-inf'). unmasked positions are fill |
| HIGH | ppocr/modeling/heads/rec_nrtr_head.py | 0 | generate a square mask for the sequence. the masked positions are filled with float('-inf'). unmasked positions are fill |
| HIGH | ppocr/modeling/backbones/rec_resnetv2.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). |
| HIGH | ppocr/modeling/backbones/rec_svtrv2.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). |
| HIGH | ppocr/modeling/backbones/rec_vit.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). |
| HIGH | ppocr/modeling/backbones/rec_vit_parseq.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). |
| HIGH | ppocr/modeling/backbones/rec_svtrnet.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). |
| HIGH | ppocr/modeling/backbones/rec_donut_swin.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). |
| HIGH | ppocr/modeling/backbones/rec_svtrv2.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). the original name is misleading |
| HIGH | ppocr/modeling/backbones/rec_vit.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). the original name is misleading |
| HIGH | ppocr/modeling/backbones/rec_vit_parseq.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). the original name is misleading |
| HIGH | ppocr/modeling/backbones/rec_svtrnet.py | 0 | drop paths (stochastic depth) per sample (when applied in main path of residual blocks). the original name is misleading |
| HIGH | ppocr/data/imaug/east_process.py | 0 | check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags: : |
| HIGH | ppocr/data/imaug/sast_process.py | 0 | check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags: : |
| HIGH | ppocr/data/imaug/pg_process.py | 0 | check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags: : |
| HIGH | deploy/hubserving/structure_system/module.py | 0 | get the chinese texts in the predicted images. args: images (list(numpy.ndarray)): images data, shape of each is [h, w, |
| HIGH | deploy/hubserving/kie_ser_re/module.py | 0 | get the chinese texts in the predicted images. args: images (list(numpy.ndarray)): images data, shape of each is [h, w, |
| HIGH | deploy/hubserving/ocr_system/module.py | 0 | get the chinese texts in the predicted images. args: images (list(numpy.ndarray)): images data, shape of each is [h, w, |
| HIGH | deploy/hubserving/kie_ser/module.py | 0 | get the chinese texts in the predicted images. args: images (list(numpy.ndarray)): images data, shape of each is [h, w, |
| HIGH | deploy/hubserving/structure_table/module.py | 0 | get the chinese texts in the predicted images. args: images (list(numpy.ndarray)): images data, shape of each is [h, w, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | overrides/hooks/expiry.py | 5 | |
| LOW | overrides/hooks/expiry.py | 8 | |
| LOW | benchmark/analysis.py | 110 | |
| LOW | benchmark/analysis.py | 159 | |
| LOW | benchmark/analysis.py | 192 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/util.py | 23 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/util.py | 170 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/util.py | 251 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/util.py | 339 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/profiler.py | 59 | |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 25 | |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 54 | |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 86 | |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 175 | |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 403 | |
| LOW | benchmark/PaddleOCR_DBNet/utils/cal_recall/script.py | 60 | |
| LOW | …dleOCR_DBNet/utils/ocr_metric/icdar2015/quad_metric.py | 31 | |
| LOW | …DBNet/utils/ocr_metric/icdar2015/detection/mtwi2018.py | 20 | |
| LOW | …BNet/utils/ocr_metric/icdar2015/detection/icdar2013.py | 26 | |
| LOW | …eOCR_DBNet/utils/ocr_metric/icdar2015/detection/iou.py | 39 | |
| LOW | …_DBNet/utils/ocr_metric/icdar2015/detection/deteval.py | 26 | |
| LOW | benchmark/PaddleOCR_DBNet/models/backbone/resnet.py | 167 | |
| LOW | benchmark/PaddleOCR_DBNet/data_loader/__init__.py | 48 | |
| LOW | benchmark/PaddleOCR_DBNet/data_loader/dataset.py | 43 | |
| LOW | benchmark/PaddleOCR_DBNet/data_loader/dataset.py | 86 | |
| LOW | benchmark/PaddleOCR_DBNet/base/base_dataset.py | 61 | |
| LOW | benchmark/PaddleOCR_DBNet/trainer/trainer.py | 147 | |
| LOW | tools/infer_sr.py | 43 | |
| LOW | tools/infer_det.py | 57 | |
| LOW | tools/infer_cls.py | 40 | |
| LOW | tools/infer_kie.py | 126 | |
| LOW | tools/test_hubserving.py | 75 | |
| LOW | tools/test_hubserving.py | 100 | |
| LOW | tools/infer_e2e.py | 102 | |
| LOW | tools/check_docs_github_links.py | 23 | |
| LOW | tools/infer_rec.py | 41 | |
| LOW | tools/train.py | 46 | |
| LOW | tools/program.py | 88 | |
| LOW | tools/program.py | 118 | |
| LOW | tools/program.py | 180 | |
| LOW | tools/program.py | 200 | |
| LOW | tools/program.py | 661 | |
| LOW | tools/program.py | 773 | |
| LOW | tools/program.py | 825 | |
| LOW | tools/eval.py | 35 | |
| LOW | tools/end2end/eval_end2end.py | 70 | |
| LOW | tools/end2end/convert_ppocr_label.py | 27 | |
| LOW | tools/infer/utility.py | 177 | |
| LOW | tools/infer/utility.py | 520 | |
| LOW | tools/infer/utility.py | 1006 | |
| LOW | tools/infer/predict_rec.py | 40 | |
| LOW | tools/infer/predict_rec.py | 580 | |
| LOW | tools/infer/predict_system.py | 185 | |
| LOW | tools/infer/predict_det.py | 37 | |
| LOW | tools/infer/predict_det.py | 241 | |
| LOW | tools/infer/predict_det.py | 307 | |
| LOW | ppocr/metrics/eval_det_iou.py | 18 | |
| LOW | ppocr/metrics/e2e_metric.py | 41 | |
| LOW | ppocr/metrics/vqa_token_re_metric.py | 79 | |
| LOW | ppocr/losses/rec_multi_loss.py | 41 | |
| 166 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | overrides/hooks/expiry.py | 24 | except Exception: |
| LOW | benchmark/analysis.py | 146 | except Exception as exc: |
| LOW | benchmark/analysis.py | 350 | except Exception: |
| LOW | benchmark/PaddleOCR_DBNet/tools/infer.py | 127 | except Exception as E: |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 153 | except Exception as e: |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 431 | except Exception as e: |
| LOW | …ddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py | 492 | except Exception as e: |
| LOW | tools/train.py | 263 | except Exception as e: |
| LOW | tools/program.py | 176 | except Exception as e: |
| LOW | tools/infer/predict_sr.py | 164 | except Exception as E: |
| LOW | tools/infer/utility.py | 346 | except Exception as E: |
| LOW | tools/infer/predict_rec.py | 900 | except Exception as E: |
| LOW | tools/infer/predict_cls.py | 156 | except Exception as E: |
| LOW | ppocr/utils/network.py | 71 | except Exception as e: # requests.exceptions.ConnectionError |
| LOW | ppocr/data/latexocr_dataset.py | 147 | except Exception as E: |
| LOW | ppocr/data/pgnet_dataset.py | 95 | except Exception as e: |
| LOW | ppocr/data/imaug/ct_process.py | 97 | except Exception as e: |
| LOW | deploy/hubserving/ocr_cls/module.py | 135 | except Exception as e: |
| LOW | deploy/hubserving/ocr_rec/module.py | 135 | except Exception as e: |
| LOW | deploy/paddleocr_vl_docker/hps/gateway/app.py | 153 | except Exception: |
| LOW | deploy/paddleocr_vl_docker/hps/gateway/app.py | 211 | except Exception as e: |
| LOW | deploy/paddleocr_vl_docker/hps/gateway/app.py | 290 | except Exception: |
| LOW | paddleocr/_cli.py | 203 | except Exception as e: |
| MEDIUM | paddleocr/_cli.py | 111 | def _install_genai_server_deps(args): |
| LOW | paddleocr/_api_client/cli.py | 221 | except Exception as e: |
| MEDIUM | paddleocr/_api_client/cli.py | 222 | print(f"Error: {e}", file=sys.stderr) |
| LOW | paddleocr/_api_client/cli.py | 314 | except Exception as e: |
| MEDIUM | paddleocr/_api_client/cli.py | 315 | print(f"Error: {e}", file=sys.stderr) |
| LOW | paddleocr/_api_client/async_client.py | 136 | except Exception as e: |
| LOW | paddleocr/_api_client/async_client.py | 451 | except Exception: |
| LOW | paddleocr/_api_client/async_client.py | 458 | except Exception as e: |
| MEDIUM | paddleocr/_api_client/async_client.py | 455 | def _response_data(self, resp) -> dict: |
| LOW | paddleocr/_doc2md/core.py | 55 | except Exception as e: |
| LOW | paddleocr/_doc2md/converters/docx.py | 106 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 111 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 120 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 128 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1539 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1551 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1561 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1566 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1575 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1580 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1583 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 70 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 75 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 88 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 93 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 187 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 210 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 442 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 558 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 896 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 994 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1135 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1169 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1218 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1234 | except Exception: |
| LOW | paddleocr/_doc2md/converters/docx.py | 1526 | except Exception: |
| LOW | paddleocr/_doc2md/converters/xlsx.py | 71 | except Exception: |
| 49 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | ppocr/optimizer/optimizer.py | 89 | mlm = model._layers.head.MLM_VRM.MLM.parameters() |
| CRITICAL | ppocr/optimizer/optimizer.py | 91 | model._layers.head.MLM_VRM.Prediction.pp_share.parameters() |
| CRITICAL | ppocr/optimizer/optimizer.py | 94 | model._layers.head.MLM_VRM.Prediction.w_share.parameters() |
| CRITICAL | ppocr/optimizer/optimizer.py | 98 | pre_mlm_pp = model.head.MLM_VRM.Prediction.pp_share.parameters() |
| CRITICAL | ppocr/optimizer/optimizer.py | 99 | pre_mlm_w = model.head.MLM_VRM.Prediction.w_share.parameters() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/version3.x/pipeline_usage/PP-DocTranslation.en.md | 696 | paddleocr pp_doctranslation -i vehicle_certificate-1.png --target_language en --qianfan_api_key your_api_key |
| HIGH | docs/version3.x/pipeline_usage/PP-DocTranslation.en.md | 705 | paddleocr pp_doctranslation -i vehicle_certificate-1.png --target_language en --qianfan_api_key your_api_key \ |
| HIGH | docs/version3.x/pipeline_usage/PP-DocTranslation.md | 693 | paddleocr pp_doctranslation -i vehicle_certificate-1.png --target_language en --qianfan_api_key your_api_key |
| HIGH | docs/version3.x/pipeline_usage/PP-DocTranslation.md | 702 | paddleocr pp_doctranslation -i vehicle_certificate-1.png --target_language en --qianfan_api_key your_api_key \ |
| HIGH | docs/version3.x/pipeline_usage/PP-ChatOCRv4.en.md | 985 | paddleocr pp_chatocrv4_doc -i vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key |
| HIGH | docs/version3.x/pipeline_usage/PP-ChatOCRv4.en.md | 988 | paddleocr pp_chatocrv4_doc -i vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key --invoke_mllm True --p |
| HIGH | docs/version3.x/pipeline_usage/PP-ChatOCRv4.en.md | 997 | paddleocr pp_chatocrv4_doc -i vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key \ |
| HIGH | docs/version3.x/pipeline_usage/PP-ChatOCRv4.md | 874 | paddleocr pp_chatocrv4_doc -i vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key |
| HIGH | docs/version3.x/pipeline_usage/PP-ChatOCRv4.md | 877 | paddleocr pp_chatocrv4_doc -i vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key --invoke_mllm True --p |
| HIGH | docs/version3.x/pipeline_usage/PP-ChatOCRv4.md | 886 | paddleocr pp_chatocrv4_doc -i vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key \ |
| HIGH | docs/version3.x/integrations/mcp_server.md | 287 | "PADDLEOCR_MCP_QIANFAN_API_KEY": "<your-api-key>" |
| HIGH | docs/version3.x/integrations/mcp_server.en.md | 294 | "PADDLEOCR_MCP_QIANFAN_API_KEY": "<your-api-key>" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 19 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 21 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 30 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 32 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 118 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 120 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 147 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 149 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 231 | # ============================================================================= |
| MEDIUM | skills/paddleocr-text-recognition/scripts/lib.py | 233 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 19 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 21 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 30 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 32 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 119 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 121 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 149 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 151 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 235 | # ============================================================================= |
| MEDIUM | skills/paddleocr-doc-parsing/scripts/lib.py | 237 | # ============================================================================= |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ppocr/modeling/backbones/rec_pphgnetv2.py | 569 | use 'handle_func' to modify the sub-layer(s) specified by 'layer_name_pattern'. Args: layer_name_pa |
| HIGH | paddleocr/_doc2md/core.py | 30 | Convert an office document to Markdown. Args: source: Path to the source file. output: Optiona |
| HIGH | skills/paddleocr-text-recognition/scripts/lib.py | 155 | Make PaddleOCR API request. Args: api_url: API endpoint URL token: Access token params |
| HIGH | skills/paddleocr-doc-parsing/scripts/lib.py | 157 | Make PaddleOCR document parsing API request. Args: api_url: API endpoint URL token: Access tok |
| HIGH | ppstructure/recovery/table_process.py | 72 | Remove white space from a string. Args: string(str): The string to remove white space from. leading( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ppocr/modeling/architectures/base_model.py | 40 | # if you make model differently, you can use transform in det and cls |
| LOW | ppocr/data/imaug/ct_process.py | 226 | # make sure to crop the text region |
| LOW | ppocr/data/imaug/random_crop_data.py | 207 | # make sure to crop the text region |
| MEDIUM | …/rec/ch_PP-OCRv2/ch_PP-OCRv2_rec_enhanced_ctc_loss.yml | 66 | # you can also try to add ace loss on your own dataset |
| MEDIUM | configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh.yml | 17 | # you can use the following config |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ppocr/modeling/heads/rec_aster_head.py | 238 | # Initialize return variables given different types |
| MEDIUM | tests/test_iaa_augment.py | 27 | # Create a 100x100 pixel dummy image with 3 color channels (RGB) |
| MEDIUM | tests/test_french_accents.py | 81 | # Create a mock selection array (all characters are valid) |
| MEDIUM | langchain-paddleocr/scripts/lint_imports.sh | 5 | # Initialize a variable to keep track of errors |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ppocr/modeling/heads/rec_ppformulanet_head.py | 976 | # 1. Check whether the user has defined `decoder_input_ids` manually. To facilitate in terms of input naming, |
| MEDIUM | ppocr/postprocess/rec_postprocess.py | 118 | ): # grouping word with '-', such as 'state-of-the-art' |
| MEDIUM | ppocr/data/imaug/abinet_aug.py | 253 | # TODO: more robust way to crop image |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | deploy/paddleocr_vl_docker/hps/gateway/app.py | 178 | # Check if required models are ready |
| LOW | paddleocr/_pipelines/pp_chatocrv4_doc.py | 743 | # Print the result to stdout |
| LOW | paddleocr/_doc2md/converters/docx.py | 1548 | # Check if the document uses different odd/even page headers/footers |
| LOW | tests/test_french_accents.py | 104 | # Check if words match |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | benchmark/PaddleOCR_DBNet/test_tipc/benchmark_train.sh | 5 | # Usage: |
| LOW | test_tipc/compare_results.py | 112 | # Usage: |
| LOW | test_tipc/benchmark_train.sh | 5 | # Usage: |