-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
69 lines (53 loc) · 2.81 KB
/
Copy pathrequirements.txt
File metadata and controls
69 lines (53 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Eaglearn Requirements
# Python 3.11.x compatible
# ============================================================================
# CORE DEPENDENCIES
# ============================================================================
# Web Framework
flask==3.0.0 # Lightweight web framework
flask-cors==6.0.0 # CORS support (security fixes)
flask-socketio==5.3.5 # WebSocket support
python-socketio==5.14.0 # SocketIO protocol (security fixes)
# Computer Vision
opencv-python==4.8.1.78 # Webcam capture & image processing
mediapipe==0.10.8 # Face & pose detection
pillow==10.3.0 # Image processing (security fixes)
# Data Processing
numpy<2.0,>=1.24.0 # Numerical computing (pinned to 1.x)
# Configuration
pyyaml==6.0.1 # YAML config file support
python-dotenv==1.0.0 # Environment variables
# ============================================================================
# EMOTION DETECTION
# ============================================================================
# DeepFace (Primary - 93% accurate)
deepface==0.0.79 # Emotion detection
tf-keras==2.15.0 # Required for DeepFace
tensorflow==2.15.0 # DeepFace backend (CPU version)
werkzeug==3.1.5 # WSGI toolkit (security fixes)
# EfficientNet (Fallback - 87% accurate)
torch>=2.0.0 # PyTorch (EfficientNet)
torchvision>=0.15.0 # PyTorch vision models
# Optional: POSTER++ (SOTA 2024 - 90% accurate)
# See: setup_poster++.md for installation
# ============================================================================
# OPTIONAL DEPENDENCIES
# ============================================================================
# Desktop Application (WebView2)
# pywebview[cef]>=6.1 # Desktop wrapper with Chromium
# pywin32>=311 # Windows integration
# GPU Acceleration (uncomment if CUDA available)
# onnxruntime-gpu==1.16.3 # GPU acceleration for ONNX models
# tensorflow-gpu==2.15.0 # GPU acceleration for TensorFlow
# Development Tools (install separately)
# pytest==7.4.3 # Testing
# black==23.12.0 # Code formatting
# pylint==3.0.3 # Code linting
# ============================================================================
# NOTES
# ============================================================================
# 1. Audio processing (librosa, sounddevice) removed - not currently used
# 2. Database (SQLAlchemy) removed - not needed for current version
# 3. Security (pycryptodome, python-jose) removed - not needed for local deployment
# 4. System monitoring (psutil, gputil) removed - not critical
# 5. Development tools moved to optional section