Skip to content

fatimasood/CNN-Based-Early-Autism-Detection-Using-Facial-Image-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Autism Spectrum Disorder Detection Using Deep Learning (CNN)

Early detection of Autism Spectrum Disorder (ASD) plays a critical role in improving developmental outcomes.
This project implements a deep learning–based computer vision pipeline to classify facial images as Autistic or Non-Autistic using Convolutional Neural Networks (CNNs) and transfer learning.

Designed with research-level discipline and industry-grade structure, this repository demonstrates a complete end-to-end ML workflow.


πŸ” Project Overview

  • Binary image classification: Autistic vs Non-Autistic
  • Facial image analysis using CNNs
  • Transfer learning with Xception and VGG16
  • Clean dataset handling with train / validation / test split
  • Evaluation using standard medical ML metrics

πŸš€ Key Features

  • βœ… Pre-trained CNN models (ImageNet weights)
  • βœ… Modular and reproducible pipeline
  • βœ… Early stopping to prevent overfitting
  • βœ… Detailed performance evaluation

πŸ—‚ Dataset

  • Source: Kaggle
  • Name: Autism Image Dataset
  • Classes:
    • Autistic
    • Non_Autistic

The dataset is already split to avoid data leakage and ensure fair evaluation.


🧠 Model Architectures

πŸ”Ή Xception (Primary Model)

  • Pre-trained on ImageNet
  • Frozen convolutional base
  • Custom fully connected classifier head

πŸ”Ή VGG16 (Baseline Model)

  • Classic deep CNN architecture
  • Used for comparative performance analysis

βš™οΈ Training Configuration

  • Image Size: 224 Γ— 224
  • Batch Size: 32
  • Optimizer: RMSprop
  • Loss Function: Categorical Crossentropy
  • Callbacks: EarlyStopping (validation loss)

πŸ“Š Evaluation Metrics

  • Accuracy
  • Precision
  • Recall (Sensitivity)
  • F1-Score
  • Confusion Matrix

These metrics provide a balanced and reliable evaluation, especially important for healthcare-related ML tasks.


πŸ“ˆ Results

The Xception-based model achieves high classification accuracy and strong generalization on unseen test data, validating the effectiveness of transfer learning for autism detection from facial images.

Results may vary slightly depending on hardware and random initialization.

About

A deep learning project for early detection of Autism Spectrum Disorder (ASD) using facial image analysis. Built with CNN architectures (Xception, VGG16) and a clean, reproducible ML pipeline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors