MCPcopy Create free account

hub / github.com/AstarLight/Lets_OCR / functions

Functions1,392 in github.com/AstarLight/Lets_OCR

↓ 1 callersFunctioncheck_img
(img)
detector/ctpn/lib/dataset_handler.py:87
↓ 1 callersFunctionchoose_best_begin_point
find top-left vertice and resort
detector/east/east_lib/data_utils.py:116
↓ 1 callersFunctionclear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
detector/east/east_lib/lanms/include/pybind11/class_support.h:311
↓ 1 callersFunctionclear_patients
detector/east/east_lib/lanms/include/pybind11/class_support.h:294
↓ 1 callersFunctionclip_boxes
Clip boxes to image boundaries.
detector/ctpn/infer.py:32
↓ 1 callersMethodcpp_function
detector/east/east_lib/lanms/include/pybind11/pytypes.h:1201
↓ 1 callersFunctioncreateDataset
Create LMDB dataset for CRNN training. ARGS: outputPath : LMDB output path imagePathList : list of image path labe
recognizer/crnn/lib/create_lmdb_dataset.py:33
↓ 1 callersFunctioncreate_dataset
(output_path, img_list, gt_list)
detector/ctpn/lib/dataset_handler.py:111
↓ 1 callersFunctioncreate_train_val
()
detector/ctpn/train.py:36
↓ 1 callersFunctioncrnn_recognition
(cropped_image, model)
recognizer/crnn/infer.py:23
↓ 1 callersMethoddealloc
Deallocates an instance; via holder, if constructed; otherwise via operator delete.
detector/east/east_lib/lanms/include/pybind11/pybind11.h:1226
↓ 1 callersMethoddeallocate_layout
detector/east/east_lib/lanms/include/pybind11/cast.h:442
↓ 1 callersFunctionderegister_instance
detector/east/east_lib/lanms/include/pybind11/class_support.h:228
↓ 1 callersFunctionderegister_instance_impl
detector/east/east_lib/lanms/include/pybind11/class_support.h:210
↓ 1 callersMethoddetect
1e-5 restore text boxes from score map and geo map :param score_map: :param geo_map: :param timer: :param scor
detector/east/east_lib/bbox.py:166
↓ 1 callersMethoddistance_to
detector/east/east_lib/lanms/include/pybind11/pytypes.h:613
↓ 1 callersFunctiondraw_box_2pt
(img, pt, color=(0, 255, 0), thickness=1)
detector/ctpn/lib/utils.py:18
↓ 1 callersFunctiondraw_box_2pt
(img, pt, color=(0, 255, 0), thickness=1)
detector/ctpn/lib/draw_image.py:25
↓ 1 callersFunctiondraw_labels
(img, name, labels=[])
detector/common/document_data_generator.py:70
↓ 1 callersFunctiondraw_loss_plot
(train_loss_list=[], test_loss_list=[])
detector/ctpn/train.py:57
↓ 1 callersFunctiondraw_ploy_4pt
(img, pt, color=(0, 255, 0), thickness=1)
detector/common/document_data_generator.py:77
↓ 1 callersMethoddtype
detector/east/east_lib/lanms/include/pybind11/numpy.h:423
↓ 1 callersFunctionenable_buffer_protocol
Give this type a buffer interface.
detector/east/east_lib/lanms/include/pybind11/class_support.h:490
↓ 1 callersFunctionenable_dynamic_attributes
Give instances of this type a `__dict__` and opt into garbage collection.
detector/east/east_lib/lanms/include/pybind11/class_support.h:428
↓ 1 callersMethodequal
detector/east/east_lib/lanms/include/pybind11/pytypes.h:654
↓ 1 callersMethodexecute_cast
detector/east/east_lib/lanms/include/pybind11/operators.h:66
↓ 1 callersFunctionfinalize_interpreter
\rst Shut down the Python interpreter. No pybind11 or CPython API functions can be called after this. In addition, pybind11 objects must not o
detector/east/east_lib/lanms/include/pybind11/embed.h:141
↓ 1 callersFunctionfirst
detector/east/east_lib/lanms/include/pybind11/common.h:590
↓ 1 callersMethodflags
Return the NumPy array flags
detector/east/east_lib/lanms/include/pybind11/numpy.h:642
↓ 1 callersFunctiongen_test_images
(img_root, test_num=10)
detector/ctpn/infer.py:151
↓ 1 callersFunctiongenerate_VGG_16_model
(net, output_path)
detector/ctpn/lib/gen_pretrained_model.py:8
↓ 1 callersFunctiongenerate_rbox
score map is (128, 128, 1) with shrinked poly poly mask is (128, 128, 1) with differnt colors geo map is (128, 128, 5) with
detector/east/east_lib/data_utils.py:660
↓ 1 callersMethodget
detector/east/east_lib/lanms/include/pybind11/cast.h:1379
↓ 1 callersFunctiongetFiles
detector/common/detection_label_tool.cpp:36
↓ 1 callersFunctionget_box_img
(box, angle, cx, cy)
detector/common/document_data_generator.py:20
↓ 1 callersFunctionget_box_img
(x, y, w, h, angle)
detector/common/change_MSRA_TD500_format.py:16
↓ 1 callersFunctionget_images
get images's path and name return: files -- a list of img path name -- a list of img name
detector/east/east_lib/data_utils.py:39
↓ 1 callersFunctionget_object_handle
detector/east/east_lib/lanms/include/pybind11/cast.h:502
↓ 1 callersFunctionget_type_handle
detector/east/east_lib/lanms/include/pybind11/cast.h:260
↓ 1 callersMethodget_type_info
detector/east/east_lib/lanms/include/pybind11/numpy.h:86
↓ 1 callersFunctionget_type_overload
detector/east/east_lib/lanms/include/pybind11/pybind11.h:1772
↓ 1 callersFunctionimage_label
get image's corresponding matrix and ground truth return images [512, 512, 3] score [128, 128, 1] geo [128, 128, 5] mask
detector/east/east_lib/data_utils.py:804
↓ 1 callersMethodimplicit_cast
detector/east/east_lib/lanms/include/pybind11/cast.h:1336
↓ 1 callersMethodincrement
detector/east/east_lib/lanms/include/pybind11/numpy.h:1255
↓ 1 callersFunctioninfer_one
(im_name, net)
detector/ctpn/infer.py:221
↓ 1 callersFunctioninitialize_interpreter
detector/east/east_lib/lanms/include/pybind11/embed.h:95
↓ 1 callersMethodis_cpp_function
detector/east/east_lib/lanms/include/pybind11/pytypes.h:1207
↓ 1 callersFunctionisinstance_generic
detector/east/east_lib/lanms/include/pybind11/cast.h:447
↓ 1 callersMethodkind
Single-character type code.
detector/east/east_lib/lanms/include/pybind11/numpy.h:468
↓ 1 callersFunctionlast
detector/east/east_lib/lanms/include/pybind11/common.h:594
↓ 1 callersFunctionlen_of_sentence
(sentence)
detector/common/document_data_generator.py:61
↓ 1 callersFunctionload
detector/east/east_lib/lanms/include/pybind11/eigen.h:550
↓ 1 callersFunctionload_annoataion
load annotation from the text file Note: modified 1. top left vertice 2. clockwise :param p: :return:
detector/east/east_lib/data_utils.py:65
↓ 1 callersMethodload_args
detector/east/east_lib/lanms/include/pybind11/cast.h:1836
↓ 1 callersFunctionload_model
(model_path)
detector/east/infer.py:13
↓ 1 callersFunctionload_numpy_internals
detector/east/east_lib/lanms/include/pybind11/numpy.h:100
↓ 1 callersFunctionload_type
detector/east/east_lib/lanms/include/pybind11/cast.h:1591
↓ 1 callersFunctionmake_default_metaclass
This metaclass is assigned by default to all pybind11 types and is required in order for static properties to function correctly. Users may overri
detector/east/east_lib/lanms/include/pybind11/class_support.h:151
↓ 1 callersFunctionmake_iterator
detector/east/east_lib/lanms/include/pybind11/pybind11.h:1441
↓ 1 callersFunctionmake_key_iterator
detector/east/east_lib/lanms/include/pybind11/pybind11.h:1470
↓ 1 callersFunctionmake_new_python_type
Create a brand new Python type according to the `type_record` specification. Return value: New reference. */
detector/east/east_lib/lanms/include/pybind11/class_support.h:502
↓ 1 callersFunctionmake_object_base_type
Create the type which can be used as a common base for all classes. This is needed in order to satisfy Python's requirements for multiple inherit
detector/east/east_lib/lanms/include/pybind11/class_support.h:351
↓ 1 callersFunctionmake_static_property_type
A `static_property` is the same as a `property` but the `__get__()` and `__set__()` methods are modified to always use the object type instead of
detector/east/east_lib/lanms/include/pybind11/class_support.h:38
↓ 1 callersFunctionmeet_v_iou
(y1, y2, h1, h2)
detector/ctpn/infer.py:141
↓ 1 callersFunctionmerge_quadrangle_n9
detector/east/east_lib/lanms/lanms.h:199
↓ 1 callersFunctionoperator()
detector/east/east_lib/lanms/include/pybind11/common.h:780
↓ 1 callersMethodoperator=
detector/east/east_lib/lanms/include/pybind11/cast.h:1780
↓ 1 callersFunctionoverlaps_v
(y1, y2, h1, h2)
detector/ctpn/infer.py:142
↓ 1 callersFunctionpoly_iou
detector/east/east_lib/lanms/lanms.h:22
↓ 1 callersFunctionpolygon_area
compute area of a polygon :param poly: :return:
detector/east/east_lib/data_utils.py:95
↓ 1 callersMethodpolygon_area
compute area of a polygon :param poly: :return:
detector/east/east_lib/bbox.py:15
↓ 1 callersFunctionpolys2floats
detector/east/east_lib/lanms/adaptor.cpp:13
↓ 1 callersMethodpredict
predict text location return: polys -- a list of text bboxes im -- an image draw with text detection rectangle
detector/east/east_lib/bbox.py:294
↓ 1 callersFunctionrandomX
(w, image_width)
detector/common/document_data_generator.py:90
↓ 1 callersFunctionrandom_test
(net)
detector/ctpn/infer.py:270
↓ 1 callersFunctionrawGT_to_locGT
(in_path, out_path)
detector/common/gt_transformer.py:8
↓ 1 callersFunctionread_file
(path)
detector/common/change_MSRA_TD500_format.py:37
↓ 1 callersFunctionread_sentence_dict
(dict_path)
detector/common/document_data_generator.py:83
↓ 1 callersFunctionrectangle_from_parallelogram
fit a rectangle from a parallelogram :param poly: :return:
detector/east/east_lib/data_utils.py:490
↓ 1 callersFunctionregister_exception_translator
detector/east/east_lib/lanms/include/pybind11/pybind11.h:1525
↓ 1 callersFunctionregister_instance
detector/east/east_lib/lanms/include/pybind11/class_support.h:222
↓ 1 callersFunctionregister_instance_impl
detector/east/east_lib/lanms/include/pybind11/class_support.h:206
↓ 1 callersFunctionrepr
detector/east/east_lib/lanms/include/pybind11/pytypes.h:1268
↓ 1 callersMethodresize_image
resize image to a size multiple of 32 which is required by the network :param im: the resized image :param max_side_len: limi
detector/east/east_lib/bbox.py:136
↓ 1 callersFunctionrestore_rectangle_rbox
(origin, geometry)
detector/east/east_lib/data_utils.py:584
↓ 1 callersMethodrestore_rectangle_rbox
(origin, geometry)
detector/east/east_lib/bbox.py:30
↓ 1 callersMethodrotate
(self)
detector/common/document_data_generator.py:109
↓ 1 callersFunctionsave_image_label
(image, i, label, rotate, underline=False, font=None, blur=False)
detector/common/document_data_generator.py:41
↓ 1 callersFunctionscale_img
(img, gt, shortest_side=600)
detector/ctpn/lib/dataset_handler.py:47
↓ 1 callersMethodset_instance_registered
detector/east/east_lib/lanms/include/pybind11/cast.h:304
↓ 1 callersFunctionshrink_poly
fit a poly inside the origin poly, maybe bugs here... used for generate the score map :param poly: the text poly :param r: r in the p
detector/east/east_lib/data_utils.py:367
↓ 1 callersFunctionsize_similarity
(h1, h2)
detector/ctpn/infer.py:145
↓ 1 callersFunctionsortCoords
(box)
detector/ctpn/lib/generate_gt_anchor.py:46
↓ 1 callersMethodsort_poly
(p)
detector/east/east_lib/bbox.py:209
↓ 1 callersFunctionsort_rectangle
(poly)
detector/east/east_lib/data_utils.py:548
↓ 1 callersFunctionstandard_nms
* The standard NMS algorithm. */
detector/east/east_lib/lanms/lanms.h:172
↓ 1 callersMethodstrip_padding
detector/east/east_lib/lanms/include/pybind11/numpy.h:479
↓ 1 callersFunctiontrain
(train_loader, test_loader, model, criterion, scheduler, optimizer, epoch)
detector/east/train.py:38
↓ 1 callersFunctiontrainBatch
(net, criterion, optimizer, train_iter)
recognizer/crnn/train.py:69
↓ 1 callersMethodtry_direct_conversions
detector/east/east_lib/lanms/include/pybind11/cast.h:630
← previousnext →501–600 of 1,392, ranked by callers