initial commit

This commit is contained in:
2026-07-08 17:33:43 +03:30
commit d9eedb3d8e
5 changed files with 126 additions and 0 deletions

18
PROJECT_SPECS.md Normal file
View File

@@ -0,0 +1,18 @@
# Technical Specifications: Spatial Image Enhancer Pro
## Backend Architecture
- **Framework:** Django REST Framework (DRF).
- **Core Libraries:** OpenCV (image I/O), NumPy (matrix math), Redis (message broker).
- **Processing Logic:** Images are received as Base64/Multipart, processed via NumPy vectorization, and returned for real-time display.
## Frontend Architecture
- **Framework:** React.js (SPA).
- **State Management:** Local state for real-time slider values (Gamma, Mask Size, Thresholds).
- **Visualization:** Dual-pane view (Original vs. Processed) with live Histogram charts using `Recharts`.
- **UI Logic:** Debounced API calls (300ms) to ensure smooth user interaction during slider movement.
## Deployment Stack (Dockerized)
- **Orchestration:** `docker-compose` for multi-container coordination.
- **Web Server/Proxy:** **Caddy** for automatic SSL retrieval and reverse proxying.
- **Async Workers:** **Celery** for processing large batches or image averaging sequences [7, 25, 26].
- **Storage:** Short-term frame buffers for active processing sessions [27].