Skip to content

kasrababazadeh/decayed-teeth-detection

Repository files navigation

Automatic Decayed Teeth Detection from Bitewing Radiographs using Transfer Learning

This project aims to automatically detect decayed teeth from bitewing radiographs using transfer learning techniques. The process begins with the input of a bitewing radiograph and concludes with the identification of decayed teeth.

Automatic Decayed Teeth Detection Process

The automatic decayed teeth detection process involves the following steps:

  1. Tooth Detection:
  • Utilizes Faster R-CNN with ResNet50 backbone for detecting teeth.

  • Users can train their own tooth detection model by providing their training images and annotations.

  • An annotation tool called LabelImg is recommended for annotating the data, and a converter script is provided to convert annotations to .record file format.

  1. Molar and Premolar Classification:
  • After tooth detection, the identified teeth are cropped and classified into molars and premolars.

  • VGG16 architecture, pretrained on ImageNet, is employed for this classification task.

  • Users can train the pretrained VGG16 model with frozen layers and then fine-tune it by unfreezing the trainable layers using the provided script.

  1. Overlapped and Non-Overlapped Teeth Classification:
  • Teeth are further categorized into overlapped, non-overlapped, and not useful teeth.

  • VGG16 is utilized again for this classification.

  • Users can train the pretrained VGG16 model with frozen layers and then fine-tune it by unfreezing the trainable layers using the provided script.

  1. Decayed and Non-Decayed Teeth Classification:
  • Finally, teeth are classified as decayed or non-decayed.

  • ResNet50 architecture, pretrained on ImageNet, is employed for this classification.

  • Users can train the pretrained ResNet50 model with frozen layers and then fine-tune it by unfreezing the trainable layers using the provided script.

Not Useful Teeth

Not useful teeth refer to the teeth detected during the tooth detection step that are located at the corners of the bitewing radiography and are not completely displayed. These teeth are typically only partially visible in the radiograph and may not provide sufficient information for further analysis.

Thesis Information

This project is the result of a master's thesis conducted by [Kasra Babazadeh] under the supervision of Dr. Ali Nadian. The thesis explores the application of transfer learning in the field of dentistry for automating the detection of decayed teeth from bitewing radiographs.

Installation

  1. Clone the repository:

git clone https://github.com/kasrababazadeh/decayed-teeth-detection.git

  1. Set up Google Colab environment.

  2. Follow the instructions provided in each step's respective script to train your models and perform evaluations.

Usage

  1. For training your tooth detection model, use faster_rcnn_train.ipynb.

  2. Use molar_premolar.ipynb for training molar and premolar classification.

  3. Train your overlapped and non-overlapped teeth classification model with overlap_part.ipynb.

  4. Lastly, use decayed_part.ipynb to train your decayed and non-decayed teeth classification model.

After training, you can evaluate the performance of the entire pipeline using automatic_prediction.ipynb.

Upcoming Article

We are in the process of preparing an in-depth article that delves into the development process, methodologies, and key findings of this project. The article will provide detailed insights into the challenges faced, the techniques employed, and the results obtained during the development of the automatic decayed teeth detection system.

Contributions

Contributions to improve the project are welcome! Feel free to submit pull requests or open issues for any suggestions or bugs.

License

This project is licensed under the MIT License.

About

Automated decayed teeth detection from bitewing radiographs using transfer learning. Developed for a master’s thesis under Dr. Ali Nadian's supervision.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors