class TensorflowLite::Image::PoseEstimation::Output
- TensorflowLite::Image::PoseEstimation::Output
- Reference
- Object
Included Modules
- TensorflowLite::Image::Detection
- TensorflowLite::Image::Detection::Lines
- TensorflowLite::Image::Detection::Points
Defined in:
tflite_image/pose_estimation/output.crConstant Summary
-
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
Instance Method Summary
- #label : String | Nil
- #lines : Indexable(Detection::Line)
-
#markup(image : Canvas, minimum_score : Float32 = 0.3_f32, font : PCFParser::Font | Nil = nil, color = StumpyPNG::RGBA::WHITE) : Canvas
add the detection details to an image
- #points : Hash(String, Detection::Point)
-
#type : Symbol
i.e.
Instance methods inherited from module TensorflowLite::Image::Detection::Points
adjust(canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int)
adjust,
make_adjustment(original_width : Int, original_height : Int, canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int) : Nil
make_adjustment,
points : Hash(String, Detection::Point)
points
Instance methods inherited from module TensorflowLite::Image::Detection::Lines
lines : Indexable(Detection::Line)
lines
Instance methods inherited from module TensorflowLite::Image::Detection
associated : Array(Detection)
associated,
associated=(associated : Array(Detection))
associated=,
label : String | Nil
label,
markup(image : Canvas, minimum_score : Float32 = 0.3_f32, font : PCFParser::Font | Nil = nil, color = StumpyPNG::RGBA::WHITE) : Canvas
markup,
type : Symbol
type
Constructor methods inherited from module TensorflowLite::Image::Detection
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
Instance Method Detail
def markup(image : Canvas, minimum_score : Float32 = 0.3_f32, font : PCFParser::Font | Nil = nil, color = StumpyPNG::RGBA::WHITE) : 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
def type : Symbol
#
Description copied from module TensorflowLite::Image::Detection
i.e. object, pose, face, age, class