EdgeAI::Clips
Inherits EdgeAI::Base < ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object
Constants
PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json", "application/yaml"]
Class methods
base_route
Helper for obtaining base route
index(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 methods
base_route(*args, **options)
Helper for obtaining base route
base_route(*args, **options, &)
Helper for obtaining base route
config
Sourceconfig?
Sourcecreate(payload : JSON::Any, seconds_before : UInt32 = 3_u32, seconds_after : UInt32 = 3_u32) : Metadata
save a new clip to the device with the associated JSON payload
find_configuration_config(id : String | Nil = nil) : Nil
Sourceid
Sourceid?
Sourcereplay(seconds_before : UInt32 = 3_u32, seconds_after : UInt32 = 3_u32) : Nil
obtains a clip of the event
replay(path : Path, before : Time::Span, after : Time::Span, & : File -> )
Sourcesave_thumbnail(video_in : String, image_out : String, midpoint : Int) : Nil
Sourcethumbnail(timestamp : Int64)
Source