datumaro icon indicating copy to clipboard operation
datumaro copied to clipboard

Scale images with percentages

Open DP1701 opened this issue 3 years ago • 3 comments

Hey, is it possible to scale images and labels with percentages instead of entering a specific resolution? I have images in different resolutions and would like to scale them down by only 50%.

DP1701 avatar Sep 06 '22 08:09 DP1701

Hi, there is no such feature yet - only a specific resolution is available for resizing. Could you describe your usecase for such function? Typically, neural networks expect a fixed size input.

zhiltsov-max avatar Sep 06 '22 14:09 zhiltsov-max

Hi @zhiltsov-max, that' s right. The only reason I have for this is to reduce the resolution of the images when storage space needs to be saved and high resolutions are not required.

DP1701 avatar Sep 28 '22 10:09 DP1701

Please look at this discussion https://github.com/openvinotoolkit/datumaro/issues/562

zhiltsov-max avatar Sep 28 '22 17:09 zhiltsov-max

I will close this with a feature ResizeTransform at https://github.com/openvinotoolkit/datumaro/pull/581.

wonjuleee avatar Feb 01 '24 00:02 wonjuleee