struct

EdgeAI::Devices::Resolution

Inherits YAML::Serializable < JSON::Serializable < Struct < Value < Object

Constructors

new(width : UInt32, height : UInt32, fps : Float64, type : V4L2::FrameSizeType)
Source
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

clone
Source
copy_with(width _width = @width, height _height = @height, fps _fps = @fps, type _type = @type)
Source
fps
height
type
width