Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chibohe/text_recognition_toolbox
/ functions
Functions
169 in github.com/chibohe/text_recognition_toolbox
⨍
Functions
169
◇
Types & classes
59
Method
__init__
(self, flags)
networks/GRCNN.py:20
Method
__init__
(self, input_channel, output_channel)
networks/GRCNN.py:43
Method
__init__
(self, output_channel)
networks/GRCNN.py:103
Method
__init__
(self)
networks/GRCNN.py:122
Method
__init__
(self, num_inputs, num_hiddens)
networks/GRCNN.py:133
Method
__len__
(self)
dataset.py:216
Method
__len__
(self)
dataset.py:282
Method
_remap_y
(x, max_val)
dataset.py:495
Method
add_dilate
(self, img)
dataset.py:410
Method
add_erode
(self, img)
dataset.py:405
Method
affine_transform
Conduct same affine transform for both image and polygon for data augmentation.
dataset.py:526
Method
apply_curve
(self, img)
dataset.py:463
Method
apply_emboss
(self, img)
dataset.py:447
Method
apply_gauss_blur
(self, img, ks=None)
dataset.py:435
Method
apply_sharp
(self, img)
dataset.py:455
Method
apply_sp_noise
Salt and pepper noise. Replaces random pixels with 0 or 255.
dataset.py:415
Function
createDataset
Create LMDB dataset for training and evaluation. ARGS: inputPath : input folder path where starts imagePath outputPath : LMD
tools/create_lmdb_dataset.py:28
Method
decode
(self, preds)
character.py:143
Method
encode
convert text-label into text-index. input: text: text labels of each image. [batch_size] output: text: concate
character.py:53
Method
encode
(self, text)
character.py:131
Function
evaldataloader
(params)
dataset.py:115
Method
forward
(self, pred, args)
loss.py:18
Method
forward
(self, pred, args)
loss.py:33
Method
forward
(self, inputs)
networks/CRNN.py:32
Method
forward
(self, inputs)
networks/CRNN.py:67
Method
forward
(self, inputs)
networks/CRNN.py:75
Method
forward
(self, inputs)
networks/CRNN.py:91
Method
forward
(self, inputs, text)
networks/DAN.py:44
Method
forward
(self, inputs)
networks/DAN.py:62
Method
forward
(self, inputs)
networks/DAN.py:117
Method
forward
(self, input)
networks/DAN.py:160
Method
forward
(self, inputs)
networks/DAN.py:241
Method
forward
(self, feature, A, text, num_steps=30, is_train=True)
networks/DAN.py:276
Method
forward
(self, inputs, text)
networks/SAR.py:39
Method
forward
(self, x)
networks/SAR.py:57
Method
forward
(self, inputs)
networks/SAR.py:130
Method
forward
(self, features)
networks/SAR.py:152
Method
forward
(self, vis_features, holistic_features, text, num_steps=30, is_train=True)
networks/SAR.py:183
Method
forward
(self, hidden, features)
networks/SAR.py:218
Method
forward
Take in and process masked src and target sequences.
networks/SATRN.py:62
Method
forward
(self, x)
networks/SATRN.py:81
Method
forward
Pass the input (and mask) through each layer in turn.
networks/SATRN.py:97
Method
forward
(self, x)
networks/SATRN.py:112
Method
forward
Apply residual connection to any sublayer with the same size.
networks/SATRN.py:128
Method
forward
Follow Figure 1 (left) for connections.
networks/SATRN.py:142
Method
forward
(self, x, memory)
networks/SATRN.py:155
Method
forward
Follow Figure 1 (right) for connections.
networks/SATRN.py:171
Method
forward
(self, inputs)
networks/SATRN.py:193
Method
forward
(self, x)
networks/SATRN.py:214
Method
forward
(self, x)
networks/SATRN.py:253
Method
forward
(self, query, key, value)
networks/SATRN.py:289
Method
forward
(self, x)
networks/SATRN.py:318
Method
forward
(self, x)
networks/SATRN.py:340
Method
forward
(self, x)
networks/SATRN.py:350
Method
forward
(self, inputs, text)
networks/FAN.py:34
Method
forward
(self, batch_H, text, is_train=True)
networks/FAN.py:57
Method
forward
(self, inputs)
networks/FAN.py:90
Method
forward
(self, prev_hidden, batch_H, one_hot)
networks/FAN.py:106
Method
forward
(self, x)
networks/FAN.py:133
Method
forward
(self, x)
networks/FAN.py:205
Method
forward
(self, inputs)
networks/GRCNN.py:33
Method
forward
(self, inputs)
networks/GRCNN.py:59
Method
forward
(self, inputs)
networks/GRCNN.py:91
Method
forward
(self, wgf, wgx, wf, wx)
networks/GRCNN.py:111
Method
forward
(self, inputs)
networks/GRCNN.py:125
Method
forward
(self, inputs)
networks/GRCNN.py:141
Function
save_image
(image_numpy, image_path)
dataset.py:567
Function
tensor2im
(image_tensor, imtype=np.uint8)
dataset.py:559
Function
weight_init
Usage: model = Model() model.apply(weight_init)
utils.py:103
← previous
101–169 of 169, ranked by callers