A keras based module for trainning and Recognizing the synthetic charecter and then pridict the word using RCNN network
The modeule can creatre RCNN model and it can train the model. using method of the call this modele can pridict the charecter in the image and then it makes word from cherecter after doing that it can mark all the word in image and produce a output again it create a folder containing name of that word in move the cropped word into it. size of moved image will be 64x64 for each word.
Nural_network
- labels_class [veriable]
- class_count [veriable]
- sample_count [veriable]
- sample_dimension [veriable]
- isModel [veriable]
- isTrained [veriable]
- train_data [veriable]
- train_labels [veriable]
- __init __
- getTrainingData
- getValidData
- model
- __shape
- Train
- load
- save
- __key_func
For woring with this file you need to install the following library in system
- Python
- numpy
- pip install opencv-python
- keras
- pip install keras
- Tensorflow
- pip install tensorflow
- cv2. Visit GitHub
- pip install opencv-contrib-python
- Cherecter dataset
- given with project
- Windows
- Linux
No need to install in system. Copy this file where you want to run
Type pip install --
if you are using native python installation and for anaconda distrubution use conda install --
to install this pakage.
- 3.5
- 3.6
- 3.7
Create a model and train it:
nn = Nural_network()
nn.model()
nn.Train()
nn.save()
nn.model.summary()
Load the pre existing model:
nn = Nural_network()
nn.load()
nn.Train()
nn.save()
nn.model.summary()