class EdgeAI::Devices
- EdgeAI::Devices
- EdgeAI::Base
- ActionController::Base
- Reference
- Object
Overview
details of any devices that are connected to the system
Defined in:
controllers/devices.crConstant Summary
-
PARSER_LIST =
["application/json"]
-
details of any devices that are connected to the system
-
RESPONDER_LIST =
["application/json", "application/yaml"]
-
details of any devices that are connected to the system
Class Method Summary
-
.base_route
Helper for obtaining base route
-
.video_devices(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
Helper methods for performing redirect_to calls
Instance Method Summary
-
#base_route(*args, **options)
Helper for obtaining base route
-
#base_route(*args, **options, &)
Helper for obtaining base route
-
#gpio_lines : Array(GPIOLines)
list the available general purpose input outputs
-
#tpu_devices : Array(NamedTuple(type: String, path: String))
list the available TPUs
-
#video_devices : Array(VideoDevice)
list the local video devices and their capabilities
Instance methods inherited from class EdgeAI::Base
bad_media_type(error) : AC::Error::ContentResponse
bad_media_type,
invalid_param(error) : AC::Error::ParameterResponse
invalid_param,
not_found(error) : NamedTuple(error: String | Nil)
not_found,
set_request_id
set_request_id
Class Method Detail
def self.video_devices(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
#
Helper methods for performing redirect_to calls