Inspecting Images for Sensitive Data

You can use the code samples below to inspect images for sensitive data. You can also feed information to the API using JSON over HTTP.

The DLP API currently supports the following image types: image/jpeg, image/png, image/gif, and image/bmp.

Given an image file as input, the DLP API detects sensitive data in the image. It outputs a JSON file that contains the found InfoTypes, the likelihood of the match, and pixel coordinates for the location of sensitive data found in the image. The top left corner of an image is (0,0).

Send feedback about...

Data Loss Prevention API