module TensorflowLite::Image::Detection::Point
Included Modules
- JSON::Serializable
Direct including types
- TensorflowLite::Image::Detection::GenericPoint
- TensorflowLite::Image::FaceDetection::Point
- TensorflowLite::Image::PoseEstimation::Point
Defined in:
tflite_image/detection/points.crConstructors
Instance Method Summary
-
#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
- #x : Float32
- #y : Float32
Constructor Detail
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
adjust the detections so they can be applied directly to the source image
def make_adjustment(original_width : Int, original_height : Int, canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) : Nil
#