MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleOCR / functions

Functions6,355 in github.com/PaddlePaddle/PaddleOCR

↓ 1 callersMethodadvance
Update beam status and check if finished or not.
ppocr/modeling/heads/rec_nrtr_head.py:649
↓ 1 callersFunctionalphabet_equal
deploy/cpp_infer/src/utils/ilogger.cc:724
↓ 1 callersFunctionamp_scaler
(config)
test_tipc/supplementary/train.py:65
↓ 1 callersMethodanalysis
( self, batch_size, gpu_num=1, skip_steps=0, mode=-1, run_mode="sp", unit=None )
benchmark/analysis.py:192
↓ 1 callersFunctionapplyCoreMLPlacementFlags
At most one placement-related Core ML EP option is applied. Priority matches ``OnnxRuntimeSettingsPanel`` when several keys appear (e.g. benchmark env
deploy/ios_demo/PaddleOCRDemo/Engine/ORTSessionManager.swift:114
↓ 1 callersFunctionapplyGeneralPipelineRuntimeDefaults
( textType: string, runtimeDefaults: PipelineRuntimeDefaults )
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:61
↓ 1 callersFunctionapplyOrtEnvironmentOptions
(ort: OrtModule, ortOptions: OrtOptions)
paddleocr-js/packages/core/src/runtime/ort.ts:88
↓ 1 callersMethodapply_paragraph_style
(self, style=None)
ppstructure/recovery/table_process.py:230
↓ 1 callersMethodapply_pre_processes
(self, data)
benchmark/PaddleOCR_DBNet/base/base_dataset.py:56
↓ 1 callersFunctionapply_to_static
(model, config, logger)
ppocr/modeling/architectures/__init__.py:38
↓ 1 callersMethodapply_to_static
(self, model)
benchmark/PaddleOCR_DBNet/base/base_trainer.py:146
↓ 1 callersFunctionar
(e, t, r, n, o)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersFunctionarea_of_union
(det_x, det_y, gt_x, gt_y)
ppocr/utils/e2e_metric/polygon_fast.py:68
↓ 1 callersFunctionargsparser
()
deploy/slim/auto_compression/run.py:35
↓ 1 callersFunctionasync_main
Asynchronous main entry point.
mcp_server/paddleocr_mcp/__main__.py:222
↓ 1 callersFunctionattention
(query, key, value, mask=None, dropout=None, attention_map=None)
ppocr/modeling/heads/sr_rensnet_transformer.py:49
↓ 1 callersMethodaverage_angle
Calculate the average angle between left and right edge in given poly.
ppocr/data/imaug/sast_process.py:572
↓ 1 callersMethodaverage_angle
Calculate the average angle between left and right edge in given poly.
ppocr/data/imaug/pg_process.py:796
↓ 1 callersMethodbalance_bce_loss
Balanced Binary-CrossEntropy Loss. Args: pred (Tensor): Shape of :math:`(1, H, W)`. gt (Tensor): Shape of :math:`(1,
ppocr/losses/det_drrg_loss.py:30
↓ 1 callersFunctionbasePipelineConfig
()
paddleocr-js/packages/core/test/worker-backed.test.ts:13
↓ 1 callersMethodbaseSizingClasses
()
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodbaselineRuntimeDefaults
()
deploy/ios_demo/PaddleOCRDemo/Engine/OCREngine.swift:121
↓ 1 callersFunctionbatchDetOutputPlaneOffset
(dims: readonly number[], batchIndex: number)
paddleocr-js/packages/core/src/models/det.ts:381
↓ 1 callersFunctionbatchSizeOrOne
(value: unknown)
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:56
↓ 1 callersMethodbatch_evaluate
Computes TEDS score between the prediction and the ground truth of a batch of samples @params pred_json: {'FILENAME': 'HTML CODE', ...
ppstructure/table/table_metric/table_metric.py:190
↓ 1 callersMethodbatch_evaluate_html
Computes TEDS score between the prediction and the ground truth of a batch of samples
ppstructure/table/table_metric/table_metric.py:217
↓ 1 callersMethodbbox2roi
(self, bbox_list)
ppocr/modeling/backbones/kie_unet_sdmgr.py:145
↓ 1 callersMethodbeam_search
(self, x, beam_width, eos, embed)
ppocr/modeling/heads/rec_aster_head.py:152
↓ 1 callersFunctionbilinear_interpolate_gradient
ppocr/ext_op/roi_align_rotated/roi_align_rotated.cc:219
↓ 1 callersFunctionbitmapToSourceMat
( cv: OpenCv, imageBitmap: ImageBitmap )
paddleocr-js/packages/core/src/platform/browser.ts:65
↓ 1 callersFunctionbitmap_to_cv_mat
deploy/android_demo/app/src/main/cpp/native.h:114
↓ 1 callersMethodbitmasks2tensor
Convert Bitmasks to tensor. Args: bitmasks (list[BitmapMasks]): The BitmapMasks list. Each item is for one img.
ppocr/losses/det_drrg_loss.py:86
↓ 1 callersMethodborder_loss
(self, f_border, l_border, l_score, l_mask)
ppocr/losses/e2e_pg_loss.py:37
↓ 1 callersFunctionboundary_iou
Calculate the IOU between two boundaries. Args: src (list): Source boundary. target (list): Target boundary. Returns: i
ppocr/utils/poly_nms.py:90
↓ 1 callersFunctionbox_score_fast
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:204
↓ 1 callersMethodbox_score_slow
box_score_slow: use polyon mean score as the mean score
ppocr/postprocess/db_postprocess.py:206
↓ 1 callersFunctionboxes_from_bitmap
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:241
↓ 1 callersMethodboxes_from_bitmap
_bitmap: single map with shape (1, H, W), whose values are binarized as {0, 1}
ppocr/postprocess/db_postprocess.py:109
↓ 1 callersMethodboxes_from_bitmap
(self, score, kernels, shape)
ppocr/postprocess/pse_postprocess/pse_postprocess.py:78
↓ 1 callersMethodboxes_from_bitmap
_bitmap: single map with shape (H, W), whose values are binarized as {0, 1}
benchmark/PaddleOCR_DBNet/post_processing/seg_detector_representer.py:107
↓ 1 callersFunctionbr
(e, t, r, n, o, s)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodbuf2PIL
(self, txn, key, type="RGB")
ppocr/data/lmdb_dataset.py:188
↓ 1 callersMethodbuild
(self, args, root=True)
ppocr/data/imaug/iaa_augment.py:78
↓ 1 callersMethodbuild
(self, args, root=True)
benchmark/PaddleOCR_DBNet/data_loader/modules/iaa_augment.py:13
↓ 1 callersMethodbuild_C_paddle
Return coordinates of fiducial points in I_r; C
ppocr/modeling/transforms/tps.py:213
↓ 1 callersMethodbuild_P_hat_paddle
(self, C, P)
ppocr/modeling/transforms/tps.py:273
↓ 1 callersMethodbuild_P_paddle
(self, I_r_size)
ppocr/modeling/transforms/tps.py:224
↓ 1 callersFunctionbuild_backbone
(config, model_type)
ppocr/modeling/backbones/__init__.py:18
↓ 1 callersFunctionbuild_backbone
(backbone_name, **kwargs)
benchmark/PaddleOCR_DBNet/models/backbone/__init__.py:20
↓ 1 callersFunctionbuild_head
(config)
ppocr/modeling/heads/__init__.py:18
↓ 1 callersFunctionbuild_head
(head_name, **kwargs)
benchmark/PaddleOCR_DBNet/models/head/__init__.py:10
↓ 1 callersMethodbuild_inv_delta_C_paddle
Return inv_delta_C which is needed to calculate T
ppocr/modeling/transforms/tps.py:240
↓ 1 callersFunctionbuild_loss
(config)
benchmark/PaddleOCR_DBNet/models/losses/__init__.py:11
↓ 1 callersFunctionbuild_loss
(config, epsilon=None)
test_tipc/supplementary/loss.py:46
↓ 1 callersFunctionbuild_lr_scheduler
(lr_config, epochs, step_each_epoch)
ppocr/optimizer/__init__.py:62
↓ 1 callersFunctionbuild_neck
(config)
ppocr/modeling/necks/__init__.py:18
↓ 1 callersFunctionbuild_neck
(neck_name, **kwargs)
benchmark/PaddleOCR_DBNet/models/neck/__init__.py:10
↓ 1 callersFunctionbuild_output_control_points
(num_control_points, margins)
ppocr/modeling/transforms/tps_spatial_transformer.py:77
↓ 1 callersFunctionbuild_pre_process_list
(args)
ppstructure/table/predict_structure.py:39
↓ 1 callersFunctionbuild_transform
(config)
ppocr/modeling/transforms/__init__.py:18
↓ 1 callersMethodbuild_vector
( self, visual_info, *, min_characters=3500, block_size=300, f
paddleocr/_pipelines/pp_chatocrv4_doc.py:212
↓ 1 callersFunctionc
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodcal_K
Args: k (int): the complexity of transformation intensities (by default set to 6 as the paper) Returns: Lis
ppocr/modeling/transforms/gaspin_transformer.py:49
↓ 1 callersMethodcal_canvas_size
(self, ori_size, degree)
ppocr/data/imaug/fce_aug.py:399
↓ 1 callersFunctioncal_distance
(word1, word2)
ppocr/metrics/bleu.py:218
↓ 1 callersFunctioncal_distance
(p1, p2)
ppstructure/table/table_master_match.py:134
↓ 1 callersMethodcal_fourier_signature
Calculate Fourier signature from input polygon. Args: polygon (ndarray): The input polygon. fourier_degree (int):
ppocr/data/imaug/fce_targets.py:485
↓ 1 callersFunctioncal_iou
(bbox1, bbox2)
ppstructure/table/table_master_match.py:117
↓ 1 callersFunctioncal_ocr_word_box
Calculate the detection frame for each word based on the results of recognition and detection of ocr
ppstructure/utility.py:243
↓ 1 callersFunctioncal_text_score
(texts, gt_texts, training_masks, running_metric_text, thred=0.5)
benchmark/PaddleOCR_DBNet/utils/util.py:137
↓ 1 callersMethodcalc_delta
(self)
ppocr/data/imaug/text_image_aug/warp_mls.py:43
↓ 1 callersMethodcalculate_average_height
ppocr/data/imaug/pg_process.py:439
↓ 1 callersFunctioncalculate_box_extents
(box)
tools/infer/utility.py:975
↓ 1 callersFunctioncalculate_containment
Calculate the containment of the boxes. Args: boxes0 (N, 4): ground truth boxes. boxes1 (N or 1, 4): predicted boxes. Ret
ppocr/postprocess/picodet_postprocess.py:81
↓ 1 callersMethodcalculate_psnr
(self, img1, img2)
ppocr/metrics/sr_metric.py:120
↓ 1 callersMethodcall_method
(self, elm, stag=None)
paddleocr/_doc2md/math/omml.py:90
↓ 1 callersFunctioncanvasToBlob
(canvas: AnyCanvas, type: string, quality: number)
paddleocr-js/packages/core/src/viz/canvas-factory.ts:28
↓ 1 callersFunctioncaptureFetch
(responses: Array<Response | Error | Promise<Response>>)
api_sdk/typescript/tests/client.test.ts:47
↓ 1 callersFunctioncenter_rule_match
Judge end2end Bbox's center point is inside structure master Bbox or not, if end2end Bbox's center is in structure master Bbox, get matching
ppstructure/table/table_master_match.py:321
↓ 1 callersMethodchat
( self, key_list, visual_info, *, use_vector_retrieval=True, v
paddleocr/_pipelines/pp_chatocrv4_doc.py:236
↓ 1 callersMethodcheck_and_validate_polys
check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags
ppocr/data/imaug/sast_process.py:88
↓ 1 callersMethodcheck_and_validate_polys
check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags
ppocr/data/imaug/pg_process.py:109
↓ 1 callersMethodcheck_and_validate_polys
check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags
ppocr/data/imaug/east_process.py:117
↓ 1 callersFunctioncheck_device
Log error and exit when set use_gpu=true in paddlepaddle cpu version.
tools/program.py:118
↓ 1 callersFunctioncheck_merge_method
Select the function to merge paragraph. Determine the paragraph merging method based on the positional relationship between the text bbox and
ppstructure/recovery/recovery_to_markdown.py:23
↓ 1 callersFunctioncheck_params
deploy/lite/ocr_db_crnn.cc:399
↓ 1 callersFunctionchooseMaxAreaPath
(paths: ClipperPoint[][])
paddleocr-js/packages/core/src/models/common.ts:182
↓ 1 callersMethodchunk_sizes
(self, dim, chunks)
ppocr/modeling/heads/kie_sdmgr_head.py:219
↓ 1 callersFunctionclamp
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:186
↓ 1 callersFunctionclampf
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:196
↓ 1 callersFunctionclean_split
(string, delim)
ppstructure/table/tablepyxl/style.py:41
↓ 1 callersMethodclip_det_res
(self, points, img_height, img_width)
tools/infer/predict_e2e.py:92
↓ 1 callersFunctionclip_poly_to_rect
Clip a polygon to a rectangular region and return the clipped quadrilateral. Args: poly: Original polygon vertices [[x1, y1], [x2, y
ppocr/data/imaug/random_crop_data.py:110
↓ 1 callersMethodclockwise
Make sure the polygon reconstructed from Fourier coefficients c in the clockwise direction. Args: polygon (list[float]):
ppocr/data/imaug/fce_targets.py:466
↓ 1 callersFunctionclones
(module, N)
ppocr/modeling/heads/sr_rensnet_transformer.py:40
↓ 1 callersMethodclose
(self)
paddleocr/_api_client/async_client.py:86
↓ 1 callersMethodclose
(self)
paddleocr/_api_client/_async_http.py:69
↓ 1 callersFunctioncls_resize_img
deploy/android_demo/app/src/main/cpp/ocr_cls_process.cpp:24
↓ 1 callersMethodcluster_by_quads_tco
Cluster pixels in tcl_map based on quads.
ppocr/postprocess/sast_postprocess.py:145
↓ 1 callersFunctionclusters2labels
(clusters, num_nodes)
ppocr/postprocess/drrg_postprocess.py:111
← previousnext →1,501–1,600 of 6,355, ranked by callers