EdgeAI::Monitor
Inherits EdgeAI::Base < ActionController::Base < ActionController::Responders < ActionController::Route::Builder < Reference < Object
Constants
DETECT_MUTEX = Mutex.new
DETECT_SOCKETS = Hash(String, Array(HTTP::WebSocket)).new do |hash, key|
hash[key] = [] of HTTP::WebSocket
end
PARSER_LIST = ["application/json"]
RESPONDER_LIST = ["application/json", "application/yaml"]
STREAM_MUTEX = Mutex.new
STREAM_SOCKETS = Hash(String, Array(HTTP::WebSocket)).new do |hash, key|
hash[key] = [] of HTTP::WebSocket
end
Class methods
base_route
Helper for obtaining base route
stream(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
Helper methods for performing redirect_to calls
stream_to_sockets(monitor : ConfidenceMonitor)
SourceInstance methods
base_route(*args, **options)
Helper for obtaining base route
base_route(*args, **options, &)
Helper for obtaining base route
config
Sourceconfig?
Sourcedetect_default(socket)
pushes detections found in the first video stream in realtime to connected sockets
find_configuration_config(id : String)
Sourceid
Sourceid?
Source