MCPcopy Create free account

hub / github.com/BADBADBADBOY/pytorchOCR / functions

Functions3,251 in github.com/BADBADBADBOY/pytorchOCR

↓ 1 callersMethod__init__
(self, train_dataset)
ptocr/dataloader/DetLoad/SASTProcess_ori.py:739
↓ 1 callersMethod__init__
(self, train_dataset)
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:801
↓ 1 callersMethod__init__
:param in_channels: :param out_channels: :param kernel_size: :param stride: :param padding: :param bi
ptocr/model/CommonFunction_Q.py:32
↓ 1 callersMethod__init__
(self, config)
ptocr/model/architectures/det_model.py:110
↓ 1 callersMethod__init__
(self, config)
ptocr/model/architectures/det_model_q.py:62
↓ 1 callersMethod__init__
(self, config)
ptocr/model/architectures/rec_model.py:113
↓ 1 callersMethod__init__
(self, num_classes=10, feat_dim=2, use_gpu=True)
ptocr/model/loss/centerloss.py:14
↓ 1 callersMethod__init__
(self, l1_scale=10, bce_scale=1,eps=1e-6)
ptocr/model/loss/db_loss.py:15
↓ 1 callersMethod__init__
bias: Whether conv layers have bias or not. adaptive: Whether to use adaptive threshold training or not. smooth: If true, use
ptocr/model/segout/det_DB_segout.py:12
↓ 1 callersMethod__str__
(self)
script/onnx_to_tensorrt.py:85
↓ 1 callersMethod_fast_hist
(self, label_true, label_pred, n_class)
ptocr/utils/metrics.py:12
↓ 1 callersMethod_init_thresh
(self, inner_channels, serial=False, bias=False)
ptocr/model/segout/det_DB_segout.py:52
↓ 1 callersMethod_init_thresh
(self, inner_channels, serial=False, bias=False)
ptocr/model/segout/det_DB_segout.py:148
↓ 1 callersMethodadd
ptocr/postprocess/piexlmerge/include/pybind11/pytypes.h:1262
↓ 1 callersMethodadd
ptocr/postprocess/lanms/include/pybind11/pytypes.h:1192
↓ 1 callersMethodadd
ptocr/postprocess/dbprocess/include/pybind11/pytypes.h:1262
↓ 1 callersMethodadd_base
ptocr/postprocess/piexlmerge/include/pybind11/attr.h:256
↓ 1 callersMethodadd_base
ptocr/postprocess/lanms/include/pybind11/attr.h:246
↓ 1 callersMethodadd_base
ptocr/postprocess/dbprocess/include/pybind11/attr.h:256
↓ 1 callersMethodadjust_point
adjust point order.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:355
↓ 1 callersMethodadjust_point
adjust point order.
ptocr/dataloader/DetLoad/SASTProcess.py:51
↓ 1 callersMethodadjust_point
adjust point order.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:404
↓ 1 callersMethodadvance
ptocr/postprocess/piexlmerge/include/pybind11/pytypes.h:866
↓ 1 callersMethodadvance
ptocr/postprocess/lanms/include/pybind11/pytypes.h:807
↓ 1 callersMethodadvance
ptocr/postprocess/dbprocess/include/pybind11/pytypes.h:866
↓ 1 callersFunctionall_type_info_get_cache
ptocr/postprocess/piexlmerge/include/pybind11/pybind11.h:1614
↓ 1 callersFunctionall_type_info_get_cache
ptocr/postprocess/lanms/include/pybind11/pybind11.h:1404
↓ 1 callersFunctionall_type_info_get_cache
ptocr/postprocess/dbprocess/include/pybind11/pybind11.h:1614
↓ 1 callersFunctionall_type_info_populate
Populates a just-created cache entry.
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:91
↓ 1 callersFunctionall_type_info_populate
Populates a just-created cache entry.
ptocr/postprocess/lanms/include/pybind11/cast.h:167
↓ 1 callersFunctionall_type_info_populate
Populates a just-created cache entry.
ptocr/postprocess/dbprocess/include/pybind11/cast.h:91
↓ 1 callersMethodallocate_layout
ptocr/postprocess/lanms/include/pybind11/cast.h:394
↓ 1 callersMethodargs
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:1949
↓ 1 callersMethodargs
ptocr/postprocess/lanms/include/pybind11/cast.h:1883
↓ 1 callersMethodargs
ptocr/postprocess/dbprocess/include/pybind11/cast.h:1949
↓ 1 callersMethodarray
ptocr/postprocess/piexlmerge/include/pybind11/numpy.h:519
↓ 1 callersMethodaverage_angle
Calculate the average angle between left and right edge in given poly.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:484
↓ 1 callersMethodaverage_angle
Calculate the average angle between left and right edge in given poly.
ptocr/dataloader/DetLoad/SASTProcess.py:180
↓ 1 callersMethodaverage_angle
Calculate the average angle between left and right edge in given poly.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:533
↓ 1 callersMethodboxes_from_bitmap
(self, pred)
ptocr/postprocess/PANpostprocess.py:62
↓ 1 callersMethodboxes_from_bitmap
_bitmap: single map with shape (1, H, W), whose values are binarized as {0, 1}
ptocr/postprocess/DBpostprocess.py:287
↓ 1 callersMethodboxes_from_bitmap
(self, pred)
ptocr/postprocess/PSEpostprocess.py:62
↓ 1 callersFunctionbroadcast
ptocr/postprocess/piexlmerge/include/pybind11/numpy.h:1360
↓ 1 callersFunctionbroadcast
ptocr/postprocess/lanms/include/pybind11/numpy.h:1349
↓ 1 callersFunctionbroadcast
ptocr/postprocess/dbprocess/include/pybind11/numpy.h:1360
↓ 1 callersMethodbuild_C_paddle
Return coordinates of fiducial points in I_r; C
ptocr/model/architectures/paddle_tps.py:148
↓ 1 callersMethodbuild_P_hat_paddle
(self, C, P)
ptocr/model/architectures/paddle_tps.py:209
↓ 1 callersMethodbuild_P_paddle
(self, I_r_size)
ptocr/model/architectures/paddle_tps.py:159
↓ 1 callersMethodbuild_inv_delta_C_paddle
Return inv_delta_C which is needed to calculate T
ptocr/model/architectures/paddle_tps.py:175
↓ 1 callersFunctionc_str
ptocr/postprocess/piexlmerge/include/pybind11/detail/internals.h:253
↓ 1 callersFunctionc_str
ptocr/postprocess/dbprocess/include/pybind11/detail/internals.h:253
↓ 1 callersMethodcal_Ldis_single
(self, similarity_vector, gt_compose, gt_kernel)
ptocr/model/loss/basical_loss.py:141
↓ 1 callersMethodcal_agg_single
(self, similarity_vector, tags1, tags2, gt_text, gt_kernel)
ptocr/model/loss/basical_loss.py:93
↓ 1 callersFunctioncal_binary_score
(binarys, gt_binarys, training_masks, running_metric_binary, thresh=0.5)
ptocr/utils/cal_iou_acc.py:10
↓ 1 callersFunctioncal_kernel_score
(kernels, gt_kernels, gt_texts, training_masks, running_metric_kernel, thresh=0.5)
ptocr/utils/cal_iou_acc.py:34
↓ 1 callersFunctioncal_text_score
(texts, gt_texts, training_masks, running_metric_text, thresh=0.5)
ptocr/utils/cal_iou_acc.py:22
↓ 1 callersFunctioncall_operator_delete
ptocr/postprocess/piexlmerge/include/pybind11/pybind11.h:992
↓ 1 callersFunctioncall_operator_delete
ptocr/postprocess/lanms/include/pybind11/pybind11.h:917
↓ 1 callersFunctioncall_operator_delete
ptocr/postprocess/dbprocess/include/pybind11/pybind11.h:992
↓ 1 callersFunctioncheckImageIsValid
(imageBin)
script/create_lmdb.py:10
↓ 1 callersFunctioncheckImageIsValid
(imageBin)
script/create_lmdb_multiprocessing.py:48
↓ 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
ptocr/dataloader/DetLoad/SASTProcess_ori.py:83
↓ 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
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:132
↓ 1 callersMethodcheck_holder_compat
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:605
↓ 1 callersMethodcheck_holder_compat
ptocr/postprocess/lanms/include/pybind11/cast.h:637
↓ 1 callersMethodcheck_holder_compat
ptocr/postprocess/dbprocess/include/pybind11/cast.h:605
↓ 1 callersFunctionchecklmdb
(args)
script/create_lmdb_multiprocessing.py:23
↓ 1 callersFunctionclean_type_id
ptocr/postprocess/piexlmerge/include/pybind11/detail/typeid.h:30
↓ 1 callersFunctionclean_type_id
ptocr/postprocess/dbprocess/include/pybind11/detail/typeid.h:30
↓ 1 callersFunctionclear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
ptocr/postprocess/piexlmerge/include/pybind11/class_support.h:311
↓ 1 callersFunctionclear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
ptocr/postprocess/piexlmerge/include/pybind11/detail/class.h:314
↓ 1 callersFunctionclear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
ptocr/postprocess/lanms/include/pybind11/class_support.h:311
↓ 1 callersFunctionclear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
ptocr/postprocess/dbprocess/include/pybind11/class_support.h:311
↓ 1 callersFunctionclear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
ptocr/postprocess/dbprocess/include/pybind11/detail/class.h:314
↓ 1 callersFunctionclear_patients
ptocr/postprocess/piexlmerge/include/pybind11/class_support.h:294
↓ 1 callersFunctionclear_patients
ptocr/postprocess/piexlmerge/include/pybind11/detail/class.h:297
↓ 1 callersFunctionclear_patients
ptocr/postprocess/lanms/include/pybind11/class_support.h:294
↓ 1 callersFunctionclear_patients
ptocr/postprocess/dbprocess/include/pybind11/class_support.h:294
↓ 1 callersFunctionclear_patients
ptocr/postprocess/dbprocess/include/pybind11/detail/class.h:297
↓ 1 callersMethodcluster_by_quads_tco
Cluster pixels in tcl_map based on quads.
ptocr/postprocess/SASTpostprocess.py:115
↓ 1 callersFunctionconfig_load
(args)
tools/det_infer.py:25
↓ 1 callersFunctionconstant_init
(module, constant, bias=0)
ptocr/model/backbone/det_resnet_sast.py:36
↓ 1 callersFunctionconstant_init
(module, constant, bias=0)
ptocr/model/backbone/det_resnet.py:38
↓ 1 callersFunctionconv3x3
3x3 convolution with padding
ptocr/model/backbone/det_resnet_sast.py:42
↓ 1 callersFunctionconv3x3
3x3 convolution with padding
ptocr/model/backbone/det_resnet.py:44
↓ 1 callersFunctioncpp_boxes_from_bitmap
(pred,bitmap,box_thresh=0.6,det_db_unclip_ratio=2.0)
ptocr/postprocess/dbprocess/__init__.py:17
↓ 1 callersMethodcpp_function
ptocr/postprocess/piexlmerge/include/pybind11/pytypes.h:1271
↓ 1 callersMethodcpp_function
ptocr/postprocess/lanms/include/pybind11/pytypes.h:1201
↓ 1 callersMethodcpp_function
ptocr/postprocess/dbprocess/include/pybind11/pytypes.h:1271
↓ 1 callersFunctioncreateDataset
Create LMDB dataset for CRNN training. ARGS: outputPath : LMDB output path imagePathList : list of image path labe
script/create_lmdb.py:36
↓ 1 callersFunctioncreateDataset
Create LMDB dataset for CRNN training. ARGS: outputPath : LMDB output path imagePathList : list of image path labe
script/create_lmdb_multiprocessing.py:111
↓ 1 callersMethodcrop_area
make random crop from the input image :param im: :param polys: :param tags: :param crop_background: :
ptocr/dataloader/DetLoad/SASTProcess_ori.py:125
↓ 1 callersMethodcrop_area
make random crop from the input image :param im: :param polys: :param tags: :param crop_background: :
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:174
↓ 1 callersFunctioncvtColor
cvtColor
ptocr/dataloader/RecLoad/DataAgument.py:24
↓ 1 callersMethoddealloc
Deallocates an instance; via holder, if constructed; otherwise via operator delete.
ptocr/postprocess/lanms/include/pybind11/pybind11.h:1226
↓ 1 callersMethoddeallocate_layout
ptocr/postprocess/lanms/include/pybind11/cast.h:442
↓ 1 callersFunctiondecode_utf8
Returns a Unicode object on success, or None on failure
tools/cal_rescall/rrc_evaluation_funcs.py:109
↓ 1 callersFunctionderegister_instance
ptocr/postprocess/piexlmerge/include/pybind11/class_support.h:228
↓ 1 callersFunctionderegister_instance
ptocr/postprocess/piexlmerge/include/pybind11/detail/class.h:239
↓ 1 callersFunctionderegister_instance
ptocr/postprocess/lanms/include/pybind11/class_support.h:228
← previousnext →701–800 of 3,251, ranked by callers