SafeSearchAnnotation class

Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

SafeSearchAnnotation({SafeSearchDetectionType adult = SafeSearchDetectionType.UNKNOWN, SafeSearchDetectionType medical = SafeSearchDetectionType.UNKNOWN, SafeSearchDetectionType racy = SafeSearchDetectionType.UNKNOWN, SafeSearchDetectionType spoof = SafeSearchDetectionType.UNKNOWN, SafeSearchDetectionType violence = SafeSearchDetectionType.UNKNOWN})
SafeSearchAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

adult SafeSearchDetectionType
Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
medical SafeSearchDetectionType
Likelihood that this is a medical image.
getter/setter pair
racy SafeSearchDetectionType
Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spoof SafeSearchDetectionType
Spoof likelihood. The likelihood that a modification was made to the image's canonical version to make it appear funny or offensive.
getter/setter pair
violence SafeSearchDetectionType
Likelihood that this image contains violent content.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited