TensorflowLite::Image::PoseEstimation
Inherits TensorflowLite::Image::Common < Reference < Object
Instance methods
adjust(detections : Array(Output), target_width : Int32, target_height : Int32, offset_left : Int32, offset_top : Int32) : Array(Output)
adjust the detections so they can be applied directly to the source image (or a scaled version in the same aspect ratio)
you can run detection_adjustments just once and then apply them to detections for each invokation using this function
adjust(detections : Array(Output), image : Canvas, offset_left : Int32, offset_top : Int32) : Array(Output)
adjust the detections so they can be applied directly to the source image (or a scaled version in the same aspect ratio)
you can run detection_adjustments just once and then apply them to detections for each invokation using this function
process(image : Canvas) : Tuple(Canvas, PoseEstimation::Output)
attempts to classify the object, assumes the canvas has already been prepared