命令行参数将输入流的帧大小更改为 Face Recognition 演示
运行人脸识别演示时,无法缩小输入视频流的帧大小。
将 以下两个参数添加到 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.