# TensorFlow.js models

# TensorFlow.js models

Explore pre-trained models to add computer vision, natural language processing (NLP), and other common ML tasks to your web and browser-based applications.

## Vision

Analyze features in images and videos. Unlock new real-time experiences in the browser.
![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_image.png) [Image classification](https://github.com/tensorflow/tfjs-models/tree/master/mobilenet) Classify images with labels from the ImageNet database (MobileNet).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/mobilenet) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_shapes.png) [Object detection](https://github.com/tensorflow/tfjs-models/tree/master/coco-ssd) Localize and identify multiple objects in a single image (Coco SSD).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/coco-ssd) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_people.png) [Semantic segmentation](https://github.com/tensorflow/tfjs-models/tree/master/deeplab) Run semantic segmentation in the browser (DeepLab).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/deeplab)

## Body

Detect key points and poses on the face, hands, and body with models from [MediaPipe](https://google.github.io/mediapipe/solutions/models) and beyond, optimized for JavaScript and Node.js.
![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_blazeface.png) [Simple face detection](https://github.com/tensorflow/tfjs-models/tree/master/face-detection) Detect faces in images using a Single Shot Detector architecture with a custom encoder (Blazeface).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/face-detection) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_facemesh.png) [Face landmark detection](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection) Predict 486 3D facial landmarks to infer the approximate surface geometry of human faces.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_pose.png) [Pose detection](https://github.com/tensorflow/tfjs-models/tree/master/pose-detection) Unified pose detection API for using one of three models that help detect atypical poses and fast body motions with real time performance.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/pose-detection) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_people.png) [Body segmentation](https://github.com/tensorflow/tfjs-models/tree/master/body-segmentation) Segment person(s) and body parts in real-time.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/body-segmentation) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_handpose.png) [Hand pose detection](https://github.com/tensorflow/tfjs-models/tree/master/hand-pose-detection) Palm detector and hand-skeleton finger tracking model. Predict 21 3D hand keypoints per detected hand.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/hand-pose-detection) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_depth_estimation.png) [Portrait depth estimation](https://github.com/tensorflow/tfjs-models/tree/master/depth-estimation) Estimate a depth map for a single portrait image of a human.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/depth-estimation)

## Text

Enable NLP in your web app using the power of BERT and other Transformer encoder architectures.
![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_question.png) [Natural language question answering](https://github.com/tensorflow/tfjs-models/tree/master/qna) Answer questions based on the content of a given passage of text using BERT.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/qna) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_faces.png) [Text toxicity detection](https://github.com/tensorflow/tfjs-models/tree/master/toxicity) Score the perceived impact a comment may have on a conversation, from "Very toxic" to "Very healthy" (Toxicity).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/toxicity) ![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_text.png) [Universal sentence encoder](https://github.com/tensorflow/tfjs-models/tree/master/universal-sentence-encoder) Encode text into embeddings for NLP tasks such as sentiment classification and textual similarity (Universal Sentence Encoder).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/universal-sentence-encoder)

## Audio

Classify audio to detect sounds and trigger an action in your web app.
![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_audio.png) [Speech command recognition](https://github.com/tensorflow/tfjs-models/tree/master/speech-commands) Classify 1-second audio snippets from the speech commands dataset (speech-commands).
[View code](https://github.com/tensorflow/tfjs-models/tree/master/speech-commands)

## General

Find more TensorFlow.js models that can be used out of the box.
![](https://www.tensorflow.org/static/site-assets/images/marketing/icon/tile_model_other.png) [KNN Classifier](https://github.com/tensorflow/tfjs-models/tree/master/knn-classifier) Utility to create a classifier using the K-Nearest-Neighbors algorithm. Can be used for transfer learning.
[View code](https://github.com/tensorflow/tfjs-models/tree/master/knn-classifier) [Explore on GitHub](https://tfhub.dev/s?deployment-format=tfjs)

## Get started with TensorFlow.js

[Explore tutorials](https://www.tensorflow.org/js/tutorials)