MCPcopy Create free account

hub / github.com/chibohe/text_recognition_toolbox / functions

Functions169 in github.com/chibohe/text_recognition_toolbox

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
Methodadd_dilate
(self, img)
dataset.py:410
Methodadd_erode
(self, img)
dataset.py:405
Methodaffine_transform
Conduct same affine transform for both image and polygon for data augmentation.
dataset.py:526
Methodapply_curve
(self, img)
dataset.py:463
Methodapply_emboss
(self, img)
dataset.py:447
Methodapply_gauss_blur
(self, img, ks=None)
dataset.py:435
Methodapply_sharp
(self, img)
dataset.py:455
Methodapply_sp_noise
Salt and pepper noise. Replaces random pixels with 0 or 255.
dataset.py:415
FunctioncreateDataset
Create LMDB dataset for training and evaluation. ARGS: inputPath : input folder path where starts imagePath outputPath : LMD
tools/create_lmdb_dataset.py:28
Methoddecode
(self, preds)
character.py:143
Methodencode
convert text-label into text-index. input: text: text labels of each image. [batch_size] output: text: concate
character.py:53
Methodencode
(self, text)
character.py:131
Functionevaldataloader
(params)
dataset.py:115
Methodforward
(self, pred, args)
loss.py:18
Methodforward
(self, pred, args)
loss.py:33
Methodforward
(self, inputs)
networks/CRNN.py:32
Methodforward
(self, inputs)
networks/CRNN.py:67
Methodforward
(self, inputs)
networks/CRNN.py:75
Methodforward
(self, inputs)
networks/CRNN.py:91
Methodforward
(self, inputs, text)
networks/DAN.py:44
Methodforward
(self, inputs)
networks/DAN.py:62
Methodforward
(self, inputs)
networks/DAN.py:117
Methodforward
(self, input)
networks/DAN.py:160
Methodforward
(self, inputs)
networks/DAN.py:241
Methodforward
(self, feature, A, text, num_steps=30, is_train=True)
networks/DAN.py:276
Methodforward
(self, inputs, text)
networks/SAR.py:39
Methodforward
(self, x)
networks/SAR.py:57
Methodforward
(self, inputs)
networks/SAR.py:130
Methodforward
(self, features)
networks/SAR.py:152
Methodforward
(self, vis_features, holistic_features, text, num_steps=30, is_train=True)
networks/SAR.py:183
Methodforward
(self, hidden, features)
networks/SAR.py:218
Methodforward
Take in and process masked src and target sequences.
networks/SATRN.py:62
Methodforward
(self, x)
networks/SATRN.py:81
Methodforward
Pass the input (and mask) through each layer in turn.
networks/SATRN.py:97
Methodforward
(self, x)
networks/SATRN.py:112
Methodforward
Apply residual connection to any sublayer with the same size.
networks/SATRN.py:128
Methodforward
Follow Figure 1 (left) for connections.
networks/SATRN.py:142
Methodforward
(self, x, memory)
networks/SATRN.py:155
Methodforward
Follow Figure 1 (right) for connections.
networks/SATRN.py:171
Methodforward
(self, inputs)
networks/SATRN.py:193
Methodforward
(self, x)
networks/SATRN.py:214
Methodforward
(self, x)
networks/SATRN.py:253
Methodforward
(self, query, key, value)
networks/SATRN.py:289
Methodforward
(self, x)
networks/SATRN.py:318
Methodforward
(self, x)
networks/SATRN.py:340
Methodforward
(self, x)
networks/SATRN.py:350
Methodforward
(self, inputs, text)
networks/FAN.py:34
Methodforward
(self, batch_H, text, is_train=True)
networks/FAN.py:57
Methodforward
(self, inputs)
networks/FAN.py:90
Methodforward
(self, prev_hidden, batch_H, one_hot)
networks/FAN.py:106
Methodforward
(self, x)
networks/FAN.py:133
Methodforward
(self, x)
networks/FAN.py:205
Methodforward
(self, inputs)
networks/GRCNN.py:33
Methodforward
(self, inputs)
networks/GRCNN.py:59
Methodforward
(self, inputs)
networks/GRCNN.py:91
Methodforward
(self, wgf, wgx, wf, wx)
networks/GRCNN.py:111
Methodforward
(self, inputs)
networks/GRCNN.py:125
Methodforward
(self, inputs)
networks/GRCNN.py:141
Functionsave_image
(image_numpy, image_path)
dataset.py:567
Functiontensor2im
(image_tensor, imtype=np.uint8)
dataset.py:559
Functionweight_init
Usage: model = Model() model.apply(weight_init)
utils.py:103
← previous101–169 of 169, ranked by callers