struct EdgeAI::Devices::Resolution

Included Modules

Extended Modules

Defined in:

controllers/devices.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : UInt32, height : UInt32, fps : Float64, type : V4L2::FrameSizeType) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(width _width = @width, height _height = @height, fps _fps = @fps, type _type = @type) #

[View source]
def fps : Float64 #

def height : UInt32 #

def type : V4L2::FrameSizeType #

def width : UInt32 #