module

TensorflowLite::Image::Detection::Point

Inherits JSON::Serializable

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

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

Source
adjust(image : Canvas, offset_left : Int, offset_top : Int)

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

Source
make_adjustment(original_width : Int, original_height : Int, canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) : Nil
Source