diff options
author | Ting Fu <ting.fu@intel.com> | 2021-01-18 11:42:14 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-01-18 13:09:22 +0800 |
commit | 71b82e4ffdd8b6dc69f8c6361df816a8c43725da (patch) | |
tree | d2f0e9e99df7f02857ce54d832be4d9e9108b812 /libswresample/version.h | |
parent | 048d5cc6206b3ff23666d7fc5f6bf15a9318e272 (diff) | |
download | ffmpeg-71b82e4ffdd8b6dc69f8c6361df816a8c43725da.tar.gz |
dnn/openvino: support model input resize
OpenVINO APIs require specify input size to run the model, while some
OpenVINO model does accept different input size. To enable this feature
adding input_resizable option here for easier use.
Setting bool variable input_resizable to specify if the input can be resizable or not.
input_resizable = 1 means support input resize, aka accept different input size.
input_resizable = 0 (default) means do not support input resize.
Please make sure the inference model does accept different input size
before use this option, otherwise the inference engine may report error(s).
eg: ./ffmpeg -i video_name.mp4 -vf dnn_processing=dnn_backend=openvino:\
model=model_name.xml:input=input_name:output=output_name:\
options=device=CPU\&input_resizable=1 -y output_video_name.mp4
Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'libswresample/version.h')
0 files changed, 0 insertions, 0 deletions