class Gcp::Vision::Annotation::ImageProperty
Attributes
color[R]
pixel_fraction[R]
score[R]
Public Class Methods
new(annotation)
click to toggle source
# File lib/gcp/vision/annotation.rb, line 33 def initialize(annotation) @color = annotation["color"] @score = annotation["score"] @pixel_fraction = annotation["pixelFraction"] end