Skip to main content

Intraoral photo classification with ResNet18

Project description

Intraoral-photo-classification

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 source:

git clone https://github.com/AImageLab-zip/Intraoral-photo-classification
cd Intraoral-photo-classification
pip install -e .

The framework automatically uses GPU if available; otherwise CPU is used.

2. Inference

from intraoral_classifier.config import get_device
from intraoral_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intraoralphoto_classifier-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intraoralphoto_classifier-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file intraoralphoto_classifier-0.1.0.tar.gz.

File metadata

File hashes

Hashes for intraoralphoto_classifier-0.1.0.tar.gz
Algorithm Hash digest
SHA256 059f469077f77b95d241e66698144cc280290d875db777ef7034598f8f2259f2
MD5 bbcbbcadf1282fc96c74f10e1e84e282
BLAKE2b-256 be5608b70820e0e0cf44d8573325d763e9be48c15ae6dba1332aec70cd46fae2

See more details on using hashes here.

File details

Details for the file intraoralphoto_classifier-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intraoralphoto_classifier-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87bb2899c651e7ef1f1545df69c23ae2b706644f53a46d8da168739243207ad6
MD5 4ffd0b0dbac63e93428bd282929661e6
BLAKE2b-256 79f880f75465a641199a4894992783dc2c341d9fa1022f19b71fc3460e1c4bcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page