Class for adaptive application of the same algorithm with different settings to face and non-face regions.
| Name | Type | Minimum value | Maximum value | Default value | Description |
|---|---|---|---|---|---|
| method_name | text | - | Method name | ||
| global_params | text | - | String of parameters for processing of backgound, divided by comma. | ||
| face_params | text | - | String of parameters for processing of the face, divided by comma. | ||
| eyes_params | text | - | String of parameters for processing of the eyes, divided by comma. For example, the string of parameters can look as follows: <params> method_name=color_dominance; global_params=hue=2; face_params=hue=6; eyes_params=hue=4; </params> |
Cartoon' method with non-customizable parameters. This method processes face and non-face regions differently. Face areas have less quantization levels than non-face regions. Besides, non-face regions have smoother color areas thanks to using the bilateral filter.
The filter blends the original image with the same image edited with a filter specified in 'plugin' parameter with the specified opacity.
| Name | Type | Minimum value | Maximum value | Default value | Description |
|---|---|---|---|---|---|
| plugin | plugin | - | Plugin for image editing. For example: <params>plugin=(simple_paint3:layers_number=4);</params> or <params>plugin=(sepia|color_dominance:hue=0.14);opacity=150</params> |
||
| opacity | int | 1 | 255 | 127 | Opacity value |