MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleOCR / functions

Functions6,355 in github.com/PaddlePaddle/PaddleOCR

↓ 1 callersMethoddecode
convert text-index into text-label.
ppocr/postprocess/rec_postprocess.py:544
↓ 1 callersMethoddecode
convert text-index into text-label.
ppocr/postprocess/rec_postprocess.py:632
↓ 1 callersMethoddecode
convert text-index into text-label.
ppocr/postprocess/rec_postprocess.py:705
↓ 1 callersMethoddecode
convert text-index into text-label.
ppocr/postprocess/rec_postprocess.py:780
↓ 1 callersMethoddecode
convert text-index into text-label.
ppocr/postprocess/rec_postprocess.py:889
↓ 1 callersMethoddecode
convert text-index into text-label.
ppocr/postprocess/rec_postprocess.py:966
↓ 1 callersMethoddecode
(self, text_index, preds_prob=None)
ppocr/postprocess/rec_postprocess.py:1169
↓ 1 callersMethoddecode
(self, tokens)
ppocr/postprocess/rec_postprocess.py:1252
↓ 1 callersMethoddecode
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/postprocess/CTCDecoder.kt:20
↓ 1 callersMethoddecodeBatch
Decodes a batched output tensor with shape `[N, T, C]`.
deploy/ios_demo/PaddleOCRDemo/Engine/CTCDecoder.swift:174
↓ 1 callersFunctiondecodeCTCSample
( data: Float32Array, offset: number, timeSteps: number, classes: number, charDict: string[] )
paddleocr-js/packages/core/src/models/rec.ts:257
↓ 1 callersFunctiondecodeDetOutput
( context: { cv: OpenCv; config: DetModelConfig }, detOutput: Tensor, meta: DetPreprocessResult, detTh
paddleocr-js/packages/core/src/models/det.ts:468
↓ 1 callersMethoddecode_label
convert text-label into text-index.
ppocr/postprocess/table_postprocess.py:96
↓ 1 callersMethoddecode_pred
(self, pred_relations)
ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py:58
↓ 1 callersFunctiondecode_utf8
Returns a Unicode object on success, or None on failure
benchmark/PaddleOCR_DBNet/utils/cal_recall/rrc_evaluation_funcs.py:113
↓ 1 callersFunctiondefaultPayload
(model string, options interface{})
api_sdk/go/ocr.go:124
↓ 1 callersFunctiondelete_paragraph
(paragraph)
ppstructure/recovery/table_process.py:64
↓ 1 callersMethoddestroy
()
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java:56
↓ 1 callersFunctiondet
deploy/lite/ocr_db_crnn.cc:526
↓ 1 callersFunctiondetFeatureCropDims
( dstH: number, dstW: number, maxH: number, maxW: number, ohFull: number, owFull: number )
paddleocr-js/packages/core/src/models/det.ts:386
↓ 1 callersMethoddetect
restore text boxes from score map and geo map
ppocr/postprocess/east_postprocess.py:51
↓ 1 callersMethoddetect
Run detection on a CGImage, returning bounding polygons with confidence scores. Steps: DetResizeForTest → NormalizeImage → ToCHW → ORT inference → DB
deploy/ios_demo/PaddleOCRDemo/Engine/DetectionEngine.swift:106
↓ 1 callersMethoddetect
deploy/ppocr-android/ppocr-sdk/src/main/java/com/paddle/ocr/engine/DetectionEngine.kt:38
↓ 1 callersMethoddetect_sast
first resize the tcl_map, tvo_map and tbo_map to the input_size, then restore the polys
ppocr/postprocess/sast_postprocess.py:201
↓ 1 callersFunctiondeterministicColor
(index: number)
paddleocr-js/packages/core/src/viz/color.ts:8
↓ 1 callersFunctiondifferentiable_all_reduce
Differentiable counterpart of `dist.all_reduce`.
tools/naive_sync_bn.py:36
↓ 1 callersMethoddirection_loss
(self, f_direction, l_direction, l_score, l_mask)
ppocr/losses/e2e_pg_loss.py:62
↓ 1 callersMethoddispose
()
paddleocr-js/packages/core/src/viz/ocr/renderer.ts:67
↓ 1 callersMethoddist
(self, a, b)
ppocr/data/imaug/ct_process.py:62
↓ 1 callersMethoddist_point2line
(self, point, line)
ppocr/data/imaug/drrg_targets.py:254
↓ 1 callersFunctiondistance_rule_match
Get matching between no-match end2end bboxes and no-match master bboxes. Use min distance to match. This rule will only run (no-match end
ppstructure/table/table_master_match.py:378
↓ 1 callersFunctiondistillmv3_large_x0_5
(**args)
test_tipc/supplementary/mv3.py:428
↓ 1 callersFunctiondocument_to_workbook
Takes a string representation of an html document and writes one sheet for every table in the document. The workbook is returned
ppstructure/table/tablepyxl/tablepyxl.py:87
↓ 1 callersMethoddownloadModels
(self, URLs)
ppstructure/pdf2word/pdf2word.py:334
↓ 1 callersFunctiondrawPolygonPath
( ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, poly: Point2D[] )
paddleocr-js/packages/core/src/viz/ocr/draw-boxes.ts:16
↓ 1 callersFunctiondrawPolygonPath
( ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, poly: Point2D[], offsetX: number )
paddleocr-js/packages/core/src/viz/ocr/draw-text.ts:45
↓ 1 callersMethoddrawResults
(ArrayList<OcrResultModel> results)
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java:227
↓ 1 callersFunctiondrawVerticalText
( ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, text: string, x: number, startY:
paddleocr-js/packages/core/src/viz/ocr/draw-text.ts:58
↓ 1 callersMethoddraw_border_map
(self, polygon, canvas, mask, shrink_ratio=None)
ppocr/data/imaug/make_border_map.py:73
↓ 1 callersMethoddraw_border_map
(self, polygon, canvas, mask)
benchmark/PaddleOCR_DBNet/data_loader/modules/make_border_map.py:38
↓ 1 callersFunctiondraw_box_txt_fine
(img_size, box, txt, font_path="./doc/fonts/simfang.ttf")
tools/infer/utility.py:695
↓ 1 callersMethoddraw_center_region_maps
( self, top_line, bot_line, center_line, center_region_mask, t
ppocr/data/imaug/drrg_targets.py:262
↓ 1 callersMethoddraw_crop_rec_res
(self, output_dir, img_crop_list, rec_res)
tools/infer/predict_system.py:63
↓ 1 callersFunctiondraw_debug_img
(args)
tools/end2end/draw_html.py:36
↓ 1 callersFunctiondraw_det_res
(dt_boxes, config, img, img_name, save_path)
tools/infer_det.py:42
↓ 1 callersFunctiondraw_e2e_res
(dt_boxes, strs, config, img, img_name)
tools/infer_e2e.py:77
↓ 1 callersFunctiondraw_e2e_res_for_chinese
( image, boxes, txts, config, img_name, font_path="./doc/simfang.ttf" )
tools/infer_e2e.py:44
↓ 1 callersFunctiondraw_kie_result
(batch, node, idx_to_cls, count)
tools/infer_kie.py:50
↓ 1 callersFunctiondraw_ocr
Visualize the results of OCR detection and recognition args: image(Image|array): RGB image boxes(list): boxes with shape(N, 4
tools/infer/utility.py:620
↓ 1 callersFunctiondraw_server_result
(image_file, res)
tools/test_hubserving.py:43
↓ 1 callersFunctiondraw_structure_result
(image, result, font_path)
ppstructure/utility.py:159
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). the original name is misleading as 'Drop Connect' is a di
ppocr/modeling/backbones/rec_svtrv2.py:28
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). the original name is misleading as 'Drop Connect' is a di
ppocr/modeling/backbones/rec_vit_parseq.py:38
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). the original name is misleading as 'Drop Connect' is a di
ppocr/modeling/backbones/rec_svtrnet.py:28
↓ 1 callersFunctiondrop_path
( x, drop_prob: float = 0.0, training: bool = False, scale_by_keep: bool = True )
ppocr/modeling/backbones/rec_resnetv2.py:346
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). the original name is misleading as 'Drop Connect' is a di
ppocr/modeling/backbones/rec_vit.py:28
↓ 1 callersFunctiondrop_path
( input: paddle.Tensor, drop_prob: float = 0.0, training: bool = False )
ppocr/modeling/backbones/rec_donut_swin.py:446
↓ 1 callersFunctiondump_infer_config
(config, path, logger)
ppocr/utils/export_model.py:41
↓ 1 callersFunctiondynamic_to_static
(model, arch_config, logger, input_shape=None)
ppocr/utils/export_model.py:169
↓ 1 callersFunctione2e_eval
(gt_dir, res_dir, ignore_blank=False)
tools/end2end/eval_end2end.py:70
↓ 1 callersFunctioned
(str1, str2)
tools/end2end/eval_end2end.py:66
↓ 1 callersFunctioned
(args, str1, str2)
ppstructure/kie/tools/eval_with_label_end2end.py:89
↓ 1 callersFunctionee
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersFunctionefficientnet
( width_coefficient=None, depth_coefficient=None, dropout_rate=0.2, drop_connect_rate=0.2,
ppocr/modeling/backbones/rec_efficientb3_pren.py:100
↓ 1 callersFunctionelement_to_string
(el)
ppstructure/table/tablepyxl/style.py:274
↓ 1 callersFunctionemitPipelineWarnings
(warnings: string[], behavior: "warn" | "ignore" | "error")
paddleocr-js/packages/core/src/pipelines/ocr/shared.ts:347
↓ 1 callersMethodencode
(self, text)
ppocr/data/imaug/label_ops.py:940
↓ 1 callersMethodencode
(self, text)
ppocr/data/imaug/label_ops.py:989
↓ 1 callersMethodencode
(self, text_seq)
ppocr/data/imaug/label_ops.py:1635
↓ 1 callersMethodencode
ppocr/data/imaug/label_ops.py:1719
↓ 1 callersMethodencode
( self, text, text_pair=None, return_token_type_ids=False, add_special
ppocr/data/imaug/label_ops.py:1839
↓ 1 callersMethodencode
( self, text, text_pair=None, return_token_type_ids=False, add_special
ppocr/data/imaug/label_ops.py:2154
↓ 1 callersMethodencode_cnt
(self, text)
ppocr/data/imaug/label_ops.py:515
↓ 1 callersMethodencodech
ppocr/data/imaug/label_ops.py:1750
↓ 1 callersFunctioner
(e, t, r)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodestimate_sample_pts_num
Estimate sample points number.
ppocr/postprocess/sast_postprocess.py:173
↓ 1 callersFunctioneval
eval mIoU func
deploy/slim/auto_compression/test_ocr.py:148
↓ 1 callersFunctioneval_e2e
(args)
ppstructure/kie/tools/eval_with_label_end2end.py:109
↓ 1 callersMethodevaluate_image
(self, gt, pred)
benchmark/PaddleOCR_DBNet/utils/ocr_metric/icdar2015/detection/mtwi2018.py:20
↓ 1 callersMethodevaluate_image
(self, gt, pred)
benchmark/PaddleOCR_DBNet/utils/ocr_metric/icdar2015/detection/deteval.py:26
↓ 1 callersMethodevaluate_image
(self, gt, pred)
benchmark/PaddleOCR_DBNet/utils/ocr_metric/icdar2015/detection/icdar2013.py:26
↓ 1 callersFunctionexpand
(pix, det_box, shape)
ppstructure/table/predict_table.py:43
↓ 1 callersMethodexpandAfterFuture
()
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodexpandMacro
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodexpandMacroAsText
(e)
docs/version2.x/javascripts/katex.min.js:12
↓ 1 callersMethodexpand_points_num
(self, boxes)
ppocr/data/imaug/label_ops.py:93
↓ 1 callersFunctionexpand_poly_along_width
expand poly along width.
ppocr/utils/e2e_utils/extract_textpoint_fast.py:335
↓ 1 callersFunctionexpand_poly_along_width
expand poly along width.
ppocr/utils/e2e_utils/visual.py:128
↓ 1 callersMethodexpand_poly_along_width
expand poly along width.
ppocr/postprocess/sast_postprocess.py:78
↓ 1 callersFunctionexpand_polygon
对只有一个字符的框进行扩充
benchmark/PaddleOCR_DBNet/utils/util.py:211
↓ 1 callersFunctionexpectDefaultModelAssets
(ocr)
paddleocr-js/packages/core/test/ocr-api.test.ts:76
↓ 1 callersFunctionexport_metrics
(result: Path)
deploy/ios_demo/scripts/extract_xctest_metrics.py:44
↓ 1 callersFunctionextra_match
This function will create some virtual master bboxes, and get match with the no match end2end indexes. :param no_match_end2end_indexes:
ppstructure/table/table_master_match.py:407
↓ 1 callersFunctionextract_main_direction
f_direction: h x w x 2 pos_list: [[y, x], [y, x], [y, x] ...]
ppocr/utils/e2e_utils/extract_textpoint_slow.py:520
↓ 1 callersMethodfcenet_decode
Decoding predictions of FCENet to instances. Args: preds (list(Tensor)): The head output tensors. fourier_degree (int
ppocr/postprocess/fce_postprocess.py:163
↓ 1 callersMethodfeat_mult
(self)
ppocr/modeling/backbones/rec_resnetv2.py:400
↓ 1 callersMethodfetchJSONL
(ctx context.Context, url string)
api_sdk/go/transport.go:250
↓ 1 callersMethodfetchJsonl
(url: string, signal?: AbortSignal, timeoutMs?: number)
api_sdk/typescript/src/internal/http.ts:136
↓ 1 callersMethodfetchResource
(url: string, signal?: AbortSignal, timeoutMs?: number)
api_sdk/typescript/src/internal/http.ts:150
↓ 1 callersFunctionfile_name
deploy/cpp_infer/src/utils/ilogger.cc:385
← previousnext →1,701–1,800 of 6,355, ranked by callers