class TensorflowLite::Image::FaceDetection::Output
- TensorflowLite::Image::FaceDetection::Output
- Reference
- Object
Included Modules
- TensorflowLite::Image::Detection
- TensorflowLite::Image::Detection::BoundingBox
- TensorflowLite::Image::Detection::Points
Defined in:
tflite_image/face_detection/output.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
- #area : Float32
- #boundary : Detection::Line
- #lines : Indexable(Detection::Line)
-
#make_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
- #points : Hash(String, Detection::Point)
-
#type : Symbol
i.e.
Instance methods inherited from module TensorflowLite::Image::Detection::BoundingBox
bottom : Float32
bottom,
boundary : Detection::Line
boundary,
left : Float32
left,
right : Float32
right,
top : Float32
top
Instance methods inherited from module TensorflowLite::Image::Detection::Lines
lines : Indexable(Detection::Line)
lines
Instance methods inherited from module TensorflowLite::Image::Detection::Classification
index : Int32
index,
label : String | Symbol | Nil
label,
score : Float32
score
Instance methods inherited from module TensorflowLite::Image::Detection::Points
adjust(canvas_width : Int, canvas_height : Int, offset_left : Int, offset_top : Int)adjust(image : Canvas, offset_left : Int, offset_top : Int) adjust, points : Hash(String, Detection::Point) points
Instance methods inherited from module TensorflowLite::Image::Detection
associated : Array(Detection)
associated,
type : Symbol
type
Constructor methods inherited from module TensorflowLite::Image::Detection
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(top : Float32, left : Float32, bottom : Float32, right : Float32, score : Float32, index : Int32, points : Array(FaceDetection::Point))
#
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
#
Description copied from module TensorflowLite::Image::Detection
:nodoc:
def type : Symbol
#
Description copied from module TensorflowLite::Image::Detection
i.e. object, pose, face, age, class