Web Neural Network (WebNN) API Examples

Image Classification

Predicting a single label (or a distribution over labels as shown here to indicate our confidence) for a given image.

Person/Object Detection

Detecting instances of semantic objects of a certain class (such as humans, buildings, or cars) in digital images and videos.

Semantic Segmentation

Partitioning image into semantically meaningful parts to classify each part into one of the pre-determined classes.

Skeleton Detection

A.k.a Human Pose Estimation, detecting human figures in images and video to determine, for example, where someone’s elbow shows up in an image.

Face Recognition

WIP Detecting faces of participants by using object detection and checks whether each face was present or not.

Facial Landmark Detection

Detecting facial landmarks like eyes, nose, mouth, etc., which can be used for web-based try-on simulator of online store.

Style Transfer

Transfering makeup style of the sample makeup image to facial image to check how the selected makeup looks like.

Super Resolution

Generating higher-resolution image or video frames to prevent degradation of the perceived image or video quality.

Image Captioning

Providing automatic image captioning which predicts explanatory words of the presentation slides for better accessibility.

Machine Translation

Translating every text into different language.

Emotion Analysis

Analysing and inferring emotion from input text, and displaying an emoji that represents the estimated emotion.

Video Summarization

Generating short version of the recorded video to reduce recorded video data to be stored.

Speech Commands

Recognizing a set of voice commands using the audio file or device's microphone input.