38 lines
1.6 KiB
Bash
38 lines
1.6 KiB
Bash
# Copy to .env and fill in. Only HF_TOKEN is required to get started.
|
|
#
|
|
# cp .env.example .env
|
|
|
|
# ---- required ---------------------------------------------------------------
|
|
|
|
# HuggingFace token with access to facebook/sam3. The weights are gated and
|
|
# approval is manual, so request access before the first auto-annotation job:
|
|
# https://huggingface.co/facebook/sam3
|
|
HF_TOKEN=
|
|
|
|
# ---- host paths -------------------------------------------------------------
|
|
|
|
# Where your recordings live, laid out as <date>/<batch>.mp4. Mounted read-only
|
|
# into the container; nothing is ever written back into it.
|
|
# must be absolute for the copy-path buttons (REQ-172)
|
|
VIDEO_ARCHIVE_HOST=/home/araaraenjoyer/dbs_project/reTraining/data/archive
|
|
WSL_DISTRO_NAME=Ubuntu
|
|
|
|
# ---- ports ------------------------------------------------------------------
|
|
|
|
# The Web Studio UI port (default: 9000) and Backend API port (default: 9010).
|
|
WEB_PORT=9000
|
|
API_PORT=9010
|
|
|
|
# Origins allowed to call the API. Add your machine's LAN address to reach the
|
|
# dev server from another device.
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:9000,http://localhost:9010,http://localhost:8080,http://localhost:8000
|
|
|
|
# ---- recorder (algoritma-batch/batch_video_cropper.py) -----------------------
|
|
# Only needed if you run the 24/7 truck-session recorder. It reads the RTSP
|
|
# stream to detect sessions, then downloads each session from the recording
|
|
# server as a copy rather than re-encoding it.
|
|
|
|
# MediaMTX playback endpoint and the path name to pull from.
|
|
PLAYBACK_URL=http://192.168.192.96:9996/get
|
|
PLAYBACK_PATH=cam
|