opencv筆記(3)——模板匹配實現目標識別與跟蹤

1 知識補充 1.1 回調函數 在圖像處理時,如果我們需要實現實時的改變值,並重新開始程序,就需要我們自己實現回調函數,其中,對於鼠標事件的回調,需要我們重寫鼠標回調函數void onMouse(int event, int x, int y, int flags, void* ustc); //鼠標回調函數 函數中的主要參數: event對應於鼠標事件 x,y鼠標的位置參數 flags標誌位 u
相關文章
相關標籤/搜索