Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BADBADBADBOY/pytorchOCR
/ functions
Functions
3,251 in github.com/BADBADBADBOY/pytorchOCR
⨍
Functions
3,251
◇
Types & classes
1,268
↓ 2 callers
Method
combine_results
(self, results)
tools/cal_rescall/cal_iou.py:189
↓ 2 callers
Function
compute_ap
(confList, matchList, numGtCare)
tools/cal_rescall/script.py:108
↓ 2 callers
Method
crop_area
(self, img, polys)
ptocr/dataloader/DetLoad/transform_img.py:157
↓ 2 callers
Method
data
ptocr/postprocess/piexlmerge/include/pybind11/eigen.h:478
↓ 2 callers
Method
data
ptocr/postprocess/lanms/include/pybind11/eigen.h:481
↓ 2 callers
Method
data
ptocr/postprocess/dbprocess/include/pybind11/eigen.h:478
↓ 2 callers
Method
deallocate_layout
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:394
↓ 2 callers
Method
deallocate_layout
ptocr/postprocess/dbprocess/include/pybind11/cast.h:394
↓ 2 callers
Function
do_inference
(context, bindings, inputs, outputs, stream, batch_size=1)
script/onnx_to_tensorrt.py:110
↓ 2 callers
Function
equal
Equivalent to obj == other in Python
ptocr/postprocess/dbprocess/include/pybind11/pytypes.h:118
↓ 2 callers
Method
evaluate_image
(self, gt, pred)
tools/cal_rescall/cal_iou.py:17
↓ 2 callers
Method
gen_min_area_quad_from_poly
Generate min area quad from poly.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:380
↓ 2 callers
Method
gen_min_area_quad_from_poly
Generate min area quad from poly.
ptocr/dataloader/DetLoad/SASTProcess.py:76
↓ 2 callers
Method
gen_min_area_quad_from_poly
Generate min area quad from poly.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:429
↓ 2 callers
Method
get
ptocr/postprocess/lanms/include/pybind11/pytypes.h:473
↓ 2 callers
Function
get_function
ptocr/postprocess/piexlmerge/include/pybind11/pytypes.h:446
↓ 2 callers
Function
get_function
ptocr/postprocess/lanms/include/pybind11/pytypes.h:396
↓ 2 callers
Function
get_function
ptocr/postprocess/dbprocess/include/pybind11/pytypes.h:446
↓ 2 callers
Function
get_img
(path,is_gray = False)
ptocr/dataloader/RecLoad/CRNNProcess1.py:21
↓ 2 callers
Function
get_img
(img_path)
ptocr/dataloader/DetLoad/SASTProcess.py:22
↓ 2 callers
Function
get_intersection_over_union
(pD, pG)
tools/cal_rescall/script.py:96
↓ 2 callers
Function
get_keys
(key_path)
ptocr/utils/transform_label.py:16
↓ 2 callers
Function
get_local_type_info
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:169
↓ 2 callers
Function
get_local_type_info
ptocr/postprocess/dbprocess/include/pybind11/cast.h:169
↓ 2 callers
Function
get_points
ptocr/postprocess/piexlmerge/pixelmerge.cpp:224
↓ 2 callers
Method
get_tag
(self, gt_kernel_key)
ptocr/model/loss/basical_loss.py:70
↓ 2 callers
Function
get_thread_state_unchecked
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:465
↓ 2 callers
Function
get_thread_state_unchecked
ptocr/postprocess/lanms/include/pybind11/cast.h:514
↓ 2 callers
Function
get_thread_state_unchecked
ptocr/postprocess/dbprocess/include/pybind11/cast.h:465
↓ 2 callers
Function
get_tl_line_values
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
tools/cal_rescall/rrc_evaluation_funcs.py:156
↓ 2 callers
Function
get_union
(pD, pG)
tools/cal_rescall/script.py:91
↓ 2 callers
Method
infer_img
(self,ori_imgs)
tools/det_infer.py:97
↓ 2 callers
Method
init_instance
Performs instance initialization including constructing a holder and registering the known instance. Should be called as soon as the `type` value_ptr
ptocr/postprocess/lanms/include/pybind11/pybind11.h:1216
↓ 2 callers
Method
instance_registered
ptocr/postprocess/lanms/include/pybind11/cast.h:299
↓ 2 callers
Function
instance_simple_holder_in_ptrs
* The space to allocate for simple layout instance holders (see below) in multiple of the size of * a pointer (e.g. 2 means 16 bytes on 64-bit archi
ptocr/postprocess/piexlmerge/include/pybind11/detail/common.h:366
↓ 2 callers
Function
instance_simple_holder_in_ptrs
* The space to allocate for simple layout instance holders (see below) in multiple of the size of * a pointer (e.g. 2 means 16 bytes on 64-bit archi
ptocr/postprocess/lanms/include/pybind11/common.h:360
↓ 2 callers
Function
instance_simple_holder_in_ptrs
* The space to allocate for simple layout instance holders (see below) in multiple of the size of * a pointer (e.g. 2 means 16 bytes on 64-bit archi
ptocr/postprocess/dbprocess/include/pybind11/detail/common.h:366
↓ 2 callers
Method
kwargs
ptocr/postprocess/piexlmerge/include/pybind11/cast.h:1947
↓ 2 callers
Method
kwargs
ptocr/postprocess/lanms/include/pybind11/cast.h:1881
↓ 2 callers
Method
kwargs
ptocr/postprocess/dbprocess/include/pybind11/cast.h:1947
↓ 2 callers
Method
line_cross_point
line1 and line2 in 0=ax+by+c form, compute the cross point of line1 and line2
ptocr/dataloader/DetLoad/SASTProcess_ori.py:493
↓ 2 callers
Method
line_cross_point
line1 and line2 in 0=ax+by+c form, compute the cross point of line1 and line2
ptocr/dataloader/DetLoad/SASTProcess.py:189
↓ 2 callers
Method
line_cross_point
line1 and line2 in 0=ax+by+c form, compute the cross point of line1 and line2
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:542
↓ 2 callers
Method
line_cross_two_point
Calculate the line through given point A and B in ax + by + c =0 form.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:477
↓ 2 callers
Method
line_cross_two_point
Calculate the line through given point A and B in ax + by + c =0 form.
ptocr/dataloader/DetLoad/SASTProcess.py:173
↓ 2 callers
Method
line_cross_two_point
Calculate the line through given point A and B in ax + by + c =0 form.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:526
↓ 2 callers
Function
load
ptocr/postprocess/piexlmerge/include/pybind11/eigen.h:547
↓ 2 callers
Function
load
ptocr/postprocess/dbprocess/include/pybind11/eigen.h:547
↓ 2 callers
Function
load_label_infor
(label_file_path, do_ignore=False)
tools/cal_rescall/cal_det.py:5
↓ 2 callers
Function
load_prune_model
(model,model_path,pruned_model_dict_path,d_type = 'total')
ptocr/utils/prune_script.py:562
↓ 2 callers
Function
log2
ptocr/postprocess/piexlmerge/include/pybind11/detail/common.h:355
↓ 2 callers
Function
log2
ptocr/postprocess/lanms/include/pybind11/common.h:349
↓ 2 callers
Function
log2
ptocr/postprocess/dbprocess/include/pybind11/detail/common.h:355
↓ 2 callers
Function
make_new_instance
Instance creation function for all pybind11 types. It allocates the internal instance layout for holding C++ objects and holders. Allocation is done
ptocr/postprocess/piexlmerge/include/pybind11/detail/class.h:249
↓ 2 callers
Function
make_new_instance
Instance creation function for all pybind11 types. It only allocates space for the C++ object (or multiple objects, for Python-side inheritance from m
ptocr/postprocess/lanms/include/pybind11/class_support.h:239
↓ 2 callers
Function
make_new_instance
Instance creation function for all pybind11 types. It allocates the internal instance layout for holding C++ objects and holders. Allocation is done
ptocr/postprocess/dbprocess/include/pybind11/detail/class.h:249
↓ 2 callers
Function
make_tuple
ptocr/postprocess/dbprocess/include/pybind11/cast.h:1751
↓ 2 callers
Function
merge_quadrangle_n9
ptocr/postprocess/lanms/lanms.h:199
↓ 2 callers
Function
mutable_data
ptocr/postprocess/piexlmerge/include/pybind11/numpy.h:852
↓ 2 callers
Function
mutable_data
ptocr/postprocess/lanms/include/pybind11/numpy.h:855
↓ 2 callers
Function
mutable_data
ptocr/postprocess/dbprocess/include/pybind11/numpy.h:852
↓ 2 callers
Method
name
ptocr/postprocess/lanms/include/pybind11/numpy.h:1114
↓ 2 callers
Method
ndim
Number of dimensions
ptocr/postprocess/lanms/include/pybind11/numpy.h:608
↓ 2 callers
Function
no_nullptr
ptocr/postprocess/piexlmerge/include/pybind11/detail/init.h:35
↓ 2 callers
Function
no_nullptr
ptocr/postprocess/dbprocess/include/pybind11/detail/init.h:35
↓ 2 callers
Function
ohem_batch
(scores, gt_texts, training_masks)
ptocr/model/loss/basical_loss.py:299
↓ 2 callers
Function
pan
(preds, config)
ptocr/postprocess/piexlmerge/__init__.py:50
↓ 2 callers
Function
paths_area
ptocr/postprocess/piexlmerge/lanms.h:15
↓ 2 callers
Function
paths_area
ptocr/postprocess/lanms/lanms.h:15
↓ 2 callers
Method
poly2quads
Split poly into quads.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:565
↓ 2 callers
Method
poly2quads
Split poly into quads.
ptocr/dataloader/DetLoad/SASTProcess.py:261
↓ 2 callers
Method
poly2quads
Split poly into quads.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:614
↓ 2 callers
Method
poly2tcl
Generate center line by poly clock-wise point.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:521
↓ 2 callers
Method
poly2tcl
Generate center line by poly clock-wise point.
ptocr/dataloader/DetLoad/SASTProcess.py:217
↓ 2 callers
Method
poly2tcl
Generate center line by poly clock-wise point.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:570
↓ 2 callers
Function
polygon_from_points
Returns a Polygon object to use with the Polygon2 class from a list of 8 points: x1,y1,x2,y2,x3,y3,x4,y4
tools/cal_rescall/script.py:55
↓ 2 callers
Function
pse
(outputs,config)
ptocr/postprocess/piexlmerge/__init__.py:17
↓ 2 callers
Function
quantize_model
(model, backend,convert = False)
tools/det_train_qua.py:45
↓ 2 callers
Method
random_crop_db
(self, img, polys, dont_care)
ptocr/dataloader/DetLoad/transform_img.py:291
↓ 2 callers
Method
random_select
(self, axis, max_size)
ptocr/dataloader/DetLoad/transform_img.py:138
↓ 2 callers
Function
rectangle_to_polygon
(rect)
tools/cal_rescall/script.py:71
↓ 2 callers
Method
region_wise_random_select
(self, regions, max_size)
ptocr/dataloader/DetLoad/transform_img.py:146
↓ 2 callers
Function
resize_image_crnn
(img,max_width=100,side_len=32,stride =4)
ptocr/utils/util_function.py:103
↓ 2 callers
Method
run
ptocr/postprocess/lanms/include/pybind11/numpy.h:1467
↓ 2 callers
Function
same_type
ptocr/postprocess/lanms/include/pybind11/common.h:448
↓ 2 callers
Function
should_merge
ptocr/postprocess/piexlmerge/lanms.h:36
↓ 2 callers
Function
should_merge
ptocr/postprocess/lanms/lanms.h:36
↓ 2 callers
Method
shrink_quad_along_width
Generate shrink_quad_along_width.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:410
↓ 2 callers
Method
shrink_quad_along_width
Generate shrink_quad_along_width.
ptocr/dataloader/DetLoad/SASTProcess.py:106
↓ 2 callers
Method
shrink_quad_along_width
Generate shrink_quad_along_width.
ptocr/dataloader/DetLoad/SASTProcess_ori1.py:459
↓ 2 callers
Method
shrink_quad_along_width
Generate shrink_quad_along_width.
ptocr/postprocess/SASTpostprocess.py:46
↓ 2 callers
Method
size
ptocr/postprocess/piexlmerge/include/pybind11/pytypes.h:1261
↓ 2 callers
Method
size
ptocr/postprocess/lanms/include/pybind11/pytypes.h:1191
↓ 2 callers
Method
size
ptocr/postprocess/dbprocess/include/pybind11/pytypes.h:1261
↓ 2 callers
Function
solve_polys
(polys)
ptocr/dataloader/DetLoad/transform_img.py:15
↓ 2 callers
Method
split_regions
(self, axis)
ptocr/dataloader/DetLoad/transform_img.py:128
↓ 2 callers
Method
squeeze
Return a new view with all of the dimensions of length 1 removed
ptocr/postprocess/piexlmerge/include/pybind11/numpy.h:710
↓ 2 callers
Method
squeeze
Return a new view with all of the dimensions of length 1 removed
ptocr/postprocess/dbprocess/include/pybind11/numpy.h:710
↓ 2 callers
Method
text
ptocr/postprocess/lanms/include/pybind11/descr.h:30
↓ 2 callers
Method
theta_line_cross_point
Calculate the line through given point and angle in ax + by + c =0 form.
ptocr/dataloader/DetLoad/SASTProcess_ori.py:468
← previous
next →
501–600 of 3,251, ranked by callers