# AI Face Landmarks

Detect facial landmarks (68 points) and return coordinates for each face

> Canonical page: https://elysiatools.com/en/tools/ai-face-landmarks

- **Category:** AI Tools

- **Keywords:** face, landmarks, vision, keypoints

## Overview

The AI Face Landmarks tool detects 68 facial keypoints in uploaded images and returns their precise coordinates in JSON format. It enables detailed facial feature analysis for various computer vision applications.

## Inputs

- **Image File** (file): Upload an image
- **Minimum Confidence (0-1)** (number): 0.5
- **Max Faces** (number): Leave empty for all

## When to use

- When you need to extract detailed facial geometry from images for analysis or processing tasks.
- For developing or testing facial recognition systems that rely on accurate landmark detection.
- In projects involving augmented reality, emotion analysis, or avatar creation where facial keypoints are essential.

## How it works

- Upload an image file in a supported format such as JPEG or PNG.
- Optionally adjust the minimum confidence threshold and set the maximum number of faces to detect.
- The AI model processes the image to identify and locate 68 facial landmarks per face.
- Receive a structured JSON response containing the x and y coordinates for each detected keypoint.

## Use cases

- Building facial recognition systems for security or user authentication applications.
- Creating interactive augmented reality filters that respond to facial movements in real-time.
- Conducting research on facial expressions by analyzing landmark positions in images or video frames.

## Frequently asked questions

### What image formats are supported?

The tool accepts common image formats under the image/* type, including JPEG, PNG, and GIF.

### How does the minConfidence setting affect results?

A higher minConfidence value (e.g., 0.7) reduces false positives but may miss some faces, while lower values detect more faces with potentially less accuracy.

### Can it detect multiple faces in a single image?

Yes, use the maxFaces option to limit detection to a specific number, or leave it empty to detect all faces up to the tool's capacity.

### What is the maximum file size allowed?

Image files must be under 30 MB, as specified by the file limit of 31457280 bytes.

### What does the output JSON structure look like?

The output is a JSON object with arrays of coordinates for each face, detailing 68 keypoints with x and y values for precise location data.

## Related tools

- [AI Face Age & Gender](https://elysiatools.com/en/tools/ai-face-age-gender): Estimate age and gender for each detected face
- [AI Face Compare (1:1)](https://elysiatools.com/en/tools/ai-face-compare): Compare two images, output embedding distance and match boolean by threshold, only compare the first face in each image
- [AI Face Detection](https://elysiatools.com/en/tools/ai-face-detection): Detect faces in an image and return bounding box coordinates
- [AI Face Expressions](https://elysiatools.com/en/tools/ai-face-expressions): Classify facial expressions per face (neutral/happy/sad/angry/fearful/disgusted/surprised)
- [AI Face Descriptors](https://elysiatools.com/en/tools/ai-face-descriptors): Generate 128D face embeddings for each detected face
- [AI Face Align & Crop](https://elysiatools.com/en/tools/ai-face-align-crop): Detect, align, and crop faces into individual images (zip when multiple)
- [NSFW Image Content Detector](https://elysiatools.com/en/tools/nsfw-image-detector): AI content-moderation classifier using NSFWJS to flag uploaded images as safe or potentially inappropriate. Built for moderation and compliance review of your own files — it analyzes uploads only and is not an image search or discovery tool. Supports JPEG/PNG/WEBP/GIF.
- [AI Face Recognition (Gallery)](https://elysiatools.com/en/tools/ai-face-recognition): Build a gallery from labeled faces and recognize faces in a target image

## Samples

- [Hugging Face JavaScript Samples](https://elysiatools.com/en/samples/huggingface-js): Hugging Face JavaScript/TypeScript examples using Transformers.js for NLP, computer vision, and multimodal tasks in browser and Node.js
- [Hugging Face Deploy Samples](https://elysiatools.com/en/samples/huggingface-deploy): Hugging Face model deployment examples including Transformers, Diffusers, and Gradio applications with Docker and cloud deployment
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

## Related content

- [AI Face Analysis: Detection, Comparison, and Recognition Workflows](https://elysiatools.com/en/hubs/ai-face-detection-recognition-workflows): Separate face detection and alignment from descriptor comparison, gallery recognition, and expression or age-gender estimation, with practical privacy and error boundaries.
