https://github.com/devils2ndself/blood-cell-recognition
REST API for spotting blood cell types from an image
https://github.com/devils2ndself/blood-cell-recognition
Last synced: 10 months ago
JSON representation
REST API for spotting blood cell types from an image
- Host: GitHub
- URL: https://github.com/devils2ndself/blood-cell-recognition
- Owner: devils2ndself
- Created: 2023-04-20T00:46:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-28T01:56:18.000Z (about 3 years ago)
- Last Synced: 2025-06-29T14:39:34.711Z (12 months ago)
- Language: TypeScript
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blood Cell Recognition
REST API for spotting blood cell types from an image made in Python using TensorFlow.
## Backend
Backend consists of API and model-training script.
### Python dependencies
Run the following to install all needed packages:
```
cd backend
pip install -r requirements.txt
```
### Running the API server
Run the following to run the development server on `localhost:8000`:
```
cd backend
uvicorn api:app --reload
```
### Getting the Dataset
Run the following to get the dataset as .zip file:
```
kaggle datasets download -d paultimothymooney/blood-cells
```
Then, unzip the archive as `/backend/dataset` using any tools at hand.
Make sure that the `/backend/dataset` has 2 subdirectories: `dataset-master` and `dataset2-master`.
## Frontend
Frontend is a React app built with Vite.
### Installing dependencies
Run the following to install the npm packages:
```
cd frontend
npm install
```
### Running the app on localhost
To start the development app server run the following inside of `frontend` directory:
```
npm run dev
```