Skip to main content
All CollectionsTroubleshooting and How-ToHow-To Articles
Rule Example: How to detect sensitive content onscreen, inside an image or video
Rule Example: How to detect sensitive content onscreen, inside an image or video
A
Written by Arick Disilva
Updated over a week ago

Detecting Onscreen Content With a OCR Rule

You can use OCR (Optical Character Recognition) rules to detect text on screen, in any applications or websites even in images or videos. The sample rule below uses Regular Expression to detect UK driver’s license numbers on screen:

how-to-ocr-rule.gif

1. Create an Activity rule.

2. Select OCR under the types of activities.

3. Select the users the rule will apply to.

4. Specify the text you want to detect in the On-screen text field. You can use keywords, regular expressions or a Shared List. In this example, we used a regular expression.

5. You can specify a Notify action to be triggered when the rule is violated.

Did this answer your question?