Face Pixelate

FREEMIUM
By Charles Anssens | Updated hace un mes | Visual Recognition
Health Check

N/A

README

Usage

  • pixelate all faces from a photo to anonymized all people on the photo
  • pixelate all faces from a photo with an age limit, all faces with an estimated age will be anonymized (ex : under 18 years).

Example

Request

An example to pixelate all faces with an age under 18 years.

curl --location 'https://face-pixelate.p.rapidapi.com/facepixelate/api' \
--header 'Content-Type: application/json' \
--header 'X-RapidAPI-Key': 'xxxxxxxx',
--header 'X-RapidAPI-Host': 'face-pixelate.p.rapidapi.com',
--data '{
    "imageUrl" : "https://xxxxx.xxx/example.jpg",
    "ageCondition": 18
        }'

Answer

{
    "status": "ok",
    "imageUrl": "https://xxxxx.xxx/example.jpg",
    "ageCondition": 18,
    "modeAgeCondition": null,
    "detectedFaces": [
        {
            "left": 0.6709313988685608,
            "top": 0.5316768288612366,
            "width": 0.08450611680746078,
            "height": 0.12799951434135437,
            "ageLow": 6,
            "ageHigh": 12
        },
        {
            "left": 0.48968037962913513,
            "top": 0.620930552482605,
            "width": 0.08373869210481644,
            "height": 0.12796653807163239,
            "ageLow": 6,
            "ageHigh": 12
        },
        {
            "left": 0.5578299164772034,
            "top": 0.3694211542606354,
            "width": 0.010896370746195316,
            "height": 0.016763990744948387,
            "ageLow": 13,
            "ageHigh": 21
        }
    ],
    "imageUrlOutput": "https://xxxxx/45fcd5a520f49752c4a1d08a247e774e.jpg"
}

image

Limits

  • Maximum of 50 faces
  • Max file size 15MB
  • Only JPG files
  • Minimum dimension 80x80 pixels
  • To be detected, a face must be no smaller than 40x40 pixels
  • No warranty on the reliability, some faces could be not detected and not anonymized
Followers: 0
API Creator:
Rapid account: Charles Anssens
Charles Anssens
Canssens
Log In to Rate API
Rating: 5 - Votes: 1