I found out that u can use to bitmaps in Android using LUT. Before I used to do it programatically then I found out about LUTs. They can be used to edit bitmaps and apply some effects like filters just like the one you see on stock camera like mono,sepia,solarize,etc..
I am working along side an IOS dev and we're trying to create an app that has camera taking functionality and the goal for the camera functionality is:
- apply the LUT filter to the result captured image
- apply the LUT filter to the camera preview (to make it brighter and smoother -usually the face of the person).
For IOS this library Ifttt Fast Camera helps to achieve the above goals. For Android I'm trying to do the same thing but having a hard time. There are libraries that show how to apply LUTs to bitmaps but I can't find any resource for applying it to the camera preview.
The question/problem here is how to apply the LUT image/bitmap to Android camera preview or is it possible? If you guys have other approaches for achieving the goals please let me know too.
Sources that show LUT to edit the bitmap
References: