class TensorflowLite::Image::Segmentation::Output

Included Modules

Defined in:

tflite_image/segmentation.cr

Constructors

Instance Method Summary

Instance methods inherited from module TensorflowLite::Image::Detection

associated : Array(Detection) associated, associated=(associated : Array(Detection)) associated=, label : String | Nil label, markup(image : Canvas, minimum_score : Float32 = 0.3_f32, font : PCFParser::Font | Nil = nil, color = StumpyPNG::RGBA::WHITE) : Canvas markup, type : Symbol type

Constructor methods inherited from module TensorflowLite::Image::Detection

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(pixels : Array(Int32), labels : Array(String)) #

[View source]

Instance Method Detail

def label : String | Nil #

[View source]
def labels : Array(String) #

[View source]
def labels_detected #

[View source]
def pixels : Array(Int32) #

[View source]
def type : Symbol #
Description copied from module TensorflowLite::Image::Detection

i.e. object, pose, face, age, class


[View source]