Can I overlay an image over detected faces?

Yes, you can :-)
Here are some examples:

Positioning a badge of width 30px over the largest detected face:

http://res.cloudinary.com/demo/image/fetch/l_badge,g_face,w_30/http://upload.wikimedia.org/wikipedia/commons/4/45/Spain_national_football_team_Euro_2012_final.jpg
Positioning multiple badges of width 30px over all detected faces:
http://res.cloudinary.com/demo/image/fetch/l_badge,g_faces,w_30/http://upload.wikimedia.org/wikipedia/commons/4/45/Spain_national_football_team_Euro_2012_final.jpg
Positioning multiple badges of 10% width of the containing image using fl_relative:
http://res.cloudinary.com/demo/image/fetch/l_badge,g_faces,w_0.1,fl_relative/http://upload.wikimedia.org/wikipedia/commons/4/45/Spain_national_football_team_Euro_2012_final.jpg
Positioning multiple badges of 100% of the width of each detected face using fl_region_relative:
http://res.cloudinary.com/demo/image/fetch/l_badge,g_faces,w_1.0,fl_region_relative/http://upload.wikimedia.org/wikipedia/commons/4/45/Spain_national_football_team_Euro_2012_final.jpg
Positioning multiple badges of 100% of the width & height of each detected face using fl_region_relative for streching overlays to cover the whole face:
http://res.cloudinary.com/demo/image/fetch/l_badge,g_faces,w_1.0,h_1.0,fl_region_relative/http://upload.wikimedia.org/wikipedia/commons/4/45/Spain_national_football_team_Euro_2012_final.jpg
This cool feature can be used for even funnier practices :-) :
http://res.cloudinary.com/demo/image/fetch/l_cat.png,g_faces,w_100,e_vignette/http://upload.wikimedia.org/wikipedia/commons/4/45/Spain_national_football_team_Euro_2012_final.jpg
Have more questions? Submit a request

Comments

Powered by Zendesk