學號:1121410030

姓名:張喆勛

 

雙視訊物流分析系統製作

資訊專案結構

https://gemini.google.com/app/021115ce00c10119?utm_source=app_launcher&utm_medium=owned&utm_campaign=base_all

UML二張以上(參考部屬圖、序列圖、用例圖)

 

 

 

A. 程式核心邏輯流程

系統採用「雙輸入源同步處理」架構,其運作流程如下圖邏輯:

  1. 資源初始化 (Initialization)
  2. 影像擷取循環 (Main Loop)
  3. AI 辨識與追蹤 (AI Inference & Tracking)
  4. 數據統計邏輯 (Statistical Logic)
  5. 畫面合成與顯示 (UI Rendering)
  6. 全系統功能:

技術: 物流辨識技術

<h2 style="color: #c0392b; border-left-color: #c0392b;">(5) 全系統功能</h2>

    <div class="section-content">

        <div style="background-color: #fdf2f2; border: 1px solid #f5c6cb; padding: 15px; border-radius: 8px; margin-bottom: 20px;">

            <h3 style="margin-top: 0; color: #721c24;">💡 核心技術:物流辨識技術</h3>

            <p>本系統之核心競爭力在於結合了 <strong>深度學習推論</strong> <strong>即時追蹤算法</strong>,能精識別輸送帶上的物流物件(如本例中之自動化包子生產線),即使在高速移動下也能保持高辨識率。</p>

        </div>

 

        <ul style="list-style-type: none; padding-left: 0;">

            <li style="margin-bottom: 10px;"> <strong>雙視訊異步整合:</strong> 同時監控預錄生產線影片與本地即時視訊源。</li>

            <li style="margin-bottom: 10px;"> <strong>動態數量統計:</strong> 自動計算當前數量 (Current Count),不需人工介入。</li>

            <li style="margin-bottom: 10px;"> <strong>效能指標監控:</strong> 即時運算 Peak (峰值) Avg (平均值),輔助產能評估。</li>

            <li style="margin-bottom: 10px;"> <strong>視覺化警示:</strong> 狀態欄即時反饋系統運行狀況,異常時自動標記。</li>

        </ul>

    </div>

使用AI工具對話連結 

https://gemini.google.com/app/021115ce00c10119?utm_source=app_launcher&utm_medium=owned&utm_campaign=base_all

Trouble Shooting (前述修正過程)

錯誤現象

程式執行到 np.hstack 時彈出 ValueError: all the input array dimensions except for the axis used for merging must match exactly

 

修正方法:

在拼接前,對兩組 Frame 進行強制的 cv2.resize() 處理。在本專案中,統一調整為 (640, 480)

學習心得

透過本次專案,我深入了解了電腦視覺在工業自動化中的應用。

還有ai的影用和詢問方式