> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Ting Fu > Sent: 2021年1月18日 11:42 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH V3 3/3] 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...@intel.com> > --- > V3: > rebase to latest code and add missing code > > libavfilter/dnn/dnn_backend_openvino.c | 21 +++++++++++++++++++-- > 1 file changed, 19 insertions(+), 2 deletions(-) > this patch set looks good to me, will push soon, thanks. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".