Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
edge-ai
main
Top Level Namespace
ConfidenceMonitor
Configuration
EdgeAI
Base
Clips
Config
Metadata
ConfigChange
Pipeline
Configuration
Pipeline
DetectionReaders
DetectionWriter
Devices
Format
GPIOLines
Resolution
VideoDevice
Monitor
Motion
Processor
BackgroundTask
Coordinator
MotionState
Pipeline
ReplayRecorder
Config
Pipeline
Status
StreamReplay
BackgroundTask
PipelineStatus
Generated using Crystal 1.14.0
2024-11-26 09:37:49 UTC
class
EdgeAI::
Motion
EdgeAI::Motion
Reference
Object
Defined in:
models/motion.cr
Constructors
.new
(chip : String, line : Int32)
Instance Method Summary
#detected
: Bool
#on_idle
(&on_idle : -> )
#on_motion
(&on_motion : -> )
#shutdown
Constructor Detail
def self.
new
(chip : String, line : Int32)
#
[
View source
]
Instance Method Detail
def
detected
: Bool
#
[
View source
]
def
on_idle
(&on_idle : -> )
#
[
View source
]
def
on_motion
(&on_motion : -> )
#
[
View source
]
def
shutdown
#
[
View source
]