📄 motion
字号:
This is the first motion detection release.Uncomment the -DMOTION in the Makefile, and when in loop capture, videodog will only save changing frames.The algorithm is explained into motion.c, and the approach is very simple.The entry point is inside video.c file, grab_loop function. Its very beta software, but have been working ok for me. There are two functions:detect_motion - which only detects and returns an average changed pixel number, but keeps image as it were before analysissubtract_motion - which does the same, but returns a modified image, containing only the diff'ed pixels.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -