Closed sungchul2 closed 7 months ago
Not intended. But OpenCV version isn't used anywhere. It was left as a reference implementation. Apparently it diverged. Feel free to submit a fix and optionally a test. The test could create a dummy model without weights which does resize only.
fit_to_window
for opset isresize_image_with_aspect
and it haspad
as well. https://github.com/openvinotoolkit/model_api/blob/41c20267122bed9fe9b21631166d15818f669379/model_api/python/model_api/adapters/utils.py#L358-L367But,
fit_to_window
for python isresize_image_with_aspect_ocv
and it doesn't havepad
. It just does resize keeping aspect ratio. https://github.com/openvinotoolkit/model_api/blob/41c20267122bed9fe9b21631166d15818f669379/model_api/python/model_api/adapters/utils.py#L427-L430I'd like to know if it is intended.