|
--- |
|
license: gpl-3.0 |
|
datasets: |
|
- Msun/modelnet40 |
|
language: |
|
- en |
|
metrics: |
|
- accuracy |
|
tags: |
|
- deeplearning |
|
--- |
|
# **Automated Defect Detection in 3D Mesh Files Using Multi-Model Deep Learning Approaches** |
|
|
|
## **π Project Overview** |
|
This project introduces a **multi-modal deep learning approach** to detect **defects in 3D mesh files** by combining: |
|
- **CNN (Convolutional Neural Network)** for **object classification** using **ModelNet40** dataset images. |
|
- **GNN (Graph Neural Network)** for **defect identification** in **OFF files (3D mesh models).** |
|
- **Fusion Model** integrating **CNN and GNN** for improved classification accuracy. |
|
|
|
## **π Dataset & Novelty** |
|
The dataset used in this project is **novel and proprietary**, focusing on defect detection in 3D mesh files. Only the **ModelNet40 dataset** is publicly available. |
|
|
|
### **πΉ Folder Structure** |
|
``` |
|
π¦ Dataset |
|
β£ π Images |
|
β β£ π train |
|
β β β£ π category_1 |
|
β β β£ π category_2 |
|
β β β ... |
|
β β π test |
|
β π OFF_files |
|
β£ π train |
|
β β£ π category_1 |
|
β β β£ π normal |
|
β β β π defected |
|
β β£ π category_2 |
|
β β β£ π normal |
|
β β β π defected |
|
β π test |
|
|
|
``` |
|
- **Images Folder** β Contains object images categorized into different classes (used for CNN). |
|
- **OFF Files Folder** β Each category has **"normal"** and **"defected"** OFF files (used for GNN). |
|
|
|
--- |
|
|
|
## **π Model Architecture** |
|
### **πΉ CNN Model (Image Classification)** |
|
- Uses a **pretrained CNN model (ResNet)** to classify objects. |
|
|
|
### **πΉ GNN Model (Defect Identification)** |
|
- Processes **OFF files** using **node features** and **adjacency matrices**. |
|
- Uses a **13-layer deep GNN model** to capture mesh structure defects. |
|
|
|
### **πΉ Multi-Modal Fusion Model** |
|
- Combines **CNN and GNN outputs** using **fully connected layers**. |
|
- Improves **accuracy by leveraging both image and graph information**. |
|
|
|
--- |
|
|
|
## **βοΈ Installation & Setup** |
|
### **πΉ 1οΈβ£ Install Dependencies** |
|
```bash |
|
pip install tensorflow numpy networkx trimesh |
|
``` |
|
|
|
### **πΉ 2οΈβ£ Run Training** |
|
```bash |
|
python Utils/train.py |
|
``` |
|
|
|
### **πΉ 3οΈβ£ Evaluate Model** |
|
```bash |
|
python Utils/evaluate.py |
|
``` |
|
|
|
--- |
|
|
|
## **π Results & Evaluation** |
|
- **CNN Classification Accuracy:** **76%** |
|
- **GNN Defect Detection Accuracy:** **78%** |
|
- **Fusion Model Accuracy:** **85%** |
|
|
|
--- |
|
|
|
## **π οΈ Future Improvements** |
|
- Use **a more complex GNN model** (with at least **13 layers**). |
|
- Improve **multi-modal fusion model** by adding **extra layers**. |
|
- Train on **a larger dataset** to improve generalization. |
|
|
|
--- |
|
|
|
## **π¨βπ» Author** |
|
**Dhanush** |
|
π§ Contact: [e-mail](mailto:[email protected]) |
|
|
|
--- |