class Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup
Defines a group of previously recognized entities.
Attributes
name[RW]
@return [String] The name of the group where images of the entity were also found. The following are possible groups. CelebRecognitionAnnotations: Similar to CelebrityAnnotations but provides a higher probability of an accurate match. CelebrityAnnotations: Contains celebrities such as actors, politicians, athletes, and historical figures.
recognized_entity_regions[RW]
@return [Array<RecognizedEntityRegion>] The regions of the image that contain entities.
Private Class Methods
mapper()
click to toggle source
Mapper for RecognizedEntityGroup
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity_group.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RecognizedEntityGroup', type: { name: 'Composite', class_name: 'RecognizedEntityGroup', model_properties: { recognized_entity_regions: { client_side_validation: true, required: true, serialized_name: 'recognizedEntityRegions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RecognizedEntityRegionElementType', type: { name: 'Composite', class_name: 'RecognizedEntityRegion' } } } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } } } } } end