From ddffc245ac34db158d07573e45c9225ca294708f Mon Sep 17 00:00:00 2001 From: Jen Person Date: Mon, 5 Dec 2022 15:33:22 -0600 Subject: [PATCH] adding other js READMEs --- examples/hand_landmarker/js/README.md | 16 ++++++++++++++++ examples/image_classification/js/README.md | 18 ++++++++++++++++++ examples/object_detection/js/README.md | 18 ++++++++++++++++++ examples/text_classification/js/README.md | 18 ++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 examples/hand_landmarker/js/README.md create mode 100644 examples/image_classification/js/README.md create mode 100644 examples/object_detection/js/README.md create mode 100644 examples/text_classification/js/README.md diff --git a/examples/hand_landmarker/js/README.md b/examples/hand_landmarker/js/README.md new file mode 100644 index 0000000000..64c6fc9f25 --- /dev/null +++ b/examples/hand_landmarker/js/README.md @@ -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) diff --git a/examples/image_classification/js/README.md b/examples/image_classification/js/README.md new file mode 100644 index 0000000000..0a6bb275da --- /dev/null +++ b/examples/image_classification/js/README.md @@ -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) diff --git a/examples/object_detection/js/README.md b/examples/object_detection/js/README.md new file mode 100644 index 0000000000..9b4e6b7433 --- /dev/null +++ b/examples/object_detection/js/README.md @@ -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) diff --git a/examples/text_classification/js/README.md b/examples/text_classification/js/README.md new file mode 100644 index 0000000000..bfa0a9c353 --- /dev/null +++ b/examples/text_classification/js/README.md @@ -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)