Intraoral photo classification with ResNet18
Project description
intraoralphoto-classifier
This repository provides a deep learning system for classifying intraoral dental photographs into five standard orthodontic viewpoints:
- center
- up (upper occlusal)
- down (lower occlusal)
- left
- right
The project evaluates preprocessing, data augmentation strategies, multiple image resolutions, and two versions of ResNet-18 (pretrained and trained from scratch).
1. Installation
Install from PyPi:
pip install intraoralphoto-classifier
Install from source:
git clone https://github.com/AImageLab-zip/intraoralphoto-classifier
cd intraoralphoto-classifier
pip install -e .
The framework automatically uses GPU if available; otherwise CPU is used.
2. Inference
from intraoralphoto_classifier.config import get_device
from intraoralphoto_classifier.infer import run_inference
run_inference(
patient_dir="<path_to_patient_folder>",
model_path="<best_model.pth>",
output_dir="<results_folder>",
device=get_device(),
)
3. Model Weights or Checkpoints
Download the model Here: https://drive.google.com/drive/u/0/folders/1LM9fIciXma-2ak9nyRqOzRrinzIH7K0S
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intraoralphoto_classifier-0.1.1.tar.gz.
File metadata
- Download URL: intraoralphoto_classifier-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
136453dbbcf065e72df6d248fa4d673e40f03c12e0ea78e357c0321ec08896b5
|
|
| MD5 |
4f31502012b5c89e76533287a22da3f0
|
|
| BLAKE2b-256 |
25be42b92a370b97740f2711a04b382988757c8bcf7eda183232bf51de64c7aa
|
File details
Details for the file intraoralphoto_classifier-0.1.1-py3-none-any.whl.
File metadata
- Download URL: intraoralphoto_classifier-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1427d9cd7d4fa6087d4d2b5605753513891131ad5113aa288a15230f7e06ce62
|
|
| MD5 |
a51cad05b927151bc6b1bb2d81341586
|
|
| BLAKE2b-256 |
46d596342e50d8fb68559f50e3329d6260a8d0b2d1f8fde98bdbec9dab476fab
|