Identifying Farsi (Arabic) Scanned Handwritten Digits
- Scanned input images: image1.jpg, image2.jpg, image3.jpg, image4.jpg, image5.jpg
- Convert images to CSV and JSON datasets (with OpenCV): create_dataset_from_images.py
- Some prepared CSV sets: large_dataset_validation.csv, large_dataset_train.csv
- An unlabeled dataset for testing: large_dataset_test.csv
- A modified version of PyTorch MNIST example: main.py
-
Install OpenCV.
-
Install Python packages:
pip install -r requirements.txt
-
Converting scanned images to CSV and JSON datasets:
python create_dataset_from_images.py
-
Using large datasets for training, validation and testing:
python main.py
Use Python version 3.