Applying the service to image moderation
There are three primary functions for the image moderation feature of the Content Moderator service:
- Adult or racy content: For detecting whether the content is sexual or suggestive in terms of mature material.
- OCR on text: For detecting and identifying whether text within an image being scanned contains any of the content listed earlier in the text filtering section.
- Facial recognition: For detecting how many faces appear in an image and where they are located within the image. This can be used for counting how many people are gathered – for instance, where capacity limitations are present or in other situations of that type.
Because this feature of the service is built similarly for the Text API, we will only provide brief examples and descriptions of how the service works.
For our API request, we will send our URL in the following, familiar format:
https://{endpoint}/contentmoderator/moderate/v1.0/ProcessImage...