This specific process example will be described with reference to FIGS. 10A and 10B.
FIGS. 10A and 10B illustrate a diagram similar to the fourth moving body detection frame 144 described above with reference to FIG. 9B and the small region setting window 151 set at the upper end of the fourth moving body detection frame 144.
As illustrated in FIGS. 10A and 10B, the divisional small region setting window 151 is divided into eight small regions a to g. In step S202, the number of moving body pixels (=white pixel regions) of the divisional small regions has already been counted, and count data is stored in the memory as the number of moving body pixels of each divisional small region of FIG. 10A.
For each divisional small region set in the divisional small region setting window 151, a threshold value is set in advance and stored in the memory.
The threshold value is a threshold value for determining whether or not an image in the window is a person.
An example of the threshold value is illustrated in FIG. 10B.
The moving body image proportion threshold value of each divisional small region of FIG. 10B is an example of a threshold value predefined for each divisional small region set in the divisional small region setting window 151.
It is a threshold value that specifies how many % of pixels among a total number of pixels of each small region are determined to be a moving body pixel.