TensorflowLite::Image::PoseEstimation::Output
Inherits TensorflowLite::Image::Detection::Points < TensorflowLite::Image::Detection::Lines < TensorflowLite::Image::Detection < JSON::Serializable < Reference < Object
Constants
LINES = [[BodyJoint::LeftEar, BodyJoint::LeftEye, BodyJoint::Nose, BodyJoint::RightEye, BodyJoint::RightEar], [BodyJoint::LeftWrist, BodyJoint::LeftElbow, BodyJoint::LeftShoulder, BodyJoint::RightShoulder, BodyJoint::RightElbow, BodyJoint::RightWrist], [BodyJoint::LeftShoulder, BodyJoint::LeftHip, BodyJoint::LeftKnee, BodyJoint::LeftAnkle], [BodyJoint::RightShoulder, BodyJoint::RightHip, BodyJoint::RightKnee, BodyJoint::RightAnkle], [BodyJoint::LeftHip, BodyJoint::RightHip]]
Constructors
new(points : Array(PoseEstimation::Point))
SourceInstance methods
lines
Sourcemarkup(image : Canvas, minimum_score : Float32 = 0.3_f32) : Canvas
add the detection details to an image
if marking up the original image, you'll need to take into account how it was scaled and provide offsets
points
Source