Hi @George_Soloupis
Thank you so much for your response!
After finding out about the ImageProcessor support in TFLite, I tried to check if there was any op that would take care of the conversion to grayscale. However, I couldn’t find any, and I just learned that this was due to my using ‘org.tensorflow:tensorflow-lite-support:0.1.0’ in my build.gradle file instead of ‘org.tensorflow:tensorflow-lite-support:0.2.0’ - only the latter supports the TransformToGrayscaleOp.
One comment that I do have is that no matter how long and hard I searched for a solution online, I was not able to come across any documentation for the TransformToGrayscaleOp online. I’m not sure if it is anything to do with my way of searching, but it would definitely be more convenient if the documentation for things like these were more easily ‘findable’.
But again, I really appreciate your help! I was stuck on this for a few days and your answer solves my issue!
Thanks,
Ahmad