*[3. Function 2 processing & ML Model Development](#3-Function-2-processing-&-ML-Model-Development-folder)
*[4. Service Files](#4-Service-Files-folder)
*[5. Fast API & app file](#5-Fast-API-&-app-file-folder)
------------------
-------------------------------------------------
## FastAPI Development
## Function 2 Development
### 1.About Function 2
- To run the API, please ensure you have installed the required packages, "fastapi" and "uvicorn." If you haven't already installed them, you can do so using the following commands:
- This function include one main part:
- 1.Creating a comprehensive digital platform that easily converts handwritten
content into digital text with the aim of reducing the difficulties caused by
Dysgraphia:
```bash
### 2. Dataset ()
pip install fastapi
- Within this Kaggle Link, you'll discover data for Alphabets and Digits: only use 5000 training and 1000 testing date for each classes.
pip install"uvicorn[standard]"
```
- Once these packages are installed, you can proceed to run the API.
1. To run the api, use the following command inside the API folder:
```bash
### 3. Function 2 processing & ML Model Development ([Folder](/function2))
python main.py
```
2. You can access the project output in your browser using the following URL:
- Inside this folder, you'll come across two Jupyter Notebooks dedicated to data preprocessing and model training:
```bash
-`character-recognition.ipynb`: This file primarily involves to training Character recognition model.
http://127.0.0.1:8000
-
```
-` function2.pyind`: This file is responsible for all methods of function 1.
3. To explore the API documentation, visit:
```bash
http://127.0.0.1:8000/docs
```
------------------------
### 4. Service Files ()
- Within this directory, there are one python ".py" file:
## Setting Up the Development Environment
-`Handwriting_recognition.py`: This method is responsible for recognized the image for below mention classes.
- input : TWO IMAGE FILES `def Handwriting_recognition(BB_image:str=None,WB_image:str=None)`
Note : Add the only one image file for one time other file was None