產業問題與工程挑戰
同一欄內有多隻豬同時活動。監測需要把連續影格中的位置和行為變化對應到各自的追蹤軌跡。
工程限制
豬隻彼此遮擋、交會或外觀相近時,容易造成軌跡中斷或身分切換。照明變化也會影響畫面品質。
技術方法與架構
-
豬舍影像與個體定位
從固定攝影機影像定位畫面中的多隻豬。
-
跨影格連結同一隻豬
跨影格串接同一個體的定位,記錄單鏡頭內的追蹤 ID 和移動軌跡。
-
辨識動作片段與起迄
以連續片段評估站立、行走與躺臥等動作,記錄動作起迄時間。
工程評估流程圖解。驗收項目包括交會或遮擋後的 ID 切換、站立/行走/躺臥的分類差異與串流延遲。
實作與交付
工程評估分成單幀偵測、跨影格追蹤與片段動作分類,便於找出漏檢、換號或動作混淆各自出現在哪個階段。
成果
目前公開範圍為豬舍影像的動作分類、個體追蹤及串流效能評估規劃。
- 多豬隻定位與追蹤 ID 的輸出規格
- 動作類別與起迄時間的標註規格
- 畫面遮擋、ID 切換與端到端延遲驗證計畫
驗證與證據
依欄位或錄影時段切分測試片段,分別評估追蹤 ID 切換、動作辨識錯誤和端到端延遲。設計交會、遮擋和不同照明條件的測試情境。
公開範圍及專案狀態
- 歸屬與階段
- 匿名工程案例 · 工程評估
匿名工程評估案例。配圖為概念示意,場域部署和量測結果待確認。
Selected Work
Real-Time Pig Behavior Recognition and Tracking
Anonymized Engineering Case · Engineering Evaluation
Locate multiple pigs in barn video, link their trajectories and scope real-time recognition of standing, walking and lying.
Industry problem and engineering challenge
Several pigs can occupy the same pen at once. Monitoring requires matching changes in position and behavior to each animal’s track.
Engineering constraints
Overlap, crossing paths and similar appearances can break tracks or switch IDs. Lighting changes can also affect the video quality.
Technical approach and architecture
-
Pen video and individual detections
Locate multiple pigs in video from a fixed camera.
-
Link individual pigs across frames
Link detections across consecutive frames to assign within-camera track IDs and trajectories.
-
Classify and timestamp actions
Evaluate actions such as standing, walking and lying over clips and record their start and end times.
Engineering evaluation diagram. Test ID switches after crossings or occlusion, errors among standing, walking and lying, and streaming latency.
Implementation and deliverables
The engineering evaluation separates frame-level detection, tracking and clip-level action classification so reviewers can isolate misses, ID switches and action errors.
Outcome
The public scope covers a planned evaluation of behavior classification, individual tracking and streaming performance.
- Output specification for multi-pig detections and track IDs
- Annotation specification for action labels and their timing
- Test plan for occlusion, ID switches and end-to-end latency
Validation and evidence
Hold out clips by pen or recording period. Evaluate ID switches, action classification errors and end-to-end latency across crossings, occlusion and lighting conditions.
Project status and disclosure
- Ownership and status
- Anonymized Engineering Case · Engineering Evaluation
An anonymized engineering evaluation case. The illustration is conceptual. Field deployment and measured results await confirmation.
