This is actually not an android development problem, but a digital image processing problem. I recommend you to read books or web pages related to "Digital Image Processing".
In daily processing of ID photos, photo PS technology is often used. The most common ones are PS for acne removal and skin whitening, and photoshop is not something that ordinary people can control. Nowadays, various mobile phone camera software comes with built-in image beauty processing. But if you want to master the technology of acne removal and microdermabrasion yourself, you need to use the facial features positioning algorithm. Facial features positioning has also become facial key point positioning, including facial key point detection and tracking. Face facial feature positioning SDK, you can learn about domestic facial recognition technology (ColorReco). The facial key point positioning SDK can accurately locate the key areas of the face, including eyebrows, eyes, nose, mouth, facial contours, etc., and can achieve dynamic tracking. It can accurately position faces under various expressions, postures, and occlusion and blur states. Using key point detection technology, you can accurately locate parts of the face to beautify it, and also enable expression interaction.
This is actually not an android development problem, but a digital image processing problem. I recommend you to read books or web pages related to "Digital Image Processing".
Is the questioner asking about the processing during real-time preview?
Or are you asking about simple image processing algorithms?
In daily processing of ID photos, photo PS technology is often used. The most common ones are PS for acne removal and skin whitening, and photoshop is not something that ordinary people can control. Nowadays, various mobile phone camera software comes with built-in image beauty processing. But if you want to master the technology of acne removal and microdermabrasion yourself, you need to use the facial features positioning algorithm. Facial features positioning has also become facial key point positioning, including facial key point detection and tracking. Face facial feature positioning SDK, you can learn about domestic facial recognition technology (ColorReco). The facial key point positioning SDK can accurately locate the key areas of the face, including eyebrows, eyes, nose, mouth, facial contours, etc., and can achieve dynamic tracking. It can accurately position faces under various expressions, postures, and occlusion and blur states. Using key point detection technology, you can accurately locate parts of the face to beautify it, and also enable expression interaction.