MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleOCR / functions

Functions6,355 in github.com/PaddlePaddle/PaddleOCR

↓ 1 callersFunctionget_match_text_dict
(match_dict, end2end_info, break_token=" ")
ppstructure/table/table_master_match.py:476
↓ 1 callersMethodget_median_value
(self)
ppocr/utils/stats.py:33
↓ 1 callersMethodget_merge_result
Merge the OCR result into structure token to get final results. :param match_results: :return:
ppstructure/table/table_master_match.py:942
↓ 1 callersFunctionget_micronet_config
(mode)
ppocr/modeling/backbones/rec_micronet.py:78
↓ 1 callersFunctionget_min_quad_side
Compute the minimum side length of a quadrilateral.
ppocr/data/imaug/random_crop_data.py:96
↓ 1 callersFunctionget_min_rotated_rect_side
Compute the minimum side length of the minimum bounding rotated rectangle of a polygon.
ppocr/data/imaug/random_crop_data.py:84
↓ 1 callersFunctionget_minarea_rect_crop
(img, points)
tools/infer/utility.py:912
↓ 1 callersFunctionget_mini_boxes
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:153
↓ 1 callersFunctionget_month_by_name
deploy/cpp_infer/src/utils/ilogger.cc:219
↓ 1 callersMethodget_number_format
(self)
ppstructure/table/tablepyxl/style.py:328
↓ 1 callersFunctionget_outer_poly
(bbox_list)
ppstructure/kie/tools/trans_funsd_label.py:31
↓ 1 callersFunctionget_output_tensors
(args, mode, predictor)
tools/infer/utility.py:546
↓ 1 callersMethodget_pad_mask
(seq, pad_idx)
ppocr/modeling/heads/rec_satrn_head.py:493
↓ 1 callersFunctionget_para_bias_attr
(l2_decay, k)
ppocr/modeling/heads/table_att_head.py:30
↓ 1 callersMethodget_params
(degrees)
ppocr/data/imaug/abinet_aug.py:65
↓ 1 callersMethodget_params
(degrees, translate, scale_ranges, shears, height)
ppocr/data/imaug/abinet_aug.py:165
↓ 1 callersMethodget_params
(self, width, height, distortion)
ppocr/data/imaug/abinet_aug.py:234
↓ 1 callersMethodget_pred_html
(self, pred_structures, matched_index, ocr_contents)
ppstructure/table/matcher.py:104
↓ 1 callersMethodget_pred_html_master
(self, pred_structures, matched_index, ocr_contents)
ppstructure/table/matcher.py:151
↓ 1 callersFunctionget_rel_pos
Get relative positional embeddings according to the relative positions of query and key sizes. Args: q_size (int): size of qu
ppocr/modeling/backbones/rec_vary_vit.py:380
↓ 1 callersMethodget_relation_span
(self, rel, entities)
ppocr/data/imaug/vqa/token/vqa_token_relation.py:71
↓ 1 callersFunctionget_rotate_crop_image
deploy/android_demo/app/src/main/cpp/ocr_crnn_process.cpp:84
↓ 1 callersFunctionget_same_padding
(x, k, s, d)
ppocr/modeling/backbones/rec_resnetv2.py:267
↓ 1 callersFunctionget_same_padding_export
(x, k, s, d)
ppocr/modeling/backbones/rec_resnetv2.py:271
↓ 1 callersFunctionget_score_C
get score for CentripetalText (CT) prediction.
ppocr/utils/e2e_metric/Deteval.py:309
↓ 1 callersMethodget_scores
Returns accuracy score evaluation result. - overall accuracy - mean accuracy - mean IU - fwavacc
benchmark/PaddleOCR_DBNet/utils/metrics.py:33
↓ 1 callersFunctionget_side
(style, name)
ppstructure/table/tablepyxl/style.py:48
↓ 1 callersFunctionget_socre_A
(gt_dir, pred_dict)
ppocr/utils/e2e_metric/Deteval.py:24
↓ 1 callersFunctionget_socre_B
(gt_dir, img_id, pred_dict)
ppocr/utils/e2e_metric/Deteval.py:178
↓ 1 callersMethodget_subsequent_mask
For masking out the subsequent info.
ppocr/modeling/heads/rec_satrn_head.py:497
↓ 1 callersFunctionget_table_dimensions
(table_soup)
ppstructure/recovery/table_process.py:41
↓ 1 callersFunctionget_table_rows
(table_soup)
ppstructure/recovery/table_process.py:25
↓ 1 callersMethodget_tables
(self)
ppstructure/recovery/table_process.py:201
↓ 1 callersMethodget_tentative_hypothesis
Get the decoded sequence for the current timestep.
ppocr/modeling/heads/rec_nrtr_head.py:688
↓ 1 callersMethodget_wd
(self)
ppocr/optimizer/__init__.py:58
↓ 1 callersFunctionget_week_day_by_name
deploy/cpp_infer/src/utils/ilogger.cc:247
↓ 1 callersFunctiongetcontourarea
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:23
↓ 1 callersFunctiongmtime
deploy/cpp_infer/src/utils/ilogger.cc:277
↓ 1 callersFunctiongr
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersFunctiongraph_propagation
(edges, scores, text_comps, edge_len_thr=50.0)
ppocr/postprocess/drrg_postprocess.py:46
↓ 1 callersMethodgreedy_forward
(self, SOS, feature)
ppocr/modeling/heads/table_master_head.py:104
↓ 1 callersFunctiongrid_sample
(input, grid, canvas=None)
ppocr/modeling/transforms/tps_spatial_transformer.py:30
↓ 1 callersFunctiongroupby_prefix_and_trim
(prefix, d)
ppocr/modeling/heads/rec_latexocr_head.py:108
↓ 1 callersFunctionhandleDispose
()
paddleocr-js/packages/core/src/pipelines/ocr/worker-entry.ts:37
↓ 1 callersFunctionhandleImageSelection
(file: File | undefined)
paddleocr-js/apps/demo/src/main.ts:149
↓ 1 callersMethodhandleInfixNodes
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersFunctionhandleInit
(payload: Record<string, unknown>)
paddleocr-js/packages/core/src/pipelines/ocr/worker-entry.ts:15
↓ 1 callersFunctionhandlePredict
(payload: Record<string, unknown>)
paddleocr-js/packages/core/src/pipelines/ocr/worker-entry.ts:29
↓ 1 callersMethodhandleSupSubscript
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodhandle_table
To handle nested tables, we will parse tables manually as follows: Get table soup Create docx table Iterate over soup
ppstructure/recovery/table_process.py:239
↓ 1 callersFunctionhard_nms
Args: box_scores (N, 5): boxes in corner-form and probabilities. iou_threshold: intersection over union threshold. top_k:
ppocr/postprocess/picodet_postprocess.py:19
↓ 1 callersFunctionhasDomConstructor
(name: string)
paddleocr-js/packages/core/src/platform/browser.ts:33
↓ 1 callersFunctionhsv2bgr
deploy/cpp_infer/src/utils/ilogger.cc:115
↓ 1 callersFunctionhsv_aug
cvtColor
ppocr/data/imaug/rec_img_aug.py:765
↓ 1 callersMethodignore_nested_tables
Returns array containing only the highest level tables Operates on the assumption that bs4 returns child elements immediately after
ppstructure/recovery/table_process.py:184
↓ 1 callersFunctionimageBitmapToImageData
(imageBitmap: ImageBitmap)
paddleocr-js/packages/core/src/platform/worker.ts:15
↓ 1 callersFunctionimageDataToMat
(cv: OpenCv, imageData: ImageData)
paddleocr-js/packages/core/src/platform/worker.ts:28
↓ 1 callersFunctionimageHeight
(image: DrawableImage)
paddleocr-js/packages/core/src/viz/ocr/side-by-side.ts:18
↓ 1 callersFunctionimageWidth
(image: DrawableImage)
paddleocr-js/packages/core/src/viz/ocr/side-by-side.ts:14
↓ 1 callersMethodimage_padding
(self, im, value=0)
ppocr/data/imaug/operators.py:251
↓ 1 callersMethodimdecodeBGR
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/util/BitmapUtils.kt:27
↓ 1 callersFunctionimg2windows
img: B C H W
ppocr/modeling/heads/table_att_head.py:165
↓ 1 callersMethodimg_info
(self, ori_img, img)
ppocr/postprocess/picodet_postprocess.py:154
↓ 1 callersFunctionin_contour
(cont, point)
ppocr/postprocess/drrg_postprocess.py:190
↓ 1 callersMethodinfer_ocr
deploy/android_demo/app/src/main/cpp/ocr_ppredictor.cpp:79
↓ 1 callersMethodinferenceTime
()
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java:182
↓ 1 callersMethodinit
(Context appCtx, String modelPath, String labelPath, int useOpencl, int cpuThreadNum, String cpuPowerMode)
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java:45
↓ 1 callersMethodinit
(String detModelPath, String recModelPath, String clsModelPath, int useOpencl, int threadNum, String cpuMode)
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java:63
↓ 1 callersMethodinitPredictor
(self, lang="EN")
ppstructure/pdf2word/pdf2word.py:381
↓ 1 callersMethodinit_
(self)
ppocr/modeling/heads/rec_latexocr_head.py:150
↓ 1 callersMethodinit_
(self)
ppocr/modeling/heads/rec_latexocr_head.py:764
↓ 1 callersFunctioninit_args
()
tools/infer/utility.py:38
↓ 1 callersFunctioninit_args
()
tools/end2end/draw_html.py:23
↓ 1 callersFunctioninit_args
()
benchmark/PaddleOCR_DBNet/tools/predict.py:119
↓ 1 callersFunctioninit_args
()
benchmark/PaddleOCR_DBNet/tools/eval.py:77
↓ 1 callersFunctioninit_args
()
benchmark/PaddleOCR_DBNet/tools/train.py:14
↓ 1 callersFunctioninit_args
()
benchmark/PaddleOCR_DBNet/tools/export_model.py:17
↓ 1 callersFunctioninit_args
()
test_tipc/compare_results.py:9
↓ 1 callersMethodinit_from_file
deploy/android_demo/app/src/main/cpp/ppredictor.cpp:16
↓ 1 callersMethodinit_gamma
(self, gamma_value)
ppocr/modeling/backbones/rec_pphgnetv2.py:371
↓ 1 callersMethodinit_hidden
(self, features, feature_mask)
ppocr/modeling/heads/rec_can_head.py:258
↓ 1 callersMethodinit_nb
deploy/android_demo/app/src/main/cpp/ppredictor.cpp:10
↓ 1 callersMethodinit_net
( self, stages_pattern=None, return_patterns=None, return_stages=None,
ppocr/modeling/backbones/rec_pphgnetv2.py:489
↓ 1 callersMethodinit_spin
Args: nz (int): number of paired \betas exponents, which means the value of K x 2
ppocr/modeling/transforms/gaspin_transformer.py:224
↓ 1 callersMethodinit_stn
(self)
ppocr/modeling/transforms/stn.py:84
↓ 1 callersMethodinit_weights
(self, mode="")
ppocr/modeling/backbones/rec_hybridvit.py:416
↓ 1 callersMethodinit_weights
(self, zero_init_last=True)
ppocr/modeling/backbones/rec_resnetv2.py:1139
↓ 1 callersFunctioninitialize
()
paddleocr-js/apps/demo/src/main.ts:212
↓ 1 callersMethodinitialize
()
paddleocr-js/packages/core/src/pipelines/ocr/worker-backed.ts:47
↓ 1 callersFunctioninitializeOcrEngine
()
paddleocr-js/apps/demo/src/main.ts:117
↓ 1 callersFunctioninsert_text_to_token
Insert OCR text result to structure token. :param master_token_list: :param match_text_dict: :return:
ppstructure/table/table_master_match.py:574
↓ 1 callersFunctioninstance_ctc_greedy_decoder
( gather_info, logits_map, pts_num=4, point_gather_mode=None )
ppocr/utils/e2e_utils/extract_textpoint_fast.py:92
↓ 1 callersFunctioninstance_ctc_greedy_decoder
gather_info: [[x, y], [x, y] ...] logits_map: H x W X (n_chars + 1)
ppocr/utils/e2e_utils/extract_textpoint_slow.py:157
↓ 1 callersFunctioniod
This helper determine the fraction of intersection area over detection area
ppocr/utils/e2e_metric/polygon_fast.py:80
↓ 1 callersFunctioniou
(a, b, mask, n_class=2, reduce=True)
ppocr/utils/iou.py:41
↓ 1 callersFunctioniou
(a, b, mask, n_class=2, reduce=True)
ppocr/losses/det_ct_loss.py:97
↓ 1 callersFunctioniou_of
Return intersection-over-union (Jaccard index) of boxes. Args: boxes0 (N, 4): ground truth boxes. boxes1 (N or 1, 4): predicted bo
ppocr/postprocess/picodet_postprocess.py:51
↓ 1 callersFunctioniou_rotate
(box_a, box_b, method="union")
benchmark/PaddleOCR_DBNet/utils/ocr_metric/icdar2015/detection/iou.py:9
↓ 1 callersFunctioniou_rule_match
Use iou to find matching list. choose max iou value bbox as match pair. :param end2end_xyxy_bboxes: :param end2end_xyxy_indexes: orig
ppstructure/table/table_master_match.py:346
↓ 1 callersFunctioniou_single
(a, b, mask, n_class)
ppocr/utils/iou.py:24
← previousnext →2,001–2,100 of 6,355, ranked by callers