MCPcopy Create free account

hub / github.com/AlibabaResearch/AdvancedLiterateMachinery / functions

Functions4,693 in github.com/AlibabaResearch/AdvancedLiterateMachinery

↓ 4 callersFunctionget_args
(is_train=True)
OCR/LevOCR/utils.py:91
↓ 4 callersFunctionget_configs
(is_training:bool)
OCR/LISTER/utils.py:25
↓ 4 callersFunctionget_model
(config_dict, device, training=False, **kwargs)
OCR/LISTER/utils.py:115
↓ 4 callersFunctionhierarchical_dataset
select_data='/' contains all sub-directory of root directory
OCR/MGP-STR/dataset.py:117
↓ 4 callersFunctionload_model
(model, model_path, optimizer=None, resume=False, lr=None, lr_step=None)
DocumentUnderstanding/LORE-TSR/src/lib/models/model.py:34
↓ 4 callersFunctionload_pretrained
Loads a pretrained checkpoint From an older version of timm
OCR/MGP-STR/modules/mgp_str.py:103
↓ 4 callersFunctionmorphologyDefaultBorderValue
returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation.
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/imgproc/imgproc.hpp:370
↓ 4 callersFunctionmorphologyDefaultBorderValue
returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation.
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/imgproc/imgproc.hpp:370
↓ 4 callersMethodmul
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:703
↓ 4 callersMethodorder_point
(self, coor)
Applications/DocXChain/modules/text_recognition.py:84
↓ 4 callersFunctionpad_same
(x,ksize,stride=1,Pool=False)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/fpn_mask_resnet.py:34
↓ 4 callersFunctionpad_same
(x,ksize,stride=1,Pool=False)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/fpn_mask_resnet_half.py:59
↓ 4 callersMethodparse
(self, args=None)
DocumentUnderstanding/DocXLayout/opts.py:272
↓ 4 callersMethodrelease
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/mat.hpp:364
↓ 4 callersMethodrelease
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/mat.hpp:364
↓ 4 callersMethodremove
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:3657
↓ 4 callersFunctionreset
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/videostab/stabilizer.hpp:139
↓ 4 callersFunctionreset
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/videostab/stabilizer.hpp:139
↓ 4 callersMethodrotate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/affine.hpp:374
↓ 4 callersFunctionsample_asym
(magnitude, size=None)
OCR/LISTER/dataset/img_transforms.py:14
↓ 4 callersFunctionsample_asym
(magnitude, size=None)
OCR/LevOCR/transforms.py:12
↓ 4 callersFunctionset
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/legacy/legacy.hpp:1552
↓ 4 callersFunctionset
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/legacy/legacy.hpp:1552
↓ 4 callersFunctiontest_index_precision
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/index_testing.h:154
↓ 4 callersFunctiontest_index_precision
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/index_testing.h:154
↓ 4 callersFunctiontransform_preds_upper_left
(coords, center, scale, output_size, rot=0)
DocumentUnderstanding/LORE-TSR/src/lib/utils/image.py:26
↓ 4 callersMethodupdate_dataset_info_and_set_heads
(self, opt, dataset)
DocumentUnderstanding/LORE-TSR/src/lib/opts.py:370
↓ 4 callersMethodupdate_with_loss
(self, ret, labels=None, label_lens=None)
OCR/LISTER/model/model.py:30
↓ 4 callersMethodval
(self)
OCR/LISTER/utils.py:295
↓ 4 callersFunctionveclen
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/flann.hpp:253
↓ 4 callersFunctionveclen
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/flann.hpp:253
↓ 4 callersMethodwrite
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/operations.hpp:3805
↓ 4 callersMethodwrite
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:3805
↓ 3 callersMethod__init__
(self, in_channels, out_channels, kernel_size, stride, padding, dilation=1,
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2_1.4/dcn_v2.py:107
↓ 3 callersMethod__init__
(self, in_channels, out_channels, kernel_size,
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/dcn/modules/deform_conv.py:12
↓ 3 callersMethod__init__
( self, in_channels, out_channels, kernel_size, stride, paddin
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/DCNv2/dcn_v2.py:148
↓ 3 callersMethod_make_deconv_layer
(self, num_layers, num_filters, num_kernels)
DocumentUnderstanding/LORE-TSR/src/lib/models/networks/fpn_resnet.py:186
↓ 3 callersFunction_make_pair_feat
(output)
DocumentUnderstanding/LORE-TSR/src/lib/models/utils.py:17
↓ 3 callersFunction_try_get_key
Try select keys from cfg until the first key that exists. Otherwise return default.
DocumentUnderstanding/VGT/object_detection/ditod/VGTTrainer.py:174
↓ 3 callersMethodadd
(self, v)
OCR/LISTER/utils.py:285
↓ 3 callersMethodadd
(self, v)
OCR/MGP-STR/utils.py:95
↓ 3 callersMethodadd_4ps_coco_bbox
(self, bbox, cat, conf, logi=None, show_txt=False, img_id='default')
DocumentUnderstanding/LORE-TSR/src/lib/utils/debugger.py:142
↓ 3 callersMethodadd_blend_img
(self, back, fore, img_id='blend', trans=0.7)
DocumentUnderstanding/LORE-TSR/src/lib/utils/debugger.py:71
↓ 3 callersMethodadd_coco_bbox
(self, bbox, cat, conf=1, show_txt=False, img_id='default')
DocumentUnderstanding/DocXLayout/utils/debugger.py:180
↓ 3 callersMethodany
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/any.h:172
↓ 3 callersMethodchar_decode
convert text-index into text-label.
OCR/MGP-STR/utils.py:52
↓ 3 callersMethodclear
Remove all elements in the set */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:425
↓ 3 callersMethodclear
Remove all elements in the set */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:425
↓ 3 callersMethodclone
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/any.h:89
↓ 3 callersMethodclone
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/any.h:89
↓ 3 callersFunctionconv1x1
1x1 convolution
OCR/VLPT-STD/models/resnet.py:31
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
OCR/VLPT-STD/models/resnet.py:25
↓ 3 callersMethodcopy
Copy the set to two C arrays * @param indices pointer to a C array of indices * @param dist pointer to a C array of distances * @param
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/result_set.h:327
↓ 3 callersMethodcopy
Copy the set to two C arrays * @param indices pointer to a C array of indices * @param dist pointer to a C array of distances * @param
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/result_set.h:327
↓ 3 callersFunctioncreate_model
(arch, heads, head_conv, convert_onnx, kwargs)
DocumentUnderstanding/DocXLayout/models/model.py:18
↓ 3 callersMethodcrop_image
(self, image, position)
Applications/DocXChain/modules/text_recognition.py:100
↓ 3 callersFunctioncvMat
Inline constructor. No data is allocated internally!!! * (Use together with cvCreateData, or use cvCreateMat instead to * get a matrix with allocate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/types_c.h:733
↓ 3 callersFunctioncvMat
Inline constructor. No data is allocated internally!!! * (Use together with cvCreateData, or use cvCreateMat instead to * get a matrix with allocate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/types_c.h:733
↓ 3 callersFunctiondeallocate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/core.hpp:323
↓ 3 callersFunctiondeallocate
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/core.hpp:323
↓ 3 callersMethoddistance
(x1,y1,x2,y2)
Applications/DocXChain/modules/text_recognition.py:101
↓ 3 callersMethodelemSize
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/mat.hpp:398
↓ 3 callersMethodelemSize
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/mat.hpp:398
↓ 3 callersMethodempty
Returns true if the any contains no value.
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/any.h:263
↓ 3 callersMethodempty
Returns true if the any contains no value.
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/any.h:263
↓ 3 callersFunctionevaluate
(dataloader, net, label_cvter, model_type='vit', accountant=None, need_debug=False, test_speed=False, ret_prob
OCR/LISTER/test.py:23
↓ 3 callersMethodextract_features
( self, img_feature, text_feature, layers=None, **unused )
OCR/LevOCR/levt/levenshtein_transformer.py:576
↓ 3 callersMethodextract_img_feature
(self, img_feature)
OCR/LevOCR/models.py:160
↓ 3 callersFunctiongaussian2D
(shape, sigma=1)
DocumentUnderstanding/LORE-TSR/src/lib/utils/image.py:158
↓ 3 callersMethodgen_colormap
(self, img, output_res=None)
DocumentUnderstanding/LORE-TSR/src/lib/utils/debugger.py:84
↓ 3 callersMethodgetBucketFromKey
Get a bucket given the key * @param key * @return */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/lsh_table.h:208
↓ 3 callersMethodgetBucketFromKey
Get a bucket given the key * @param key * @return */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/lsh_table.h:208
↓ 3 callersMethodgetKey
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/lsh_table.h:385
↓ 3 callersMethodgetKey
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/lsh_table.h:385
↓ 3 callersFunctiongetVARPSize
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/MNN.framework/Headers/cv/types.hpp:408
↓ 3 callersFunctionget_affine_transform
(center, scale, rot, output_size,
DocumentUnderstanding/DocXLayout/utils/image.py:30
↓ 3 callersFunctionget_args
(is_train=True)
OCR/MGP-STR/utils.py:120
↓ 3 callersFunctionget_class_names
(dataset_root_path)
DocumentUnderstanding/GeoLayoutLM/utils/__init__.py:136
↓ 3 callersFunctionget_model
(cfg)
DocumentUnderstanding/GeoLayoutLM/model/__init__.py:3
↓ 3 callersFunctionhierarchical_dataset
select_data='/' contains all sub-directory of root directory
OCR/LevOCR/dataset.py:106
↓ 3 callersMethodinit
* Initializes the number generator. * @param n the size of the interval from which to generate random numbers. */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/random.h:102
↓ 3 callersMethodinit
* Initializes the number generator. * @param n the size of the interval from which to generate random numbers. */
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/random.h:102
↓ 3 callersFunctionis_dist_avail_and_initialized
()
OCR/MGP-STR/utils_dist.py:186
↓ 3 callersFunctionis_dist_avail_and_initialized
()
OCR/LevOCR/utils_dist.py:180
↓ 3 callersFunctionis_tf_available
()
DocumentUnderstanding/GeoLayoutLM/bros/file_utils.py:109
↓ 3 callersFunctionload_model
(model, state_dict)
DocumentUnderstanding/GeoLayoutLM/model/geolayoutlm_vie.py:225
↓ 3 callersMethodmkdirs
(path: str)
OCR/LevOCR/levt/file_io.py:101
↓ 3 callersFunctionnew_arange
Return a Tensor of `size` filled with a range function on the device of x. If size is empty, using the size of the variable x.
OCR/LevOCR/levt/utils.py:13
↓ 3 callersMethodnext
* Return a distinct random integer in greater or equal to 0 and less * than 'n' on each call. It should be called maximum 'n' times. * Retur
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/random.h:120
↓ 3 callersMethodnext
* Return a distinct random integer in greater or equal to 0 and less * than 'n' on each call. It should be called maximum 'n' times. * Retur
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/random.h:120
↓ 3 callersMethodparse
(self, args='')
DocumentUnderstanding/LORE-TSR/src/lib/opts.py:311
↓ 3 callersMethodpopMin
* Returns the node of minimum value from the heap (top of the heap). * * Params: * value = out parameter used to return the min ele
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/heap.h:147
↓ 3 callersMethodpopMin
* Returns the node of minimum value from the heap (top of the heap). * * Params: * value = out parameter used to return the min ele
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/heap.h:147
↓ 3 callersFunctionproject_to_image
(pts_3d, P)
DocumentUnderstanding/DocXLayout/utils/ddd_utils.py:27
↓ 3 callersFunctionrandom_sample
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/flann/sampling.h:40
↓ 3 callersFunctionrandom_sample
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/flann/sampling.h:40
↓ 3 callersMethodreserve
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Versions/Current/Headers/core/operations.hpp:2406
↓ 3 callersMethodreserve
OCR/LiteWeightOCR/platform/IOS/DuGuang_LiteOCR_IOS_DEMO/DuGuang_LiteOCR_IOS_DEMO/opencv2.framework/Headers/core/operations.hpp:2406
↓ 3 callersMethodreset
(self)
OCR/LISTER/utils.py:291
↓ 3 callersMethodreset
(self)
OCR/LevOCR/utils.py:73
← previousnext →301–400 of 4,693, ranked by callers