Hi @ahmadchalhoub99 ,
Thanks for the detailed explanation. This issue has been taken care of about a year ago with the introduction of TensorFlow Lite Support TransformToGrayScaleOp.java 1 operator. Check inside the file to see how this is handled.
So inside your code you can use the TensorFlow Lite Support library 1 using the Basic image manipulation and conversion 2 adding the operator to the ImageProcessor.
I hope it helps.
Tag me if you need something more.
Regards