Skip to content

Commit

Permalink
Merge pull request google-ai-edge#62 from jenperson/main
Browse files Browse the repository at this point in the history
adding more demos through READMEs
  • Loading branch information
jenperson authored Feb 16, 2023
2 parents 29a0d87 + 3b0e934 commit 2b9de61
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions examples/image_embedder/js/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# MediaPipe Image Embedder task for web

## Overview

This web sample runs image embedding on two images, and then determines how alike they are using cosine similarity. Scores range from -1 to 1. More similar texts have a higher score, less similar a lower score

## Prerequisites

* A device that can access the web using Chrome, Firefox, or Safari
* For iOS devices, iOS 16 or later

## Running the demo

The live demo and code are available in Codepen.

[View the example on Codepen](https://codepen.io/mediapipe-preview/pen/yLqxbaZ)
2 changes: 1 addition & 1 deletion examples/text_embedder/js/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MediaPipe Text Classification task for web
# MediaPipe Text Embedder task for web

## Overview

Expand Down

0 comments on commit 2b9de61

Please sign in to comment.