/blurring

Primary LanguagePythonMIT LicenseMIT

The Image Blurring API will help you blur multiple parts of the image of the provided picture.

Providing the image url as well as the location to blur to the API will returns the the picture with an image partly blurred.


EXAMPLE output


INPUT

{
  "url": "https://i.ibb.co/FqDSQF8/input.jpg",
  "locations": [
    {
      "startY": 700,
      "endY": 1500,
      "startX": 2000,
      "endX": 2600
    },
    {
      "startY": 1200,
      "endY": 1900,
      "startX": 3400,
      "endX": 4200
    }
  ]
}

EXECUTION

curl -X POST "https://api-market-place.ai.ovh.net/image-car-classification/detect" -H "accept: image/png" -H "X-OVH-Api-Key: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" -H "Content-Type: application/json" -d '{"url": "https://i.ibb.co/FqDSQF8/input.jpg", "locations": [{"startY": 700, "endY": 1500, "startX": 2000, "endX": 2600}, {"startY": 1200, "endY": 1900, "startX": 3400, "endX": 4200}]}' --output my_super_blurred_image.png

OUTPUT Binary output png image

output


please refer to swagger documentation for further technical details: swagger documentation


Icons made by Smashicons from www.flaticon.com is licensed by CC 3.0 BY