MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleOCR / functions

Functions6,355 in github.com/PaddlePaddle/PaddleOCR

↓ 1 callersMethod__init__
( self, in_channels, out_channels, spatial_scales=[0.25, 0.125, 0.0625, 0.0312
ppocr/modeling/necks/fce_fpn.py:119
↓ 1 callersMethod__init__
(self, in_channels, out_channels)
ppocr/modeling/necks/fpn.py:66
↓ 1 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None)
ppocr/modeling/backbones/rec_resnet_aster.py:54
↓ 1 callersMethod__init__
( self, in_channels=3, block=BasicBlock, layers=[3, 4, 6, 6, 3], strid
ppocr/modeling/backbones/rec_resnet_45.py:89
↓ 1 callersMethod__init__
(self, in_channels=1, hidden_dim=512)
ppocr/modeling/backbones/rec_shallow_cnn.py:65
↓ 1 callersMethod__init__
(self, block_args)
ppocr/modeling/backbones/rec_efficientb3_pren.py:160
↓ 1 callersMethod__init__
( self, in_channels=3, layers=[1, 2, 5, 3], channels=[64, 128, 256, 256, 512,
ppocr/modeling/backbones/rec_resnet_31.py:112
↓ 1 callersMethod__init__
(self, in_channels, num_ctrlpoints, activation="none")
ppocr/modeling/transforms/stn.py:48
↓ 1 callersMethod__init__
Args: in_channels (int): channel of input features, set it to 1 if the grayscale images and 3 if
ppocr/modeling/transforms/gaspin_transformer.py:109
↓ 1 callersMethod__init__
(self, in_channels, out_channels, hidden_size, **kwargs)
ppocr/modeling/heads/rec_spin_att_head.py:30
↓ 1 callersMethod__init__
(self, in_channels, model_name, **kwargs)
ppocr/modeling/heads/det_east_head.py:71
↓ 1 callersMethod__init__
( self, in_channels, character_dict_path="ppocr/utils/ic15_dict.txt", **kwargs )
ppocr/modeling/heads/e2e_pg_head.py:72
↓ 1 callersMethod__init__
(self, embed_size=512, encode_length=26, out_channels=38, **kwargs)
ppocr/modeling/heads/rec_rfl_head.py:30
↓ 1 callersMethod__init__
(self, config, mode, logger, seed=None)
ppocr/data/simple_dataset.py:173
↓ 1 callersMethod__init__
Random scale the image while keeping aspect. Args: size (int) : Base size before scaling. scale (tuple(float)) : The
ppocr/data/imaug/fce_aug.py:27
↓ 1 callersMethod__init__
(self, augmenter_args=None, **kwargs)
ppocr/data/imaug/iaa_augment.py:183
↓ 1 callersMethod__init__
(self, character_dict_path, merge_no_span_structure=False, **kwargs)
ppocr/postprocess/table_postprocess.py:24
↓ 1 callersMethod__init__
(self, class_path, model_name=["Student"], key=None, **kwargs)
ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py:102
↓ 1 callersMethod__init__
(self, model_name=["Student"], key=None, **kwargs)
ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py:82
↓ 1 callersMethod__init__
( self, weight=None, size_average=True, ignore_index=-100, sequence_no
ppocr/losses/rec_aster_loss.py:46
↓ 1 callersMethod__init__
(self, vocab_size=50000, parallel_step=1)
ppocr/losses/rec_ppformulanet_loss.py:23
↓ 1 callersMethod__init__
(self, structure_weight=1.0, loc_weight=0.0, loc_loss="mse", **kwargs)
ppocr/losses/table_att_loss.py:61
↓ 1 callersMethod__init__
(self, config_path, BASE_KEY="base")
benchmark/PaddleOCR_DBNet/utils/util.py:269
↓ 1 callersMethod__init__
(self, **kwargs)
test_tipc/supplementary/config.py:48
↓ 1 callersMethod__init__
(self, predictors, save_pdf, vis_font_path, use_pdf2docx_api)
ppstructure/pdf2word/pdf2word.py:136
↓ 1 callersMethod__len__
(self)
ppocr/data/lmdb_dataset.py:333
↓ 1 callersMethod__len__
(self)
ppocr/data/pgnet_dataset.py:106
↓ 1 callersMethod__len__
(self)
ppocr/data/latexocr_dataset.py:205
↓ 1 callersMethod__len__
(self)
ppocr/data/pubtab_dataset.py:137
↓ 1 callersMethod__len__
(self)
benchmark/PaddleOCR_DBNet/base/base_dataset.py:85
↓ 1 callersMethod__setitem__
(self, key, value)
ppocr/modeling/heads/rec_unimernet_head.py:137
↓ 1 callersFunction_accuracy_section
( summary_data: Optional[Dict[str, Any]], run_status: Dict[str, Any], )
deploy/ios_demo/scripts/generate_benchmark_report.py:546
↓ 1 callersMethod_add_relu
(self, x1, x2)
ppocr/modeling/necks/sast_fpn.py:171
↓ 1 callersMethod_add_tokens
(self, new_tokens, special_tokens=False)
ppocr/data/imaug/label_ops.py:2030
↓ 1 callersMethod_add_tokens
(self, new_tokens, special_tokens=False)
ppocr/postprocess/rec_postprocess.py:1384
↓ 1 callersMethod_api_headers
(self)
paddleocr/_api_client/_async_http.py:74
↓ 1 callersFunction_atomic_replace
(src: Path, dst: Path)
deploy/ios_demo/scripts/quantize_onnx_model.py:209
↓ 1 callersFunction_atomic_write
(target: Path, content: bytes, overwrite: bool)
paddleocr/_api_client/_resources.py:158
↓ 1 callersFunction_attachments_from_activities
( result_path: Path, test_url: str )
deploy/ios_demo/scripts/extract_xcresult_attachments.py:142
↓ 1 callersFunction_benchmark_metadata_markdown
( status: Dict[str, Any], perf_data: Optional[Dict[str, Any]], )
deploy/ios_demo/scripts/generate_benchmark_report.py:139
↓ 1 callersFunction_benchmark_warnings
( status: Dict[str, Any], perf_data: Optional[Dict[str, Any]], )
deploy/ios_demo/scripts/generate_benchmark_report.py:122
↓ 1 callersMethod_build_aggs
(self)
ppocr/modeling/necks/pren_fpn.py:44
↓ 1 callersFunction_build_local_ocr_init_kwargs
( *, config: Optional[str], device: Optional[str], model: Optional[str], )
mcp_server/paddleocr_mcp/inference/ocr/local.py:35
↓ 1 callersFunction_build_numbering_map
Parse numbering.xml and return {numId: {ilvl: numFmt}} mapping.
paddleocr/_doc2md/converters/docx.py:1229
↓ 1 callersFunction_build_ocr
( *, device: str, text_detection_model_name: str | None, text_recognition_model_name: str | No
deploy/ios_demo/scripts/ocr_reference_run.py:105
↓ 1 callersFunction_build_paddle_static_engine_config
(common_args, device_type)
paddleocr/_common_args.py:77
↓ 1 callersFunction_build_sdk_from_private_module_files
()
mcp_server/paddleocr_mcp/inference/shared/paddleocr_api_sdk.py:152
↓ 1 callersFunction_build_sdk_from_top_level
(paddleocr: ModuleType)
mcp_server/paddleocr_mcp/inference/shared/paddleocr_api_sdk.py:73
↓ 1 callersMethod_cal_fweight
(self, f, shape)
ppocr/modeling/necks/sast_fpn.py:287
↓ 1 callersMethod_cat_mask
(self, t, mask1, mask2)
ppocr/losses/basic_loss.py:210
↓ 1 callersMethod_cat_mask
(self, t, mask1, mask2)
ppocr/losses/distillation_loss.py:1009
↓ 1 callersFunction_cer
(ref: str, hyp: str)
deploy/ios_demo/scripts/compare_ocr_json.py:55
↓ 1 callersMethod_char_to_onehot
(self, input_char, onehot_dim)
ppocr/modeling/heads/rec_spin_att_head.py:41
↓ 1 callersMethod_char_to_onehot
(self, input_char, onehot_dim)
ppocr/modeling/heads/rec_att_head.py:37
↓ 1 callersMethod_char_to_onehot
(self, input_char, onehot_dim)
ppocr/modeling/heads/rec_att_head.py:130
↓ 1 callersMethod_char_to_onehot
(self, input_char, onehot_dim)
ppocr/modeling/heads/table_att_head.py:74
↓ 1 callersMethod_chart_to_html
Extract chart data as an HTML table.
paddleocr/_doc2md/converters/pptx.py:344
↓ 1 callersFunction_check_image_file
(path)
ppocr/utils/utility.py:62
↓ 1 callersFunction_check_image_file
(path)
benchmark/PaddleOCR_DBNet/utils/util.py:18
↓ 1 callersMethod_check_maps_name
(self, maps_name)
ppocr/losses/distillation_loss.py:78
↓ 1 callersMethod_check_maps_name
(self, maps_name)
ppocr/losses/distillation_loss.py:174
↓ 1 callersMethod_check_maps_name
(self, maps_name)
ppocr/losses/distillation_loss.py:282
↓ 1 callersMethod_check_model_name_pairs
(self, model_name_pairs)
ppocr/losses/distillation_loss.py:68
↓ 1 callersMethod_check_model_name_pairs
(self, model_name_pairs)
ppocr/losses/distillation_loss.py:164
↓ 1 callersMethod_check_model_name_pairs
(self, model_name_pairs)
ppocr/losses/distillation_loss.py:272
↓ 1 callersMethod_check_model_name_pairs
(self, model_name_pairs)
ppocr/losses/distillation_loss.py:1163
↓ 1 callersMethod_check_model_name_pairs
(self, model_name_pairs)
test_tipc/supplementary/loss.py:107
↓ 1 callersFunction_check_vlm_ready
Check if the VLM server is ready by querying its health endpoint.
deploy/paddleocr_vl_docker/hps/gateway/app.py:145
↓ 1 callersFunction_check_xcresulttool_capability
Require `xcrun xcresulttool help get` to list `test-results` (command exists).
deploy/ios_demo/scripts/extract_xcresult_attachments.py:73
↓ 1 callersFunction_classify_part
Classify a slide content part for grouping (heading/html/list/blockquote/other).
paddleocr/_doc2md/converters/pptx.py:97
↓ 1 callersFunction_collect_from_parts
(parts, seen: set)
paddleocr/_doc2md/converters/docx.py:1511
↓ 1 callersFunction_collect_images
(image_dir: Path)
deploy/ios_demo/scripts/build_onnx_calib_npy.py:73
↓ 1 callersFunction_collect_test_case_urls
(node: dict)
deploy/ios_demo/scripts/extract_xcresult_attachments.py:121
↓ 1 callersFunction_compare_section
(data: Dict[str, Any])
deploy/ios_demo/scripts/generate_benchmark_report.py:532
↓ 1 callersFunction_compile_link_pattern
(repo_slug)
tools/check_docs_github_links.py:15
↓ 1 callersMethod_compute
(self, pred, gt, mask, weights)
benchmark/PaddleOCR_DBNet/models/losses/basic_loss.py:77
↓ 1 callersMethod_compute_resized_output_size
(self, image_size, size, max_size=None)
ppocr/data/imaug/unimernet_aug.py:516
↓ 1 callersMethod_compute_resized_output_size
(self, image_size, size, max_size=None)
ppocr/data/imaug/unimernet_aug.py:623
↓ 1 callersMethod_compute_resized_output_size
(self, image_size, size, max_size=None)
ppocr/data/imaug/unimernet_aug.py:755
↓ 1 callersFunction_configure_logger
(logger: logging.Logger)
deploy/paddleocr_vl_docker/hps/gateway/app.py:62
↓ 1 callersMethod_conv3x3
(self, in_planes, out_planes, stride=1)
ppocr/modeling/backbones/rec_resnet_rfl.py:59
↓ 1 callersMethod_conv3x3
Args: in_planes (int): input channel out_planes (int): channels of the middle feature stride (int): stri
ppocr/modeling/backbones/rec_resnet_32.py:86
↓ 1 callersFunction_convert_body
Traverse body elements in order and produce Markdown. Returns (markdown_str, images_dict).
paddleocr/_doc2md/converters/docx.py:1288
↓ 1 callersMethod_convert_dilated_to_nondilated
Convert dilated conv kernel to equivalent non-dilated (sparse) kernel by inserting zeros between kernel elements using transposed convolution.
ppocr/modeling/necks/db_fpn.py:661
↓ 1 callersMethod_convert_encoding
( self, encoding, return_token_type_ids=None, return_attention_mask=None,
ppocr/data/imaug/label_ops.py:1800
↓ 1 callersMethod_convert_encoding
( self, encoding, return_token_type_ids=None, return_attention_mask=None,
ppocr/data/imaug/label_ops.py:2116
↓ 1 callersFunction_convert_trt
( trt_cfg_setting, pp_model_file, pp_params_file, trt_save_path, device_id, dynamic_sh
tools/infer/utility.py:441
↓ 1 callersFunction_create_fc
(num_features, num_classes, use_conv=False)
ppocr/modeling/backbones/rec_resnetv2.py:429
↓ 1 callersFunction_create_inference_from_args
(args: argparse.Namespace, model: str)
mcp_server/paddleocr_mcp/__main__.py:184
↓ 1 callersMethod_create_paddlex_pipeline
(self)
paddleocr/_pipelines/base.py:102
↓ 1 callersMethod_create_paddlex_predictor
(self)
paddleocr/_models/base.py:71
↓ 1 callersFunction_create_pool
(num_features, num_classes, pool_type="avg", use_conv=False)
ppocr/modeling/backbones/rec_resnetv2.py:415
↓ 1 callersMethod_decode
Predict table label and coordinates for each step @param pre_chars: Table label in previous step @param features: @pa
ppocr/modeling/heads/table_att_head.py:399
↓ 1 callersMethod_decode_block_string
(block_string)
ppocr/modeling/backbones/rec_efficientb3_pren.py:65
↓ 1 callersFunction_default_domain_onnx_opset
Max declared opset for default / ``ai.onnx`` imports.
deploy/ios_demo/scripts/quantize_onnx_model.py:164
↓ 1 callersFunction_default_ios_models_root
()
deploy/ios_demo/scripts/ocr_reference_run.py:43
↓ 1 callersFunction_detect_heading_level
Return heading level (0 = not a heading, 1-6 = heading level).
paddleocr/_doc2md/converters/docx.py:260
↓ 1 callersFunction_die
(message: str, code: int = 1)
deploy/ios_demo/scripts/extract_xctest_metrics.py:28
↓ 1 callersMethod_distance
compute the distance from point to a line ys: coordinates in the first axis xs: coordinates in the second axis point_
ppocr/data/imaug/make_border_map.py:135
↓ 1 callersMethod_distil
(self)
benchmark/analysis.py:110
← previousnext →1,101–1,200 of 6,355, ranked by callers