Action group: Robin OCR
The action allows you to find out if the image has a person's face in a strict format (full-face, face only, clear photo).
File path - Specifies the path to the image file, where it is necessary to check the presence of a person in the photo and compliance with the parameters of the business portrait
Result - Result of image verification
The result of the action is "false" if:
The result of the action is "true" if the mandatory conditions are met:
If the prerequisites are met, "true" will also be if:
For multi-page files, the action will only check the first page of the document.
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
File path | The path to the image file where you want to check for the presence of a person’s face. Supported formats: jpg, jpeg, bmp, dib, rle, jpe, jfif, tif, tiff, png. | Robin.FilePath | Yes | |
Results | ||||
Result | If the value is «true», then a face is found in the image. If «false», the face is not found. | Robin.Boolean | true |
The company has a procedure with job applications where the job seeker fills in a questionnaire. All submitted questionnaires need to be filtered by the primary parameters of correctness of filling in the fields. With this action, you can check whether the person has attached a suitable image. Requirements for business style photo:
For example, if there is a photo of a cat and a group of people in the questionnaire, then such a questionnaire will not pass the check.
Check to see if the photo has the person's face on it and the photo is taken in business style.
Use the "Find the face in the image" action.
Implementation
The program robot completed successfully.
The result is True. The photo passed the test.
Task 2
Check to see if the photo has the person's face on it and the photo is taken in business style.
Solution
Use the "Find the face in the image" action.
Implementation
Result
The program robot completed successfully.
The result is False. The photo failed because it shows 2 people in full-size.