katna icon indicating copy to clipboard operation
katna copied to clipboard

Add resize_from_cvimage method to Image class

Open jibinmathew69 opened this issue 3 years ago • 2 comments

Resize cv image in-memory, rather than reading from file

jibinmathew69 avatar Aug 02 '21 11:08 jibinmathew69

Hi @jibinmathew69 jibinmathew69. Could you elaborate your use case.

thealokkr avatar Aug 23 '21 12:08 thealokkr

Write now the image needs to be read from a file to perform a resize+crop, but in case the image is already loaded in the memory as a numpy ndarray(say after being read using opencv) then it would be really useful to be able resize and crop in-memory.

jibinmathew69 avatar Aug 23 '21 17:08 jibinmathew69