TensorflowLite::Image::ObjectDetection::Output
Inherits TensorflowLite::Image::Detection::BoundingBox < TensorflowLite::Image::Detection::Lines < TensorflowLite::Image::Detection::Classification < TensorflowLite::Image::Detection < JSON::Serializable < Reference < Object
Constructors
new(top : Float32, left : Float32, bottom : Float32, right : Float32, score : Float32, index : Int32, label : String | Nil = nil)
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
boundary
Sourcelines
Sourcemake_adjustment(original_width : Int, original_height : Int, canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) : Nil
:nodoc:
markup(image : Canvas, font : PCFParser::Font | Nil = nil) : Canvas
Source