struct EdgeAI::Devices::Resolution
- EdgeAI::Devices::Resolution
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Extended Modules
- JSON::Schema
Defined in:
controllers/devices.crConstructors
- .new(width : UInt32, height : UInt32, fps : Float64, type : V4L2::FrameSizeType)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(width _width = @width, height _height = @height, fps _fps = @fps, type _type = @type)
- #fps : Float64
- #height : UInt32
- #type : V4L2::FrameSizeType
- #width : UInt32
Constructor Detail
def self.new(width : UInt32, height : UInt32, fps : Float64, type : V4L2::FrameSizeType)
#
Instance Method Detail
def copy_with(width _width = @width, height _height = @height, fps _fps = @fps, type _type = @type)
#