-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (36 loc) · 1.94 KB
/
Copy path.env.example
File metadata and controls
45 lines (36 loc) · 1.94 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
# ============================================================
# EyeNet — Environment Variables
# Copy this file to .env and fill in your values.
# ============================================================
# ── Camera ───────────────────────────────────────────────────
CAMERA_SOURCE=0
FRAME_WIDTH=640
FRAME_HEIGHT=480
TARGET_FPS=15
# ── Detection Tuning ─────────────────────────────────────────
FACE_DISTANCE_THRESHOLD=0.55
HAZARD_CONSECUTIVE_FRAMES=5
HAZARD_CONF_THRESHOLD=0.6
YOLO_PERSON_MODEL=yolov8n.pt
YOLO_HAZARD_MODEL=yolov8m.pt
# ── Twilio (SMS alerts) ─────────────────────────────────────
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_PHONE_NUMBER=
ADMIN_PHONE_NUMBERS=
# ── Email (SMTP) ────────────────────────────────────────────
SMTP_EMAIL=
SMTP_PASSWORD=
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
# ── Dashboard Auth ───────────────────────────────────────────
# Generate SECRET_KEY: python -c "import os; print(os.urandom(32).hex())"
SECRET_KEY=
# Generate hash: python -c "import bcrypt; print(bcrypt.hashpw(b'YOUR_PASSWORD', bcrypt.gensalt()).decode())"
ADMIN_PASSWORD_HASH=
SESSION_LIFETIME_HOURS=8
# ── Database ─────────────────────────────────────────────────
DB_PATH=data/eyenet.db
# ── Logging ──────────────────────────────────────────────────
LOG_LEVEL=INFO
LOG_FILE=data/logs/eyenet.log