You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

Face Detection

computer-vision/face-detection@1.0.2
1 provider

Face Detection

Detects faces on publicly-accessible image URL

Input
Image URL
Result
faces

1.Choose a provider

2.Use FaceDetection with mock in your code

Below instructions are for our Node.js SDK. Use OneService for other languages.
npm i @superfaceai/one-sdk

Structure details

Input (object)

imageUrl
Publicly-accessible image URL

Example

Result (list of objects)

faces
faceRectangle
topLeft
x
y
topRight
x
y
bottomLeft
x
y
bottomRight
x
y
landmarks
kind
x
y
emotions
happiness
anger
sadness
surprise

Example

Implementation details

Provider
mock
Use case
FaceDetection
Author
@superface
Source
Verified