A deep learning project for detecting and classifying real and artificially generated face images using ResNet and Inception architectures. 👤✨
This project implements two deep learning models to classify images as either real or AI-generated faces:
- Model 1: ResNet-based architecture with residual connections
- Model 2: Inception-style network with multi-scale feature processing
- Deep CNN with residual connections
- Handles vanishing gradient problem
- Effective for complex feature learning
- Multiple residual blocks with increasing filter sizes
- Dropout layers for regularization
- Multi-scale feature processing
- Efficient computational design
- Parallel convolutional paths
- Adaptive to varying face sizes and orientations
- Better generalization capabilities
Model | Validation Accuracy | Validation Loss |
---|---|---|
ResNet | 52.45% | 0.7246 |
Inception | 52.94% | 0.6913 |
# Create new environment
conda create -p face python=3.9
# Activate environment
conda activate face
# Install requirements
pip install -r requirements.txt
Create a requirements.txt
file with:
Flask==2.1.0
tensorflow
numpy
opencv-python
pillow
python app.py
Visit http://localhost:5000
in your web browser to access the application.
-
📈 Data Quality
- Investigate dataset biases
- Enhance data diversity
-
🔧 Model Architecture
- Experiment with hybrid models
- Implement transfer learning
- Test ensemble methods
-
⚡ Performance
- Extended training periods
- Hyperparameter optimization
- Advanced data augmentation techniques
- Arsath S.M
- Faahiht K.R.M
- Arafath M.S.M
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ at University of Jaffna Faculty of Engineering