執行互動式臉部辨識示範時,如何縮小輸入影片串流的畫面大小?
內容類型: 疑難排解 | 文章 ID: 000059010 | 最近查看日期: 2022 年 05 月 20 日
執行臉部辨識示範時,無法縮小輸入影片串流的畫面大小。
將 這 2 個參數新增到 Face Recognition Demo 命令列:
-cw CROP_WIDTH, --crop_width CROP_WIDTH
(optional) Crop the input stream to this width
(default: no crop). Both -cw and -ch parameters should
be specified to use crop.
-ch CROP_HEIGHT, --crop_height CROP_HEIGHT
(optional) Crop the input stream to this height
(default: no crop). Both -cw and -ch parameters should
be specified to use crop.