module TensorflowLite::Image::Detection::Point

Included Modules

Direct including types

Defined in:

tflite_image/detection/points.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def adjust(canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) #

adjust the detections so they can be applied directly to the source image


[View source]
def adjust(image : Canvas, offset_left : Int, offset_top : Int) #

adjust the detections so they can be applied directly to the source image


[View source]
def make_adjustment(original_width : Int, original_height : Int, canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) : Nil #

[View source]
def x : Float32 #

[View source]
def y : Float32 #

[View source]