MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleOCR / functions

Functions6,355 in github.com/PaddlePaddle/PaddleOCR

↓ 1 callersMethod_initialize
initialize with the necessary elements
deploy/hubserving/ocr_system/module.py:48
↓ 1 callersMethod_initialize_optimizer
(self)
benchmark/PaddleOCR_DBNet/base/base_trainer.py:247
↓ 1 callersMethod_initialize_scheduler
(self)
benchmark/PaddleOCR_DBNet/base/base_trainer.py:244
↓ 1 callersMethod_inp_forward
(self, x, idx)
ppocr/modeling/necks/db_fpn.py:376
↓ 1 callersFunction_input_profile_markdown
(data: Dict[str, Any])
deploy/ios_demo/scripts/generate_benchmark_report.py:322
↓ 1 callersFunction_is_code_paragraph
Return True if all text-bearing runs in the paragraph use a monospace font.
paddleocr/_doc2md/converters/docx.py:814
↓ 1 callersFunction_is_number
(num)
benchmark/analysis.py:83
↓ 1 callersFunction_is_toc_paragraph
Return TOC level (1-9) if paragraph uses a TOC style, else None.
paddleocr/_doc2md/converters/docx.py:718
↓ 1 callersMethod_is_url
Check if the path is a URL.
langchain-paddleocr/langchain_paddleocr/document_loaders/paddleocr_vl.py:194
↓ 1 callersFunction_iter_named_resources
(resources: Dict[str, str])
paddleocr/_api_client/_resources.py:178
↓ 1 callersFunction_iter_text_boxes
Turn ``dt_polys`` from a TextDetResult into a sequence of (N,2) point arrays.
deploy/ios_demo/scripts/build_onnx_calib_npy.py:90
↓ 1 callersMethod_keys
(self)
ppstructure/table/tablepyxl/style.py:151
↓ 1 callersMethod_kl_div
(self, x, label, mask=None)
ppocr/losses/basic_loss.py:216
↓ 1 callersMethod_kldiv
(self, x, target)
ppocr/losses/basic_loss.py:114
↓ 1 callersMethod_kldiv
(self, x, target, mask=None)
ppocr/losses/basic_loss.py:181
↓ 1 callersMethod_labelsmoothing
(self, target, class_num)
ppocr/losses/basic_loss.py:31
↓ 1 callersMethod_labelsmoothing
(self, target)
test_tipc/supplementary/loss.py:20
↓ 1 callersFunction_levenshtein
(a: str, b: str)
deploy/ios_demo/scripts/compare_ocr_json.py:36
↓ 1 callersMethod_load_all_lines
Read all label files once. Returns (all_lines, file_boundaries).
ppocr/data/simple_dataset.py:232
↓ 1 callersFunction_load_base_rec_label_decode
()
tests/ppocr/test_rec_postprocess.py:24
↓ 1 callersMethod_load_checkpoint
Resume from saved checkpoints :param checkpoint_path: Checkpoint path to be resumed
benchmark/PaddleOCR_DBNet/base/base_trainer.py:211
↓ 1 callersMethod_load_config_with_base
Load config from file. Args: file_path (str): Path of the config file to be loaded. Returns: global config
benchmark/PaddleOCR_DBNet/utils/util.py:273
↓ 1 callersFunction_load_items
(path: Path)
deploy/ios_demo/scripts/compare_ocr_json.py:92
↓ 1 callersFunction_load_json
(path: Path)
deploy/ios_demo/scripts/generate_benchmark_report.py:58
↓ 1 callersMethod_load_ocr_info
(self, data)
ppocr/data/imaug/label_ops.py:1235
↓ 1 callersMethod_load_pretrained
(self, pretrained_url, use_ssld=False)
ppocr/modeling/backbones/det_pp_lcnet_v2.py:336
↓ 1 callersMethod_load_pretrained
(self, pretrained_url, use_ssld=False)
ppocr/modeling/backbones/det_pp_lcnet.py:265
↓ 1 callersFunction_load_tests_json
(result_path: Path)
deploy/ios_demo/scripts/extract_xcresult_attachments.py:87
↓ 1 callersFunction_load_weights
(model: nn.Layer, checkpoint_path: str, prefix: str = "resnet/")
ppocr/modeling/backbones/rec_resnetv2.py:1188
↓ 1 callersFunction_load_yaml_model_name
(path: Path)
deploy/ios_demo/scripts/ocr_reference_run.py:47
↓ 1 callersMethod_make_causal_mask
( input_ids_shape, dtype, past_key_values_length=0, sliding_window=None,
ppocr/modeling/heads/rec_unimernet_head.py:294
↓ 1 callersMethod_make_causal_mask
Make causal mask used for bi-directional self-attention.
ppocr/modeling/heads/rec_ppformulanet_head.py:76
↓ 1 callersMethod_make_causal_mask_parallel
Make causal mask used for bi-directional self-attention.
ppocr/modeling/heads/rec_ppformulanet_head.py:123
↓ 1 callersMethod_make_dense
(self, nChannels, growthRate, nDenseBlocks, bottleneck, use_dropout)
ppocr/modeling/backbones/rec_densenet.py:130
↓ 1 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
ppocr/modeling/backbones/rec_repvit.py:30
↓ 1 callersMethod_make_layer
(self, planes, blocks, stride)
ppocr/modeling/backbones/rec_resnet_aster.py:113
↓ 1 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
ppocr/modeling/backbones/rec_resnet_45.py:117
↓ 1 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
ppocr/modeling/backbones/rec_resnet_rfl.py:187
↓ 1 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
ppocr/modeling/backbones/rec_resnet_rfl.py:306
↓ 1 callersMethod_make_layer
Args: block (block): convolution block planes (int): input channels blocks (list): layers of the block
ppocr/modeling/backbones/rec_resnet_32.py:237
↓ 1 callersMethod_make_layer
(self, block, planes, blocks, stride=1, gcb_config=None)
ppocr/modeling/backbones/table_master_resnet.py:166
↓ 1 callersMethod_make_layer
( self, input_channels, output_channels, blocks, conv_weight_attr=None
ppocr/modeling/backbones/rec_resnet_31.py:252
↓ 1 callersMethod_make_layer
(self, block, inplanes, planes, blocks)
ppocr/modeling/heads/sr_rensnet_transformer.py:142
↓ 1 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dcn=None)
benchmark/PaddleOCR_DBNet/models/backbone/resnet.py:189
↓ 1 callersFunction_max
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:309
↓ 1 callersFunction_memory_markdown
( data: Dict[str, Any], xctest_metrics: Optional[Dict[str, Any]], )
deploy/ios_demo/scripts/generate_benchmark_report.py:463
↓ 1 callersFunction_merge_dicts
(d1, d2)
paddleocr/_pipelines/base.py:33
↓ 1 callersMethod_merge_dilated_into_large_kernel
Pad dilated equivalent kernel to large kernel size and add.
ppocr/modeling/necks/db_fpn.py:678
↓ 1 callersMethod_merge_no_span_structure
This code is refer from: https://github.com/JiaquanYe/TableMASTER-mmocr/blob/master/table_recognition/data_preprocess.py
ppocr/data/imaug/label_ops.py:749
↓ 1 callersMethod_metric
(self, preds, label)
ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py:54
↓ 1 callersMethod_metric
(self, pred_relations, label)
ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py:34
↓ 1 callersFunction_metric_summary
(values: List[float])
deploy/ios_demo/scripts/extract_xctest_metrics.py:33
↓ 1 callersFunction_mime_type_from_image_bytes
(data: bytes)
mcp_server/paddleocr_mcp/tasks/mcp_image.py:32
↓ 1 callersFunction_min
deploy/android_demo/app/src/main/cpp/ocr_db_post_process.cpp:311
↓ 1 callersFunction_minarea_rect_rotate_crop
Min-area rect crop aligned with PP-OCR (see PaddleX CropByPolys, quad). *img* is RGB (same as TextDet Read output).
deploy/ios_demo/scripts/build_onnx_calib_npy.py:111
↓ 1 callersFunction_mkdir_if_not_exist
mkdir if not exists, ignore the exception when multiprocess mkdir together
ppocr/utils/save_load.py:50
↓ 1 callersFunction_mkdir_if_not_exist
mkdir if not exists, ignore the exception when multiprocess mkdir together
test_tipc/supplementary/train.py:24
↓ 1 callersFunction_model_artifacts_markdown
(status: Dict[str, Any])
deploy/ios_demo/scripts/generate_benchmark_report.py:175
↓ 1 callersMethod_normalize_text
(self, text)
ppocr/metrics/rec_metric.py:33
↓ 1 callersFunction_ntuple
(n)
ppocr/modeling/backbones/rec_hybridvit.py:54
↓ 1 callersFunction_ntuple
(n)
ppocr/modeling/backbones/rec_resnetv2.py:44
↓ 1 callersFunction_numpy_to_python
(obj: Any)
deploy/ios_demo/scripts/ocr_reference_run.py:57
↓ 1 callersFunction_ocr_result_to_dict
(result)
paddleocr/_api_client/cli.py:333
↓ 1 callersFunction_on_device_section
( data: Dict[str, Any], xctest_metrics: Optional[Dict[str, Any]], status: Optional[Dict[str, Any]]
deploy/ios_demo/scripts/generate_benchmark_report.py:491
↓ 1 callersMethod_on_epoch_finish
(self)
benchmark/PaddleOCR_DBNet/base/base_trainer.py:185
↓ 1 callersMethod_on_train_finish
(self)
benchmark/PaddleOCR_DBNet/base/base_trainer.py:188
↓ 1 callersMethod_pad_kernel_1x1_to_kxk
(self, kernel1x1, pad)
ppocr/modeling/backbones/rec_lcnetv3.py:261
↓ 1 callersMethod_pad_tensor
(self, tensor, to_size)
ppocr/modeling/backbones/det_pp_lcnet_v2.py:255
↓ 1 callersFunction_paddleocr_package_root
()
deploy/ios_demo/scripts/ocr_reference_run.py:39
↓ 1 callersFunction_paragraph_math_to_html
Convert a paragraph containing OMML math to HTML inline text.
paddleocr/_doc2md/converters/docx.py:232
↓ 1 callersFunction_parse_args
Parse command line arguments.
mcp_server/paddleocr_mcp/__main__.py:32
↓ 1 callersMethod_parse_from_string
(self, options_str)
ppocr/utils/profiler.py:62
↓ 1 callersMethod_parse_from_string
(self, options_str)
benchmark/PaddleOCR_DBNet/utils/profiler.py:59
↓ 1 callersMethod_parse_label
(self, label, encode_res)
ppocr/data/imaug/label_ops.py:1263
↓ 1 callersMethod_parse_markdown_with_images
( self, markdown_text: str, images_mapping: Dict[str, str] )
mcp_server/paddleocr_mcp/tasks/doc_parsing.py:69
↓ 1 callersFunction_parse_op_types
(s: str | None)
deploy/ios_demo/scripts/debug_onnx_qdq.py:62
↓ 1 callersMethod_parse_opt
(self, opts)
configs/rec/multi_language/generate_multi_language_configs.py:176
↓ 1 callersMethod_parse_opt
(self, opts)
benchmark/PaddleOCR_DBNet/utils/util.py:339
↓ 1 callersMethod_parse_result
(self, result)
mcp_server/paddleocr_mcp/inference/ocr/aistudio.py:108
↓ 1 callersMethod_parse_result
(self, result: Any)
mcp_server/paddleocr_mcp/inference/ocr/local.py:106
↓ 1 callersMethod_parse_result
(self, response: dict[str, Any])
mcp_server/paddleocr_mcp/inference/shared/http_base.py:114
↓ 1 callersMethod_parse_result
(self, result)
mcp_server/paddleocr_mcp/inference/paddleocr_vl/aistudio.py:110
↓ 1 callersMethod_parse_result
(self, result: Any)
mcp_server/paddleocr_mcp/inference/paddleocr_vl/local.py:96
↓ 1 callersMethod_parse_result
(self, result)
mcp_server/paddleocr_mcp/inference/pp_structurev3/aistudio.py:111
↓ 1 callersMethod_parse_result
(self, result: Any)
mcp_server/paddleocr_mcp/inference/pp_structurev3/local.py:80
↓ 1 callersFunction_pd_dtype_to_np_dtype
(pd_dtype)
tools/infer/utility.py:520
↓ 1 callersFunction_performance_section_banner
(overall: Optional[str])
deploy/ios_demo/scripts/generate_benchmark_report.py:262
↓ 1 callersFunction_pick_exported_file
Pick the exported file using ``manifest.json`` when `xcresulttool export` writes it (see ``help export``).
deploy/ios_demo/scripts/extract_xcresult_attachments.py:208
↓ 1 callersFunction_placeholder_from_status
(status: Dict[str, Any], for_step: str)
deploy/ios_demo/scripts/generate_benchmark_report.py:579
↓ 1 callersFunction_polygon_iou
( poly_a: Sequence[Sequence[float]], poly_b: Sequence[Sequence[float]] )
deploy/ios_demo/scripts/compare_ocr_json.py:63
↓ 1 callersFunction_pptx_run_strike
Return True if the run has strikethrough (sngStrike or dblStrike) set in XML.
paddleocr/_doc2md/converters/pptx.py:59
↓ 1 callersMethod_predict_text
(self, img)
ppstructure/predict_system.py:204
↓ 1 callersFunction_prefetch_epoch_urls
Scan *index_map* and submit the first _URL_PREFETCH_SUBMIT URL items for background download. Called inside worker processes.
ppocr/data/simple_dataset.py:127
↓ 1 callersFunction_prepare_4d_attention_mask
(mask, dtype, tgt_len=None)
ppocr/modeling/heads/rec_ppformulanet_head.py:285
↓ 1 callersFunction_prepare_4d_causal_attention_mask
Creates a causal 4D mask of shape `(batch_size, 1, query_length, key_value_length)` from a 2D mask of shape `(batch_size, key_value_length)`
ppocr/modeling/heads/rec_ppformulanet_head.py:289
↓ 1 callersFunction_prepare_4d_causal_attention_mask_export
( attention_mask, input_shape, inputs_embeds, past_key_values_length, sliding_window=None,
ppocr/modeling/heads/rec_unimernet_head.py:396
↓ 1 callersFunction_prepare_4d_causal_attention_mask_export
Prepare a 4D causal attention mask for export. This function prepares a 4-dimensional causal attention mask, which is used to ensure that ea
ppocr/modeling/heads/rec_ppformulanet_head.py:355
↓ 1 callersMethod_prepare_payload
( self, input_data: str, file_type: Optional[str], **params )
mcp_server/paddleocr_mcp/inference/shared/http_base.py:90
↓ 1 callersMethod_prepare_qkv
(self, queries, keys, values, cache=None)
ppocr/modeling/heads/self_attention.py:253
↓ 1 callersMethod_process_file
Process a single file through the SDK and return text + raw result.
langchain-paddleocr/langchain_paddleocr/document_loaders/paddleocr_vl.py:198
← previousnext →1,301–1,400 of 6,355, ranked by callers