The Handwritten Digit Predictor is a Flutter-based mobile app that uses a custom machine-learning model to predict handwritten digits. It offers two modes of input: image upload and on-screen drawing.
-
Launch the app on your device or emulator.
-
Choose a prediction mode:
- Image Upload: Tap the "Image" tab to select an image containing a handwritten digit from your gallery.
- On-Screen Drawing: Tap the "Draw" tab and use the drawing area to draw a digit directly on the screen.
-
The prediction is displayed below the image.
If you prefer to use Xcode for iOS development, follow these steps:
-
Open the Project in Xcode:
- Open a terminal window.
- Navigate to your project directory using the
cd
command. - Open the Xcode project for your app with the following command:
open ios/Runner.xcworkspace
-
Select a Target Device:
- In Xcode, use the device selector in the toolbar to choose the target device. This can be a physical iOS device connected to your Mac or an iOS simulator.
-
Build and Run:
- Click the "Run" button in the top-left corner of Xcode.
- Xcode will build and deploy the app to the selected iOS device or simulator.