Article ID: 000089752 Content Type: Error Messages Last Reviewed: 05/20/2022

Error “RuntimeError: Can’t Open Video Writer” When Running Human Pose Estimation Python Demo Using “-O” Flag

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Correct way to run Human Pose Estimation Python Demo with "--output" or "-o" flag.

Description
  • Ran Human Pose Estimation Python Demo: python3 human_pose_estimation_demo.py -m human-pose-estimation-0006.xml -at ae -i 1_Trim.mp4 -o testing
  • Encountered error: RuntimeError: Can't open video writer
Resolution

The --output or -o flag requires the name of the output file and extension of the desired format.

For example:

  • -o output.avi
  • -o output.jpg
  • -o output.mp4

Related Products

This article applies to 2 products