I have Kafka messages sending face of the person in crowd. I want to crop a specific portion of this image based on co-ordinates provided. How can I do this in NiFi? Do I need to use imagemagick on Windows NT and in linux the following command: mogrify -crop {Width}x{Height}+{X}+{Y} +repage image.png?
Execute this command using - ExecuteStreamCommand processor?
I refer to : Command line batch image cropping tool