Skip to content

umwwwelt/hugging-face-widget

Repository files navigation

Hugging Face Widget w/ Google Cloud Vision API

Project

The purpose was to transform data fetched from a face detection AI Google Cloud Vision. I used positions and sentiments of faces detected by the AI to create a layer containing emojis overlaying the faces.

To go further

For each sentiment (in a list of 4: joy, anger, sorrow, surprise) Google Cloud Vision provides a degree of likelihood. I converted these degrees into emojis. My goal in further work is to add granularity in the emojis selection, by studying different ways of combining sentiments. Even though Rekognition could discriminate between 9 different sentiments, I found that one of its drawback was that its outputs tend to be more polarized (e.g. 99.3% Happy, when there is only one little smile).

About

Hugging Face Widget - Faces detection to Emojis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published