MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleOCR / functions

Functions6,355 in github.com/PaddlePaddle/PaddleOCR

↓ 2 callersFunctionis_stem_deep
(stem_type)
ppocr/modeling/backbones/rec_resnetv2.py:960
↓ 2 callersFunctionis_vl_model
(model: Union[Model, str])
paddleocr/_api_client/models.py:68
↓ 2 callersFunctionje
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 2 callersMethodleadingSpaces
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/util/YamlUtils.kt:19
↓ 2 callersMethodlex
()
docs/version2.x/javascripts/katex.min.js:12
↓ 2 callersFunctionloadFontFace
(config: FontConfig)
paddleocr-js/packages/core/src/viz/font.ts:8
↓ 2 callersMethodloadLibrary
()
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java:13
↓ 2 callersMethodloadModel
()
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/MainActivity.java:228
↓ 2 callersFunctionloadModelAsset
( asset: ModelAsset, fetchImpl: typeof fetch = fetch )
paddleocr-js/packages/core/src/resources/model-asset.ts:129
↓ 2 callersMethodloadModels
Load ORT models from the app bundle. Creates an `ORTSessionManager`, loads both detection and recognition models, then creates the `OCREngine` for en
deploy/ios_demo/PaddleOCRDemo/ViewModels/OCRViewModel.swift:145
↓ 2 callersFunctionload_models
(model, model_name)
benchmark/PaddleOCR_DBNet/models/backbone/resnet.py:252
↓ 2 callersFunctionload_pretrained_params
(model, path)
ppocr/utils/save_load.py:199
↓ 2 callersFunctionload_result
(path)
ppstructure/table/eval_table.py:53
↓ 2 callersFunctionload_vqa_bio_label_maps
(label_map_path)
ppocr/utils/utility.py:155
↓ 2 callersFunctionlt
(e, t)
docs/version2.x/javascripts/katex.min.js:12
↓ 2 callersFunctionmain
Main entry point.
mcp_server/paddleocr_mcp/__main__.py:272
↓ 2 callersFunctionmake_input
(ser_inputs, ser_results)
tools/infer_kie_token_ser_re.py:64
↓ 2 callersMethodmake_mask
Make mask for self attention. :param src: [b, c, h, l_src] :param tgt: [b, l_tgt] :return:
ppocr/modeling/heads/table_master_head.py:65
↓ 2 callersFunctionmasked_fill
(x, mask, value)
ppocr/modeling/heads/table_master_head.py:226
↓ 2 callersFunctionmaterialize_bytes_as_temp_file
( data: bytes, *, file_type: str, )
mcp_server/paddleocr_mcp/inference/shared/input_contract.py:140
↓ 2 callersMethodmeasure
batch: (image, polygons, ignore_tags batch: a dict produced by dataloaders. image: tensor of shape (N, C, H, W).
benchmark/PaddleOCR_DBNet/utils/ocr_metric/icdar2015/quad_metric.py:31
↓ 2 callersFunctionmerge_config
Merge config into global config. Args: config (dict): Config to be merged. Returns: global config
test_tipc/supplementary/config.py:81
↓ 2 callersMethodmerge_dict
(self, args)
benchmark/PaddleOCR_DBNet/utils/util.py:300
↓ 2 callersFunctionmt
(e, t)
docs/version2.x/javascripts/katex.min.js:12
↓ 2 callersFunctionnms_locality
locality aware nms of EAST :param polys: a N*9 numpy array. first 8 coordinates, then prob :return: boxes after nms
ppocr/postprocess/locality_aware_nms.py:173
↓ 2 callersFunctionnormalizeOrientation
Normalize EXIF orientation by redrawing the image in `.up` orientation. Camera photos from the photo picker often carry non-`.up` orientation metadat
deploy/ios_demo/PaddleOCRDemo/ViewModels/OCRViewModel.swift:267
↓ 2 callersFunctionnormalizeStatus
(jobID string, status *jobStatusResponse)
api_sdk/go/ocr.go:291
↓ 2 callersFunctionnormalize_adjacent_matrix
(A)
ppocr/modeling/heads/local_graph.py:29
↓ 2 callersMethodocr
(self, img, **kwargs)
paddleocr/_pipelines/ocr.py:240
↓ 2 callersMethodorderMinAreaRectPoints
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/postprocess/QuadGeometry.kt:20
↓ 2 callersFunctionpad_same_export
(x, k, s, d=(1, 1), value=0)
ppocr/modeling/backbones/rec_resnetv2.py:279
↓ 2 callersFunctionparallel_process
A parallel version of the map function with a progress bar. Args: array (array-like): An array to iterate over. function (fun
ppstructure/table/table_metric/parallel.py:5
↓ 2 callersMethodparseArguments
(e, t)
docs/version2.x/javascripts/katex.min.js:12
↓ 2 callersFunctionparseOcrPipelineConfigText
(text: string)
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:129
↓ 2 callersFunctionparsePipelineConfigInput
(input: unknown)
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:79
↓ 2 callersFunctionparseScaleValue
(rawScale: unknown, fallback: number)
paddleocr-js/packages/core/src/models/common.ts:42
↓ 2 callersFunctionparse_aistudio_doc_parsing_result
(result: Any)
mcp_server/paddleocr_mcp/inference/shared/doc_parsing_result_adapters.py:45
↓ 2 callersMethodparse_args
(self, argv=None)
test_tipc/supplementary/config.py:28
↓ 2 callersFunctionparse_batch_status
(batch_id: str, data: dict)
paddleocr/_api_client/_core.py:195
↓ 2 callersFunctionparse_common_args
(kwargs, *, default_enable_hpi)
paddleocr/_common_args.py:38
↓ 2 callersFunctionparse_local_doc_parsing_result
(result: Any)
mcp_server/paddleocr_mcp/inference/shared/doc_parsing_result_adapters.py:22
↓ 2 callersFunctionparse_pattern_str
parse the string type pattern. Args: pattern (str): The pattern to describe layer. parent_layer (nn.Layer): The root layer relati
ppocr/modeling/backbones/rec_pphgnetv2.py:772
↓ 2 callersFunctionpickTarEntry
(entries: Map<string, Uint8Array>, targetName: string)
paddleocr-js/packages/core/src/resources/tar.ts:66
↓ 2 callersMethodpollUntilDone
(jobId: string, signal?: AbortSignal)
api_sdk/typescript/src/internal/poller.ts:34
↓ 2 callersMethodpoly2tcl
Generate center line by poly clock-wise point.
ppocr/data/imaug/sast_process.py:609
↓ 2 callersFunctionpoly_nms
(polygons, threshold)
ppocr/utils/poly_nms.py:127
↓ 2 callersFunctionpolygonArea
(poly: Point2D[])
paddleocr-js/packages/core/src/models/common.ts:159
↓ 2 callersMethodpostMessage
(message: unknown)
paddleocr-js/packages/core/src/worker/entry.ts:12
↓ 2 callersMethodpost_init
(self)
ppocr/modeling/heads/rec_unimernet_head.py:507
↓ 2 callersMethodpredict_iter
( self, input, *, use_doc_orientation_classify=None, use_doc_unwarping
paddleocr/_pipelines/ocr.py:179
↓ 2 callersFunctionprepare_common_init_args
(model_name, common_args)
paddleocr/_common_args.py:102
↓ 2 callersMethodprepare_http_file_field
(self, input_data: str)
mcp_server/paddleocr_mcp/inference/shared/input_adapters.py:163
↓ 2 callersMethodprepare_inputs_for_generation_export
( self, past_key_values=None, attention_mask=None, use_cache=None, enc
ppocr/modeling/heads/rec_unimernet_head.py:2282
↓ 2 callersMethodprepare_inputs_for_generation_mbart
( self, input_ids, past_key_values=None, attention_mask=None, use_cach
ppocr/modeling/heads/rec_unimernet_head.py:2227
↓ 2 callersFunctionpreprocess
(is_train=False)
tools/program.py:873
↓ 2 callersFunctionpreprocess
(is_train=False)
test_tipc/supplementary/config.py:109
↓ 2 callersFunctionprint_dict
Recursively visualize a dict and indenting acrrording by the relationship of keys.
ppocr/utils/utility.py:26
↓ 2 callersFunctionproduct
deploy/android_demo/app/src/main/cpp/common.h:32
↓ 2 callersMethodprojection
(self, erosion, h, w, spilt_threshold=0)
ppocr/data/imaug/table_ops.py:35
↓ 2 callersFunctionrad
rad
ppocr/data/imaug/rec_img_aug.py:833
↓ 2 callersFunctionraise_for_status
(status_code: int, msg: str)
paddleocr/_api_client/_core.py:148
↓ 2 callersFunctionreadString
(bytes: Uint8Array, start: number, length: number)
paddleocr-js/packages/core/src/resources/tar.ts:6
↓ 2 callersMethodrelease
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/PaddleOCR.kt:113
↓ 2 callersMethodreloadPreferenceAndUpdateUI
()
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/SettingsActivity.java:90
↓ 2 callersFunctionremoveFontFace
(face: FontFace)
paddleocr-js/packages/core/src/viz/font.ts:17
↓ 2 callersFunctionrenderSideBySideToCanvas
( image: DrawableImage, result: OcrResult, options: SideBySideOptions )
paddleocr-js/packages/core/src/viz/ocr/side-by-side.ts:30
↓ 2 callersFunctionrequireExistingDirectory
(destDir string)
api_sdk/go/resource.go:223
↓ 2 callersFunctionrequireJobId
(data: SubmitResponse)
api_sdk/typescript/src/internal/http.ts:250
↓ 2 callersMethodrequireWritableTarget
(target: string, options: SaveResourceOptions)
api_sdk/typescript/src/client.ts:198
↓ 2 callersMethodreset
(self)
ppocr/metrics/cls_metric.py:46
↓ 2 callersMethodreset
(self)
ppocr/metrics/det_metric.py:70
↓ 2 callersMethodreset
(self)
ppocr/metrics/det_metric.py:144
↓ 2 callersMethodreset
(self)
ppocr/metrics/vqa_token_ser_metric.py:46
↓ 2 callersMethodreset
(self)
ppocr/metrics/sr_metric.py:113
↓ 2 callersMethodreset
(self)
ppocr/metrics/e2e_metric.py:87
↓ 2 callersMethodreset
(self)
ppocr/metrics/kie_metric.py:69
↓ 2 callersMethodreset
(self)
ppocr/metrics/ct_metric.py:32
↓ 2 callersMethodreset
(self)
ppocr/metrics/vqa_token_re_metric.py:74
↓ 2 callersMethodreset
(self)
ppocr/metrics/table_metric.py:65
↓ 2 callersMethodreset
(self)
ppocr/metrics/rec_metric.py:75
↓ 2 callersMethodreset
(self)
ppocr/metrics/rec_metric.py:111
↓ 2 callersMethodreset
(self)
ppocr/metrics/rec_metric.py:172
↓ 2 callersMethodreset
(self)
ppocr/metrics/rec_metric.py:279
↓ 2 callersFunctionresize_image
(img, short_size)
benchmark/PaddleOCR_DBNet/tools/predict.py:22
↓ 2 callersFunctionresize_norm_img_sar
(img, image_shape, width_downsample_ratio=0.25)
ppocr/data/imaug/rec_img_aug.py:596
↓ 2 callersMethodresolveJob
(job: Job | string, expectedTask: Job["task"])
api_sdk/typescript/src/client.ts:329
↓ 2 callersFunctionresolveOptions
( base: OcrVisualizerOptions, overrides?: Partial<OcrVisualizerOptions> )
paddleocr-js/packages/core/src/viz/ocr/renderer.ts:19
↓ 2 callersFunctionresolvePaddleOCROptions
(options: Record<string, unknown> = {})
paddleocr-js/packages/core/src/pipelines/ocr/shared.ts:628
↓ 2 callersFunctionresolveWorkerOptions
(workerOption: unknown)
paddleocr-js/packages/core/src/pipelines/ocr/shared.ts:601
↓ 2 callersFunctionresolve_model
(model: Union[Model, str])
paddleocr/_api_client/_core.py:65
↓ 2 callersMethodroundHalfToEven
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/util/MathUtils.kt:21
↓ 2 callersMethodrun
run Inference process using inference engine. Args: x: Input data after preprocess. Returns: Inference engine outp
benchmark/PaddleOCR_DBNet/tools/infer.py:205
↓ 2 callersMethodrunModel
()
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/MainActivity.java:233
↓ 2 callersFunctionsample_sym
(magnitude, size=None)
ppocr/data/imaug/abinet_aug.py:31
↓ 2 callersMethodsaveResourceUrl
(resourceUrl: string, destination: string, options: SaveResourceOptions)
api_sdk/typescript/src/client.ts:123
↓ 2 callersMethodsaveResultResources
( result: OCRResult | DocParsingResult, destination: string, options: SaveResourceOptions, )
api_sdk/typescript/src/client.ts:139
↓ 2 callersFunctionsave_result
(result_path, box_list, score_list, is_output_polygon)
benchmark/PaddleOCR_DBNet/utils/util.py:194
↓ 2 callersFunctionsave_structure_res
(res, save_folder, img_name, img_idx=0)
ppstructure/predict_system.py:274
↓ 2 callersMethodscanArgument
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 2 callersMethodselectSampleImage
Load a bundled sample image by name and run OCR on it.
deploy/ios_demo/PaddleOCRDemo/ViewModels/OCRViewModel.swift:197
← previousnext →801–900 of 6,355, ranked by callers