SafeSearchAnnotation
class SafeSearchAnnotation extends Message
Safe search annotation (based on per-frame visual signals only).
If no unsafe content has been detected in a frame, no annotations
are present for that frame. If only some types of unsafe content
have been detected in a frame, the likelihood is set to UNKNOWN
for all other types of unsafe content.
Protobuf type Google\Cloud\Videointelligence\V1beta1\SafeSearchAnnotation
Methods
No description
Likelihood of adult content.
Likelihood of adult content.
Likelihood that an obvious modification was made to the original version to make it appear funny or offensive.
Likelihood that an obvious modification was made to the original version to make it appear funny or offensive.
Likelihood of medical content.
Likelihood of medical content.
Likelihood of violent content.
Likelihood of violent content.
Likelihood of racy content.
Likelihood of racy content.
Video time offset in microseconds.
Video time offset in microseconds.
Details
at line 60
__construct()
at line 71
int
getAdult()
Likelihood of adult content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood adult = 1;
at line 82
setAdult(int $var)
Likelihood of adult content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood adult = 1;
at line 95
int
getSpoof()
Likelihood that an obvious modification was made to the original version to make it appear funny or offensive.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood spoof = 2;
at line 107
setSpoof(int $var)
Likelihood that an obvious modification was made to the original version to make it appear funny or offensive.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood spoof = 2;
at line 119
int
getMedical()
Likelihood of medical content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood medical = 3;
at line 130
setMedical(int $var)
Likelihood of medical content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood medical = 3;
at line 142
int
getViolent()
Likelihood of violent content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood violent = 4;
at line 153
setViolent(int $var)
Likelihood of violent content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood violent = 4;
at line 165
int
getRacy()
Likelihood of racy content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood racy = 5;
at line 176
setRacy(int $var)
Likelihood of racy content.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.Likelihood racy = 5;
at line 188
int|string
getTimeOffset()
Video time offset in microseconds.
Generated from protobuf field int64 time_offset = 6;
at line 199
setTimeOffset(int|string $var)
Video time offset in microseconds.
Generated from protobuf field int64 time_offset = 6;