This Java software is designed to extract digits from handwritten images. It includes a simple user interface where users can select an image containing single handwritten digit, and the software will display the extracted digit as output.
- Handwritten digit extraction using Sobel algorithm for edge detection.
- Decision tree algorithm for digit classification.
- User-friendly UI for easy image selection and output display.
The model was trained using the MNIST dataset, which consists of 60,000 handwritten digit images. You can find the MNIST dataset. (https://www.kaggle.com/datasets/oddrationale/mnist-in-csv).
- Clone the repository to your local machine.
- Open the project in your preferred Java IDE.
- Compile and run the MainWithUI.java file.
- Select an image containing handwritten digits using the UI.
- The software will process the image and display the extracted digits as output.
- Java Development Kit (JDK)
- Any Java IDE (e.g., Eclipse, IntelliJ IDEA) or text editor
- MNIST dataset (optional for training)
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, please feel free to open an issue or submit a pull request.