Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

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).

Action icon

Parameters

...

Input parameters

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

Output parameters

Result - Result of image verification

General information

The result of the action is "false" if:

  • a full- size man,
  • several people in the photo,
  • a man in a mask,
  • a man with dark glasses,
  • the person's head is tilted,
  • part of the face is hidden,
  • dark photo,
  • man's head is turned, 
  • part of the face is cropped off,
  • no person,
  • person turned away,
  • the photo is of poor quality, fuzzy, pixelated.

and their settings

The result of the action is "true" if the mandatory conditions are met:

  • a man's face in full-face,
  • the face is clearly visible,
  • one person in the frame,
  • not a full-size man.

If the prerequisites are met, "true" will also be if:

  • selfie,
  • the man is made up,
  • there is a child in the photo.

For multi-page files, the action will only check the first page of the document.

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
File pathThe 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
ResultIf the value is «true», then a face is found in the image. If «false», the face is not found.Robin.Booleantrue

...

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. 

The result of the action is "false" if:

  • a full- size man,
  • several people in the photo,
  • a man in a mask,
  • a man with dark glasses,
  • the person's head is tilted,
  • part of the face is hidden,
  • dark photo,
  • man's head is turned, 
  • part of the face is cropped off,
  • no person,
  • person turned away,
  • the photo is of poor quality, fuzzy, pixelated.

The result of the action is "true" if the mandatory conditions are met:

  • a man's face in full-face,
  • the face is clearly visible,
  • one person in the frame,
  • not a full-size man.

If the prerequisites are met, "true" will also be if:

  • selfie,
  • the man is made up,
  • there is a child in the photo.

For multi-page files, the action will only check the first page of the document.

Example of use 

Task 1

Check to see if the photo has the person's face on it and the photo is taken in business style.

...