Face Detection

Version: 1.0.1
computer-vision/face-detection
superface

Detect faces and their emotions on picture

Face Detection

Detects faces on publicly-accessible image URL

Image URL
faces

1. Install

npx @superfaceai/cli install computer-vision/face-detection

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('computer-vision/face-detection');

  // Use the profile
  const result = await profile
    .getUseCase('FaceDetection')
    .perform({
      imageUrl: 'https://upload.wikimedia.org/wikipedia/commons/c/c3/RH_Louise_Lillian_Gish.jpg'
    });

  return result.unwrap();
}

run();

3. Add providers