TensorflowLite::Image::Detection::Point
Inherits JSON::Serializable
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance 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
adjust(image : Canvas, offset_left : Int, offset_top : Int)
adjust the detections so they can be applied directly to the source image
make_adjustment(original_width : Int, original_height : Int, canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) : Nil
Source