OraScan: Oral disease detection
Identifies 11 oral disease categories at a screening kiosk.
- Company
OraLens Healthcare- Role
- Lead engineer
- Domains
- AI/ML
- Hardware
- Backend

- Test accuracy
- 94.7%
- Training images:
- 78,058
- Disease classes:
- 11
On this page
Tech stack
- Python
- PyTorch
- ONNX
- Go
- FastAPI
- OpenCV
- EfficientNet-B0
The problem
Over 3.5 billion people worldwide have some form of oral disease, but most never get diagnosed because seeing a specialist is too expensive or too far away.
A small camera at a dental kiosk should be enough to flag problems early, if the AI behind it is reliable enough to trust with real patients.
The challenge
Oral disease affects more than 3.5 billion people globally, yet it often goes undiagnosed in low-resource settings. The model had to be accurate enough for clinical use, small enough to run on kiosk hardware without a GPU, and consistent across different lighting conditions, camera angles, and skin tones. It also had to handle class imbalance across 11 categories, including common conditions such as caries and calculus and rare ones such as mucocele and hypodontia, without losing recall on oral cancer.
System design
A custom EfficientNet-B0 backbone (4.67M parameters) was fine-tuned on a combined DENTEX + SMART-OM dataset of 78,058 labeled oral images. Training used PyTorch with AMD GPU acceleration (DirectML on Windows). The data pipeline applies aggressive augmentation: random crops, HSV jitter, horizontal flip, and cutmix.
Post-training, the model is exported to ONNX and quantized to INT8 for edge deployment. A FastAPI inference server wraps the ONNX runtime and exposes a REST endpoint consumed by the kiosk scanning application. The Go backend stores session results in PostgreSQL and uploads image artifacts to AWS S3.
Results
The final model achieves 94.7% test accuracy and 95.2% best validation accuracy across all 11 disease classes. ONNX INT8 quantization reduces model size by ~70% while keeping accuracy drop under 1%. Inference latency on the kiosk CPU is under 200ms per frame. The model is integrated into both the automated scanning application (MediaPipe FaceMesh-triggered) and the manual scanning desktop interface.
Gallery
Select an image to open the viewer. Choose Actual size for images that offer it.
Motion
More from OraLens Healthcare

OraScan H
Lets clinicians collect breath readings and tongue images and review them on a phone.
Next case study

LuxySmile
Gives schools a place to explore dental wellness programs and staff a dashboard to manage them.
2 other case studies from OraLens Healthcare.
All OraLens Healthcare projectsTalk through the build
I can walk you through the work covered here: Oral disease detection. We can discuss the design decisions and what shaped them.