Depth camera-based invasion detection method
The invention provides a depth camera-based invasion detection method. The method performs detection by the following steps of firstly setting a monitoring range in a camera range by a user; initializing a background pixel number in the preset monitoring range, and recording the background pixel num...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
27.06.2017
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a depth camera-based invasion detection method. The method performs detection by the following steps of firstly setting a monitoring range in a camera range by a user; initializing a background pixel number in the preset monitoring range, and recording the background pixel number as num0; recording an invasion state as state, and initializing state to be 0, wherein when state is equal to 0, it is represented that no persons exist, and when state is equal to 1, it is represented that persons exist; for each frame of distance image data, performing statistics on a pixel number in a preset space range, and recording the pixel number as numi; if numi is less than a sum of num0 and thr1, executing the following operation: Num0=(A*num0+B*numi)/(A+B), wherein thr1 is a first threshold of judgment and reflects a noise fluctuation condition of the background pixel number, and A and B are used for adjusting the updating speed of the background pixel number; and if numi is greater than a sum of nu |
---|---|
Bibliography: | Application Number: CN2017198065 |