文章 ID: 000059010 內容類型: 疑難排解 最近查看日期: 2022 年 05 月 20 日

執行互動式臉部辨識示範時,如何縮小輸入影片串流的畫面大小?

環境

OpenVINO 2020.3

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
摘要

命令列參數,將輸入串流的框架大小變更為臉部辨識示範

描述

執行臉部辨識示範時,無法縮小輸入影片串流的畫面大小。

解決方法

這 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.

相關產品

本文章適用於 2 產品

這個頁面的內容綜合了英文原始內容的人工翻譯譯文與機器翻譯譯文。本內容是基於一般資訊目的,方便您參考而提供,不應視同完整或準確的內容。如果這個頁面的英文版與譯文之間發生任何牴觸,將受英文版規範及管轄。 查看這個頁面的英文版。