命令列參數,將輸入串流的框架大小變更為臉部辨識示範
執行臉部辨識示範時,無法縮小輸入影片串流的畫面大小。
將 這 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.