Version: 0.0.3
Author : Md. Nazmuddoha Ansary
Python : 3.6.8
'অ','আ','ই','ঈ','উ','ঊ',
'ঋ','এ','ঐ','ও','ঔ',
'ক','খ','গ','ঘ','ঙ',
'চ','ছ','জ','ঝ','ঞ',
'ট','ঠ','ড','ঢ','ণ',
'ত','থ','দ','ধ','ন',
'প','ফ','ব','ভ','ম',
'য','র','ল',
'শ','ষ','স','হ',
'ড়','ঢ়','য়',
'ৎ','ং','ঃ','ঁ'
'ঁ'
- 'ঁ' is not printable
The model is based on the original paper:Densely Connected Convolutional Networks
Authors and Researchers: Gao Huang ; Zhuang Liu ; Laurens van der Maaten ; Kilian Q. Weinberger
The paper introduces Dense Blocks within the traditional convolutional neural network architechture.
The composite layers can also contain bottoleneck layers
As compared to well established CNN models (like : FractNet or ResNet) DenseNet has:
* Less number of feature vector
* Low information bottoleneck
* Better Handling Of the vanishing gradient problem
CMATERdb 3.1.2: Handwritten Bangla basic-character database
From:Alom et. al. 2018
Keras==2.2.5
numpy==1.16.4
tensorflow==1.13.1
- pip3 install -r requirements.txt
TPU’s have been recently added to the Google Colab portfolio making it even more attractive for quick-and-dirty machine learning projects when your own local processing units are just not fast enough. While the Tesla K80 available in Google Colab delivers respectable 1.87 TFlops and has 12GB RAM, the TPUv2 available from within Google Colab comes with a whopping 180 TFlops, give or take. It also comes with 64 GB High Bandwidth Memory (HBM).
Visit This For More Info
For this model the approx time/epoch=24s
Test data Prediction Accuracy [F1 accuracy]: 98.56666666666666
For Deployment of the Saved Model python-flask is used.
The deployment is very simple and to be honest can be more optimized
The final goal of the segmentation script is to separate:
- Words From Lines
- Symbols From Words For the goal of separation, Connected Components are mapped with pixel distribution after "skeletonization" and finding an optimal rotation for both skewness and separation.
NOTE: See how the word "মনেরে" and "ভাল-মন্দ" are rotated for an optimal position with respect to a straight line or "মাত্রা" as we call it in "বাংলা" but the word "যাহাই" is left as it is because the skewness is completely by chance in the optimal rotation for separation.
The implemented model architechture can be found at /info/model.png