Frigate Notebook 概念驗證
Frigate Notebook 概念驗證 — 人物、人臉與車牌偵測
Section titled “Frigate Notebook 概念驗證 — 人物、人臉與車牌偵測”目的: 在購買專用路旁 ANPR 攝影機之前,先在 Windows Notebook 上測試 Frigate
平台: Windows 11 Notebook
目標: 驗證軟件技術棧能否從攝影機 / 影片來源中偵測人物、選擇性辨識已知人臉,以及辨識車牌
狀態: Proof of Concept(POC,概念驗證)
日期: 2026 年 10 月
- 簡介
- 這個概念驗證要測試甚麼
- 這個 POC 不會測試甚麼
- POC 架構
- 建議測試順序
- 硬件與軟件需求
- Windows 與 Frigate 的重要說明
- Step 1 — 安裝 Docker Desktop
- Step 2 — 建立 Frigate 專案資料夾
- Step 3 — 建立 Docker Compose
- Step 4 — 啟動 Frigate
- Step 5 — 準備攝影機串流
- Option A — 使用 Notebook Webcam
- Option B — 使用已錄製的車輛影片
- Option C — 使用 IP / RTSP Camera
- Step 6 — 將攝影機加入 Frigate
- Step 7 — 測試人物偵測
- Step 8 — 啟用人臉辨識
- Step 9 — 建立已知人臉資料
- Step 10 — 啟用車牌辨識
- Step 11 — 測試車牌辨識
- 建議的 Frigate LPR 設定
- 如何測試紐西蘭車牌
- 如何量度準確度
- 建議 POC 測試矩陣
- 預期限制
- 疑難排解
- POC 成功標準
- POC 完成後下一步
- 建議資料夾結構
- 常用指令
- 私隱注意事項
- 參考連結
- 最終建議流程
這個 Proof of Concept 是較大型路旁車輛保安專案的第一個軟件實驗。
長遠目標是建立一個或多個遠端路旁攝影機節點,可以:
- 偵測車輛;
- 讀取車牌;
- 記錄時間與行車方向;
- 偵測事件附近出現的人物;
- 選擇性保留有用的人臉影像;
- 在發生偷車或其他保安事件後進行搜尋。
最終的路旁系統可能包括:
ANPR camera+ optional overview/person camera+ solar panel+ LiFePO4 battery+ 4G/LTE router+ weatherproof enclosure+ central server不過,如果未測試軟件就先購買並建立所有硬件,會增加不必要的成本與風險。
所以這個 Notebook POC 的目的,是回答:
Frigate 能否使用簡單的攝影機 / 影片輸入,成功偵測人物、選擇性辨識已知人臉,以及辨識車牌?
這個 POC 刻意先使用現有 Notebook,而不是立即購買最終的 ANPR 攝影機。
2. 這個概念驗證要測試甚麼
Section titled “2. 這個概念驗證要測試甚麼”這個 POC 會分別測試三項功能。
2.1 人物偵測
Section titled “2.1 人物偵測”當有人走到測試攝影機前面時,系統應能偵測到:
person預期輸出:
Person detectedTimestamp recordedEvent appears in FrigateSnapshot available也就是:
- 偵測到人物;
- 記錄時間;
- Frigate 內出現事件;
- 可以查看 snapshot。
2.2 人臉辨識
Section titled “2.2 人臉辨識”這是可選功能,只應在人類偵測已經正常運作後測試。
POC 應驗證 Frigate 能否做到:
Person detected |Face detected |Face embedding |Known person?例如:
HarryConfidence: 92%或者:
Unknown進行 POC 時,只應使用你自己的人臉,或者已明確同意參與測試的人士。
2.3 車牌辨識
Section titled “2.3 車牌辨識”系統應該可以處理車輛圖片或影片,並嘗試輸出:
ABC123以及相應的 recognition confidence。
第一輪車牌測試不需要真正的路旁 ANPR 攝影機。
可以先使用:
- 已錄製的車輛影片;
- 手機影片;
- IP camera;
- 之後再使用專用 ANPR camera。
3. 這個 POC 不會測試甚麼
Section titled “3. 這個 POC 不會測試甚麼”Notebook POC 不能可靠代表最終路旁攝影機的實際表現。
Notebook webcam 無法真實模擬:
30–50 km/h moving vehiclesnight-time conditionsheadlightsretroreflective plates10–30 metre capture distancerainroadside mounting angle850 nm IR illumination所以:
Notebook 上成功偵測,代表軟件 pipeline 可以運作。這不代表未來路旁攝影機在夜間一定能清楚擷取車牌。
之後仍然需要對專用路旁 ANPR camera 做獨立的 optical test。
4. POC 架構
Section titled “4. POC 架構”整體 Notebook POC:
WINDOWS 11 NOTEBOOK | +----------+----------+ | | v v Docker Desktop MediaMTX | | v | Frigate <-------- RTSP --+ | +-------+--------+--------+ | | | v v v Person Face LPR Detection Recognition可能的影片來源:
Notebook webcamRecorded MP4IP / RTSP camera5. 建議測試順序
Section titled “5. 建議測試順序”按以下順序測試:
1. Install Docker Desktop |2. Start Frigate |3. Create an RTSP test stream |4. Confirm live video |5. Confirm person detection |6. Enable face recognition |7. Test your own known face |8. Feed a vehicle video |9. Enable LPR |10. Compare detected plate with actual plate不要一開始就同時開啟所有功能。
6. 硬件與軟件需求
Section titled “6. 硬件與軟件需求”建議最低配置:
Windows 11 notebook4 GB RAM minimum for LPR8 GB+ RAM preferableModern x86-64 CPUAVX + AVX2 supportWebcam or test videoInternet for initial model downloadsGPU 會有幫助,但第一個 POC 不一定需要。
Frigate 可以先用 CPU detector 做測試,但正式長期部署較適合使用專用加速硬件。
安裝:
Docker DesktopWSL2FrigateFFmpegMediaMTX可選:
VLCVisual Studio Code7. Windows 與 Frigate 的重要說明
Section titled “7. Windows 與 Frigate 的重要說明”Frigate 主要設計成以 Docker container 運作,而且在 bare-metal Debian-based Linux 系統上表現最佳。
作為臨時軟件 POC,在 Windows 上使用 Docker Desktop 是可以接受的。
但 Windows Docker 並不是建議的最終 production platform。
日後正式系統較適合:
Debian / Ubuntu+Docker Engine+Frigate或其他受支援的 Linux host。
Windows 還有另一個問題:Notebook webcam。
直接把 Windows USB webcam pass-through 到 Linux Docker container 可能比較麻煩。
因此最簡單的 POC 方法是:
Windows webcam |FFmpeg |MediaMTX |RTSP |Frigate這樣 Frigate 就會把 webcam 當成一般 IP camera。
8. Step 1 — 安裝 Docker Desktop
Section titled “8. Step 1 — 安裝 Docker Desktop”下載並安裝 Docker Desktop for Windows。
安裝期間:
- 啟用 WSL2 integration;
- 允許 Docker 使用 WSL2 backend;
- 如果安裝程式要求,重新啟動 Windows。
在 PowerShell 驗證:
docker --version然後:
docker compose version預期結果:
Docker version ...Docker Compose version ...9. Step 2 — 建立 Frigate 專案資料夾
Section titled “9. Step 2 — 建立 Frigate 專案資料夾”例如:
mkdir C:\Users\harry\MyWorks\frigate-poccd C:\Users\harry\MyWorks\frigate-pocmkdir configmkdir storage結果:
frigate-poc/│├── docker-compose.yml├── config/│ └── config.yml│└── storage/10. Step 3 — 建立 Docker Compose
Section titled “10. Step 3 — 建立 Docker Compose”建立:
docker-compose.yml內容:
services: frigate: container_name: frigate restart: unless-stopped stop_grace_period: 30s
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "512mb"
volumes: - ./config:/config - ./storage:/media/frigate
tmpfs: - /tmp/cache:size=1000000000
ports: - "8971:8971" - "8554:8554" - "8555:8555/tcp" - "8555:8555/udp"
environment: FRIGATE_RTSP_PASSWORD: "change-this-password"這個設定對 POC 而言刻意保持簡單。
不要把 Frigate 直接暴露到 public Internet。
11. Step 4 — 啟動 Frigate
Section titled “11. Step 4 — 啟動 Frigate”在 PowerShell:
cd C:\Users\harry\MyWorks\frigate-pocdocker compose up -d檢查狀態:
docker ps查看 Frigate log:
docker logs frigate第一次啟動時,Frigate 會建立 admin login。
開啟:
https://localhost:8971瀏覽器可能會警告本機產生的 HTTPS certificate。
對本地 POC 而言,這是正常的。
使用 container log 顯示的 administrator credentials 登入。
12. Step 5 — 準備攝影機串流
Section titled “12. Step 5 — 準備攝影機串流”Frigate 一般預期接收 network video stream。
這個 POC 有三個簡單選擇:
A. Notebook webcamB. Recorded MP4C. Existing IP / RTSP cameraOption C 最接近將來正式系統。
Option A 最方便測人物與人臉。
Option B 最適合做可重複的車牌測試。
13. Option A — 使用 Notebook Webcam
Section titled “13. Option A — 使用 Notebook Webcam”13.1 安裝 FFmpeg
Section titled “13.1 安裝 FFmpeg”安裝 Windows 版 FFmpeg,並確認:
ffmpeg -version可以正常執行。
13.2 安裝 MediaMTX
Section titled “13.2 安裝 MediaMTX”下載 Windows build 的 MediaMTX。
例如解壓到:
C:\Tools\mediamtx\MediaMTX 是一個輕量本地 media server。
它可以讓 FFmpeg 把 webcam 發佈成 RTSP stream。
13.3 找出 webcam 名稱
Section titled “13.3 找出 webcam 名稱”執行:
ffmpeg -list_devices true -f dshow -i dummy找類似:
Integrated Camera或者:
USB2.0 HD UVC WebCam複製完全相同的 device name。
13.4 設定 MediaMTX
Section titled “13.4 設定 MediaMTX”開啟:
mediamtx.yml加入類似設定:
paths: webcam: runOnInit: ffmpeg -f dshow -i video="Integrated Camera" -c:v libx264 -pix_fmt yuv420p -preset ultrafast -b:v 1500k -f rtsp rtsp://localhost:$RTSP_PORT/$MTX_PATH runOnInitRestart: yes把:
Integrated Camera換成你實際的 webcam device name。
13.5 啟動 MediaMTX
Section titled “13.5 啟動 MediaMTX”執行:
mediamtx.exeWebcam stream 應該變成:
rtsp://localhost:8554/webcam13.6 用 VLC 測試
Section titled “13.6 用 VLC 測試”開啟 VLC:
Media→ Open Network Stream輸入:
rtsp://localhost:8554/webcam如果可以看到 Notebook webcam,代表 stream 已準備好給 Frigate 使用。
14. Option B — 使用已錄製的車輛影片
Section titled “14. Option B — 使用已錄製的車輛影片”這非常適合車牌測試,因為同一段 clip 可以不停重播。
例如:
C:\Users\harry\Videos\anpr-test\night-car.mp4啟動 MediaMTX。
然後 publish 檔案:
ffmpeg -re -stream_loop -1 -i "C:\Users\harry\Videos\anpr-test\night-car.mp4" -c copy -f rtsp rtsp://localhost:8554/testcar如果 -c copy 有 codec 問題,改用:
ffmpeg -re -stream_loop -1 -i "C:\Users\harry\Videos\anpr-test\night-car.mp4" -c:v libx264 -an -f rtsp rtsp://localhost:8554/testcar得到的 stream:
rtsp://localhost:8554/testcar加入 Frigate 前,先用 VLC 測試。
15. Option C — 使用 IP / RTSP Camera
Section titled “15. Option C — 使用 IP / RTSP Camera”如果現有 CCTV 或 IP camera 支援 RTSP,會更加直接。
例如:
rtsp://username:[email protected]:554/stream實際 URL 視乎 camera manufacturer。
先用 VLC 測試。
如果 VLC 可以正常播放,一般都比較容易加入 Frigate。
16. Step 6 — 將攝影機加入 Frigate
Section titled “16. Step 6 — 將攝影機加入 Frigate”Frigate 現時 UI 內有 Add Camera wizard。
使用:
Settings→ Global configuration→ Camera management→ Add CameraNotebook webcam RTSP stream 要使用 Frigate container 能夠存取的 MediaMTX address。
在 Docker Desktop 中,container 裡面的 localhost 是 container 自己,不是 Windows host。
Windows Docker 常用的 host address:
host.docker.internal所以可以嘗試:
rtsp://host.docker.internal:8554/webcam已錄製的車輛 stream:
rtsp://host.docker.internal:8554/testcar如果是真正 IP camera:
rtsp://user:password@CAMERA_IP/...加入後確認:
Live view worksNo continuous FFmpeg errorsVideo updates normally17. Step 7 — 測試人物偵測
Section titled “17. Step 7 — 測試人物偵測”先保持簡單。
POC 可以使用 Frigate 的 CPU detector。
最小 detector 設定:
detectors: cpu1: type: cpu num_threads: 3然後把 webcam camera 設成追蹤:
person在 UI:
Settings→ Camera configuration→ Objects→ Objects to track→ person然後在 Notebook camera 前走過。
預期:
person bounding boxperson eventtimestampsnapshot如果 person detection 成功,代表 object detection 部分 POC 已成功。
18. Step 8 — 啟用人臉辨識
Section titled “18. Step 8 — 啟用人臉辨識”Frigate face recognition 預設是關閉的。
前往:
Settings→ Enrichments→ Face recognition啟用。
Notebook POC 先選:
Model size: smallsmall model 適合 CPU 執行。
等效 YAML:
face_recognition: enabled: true model_size: small detection_threshold: 0.7 min_area: 750Frigate 必須先偵測到 person,之後才會做人臉偵測與辨識。
所以流程:
person detection ↓face detection ↓face recognition19. Step 9 — 建立已知人臉資料
Section titled “19. Step 9 — 建立已知人臉資料”使用:
Face Library→ Add Face先加入幾張清楚圖片。
建議:
front-facinggood lightingnot blurryface reasonably large例如:
Harry ├── front ├── slight-left └── slight-right不要一次上載很多低質素圖片。
少量但清楚、角度有變化的相片,比大量幾乎相同的相片更有用。
之後再站在 webcam 前面。
預期:
person detected ↓face detected ↓Harry如果 confidence 不足:
Unknown可以利用 Face Library training workflow,再加入高質素樣本改善模型。
20. Step 10 — 啟用車牌辨識
Section titled “20. Step 10 — 啟用車牌辨識”前往:
Settings→ Enrichments→ License plate recognition啟用 LPR。
建議第一輪設定:
Enabled: YesDevice: CPUModel size: smallDetection threshold: 0.7Recognition threshold: 0.9Minimum plate length: 4Save debug plates: Yes等效 YAML:
lpr: enabled: true device: CPU model_size: small detection_threshold: 0.7 recognition_threshold: 0.9 min_plate_length: 4 debug_save_plates: true當主要 object model 本身沒有 plate detection 功能時,Frigate 內建 LPR 可以使用:
YOLOv9 plate detection+PaddleOCR21. Step 11 — 測試車牌辨識
Section titled “21. Step 11 — 測試車牌辨識”最容易重複測試的方法,是使用已錄製車輛影片。
使用一段符合以下條件的影片:
vehicle clearly visibleplate visibleplate reasonably largeminimal motion blur用 MediaMTX publish:
night-car.mp4 |FFmpeg |MediaMTX |RTSP |Frigate正常 Frigate LPR 操作中,車輛應先被偵測為:
car或者其他支援的 vehicle class。
之後 Frigate 會嘗試找出並讀取車牌。
檢查:
ExploreReview / HistoryTracked object detailsRecognized licence plate22. 建議的 Frigate LPR 設定
Section titled “22. 建議的 Frigate LPR 設定”先使用較保守設定:
lpr: enabled: true device: CPU model_size: small detection_threshold: 0.7 recognition_threshold: 0.9 min_plate_length: 4 debug_save_plates: true如果 detection 失敗,不要立即把所有 threshold 大幅降低。
先檢查 debug plate crops。
問自己:
Did Frigate find the plate?Is the crop sharp?Can I read the plate manually?Is the plate large enough?這樣可以分辨:
capture problemplate detection problemOCR problem23. 如何測試紐西蘭車牌
Section titled “23. 如何測試紐西蘭車牌”建立一組小型 benchmark dataset。
例如:
data/ video/ car-001.mp4 car-002.mp4 car-003.mp4
ground-truth.csv例如:
video,actual_platecar-001.mp4,ABC123car-002.mp4,XYZ789car-003.mp4,DEF456然後記錄:
video,actual_plate,frigate_plate,correct,confidencecar-001.mp4,ABC123,ABC123,true,0.97car-002.mp4,XYZ789,XYZ7B9,false,0.91car-003.mp4,DEF456,DEF456,true,0.96不要只用一個車牌就判斷軟件表現。
第一個有意義的測試,建議至少:
20–50 test vehicles之後更完整測試可以使用:
100–200 vehicles24. 如何量度準確度
Section titled “24. 如何量度準確度”不同指標要分開量度。
Readable plates / total vehicles例如:
47 readable / 50 vehicles= 94%Plate crops detected / readable platesOCR 準確率
Section titled “OCR 準確率”Correct OCR / detected readable platesExact match accuracy
Section titled “Exact match accuracy”完整車牌必須完全相同:
ABC123 == ABC123只錯一個字元都計作 incorrect。
Person detection
Section titled “Person detection”量度:
person events detected / actual person appearancesFace recognition
Section titled “Face recognition”量度:
correct identity matchesfalse unknownsfalse identity matches其中 false identity match 尤其重要。
25. 建議 POC 測試矩陣
Section titled “25. 建議 POC 測試矩陣”| 測試 | 預期結果 |
|---|---|
| 在 webcam 前走過 | Person detected |
| 面向 camera 站定 | Face detected |
| 已登記 known face | 影像質素足夠時辨識到正確名字 |
| Unknown person | 不應高信心地誤認成另一個 known person |
| 清楚靜態車牌 | Plate recognized |
| 日間車輛影片 | 如畫面夠清楚,應辨識到車牌 |
| 低解像車牌 | 準確度可能下降 |
| 模糊車牌 | 準確度可能下降 |
| 夜間手機影片 | 只作測試,不等同專用 ANPR camera |
| 重播相同影片 | 每次結果應大致一致 |
26. 預期限制
Section titled “26. 預期限制”Notebook webcam
Section titled “Notebook webcam”適合:
person detectionface testingbasic Frigate testing不適合:
moving roadside platesnight vehiclesheadlight glarelong distanceCPU-only object detection
Section titled “CPU-only object detection”適合:
POCone cameralow/moderate detect FPS不適合:
many camerashigh-resolution continuous AIproduction deploymentFace recognition
Section titled “Face recognition”準確度會受以下因素影響:
- face angle;
- lighting;
- blur;
- distance;
- face size;
- glasses;
- hats;
- partial occlusion。
人臉辨識應視為 probabilistic,而不是百分百確定。
Licence plate OCR
Section titled “Licence plate OCR”準確度會受:
- plate pixel size;
- blur;
- viewing angle;
- reflections;
- headlights;
- overexposure;
- dirt;
- plate design;
- compression;
影響。
27. 疑難排解
Section titled “27. 疑難排解”Frigate 無法啟動
Section titled “Frigate 無法啟動”檢查:
docker logs frigate仔細檢查 YAML indentation。
無法開啟 Frigate UI
Section titled “無法開啟 Frigate UI”檢查:
docker ps然後:
https://localhost:8971Frigate 無法連接 webcam RTSP
Section titled “Frigate 無法連接 webcam RTSP”除非 MediaMTX 與 Frigate 在相同 container/network 內,否則不要在 Docker container 裡使用:
rtsp://localhost:8554/webcam改試:
rtsp://host.docker.internal:8554/webcamWebcam stream 無法運作
Section titled “Webcam stream 無法運作”先用 VLC 驗證:
rtsp://localhost:8554/webcam如果 VLC 都讀不到,先修正 FFmpeg / MediaMTX,之後才處理 Frigate。
找不到 webcam 名稱
Section titled “找不到 webcam 名稱”執行:
ffmpeg -list_devices true -f dshow -i dummy使用完全相同的 video-device name。
CPU usage 太高
Section titled “CPU usage 太高”降低:
detect FPSresolutionnumber of active features例如:
detect: fps: 5對這個 POC,5 FPS 已足夠做基本 person detection 測試。
Face recognition 沒有反應
Section titled “Face recognition 沒有反應”檢查:
Is person detection working first?Is the face large enough?Is face recognition globally enabled?Frigate 要先偵測到人物,才會做人臉辨識。
LPR 沒有反應
Section titled “LPR 沒有反應”檢查:
Is LPR globally enabled?Is a supported vehicle being detected?Is the plate large enough?Can you read the plate yourself?啟用:
debug_save_plates: true並檢查保存的 crop。
LPR 只錯一個字元
Section titled “LPR 只錯一個字元”常見例子:
0 ↔ O1 ↔ I5 ↔ S8 ↔ B不要立即自動修正。
先保存:
raw OCRconfidenceactual plate之後再仔細建立 NZ-specific normalisation。
28. POC 成功標準
Section titled “28. POC 成功標準”Notebook POC 符合以下條件,就可以視為成功。
Frigate
Section titled “Frigate”- Frigate 能在 Docker 穩定啟動;
- Browser UI 可以正常開啟;
- 可以看到 test RTSP stream。
Person
Section titled “Person”- 在 webcam 前走過會產生 person detection;
- 事件會出現在 Frigate;
- 可以取得有用 snapshot。
可選:
- Frigate 在偵測到 person 後能夠偵測 face;
- 在良好條件下,可以辨識已加入的自己;
- Unknown person 不應被錯誤當成 known identity。
Licence plate
Section titled “Licence plate”- Frigate 在 test clip 內能偵測到車輛;
- 能找到車牌;
- 產生 OCR result;
- 可以查看 debug plate images;
- 至少能正確辨識數個清楚的 NZ plates。
這個階段目的不是達到 production accuracy。
而是證明:
video |Frigate |AI detection |useful structured result29. POC 完成後下一步
Section titled “29. POC 完成後下一步”Notebook POC 成功後:
Stage 2
Section titled “Stage 2”購買或借用一部真正 ANPR camera。
測試:
night30–50 km/hheadlights10–20 mIRStage 3
Section titled “Stage 3”把真正 camera 連到 Frigate:
ANPR camera |RTSP |Frigate比較:
Frigate LPRvscamera-native ANPRStage 4
Section titled “Stage 4”寫一個自訂 Python comparison:
YOLO+PaddleOCR使用完全相同的 video dataset 比較結果。
Stage 5
Section titled “Stage 5”只有當 recognition 已可靠,才建立:
solarbatteryMPPT4G/LTEweatherproof box作為 roadside prototype。
30. 建議資料夾結構
Section titled “30. 建議資料夾結構”frigate-poc/│├── docker-compose.yml│├── config/│ └── config.yml│├── storage/│├── test-data/│ ├── videos/│ │ ├── daytime/│ │ └── night/│ ││ ├── plates/│ └── ground-truth.csv│├── notes/│ └── test-results.md│└── scripts/ └── start-test-stream.ps131. 常用指令
Section titled “31. 常用指令”啟動 Frigate:
docker compose up -d停止 Frigate:
docker compose down重新啟動:
docker compose restartLogs:
docker logs -f frigate列出 containers:
docker ps列出 webcam devices:
ffmpeg -list_devices true -f dshow -i dummy透過 RTSP 重播 MP4:
ffmpeg -re -stream_loop -1 -i test.mp4 -c:v libx264 -an -f rtsp rtsp://localhost:8554/testcar32. 私隱注意事項
Section titled “32. 私隱注意事項”這個 POC:
- 盡量使用自己的人臉做人臉辨識測試;
- 加入其他人的臉之前先取得同意;
- 不要建立陌生人的 face database;
- 不要公開擷取到的人臉或車牌;
- test data 保持在本機;
- 不再需要時刪除 test data。
Person detection 與 identity recognition 是不同的事情。
這個 POC 最好停留在:
person detection+optional face recognition of consenting test subjects然後才決定真實世界部署是否需要更多功能。
涉及 biometric identification 的 roadside deployment,需要另外做 privacy 與 legal review。
33. 參考連結
Section titled “33. 參考連結”Frigate
Section titled “Frigate”主要文件:
安裝:
https://docs.frigate.video/frigate/installation/
Getting started:
https://docs.frigate.video/guides/getting_started/
Configuration:
https://docs.frigate.video/configuration/config/
Camera configuration:
https://docs.frigate.video/configuration/cameras/
Object detectors:
https://docs.frigate.video/configuration/object_detectors/
Licence Plate Recognition:
https://docs.frigate.video/configuration/license_plate_recognition/
Face Recognition:
https://docs.frigate.video/configuration/face_recognition/
go2rtc:
https://docs.frigate.video/configuration/go2rtc/
MediaMTX
Section titled “MediaMTX”主要文件:
Windows / generic webcam publishing:
https://mediamtx.org/docs/publish/generic-webcams
FFmpeg publishing:
https://mediamtx.org/docs/publish/ffmpeg
34. 最終建議流程
Section titled “34. 最終建議流程”不要立即建立最終 roadside system。
按以下順序:
DAY 1Windows notebook |Docker Desktop |Frigate starts然後:
DAY 1–2Notebook webcam |MediaMTX |RTSP |Frigate |person detection然後:
NEXTperson |face detection |known-face test然後:
NEXTrecorded car video |MediaMTX |Frigate |LPR之後:
AFTER SOFTWARE POCDedicated ANPR camera |real daylight/night testing最後才:
FINAL REMOTE POCRoadside location |ANPR camera |optional overview camera |LiFePO4 battery |solar + MPPT |4G/LTE + VPN |Frigate / central serverNotebook POC 因此只有一個簡單目的:
在花錢購買路旁硬件之前,先用最低成本證明整個軟件 workflow 可行。