文章 ID: 000059010 内容类型: 故障排除 上次审核日期: 2022 年 05 月 20 日

运行交互式人脸识别演示时,如何降低输入视频流的帧大小?

环境

OpenVINO 2020.3

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
总结

命令行参数将输入流的帧大小更改为 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.

相关产品

本文适用于 2 产品

全部显示

本页面上的内容是原始英文内容的人工翻译与计算机翻译的组合。我们提供此内容是为了您的便利并且仅供参考,未必完整或准确。如果本页面的英文版与翻译版之间存在任何冲突,应以英文版为准。 查看此页面的英语版本。