Eye coloring API
Eye coloring tops the list of the most popular face editing effects. With this, users can change their eyes for better self-expression, have fun trying on exotic lenses or test color contacts before purchasing in augmented reality. You can easily embed this cool feature into your app with our Eye Color API which comes as part of AR Makeup or Face Filter SDKs.
Eye Color API Demo: Image Processing
The API runs on any device and with any camera, delivering a magic mirror-like experience. Use it to create virtual lens try-on, photo editors, beauty makeovers and any communication app like Snapchat.
API features and possibilities
- Automatic eye recognition and coloring
- Changing user eye color in photos and videos
- Full eye or iris recolor
- Compatible with virtual makeup and face animation
- Easily embedded as an API
- iOS, Android and MacOS support
How eye coloring works
Virtual eye color changing requires accuracy and fast performance. We developed computer vision technology that delivers both. Our AR SDK uses face tracking and eye segmentation technologies to precisely detect the user's eyes and overlay a digital image of colored contact lenses in real-time.
Real-time eye segmentation and coloring
Eye segmentation technology is based on the neural networks trained using synthesised datasets. It accurately detects a pupil, sclera, iris and allows you to modify the color for one or all of them.
Face tracking technology comes as a basis for any Face AR experience. For the eyes specifically, it enables an online color lens try-on experience which is way more convenient for a user as opposed to photo processing. It also lets users change their eye color in the video.
Developers can add an eye color changer to their AR beauty apps. Together with virtual makeup or hair coloring, it lets users modify their appearance beyond recognition.
Integrated with photo editors, eye recoloring puts portrait enhancement to the next level. Users can remove the red-eye effect in photos or color eyes automatically into any shade.
Virtual try on: contact lens
Augmented reality lets customers sample products that are not meant for physical try on. Colored contact lenses are one of such. With our SDK you can build virtual contact lens try on experience on mobile, in the store aka virtual kios and soon on the web too.
Virtual lens try on service makes the purchasing process much easier and way more fun. It’s also completely safe since it’s contactless. For retailers, the contact lens simulator improves customer services and accelerates purchases. Buyers can browse more contacts and choose one that's a 100% match to their expectations.
In communication apps, eye color changer complements the face filter experience. Combined with face animations, it lets users literally become someone else, be that their favorite movie hero or a creature.
Type of eye effects allowed
Whether you want to showcase color contacts, Halloween lenses, alien or animal eyes in your app, our SDK allows doing so, giving your users practically limitless possibilities altering their eyes. Here are the types of eye effects possible with our API.
Colored lens try on
Showcase realistic colored contact lenses to engage your customers on mobile and boost sales.
Captivate users with a fantastic eye changing experience. Let them look like a snake, cat, dragon or any.
Eye animation with video textures
You can design complex effects with video textures and place your own texture for each eye, like Husky eyes.
Replicate the most famous movie characters and their eyes like Mystique, Black Swan, or Thor's lightning eyes. This will be something your users won't help but share with friends letting you scale organic user acquisition in your app.
How to create eye effects for your app
For a simple eye color change, you just need to set the color in config.js in the effect folder.
For complex lenses, you need to design your texture in .png for still image or .mp4 for animated one and insert it into our template mask. Our filter editor tool will convert the effect into SDK support formats.
How eye color changer feature benefits your app
Communication apps and beauty editors
- One of the most popular features in selfie editing
- Increases engagement and content share ration
- Allows for more interesting face AR effects
- Boost sales for colored contact lenses through mobile channels.
- Engage customers with virtual try on.
- Increases brand awareness through the novelty of augmented reality.
Research shows that eyes have the biggest effect on perceived facial traits. An interesting fact, despite that 79% of the world population is brown-eyed, it's the brown color that is perceived least of all attractive.
AR eye coloring is captivating. It fulfills the users' desire for a change, letting them see how they look with different eyes. Consider empowering your app with an eye color changer functionality.