Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,66 +0,0 @@
|
|
| 1 |
-
# OSMF Detection System
|
| 2 |
-
|
| 3 |
-
A modern web application for Oral Submucous Fibrosis (OSMF) detection using deep learning and computer vision.
|
| 4 |
-
|
| 5 |
-
## Features
|
| 6 |
-
|
| 7 |
-
- Real-time webcam capture
|
| 8 |
-
- Image upload capability
|
| 9 |
-
- OSMF detection and classification
|
| 10 |
-
- Confidence score prediction
|
| 11 |
-
- Modern responsive UI
|
| 12 |
-
- Docker support
|
| 13 |
-
|
| 14 |
-
## Tech Stack
|
| 15 |
-
|
| 16 |
-
- Flask (Backend)
|
| 17 |
-
- HTML/CSS/JavaScript (Frontend)
|
| 18 |
-
- YOLO (Deep Learning Model)
|
| 19 |
-
- OpenCV (Image Processing)
|
| 20 |
-
- Docker (Containerization)
|
| 21 |
-
|
| 22 |
-
## Installation
|
| 23 |
-
|
| 24 |
-
1. Clone the repository:
|
| 25 |
-
```bash
|
| 26 |
-
git clone https://github.com/yourusername/osmf-detection.git
|
| 27 |
-
cd osmf-detection
|
| 28 |
-
|
| 29 |
-
README.md
|
| 30 |
-
Install dependencies:
|
| 31 |
-
pip install -r requirements.txt
|
| 32 |
-
|
| 33 |
-
Run the application:
|
| 34 |
-
python app.py
|
| 35 |
-
|
| 36 |
-
Docker Deployment
|
| 37 |
-
Build the Docker image:
|
| 38 |
-
docker build -t osmf-detection .
|
| 39 |
-
|
| 40 |
-
Run the container:
|
| 41 |
-
docker run -p 5000:5000 osmf-detection
|
| 42 |
-
|
| 43 |
-
Project Structure
|
| 44 |
-
osmf-detection/
|
| 45 |
-
βββ app.py
|
| 46 |
-
βββ requirements.txt
|
| 47 |
-
βββ Dockerfile
|
| 48 |
-
βββ static/
|
| 49 |
-
β βββ style.css
|
| 50 |
-
βββ templates/
|
| 51 |
-
β βββ index.html
|
| 52 |
-
βββ models/
|
| 53 |
-
βββ best.pt
|
| 54 |
-
|
| 55 |
-
Usage
|
| 56 |
-
Open your browser and navigate to http://localhost:5000
|
| 57 |
-
Choose between:
|
| 58 |
-
Uploading an image
|
| 59 |
-
Capturing through webcam
|
| 60 |
-
Click "Analyze" to get OSMF detection results
|
| 61 |
-
Model Information
|
| 62 |
-
The system uses a YOLO-based model trained on OSMF images for:
|
| 63 |
-
|
| 64 |
-
Classification
|
| 65 |
-
Confidence scoring
|
| 66 |
-
Real-time detection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|