Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Usage:  xlnx-vai-lib-samples.<test name> <sample name> <model name> <test specific arguments>

...

test-jpeg

To run the test-jpeg  jpeg  test, with the facedetect sample app, the densebox_320_320 model, and the input file sample_facedetect.jpg the command would be as follows: 

Code Block
xlnx-vai-lib-samples.test-jpeg facedetect densebox_320_320 sample_facedetect.jpg

test-video

Info

For help determining which /dev/videoX interface to use below, you can use the following command: v4l2-ctl --list-devices

Info

If you want to run the test-video app over SSH, first export the following environment variable: export XAUTHORITY=$HOME/.Xauthority

To run the test-video app , with the openpose sample app, the openpose_pruned_0_3 model, and the USB camera at /dev/video2 as the input, use the following command: 

Code Block
xlnx-vai-lib-samples.test-video openpose openpose_pruned_0_3 2

To run the test-video app over SSH with X forwarding, set the XAUTHORITY variable before running the test. 

...

Code Block
export XAUTHORITY=$HOME/.Xauthority

For help determine with /dev/videoX interface to use, you can use the following command

Code Blockv4l2-ctl --list-devices

Anchor
samples
samples
Available Sample Applications and Models

...