A multi-class CNN image classifier built from scratch in PyTorch that recognizes 24 American Sign Language (ASL) hand sign alphabets (A–Y, excluding J which requires motion).
Live inference runs directly from your webcam using OpenCV.
⚠️ The.pthfile (~100MB) is not tracked in this repo. Download it from Releases.
⬇ Download model weights (v1.0)
Hand_Sign-Classification/
│
├── Handsign_project.ipynb # Full pipeline: training, evaluation, live inference
└── README.md
Raw Images (24 classes)
↓
Preprocessing (Resize, Normalize)
↓
CNN Model (Conv → Pool → FC layers)
↓
Softmax Output (A–Y)
↓
Live Webcam Inference (OpenCV)
24 static hand signs — A through Y, skipping J (requires motion).
git clone https://github.com/Deep-ii/Hand_Sign-Classification.git
cd Hand_Sign-Classificationpip install torch torchvision opencv-pythonDownload handsign_model.pth from Releases and place it in the project root.
Open Handsign_project.ipynb and run the Live Inference section. It will open your webcam and start predicting in real time.
| Component | Tool |
|---|---|
| Framework | PyTorch |
| Architecture | Custom CNN |
| Live Inference | OpenCV |
| Notebook | Jupyter |
- Designing a CNN architecture from scratch (Conv, Pool, FC layers)
- Debugging shape and device mismatches in PyTorch
- Saving and loading model weights with
torch.save/torch.load - Running live webcam inference with OpenCV
Deep — GitHub