AI-powered cargo inspection system for automated X-ray analysis, threat detection, and manifest validation using deep learning.
Deep CargoVision is an intelligent cargo inspection platform designed for customs and security operations. It automates the analysis of X-ray cargo images using multiple deep learning models to detect threats, validate manifests, and generate risk insights.
- 📦 Single & batch X-ray image analysis
- 🔍 YOLO-based object detection with bounding boxes
⚠️ AI-driven risk scoring & anomaly detection- 📋 Cargo manifest validation (CSV-based)
- 🦎 Wildlife smuggling detection (Reptiles, Birds, Mammals)
- 💧 Liquid container detection (Bottles, Cans, Sprays)
- 📊 Batch analytics & trend visualization
- 🎯 Multi-model inference (YOLO + EfficientNet)
- 🔒 Security-focused dashboard (dark mode UI)
- Detection Layer → YOLOv8 (object localization)
- Classification Layer → EfficientNet / ResNet18 (refinement)
- Risk Engine → Weighted scoring system
- Validation Layer → Manifest cross-checking
- React 19 + Vite
- Tailwind CSS
- Framer Motion
- Recharts
- FastAPI
- Python 3.10+
- YOLOv8 (Detection)
- EfficientNet / ResNet18 (Classification)
- PyTorch
ai-cargo-detection/
├── src/ # Frontend (React)
├── backend/ # FastAPI backend
├── model/ # Trained models
├── training-notebooks/ # Model training
├── public/ # Static files
└── README.md
git clone https://github.com/arpitadhage/Deep_Cargo_Vision.git
cd Deep_Cargo_Vision
npm install
npm run dev
cd backend
pip install -r requirements.txt
uvicorn main:app --reload --port 8000
| Model | Purpose |
|---|---|
| YOLOv8 | Object detection |
| EfficientNet | Image classification |
| Wildlife Model | Fauna detection |
| Liquid Model | Container detection |
- Fast object detection
- Real-time bounding boxes
- Threat scoring
- Two-stage pipeline (YOLO → Classification)
- Higher accuracy
- Reduced false positives
- Detects illegal fauna transport
- Identifies hazardous/restricted liquids
POST /predict→ YOLO detectionPOST /predict-efficientnet→ Deep scanPOST /predict-wildlife→ Wildlife detectionPOST /predict-liquid→ Liquid detectionGET /health→ System status
- Classification Accuracy: ~92%
- Pipeline Accuracy: ~86.4%
- YOLO mAP@50: ~78.5%
- Wildlife Detection mAP: ~96%
- No data stored between sessions
- Local processing supported
- Designed for authorized personnel
- Real-time video stream analysis
- Cloud deployment (AWS/GCP)
- Model optimization for edge devices
- Advanced anomaly detection
Contributions are welcome!
- Follow project structure
- Test model changes
- Update documentation
Give it a star ⭐ on GitHub!