How to set a custom size of the output video frame?

Hi @paranyushkin, by default the window will resize to match the size of the video stream. However you can disabling this by commenting out this code (lines 649-653) and recompiling:

Then run:

cd /path/to/your/jetson-inference/build
make
sudo make install

By default, the window will be close to the full size of the desktop. You can also manually specify the window size with the --output-width and --output-height arguments. You would use these like this (or from the command line):

output = jetson.utils.videoOutput(opt.output_URI, argv=sys.argv+is_headless+['--input-height=1920', '--input-width=1080'])