Skip to content

Commit

Permalink
adding other js READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
jenperson committed Dec 5, 2022
1 parent 8153795 commit ddffc24
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/hand_landmarker/js/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# MediaPipe HandLandmarker task for web

## Overview

This web sample detects hand landmarks in images and video frames. Landmarks are detected in one of the provided images or from camera frames seen by your device's webcam.

## 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/gOKBGPN)
18 changes: 18 additions & 0 deletions examples/image_classification/js/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# MediaPipe Image Classifier task for web

## Overview

This web sample classifies images and video frames. Use one of the provided images or from camera frames seen by your device's webcam to get classifications.

Classifications come from the [ImageNet dataset](https://www.image-net.org/).[See the full list of available classifications](https://storage.googleapis.com/mediapipe-tasks/image_classifier/labels.txt)

## 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/BaVZejK)
18 changes: 18 additions & 0 deletions examples/object_detection/js/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# MediaPipe Object Detection task for web

## Overview

This web sample detects objects in images and video frames. Objects are detected in one of the provided images or from camera frames seen by your device's webcam.

Object classes come from the [COCO dataset](https://cocodataset.org/).

## 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/vYrWvNg)
18 changes: 18 additions & 0 deletions examples/text_classification/js/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# MediaPipe Text Classification task for web

## Overview

This web sample classifies text as positive or negative in sentiment. Provide text of your own, or populate the text input with some default text.

The model used was trained on the [SST-2 (Stanford Sentiment Treebank) dataset](https://nlp.stanford.edu/sentiment/index.html).

## 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/wvXebMW)

0 comments on commit ddffc24

Please sign in to comment.