Add recounting upload dashboard with MP4 upload before recount
This commit is contained in:
1 parent
f6a388cdb9
commit
bcceaae626
3 files changed
+1304
No files matched your search
@@ -177,3 +177,14 @@ GO2RTC_URL=http://localhost:1984
|
||||
RTSP_PORT=8554
|
||||
# Stream name pushed to RTSP and consumed from go2rtc
|
||||
RECOUNT_STREAM_NAME=stream_1
|
||||
|
||||
# --- Recounting Upload Dashboard (recounting_dashboard_upload.py) ---
|
||||
# Bind port for the upload-first recount dashboard (distinct from 5002)
|
||||
RECOUNTING_UPLOAD_PORT=5003
|
||||
# Directory where uploaded MP4 files are stored
|
||||
UPLOAD_DIR=/opt/bytetrack-counter/uploads
|
||||
# Command to launch the recounting counter process (placeholder, fill in real command).
|
||||
# {path} is substituted with the absolute path of the uploaded MP4 file.
|
||||
RECOUNT_CMD=bytetrack-counter config.env --source {path}
|
||||
# Template file for the upload dashboard: "recounting_upload.html" (default)
|
||||
RECOUNTING_UPLOAD_TEMPLATE=recounting_upload.html
|
||||
Reference in new issue
Block a user