Article ID: 000059010 Content Type: Troubleshooting Last Reviewed: 05/20/2022

How Do I Reduce the Frame Size of the Input Video Stream When Running the Interactive Face Recognition Demo?

Environment

 OpenVINO 2020.3

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Command line arguments to change the frame size of the input stream to the Face Recognition Demo

Description

Unable to reduce the frame size of the input video stream when running the Face Recognition Demo.

Resolution

Add these 2 parameters to the Face Recognition Demo command line:

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

Related Products

This article applies to 2 products