How to change the skin color of face from the source image in ios?

后端 未结 6 415
失恋的感觉
失恋的感觉 2021-01-31 21:45

MY code: How to manage RGB value for differet shades of face,and how to apply? this code will change the color of face along with hair,but i want 1.only face to be colored excl

6条回答
  •  醉话见心
    2021-01-31 21:51

    make the face and the hair as objects. object have color and have a global method to change their colors. then in your main,make both objects (hair, face) and specify what you want to color exactly. This is the right approach. hope it helps!

提交回复
热议问题