Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class PersonBlurConfig.
Message describing FaceBlurConfig.
Generated from protobuf message google.cloud.visionai.v1.PersonBlurConfig
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ person_blur_type |
int
Person blur type. |
↳ faces_only |
bool
Whether only blur faces other than the whole object in the processor. |
getPersonBlurType
Person blur type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PersonBlurType. |
setPersonBlurType
Person blur type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PersonBlurType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFacesOnly
Whether only blur faces other than the whole object in the processor.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setFacesOnly
Whether only blur faces other than the whole object in the processor.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|