CrimeScan AI is an intelligent forensic investigation system designed to automatically detect, enhance, and recognize faces from CCTV footage, live webcam feeds, and uploaded images.
The system addresses realโworld surveillance challenges such as:
- Low resolution footage
- Motion blur
- Poor lighting conditions
- Noise and compression artifacts
- Masked or occluded faces
- Pose variations
CrimeScan improves image quality using an intelligent enhancement pipeline before performing recognition and matching against a criminal database.
A desktop application enables investigators to perform recognition, enroll suspects, analyze results, and manage records efficiently.
The system also learns from previous results to continuously improve performance.
- Detect and recognize faces from images and video feeds.
- Automatically assess image quality before recognition.
- Enhance lowโquality images using AIโbased enhancement modules.
- Preserve forensic identity using enhancement validation.
- Maintain accurate criminal identity database.
- Support realโtime and offline recognition workflows.
- Continuously improve enhancement policies using adaptive learning.
- Multiโface detection
- Maskโaware recognition
- Embeddingโbased identity matching
- Unknown person detection
Automatic enhancement modules:
- Deblurring
- Denoising
- Brightness & contrast correction
- Superโresolution restoration
- Pose normalization
- Mask handling
Detects:
- Blur
- Noise
- Resolution issues
- Lighting problems
- Pose deviations
- Criminal enrollment system
- Database record management
- Live webcam recognition
- Investigation workflow support
Input Image / CCTV / Webcam
โ
Quality Assessment
โ
Intelligence Engine
โ
Enhancement Block
โ
Forensic Guard Validation
โ
Face Detection
โ
Embedding Extraction
โ
Face Vector Matching
โ
Database Result
โ
Adaptive Learning Update
Used for suspect identification.
Flow: Input โ Quality Check โ Enhancement โ Guard Validation โ Recognition โ Database Match โ Output
Realโtime recognition pipeline.
Flow: Camera โ Frame Sampling โ Detection โ Embedding โ Matching โ Live Display
Enhancement is minimized for speed.
Adds individuals to database.
Flow: Upload โ Face Detection โ Preprocessing โ Embedding Extraction โ Database Storage
Only highโquality images accepted.
Enhancement only.
Flow: Input โ AutoEnhancer โ Save Enhanced Image
No recognition performed.
Responsible for improving image quality.
Components: - Quality Assessment - Intelligence Engine - Enhancement Block - Forensic Guard - Adaptive Learner
Responsible for identity matching.
Components: - Face Detection - Mask Handling - Embedding Extraction - Vector Matching
Stores: - Criminal records - Embeddings - Recognition logs
- RetinaFace
- ArcFace
- GFPGAN -- Face restoration & superโresolution
- HiDiff -- Deblurring
- NLM -- Denoising
- CLAHE -- Brightness correction
- FAN -- Pose checking
- CLIPโIQA
- Pose analysis algorithms
- Cosine similarity
git clone https://github.com/Joelthomask/CrimeScan-AI.git
cd CrimeScan-AIpython -m venv venv
venv\Scripts\activatepip install -r requirements.txtDue to size limitations, some models are hosted externally.
Place inside:
auto_enhancer/enhancement/deblurring/HI_Diff/experiments/
Place inside:
auto_enhancer/enhancement/resolution/GFPGAN/gfpgan/weights/
Place inside:
face_recognition/detection/retinaface/weights/
Place inside:
face_recognition/embedding/InsightFace/models/buffalo_l/
CrimeScan AI is also packaged as a standalone Windows desktop application, allowing investigators to run the system without manually setting up Python environments.
A ready-to-use installer is available for quick setup.
The installer automatically installs the CrimeScan desktop application with all required runtime components.
After installation:
- Launch CrimeScan from the desktop or start menu.
- The dependencies and libraries should be Installed while running the setup.
Located in the project root:
Purpose:
- Serves as the runtime launcher for the packaged application.
- Ensures correct environment initialization.
- Handles safe startup of the CrimeScan pipeline.
- Used in packaged builds to reliably start the application.
The launcher acts as a stable entry point when running the packaged executable.
script.iss
The project includes an installer configuration script:
Purpose:
- Used with Inno Setup to create the Windows installer.
- Packages executable, assets, and runtime files.
- Creates shortcuts and installation directories.
- Enables distribution of CrimeScan as a professional desktop application.
Developers can modify this script to generate updated installers.
For developers:
โ Recognition pipeline operational
โ Enhancement modules integrated
โ GUI fully functional
โ Database enrollment working
โ Realโtime recognition supported
- Distributed recognition support
- Cloud database synchronization
- Edge device deployment
- Automatic model downloader
- Performance optimization
Comprehensive project resources are available for learners, researchers, and developers who wish to understand or build upon the CrimeScan AI system.
Available materials include:
- Complete project PPT presentation
- System architecture explanation
- Pipeline flow documentation
- Module-wise implementation details
- Folder structure explanation
- Deployment and packaging workflow
- Enhancement and recognition methodology
- Technical defense and presentation guidance
These materials provide deeper understanding of system design, implementation decisions, and investigation workflows.
For access to project documentation or technical guidance regarding CrimeScan AI, please contact the author.
๐ง Contact: Joel Thomas
- ๐ง Email: joel16005@gmail.com
- ๐ LinkedIn
SCMS School of Engineering and Technology
Department of Computer Science & Engineering
Team Members: - Joel Thomas - Jinto Raj - Cukoo Biji - Gokul K Reghu
๐จโ๐ป Joel Thomas
- ๐ LinkedIn
- ๐ป GitHub
- ๐ง Email: joel16005@gmail.com
- Licensed under the MIT License.
- Based on the open-source RetinaFace project.
- Datasets used: RMFD, MAFA, CMFD, Custom Surveillance Dataset.
- All the images and datasets and models used here belongs to the respective owners.
- All the logos and Vedios belongs to the respective owners.
- MIT ยฉ Joel Thomas
You can find our Code of Conduct here.
Pull requests and issues are welcome.
You can contribute by improving dataset balance scripts, fine-tuning on other backbones, or optimizing for embedded systems.
โBuilt with purpose โ precision and performance for real-world recognition.โ
