Complete Memory Module Detection Project

 Core Features:
- Flask API with image upload and hardcoded image endpoints
- YOLOv8 Nano model trained (99.5% mAP50, 100% precision, 98.4% recall)
- Memory module detection with bounding box visualization
- Web frontend for QA testing with drag & drop interface

 API Endpoints:
- POST /detect - Image upload detection
- GET /detect/hardcoded - Hardcoded image testing
- POST /detect/base64 - Base64 image processing
- GET /health - Health check
- GET / - Web interface
- GET /api - API information

 Technical Implementation:
- Algorithm: YOLOv8 Nano (state-of-the-art performance)
- Hardware: Auto-detection with CPU/GPU fallback
- Video approach: Frame extraction + batch processing strategy
- Dataset: 40 images (20 with memory, 20 without)

 Additional Features:
- Comprehensive test suite (test_api.py)
- Web frontend for QA testing
- Automated setup script (setup.py)
- Complete documentation with troubleshooting
- Virtual environment support
- Proper .gitignore for ML projects

 All Tests Passed: 5/5 API endpoints working correctly
 Model Performance: Consistently detects memory modules with 97%+ confidence
 Requirements Met: 100% compliance with original task specification
This commit is contained in:
Aherobo Ovie Victor
2025-07-11 20:07:36 +01:00
parent 7194426379
commit 26d7706233
115 changed files with 3047 additions and 34 deletions
+2
View File
@@ -0,0 +1,2 @@
0 0.353333 0.415062 0.164444 0.549136
0 0.574444 0.426914 0.180000 0.557037
+2
View File
@@ -0,0 +1,2 @@
0 0.353333 0.387407 0.253333 0.454321
0 0.568889 0.509877 0.244444 0.564938
+2
View File
@@ -0,0 +1,2 @@
0 0.383333 0.359753 0.233333 0.438519
0 0.557778 0.559259 0.324444 0.481975
+2
View File
@@ -0,0 +1,2 @@
0 0.368889 0.395309 0.271111 0.391111
0 0.568889 0.567160 0.324444 0.560988
+2
View File
@@ -0,0 +1,2 @@
0 0.402222 0.316296 0.253333 0.470123
0 0.550000 0.541481 0.273333 0.509630
+2
View File
@@ -0,0 +1,2 @@
0 0.365556 0.381481 0.304444 0.355556
0 0.554444 0.571111 0.313333 0.410864
+2
View File
@@ -0,0 +1,2 @@
0 0.412222 0.369630 0.317778 0.292346
0 0.572222 0.573086 0.322222 0.454321
+2
View File
@@ -0,0 +1,2 @@
0 0.413333 0.340000 0.315556 0.375309
0 0.553333 0.594815 0.368889 0.497778
+2
View File
@@ -0,0 +1,2 @@
0 0.404444 0.320247 0.368889 0.383210
0 0.526667 0.616543 0.386667 0.383210
+2
View File
@@ -0,0 +1,2 @@
0 0.400000 0.365679 0.368889 0.363457
0 0.513333 0.644198 0.520000 0.454321
+2
View File
@@ -0,0 +1,2 @@
0 0.423333 0.369630 0.393333 0.308148
0 0.540000 0.673827 0.435556 0.402963
+2
View File
@@ -0,0 +1,2 @@
0 0.332222 0.401235 0.171111 0.513580
0 0.580000 0.419012 0.217778 0.533333
+2
View File
@@ -0,0 +1,2 @@
0 0.450000 0.343951 0.371111 0.304198
0 0.535556 0.648148 0.426667 0.414815
+2
View File
@@ -0,0 +1,2 @@
0 0.327778 0.401235 0.162222 0.553086
0 0.552222 0.432840 0.162222 0.616296
+2
View File
@@ -0,0 +1,2 @@
0 0.338889 0.424938 0.171111 0.576790
0 0.541111 0.432840 0.193333 0.553086
+2
View File
@@ -0,0 +1,2 @@
0 0.315556 0.411111 0.151111 0.557037
0 0.550000 0.436790 0.157778 0.553086
+2
View File
@@ -0,0 +1,2 @@
0 0.324444 0.460494 0.200000 0.513580
0 0.550000 0.478272 0.180000 0.541235
+2
View File
@@ -0,0 +1,2 @@
0 0.321111 0.417037 0.197778 0.529383
0 0.537778 0.474321 0.177778 0.588642
+2
View File
@@ -0,0 +1,2 @@
0 0.307778 0.438765 0.286667 0.414815
0 0.538889 0.531605 0.273333 0.529383
+2
View File
@@ -0,0 +1,2 @@
0 0.562222 0.541481 0.235556 0.525432
0 0.346667 0.381481 0.262222 0.489877