Author Contributions
Conceptualization, M.Z.R., N.M.N. and A.K.; Formal analysis, M.Z.R., N.M.N., M.A. and A.K.; Funding acquisition, M.Z.R. and N.M.N.; Investigation, M.Z.R., M.A. and A.K.; Methodology, M.Z.R., N.M.N., M.A. and A.K.; Resources, N.M.N.; Software, M.Z.R. and M.A.; Supervision, N.M.N. and A.K.; Validation, M.Z.R. and A.K.; Writing—original draft, M.Z.R., M.A. and A.K.; Writing—review & editing, M.Z.R., N.M.N. and A.K. All authors have read and agreed to the published version of the manuscript.
Figure 1.
The Proposed Methodology Flowchart.
Figure 1.
The Proposed Methodology Flowchart.
Figure 2.
The Pashto Digit Dataset Collection and Preprocessing.
Figure 2.
The Pashto Digit Dataset Collection and Preprocessing.
Figure 3.
A sample from the Pashto Digit Dataset.
Figure 3.
A sample from the Pashto Digit Dataset.
Figure 4.
Complete Pashto Digits.
Figure 4.
Complete Pashto Digits.
Figure 5.
Discarded images.
Figure 5.
Discarded images.
Figure 6.
Channel Representation of RGB.
Figure 6.
Channel Representation of RGB.
Figure 7.
Actual conversion of characters.
Figure 7.
Actual conversion of characters.
Figure 8.
Grayscale vs. binary.
Figure 8.
Grayscale vs. binary.
Figure 9.
Image representation.
Figure 9.
Image representation.
Figure 10.
Accuracy Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Characters Dataset.
Figure 10.
Accuracy Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Characters Dataset.
Figure 11.
Loss Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Characters Dataset.
Figure 11.
Loss Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Characters Dataset.
Figure 12.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Characters Dataset.
Figure 12.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Characters Dataset.
Figure 13.
Accuracy Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Digits Dataset.
Figure 13.
Accuracy Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Digits Dataset.
Figure 14.
Loss Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Digits Dataset.
Figure 14.
Loss Comparison of CNN, LeNet, and the Proposed DCNN on the Pashto Digits Dataset.
Figure 15.
Accuracy Comparison of CNN, LeNet, and the Proposed DCNN on the Combined Pashto Digit and Character Dataset.
Figure 15.
Accuracy Comparison of CNN, LeNet, and the Proposed DCNN on the Combined Pashto Digit and Character Dataset.
Figure 16.
Loss Comparison of CNN, LeNet, and the Proposed DCNN on the Combined Pashto Digit and Character Dataset.
Figure 16.
Loss Comparison of CNN, LeNet, and the Proposed DCNN on the Combined Pashto Digit and Character Dataset.
Figure 17.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and the Proposed DCNN on the Combined Pashto Digit and Character Dataset.
Figure 17.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and the Proposed DCNN on the Combined Pashto Digit and Character Dataset.
Table 1.
Pashto Characters Dataset.
Table 1.
Pashto Characters Dataset.
خ | ح | چ | ج | ث | ټ | ت | پ | ب | ا |
ژ | ﺯ | ړ | ﺭ | د | ﺫ | ډ | د | ځ | څ |
غ | ع | ظ | ط | ض | ص | ښ | ش | س | ږ |
ه | و | ڼ | ن | م | ل | ګ | ک | ق | |
| | | | ئ | ۍ | ې | ی | ي | ۀ |
Table 2.
Accuracy and Loss Comparison of CNN, LeNet, and Deep CNN Models on the Pashto Character Dataset.
Table 2.
Accuracy and Loss Comparison of CNN, LeNet, and Deep CNN Models on the Pashto Character Dataset.
Accuracy/MSE | CNN | LeNet | Deep CNN |
---|
Accuracy | 98.3 | 99.25 | 99.4 |
MSE | 0.057 | 0.027 | 0.020 |
Table 3.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and Deep CNN Models of the Pashto Character Dataset.
Table 3.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and Deep CNN Models of the Pashto Character Dataset.
Parameters | CNN | LeNet | Deep CNN |
---|
Precision | 98.3 | 99.2 | 99.4 |
Recall | 98.2 | 99.2 | 99.4 |
F-Score | 98.3 | 99.2 | 99.4 |
Table 4.
Accuracy and Loss Comparison of CNN, LeNet, and Deep CNN Models on the Pashto Character Dataset.
Table 4.
Accuracy and Loss Comparison of CNN, LeNet, and Deep CNN Models on the Pashto Character Dataset.
Accuracy/MSE | CNN | LeNet | Deep CNN |
---|
Accuracy | 98.7 | 91.9 | 99.1 |
MSE | 0.031 | 0.021 | 0.019 |
Table 5.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and Deep CNN Models on the Pashto Character Dataset.
Table 5.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and Deep CNN Models on the Pashto Character Dataset.
Parameters | CNN | LeNet | Deep CNN |
---|
Precision | 93.5 | 95.5 | 95.7 |
Recall | 93.5 | 95.7 | 95.7 |
F-Score | 93.5 | 95.6 | 95.7 |
Table 6.
Accuracy and Loss Comparison of CNN, LeNet, and Deep CNN Models on the Combined Pashto Digit and Character Dataset.
Table 6.
Accuracy and Loss Comparison of CNN, LeNet, and Deep CNN Models on the Combined Pashto Digit and Character Dataset.
Accuracy/MSE | CNN | LeNet | Deep CNN |
---|
Accuracy | 66.5 | 69.8 | 70.6 |
MSE | 0.307 | 0.031 | 0.303 |
Table 7.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and Deep CNN Models on the Combined Pashto Digit and Character Dataset.
Table 7.
Precision, Recall, and F1-Score Comparison of CNN, LeNet, and Deep CNN Models on the Combined Pashto Digit and Character Dataset.
Parameters | CNN | LeNet | Deep CNN |
---|
Precision | 49.1 | 60.2 | 62.0 |
Recall | 48.7 | 53.6 | 53.9 |
F-Score | 48.7 | 56.8 | 57.7 |