Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for determining the number of personnel

A technology for determining the number of personnel, applied in the field of computer vision, and can solve the problem of inaccurate number of personnel

Active Publication Date: 2019-12-20
ZHEJIANG DAHUA TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention discloses a method and device for determining the number of personnel to solve the problem of inaccurate statistics of the number of personnel in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for determining the number of personnel
  • A method and device for determining the number of personnel
  • A method and device for determining the number of personnel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] figure 1 It is a schematic diagram of a process for determining the number of personnel provided by Embodiment 1 of the present invention, and the process includes the following steps:

[0047] S101: Determine a depth image according to each collected first image containing a person, and determine the height of each pixel in the depth image relative to the ground in an actual scene.

[0048] The method for determining the number of personnel provided by the embodiment of the present invention is applied to electronic equipment.

[0049] In this solution, the left and right cameras in the binocular camera are used to capture the first image respectively. Before using the binocular camera to capture each first image, the user can install the binocular camera directly above the scene to be captured , and installed as high as possible, so that the field of view of the binocular camera can cover more acquisition scenes.

[0050] When installing the binocular camera, the ba...

Embodiment 2

[0067] In the application scene, tall objects such as walls will interfere with the determination of the number of people. In order to further improve the accuracy of the number of people determined, on the basis of the above embodiments, in the implementation of the present invention, when determining the depth image Before each pixel point in the actual scene is relative to the height of the ground, the method also includes:

[0068] Determining the background image of the depth image by using the background image collected in advance for each first image; extracting the foreground image of the depth image according to the background image of the depth image, using the foreground image as the depth image, Proceed to next steps.

[0069] In the embodiment of the present invention, before determining the height of each pixel in the depth image relative to the ground in the actual scene, the electronic device pre-collects the background image of each first image, and the shooti...

Embodiment 3

[0079] On the basis of the above embodiments, in the embodiment of the present invention, the determination of the height of each pixel in the depth image relative to the ground in the actual scene includes:

[0080] For each pixel, according to the length of the baseline of the binocular camera, the gray value of the pixel, and the focal length of the first camera that determines the depth data in the depth image, determine the position of the pixel in the actual scene and The height difference of the first camera; according to the height difference and the height of the first camera relative to the ground, determine the height of the position of the pixel point in the actual scene relative to the ground.

[0081] The position of each pixel in the depth image is in one-to-one correspondence with the position of the pixel in any one of the first images when determining the gray value of the pixel, and the any one of the first images is the first camera captured image. Or the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for determining the number of personnel, which are used to solve the problem of inaccurate statistics of the number of personnel in the prior art. The method includes: determining the depth image according to the collected images containing people, and determining the height of each pixel in the depth image relative to the ground; pixels, the upper limit value of each sub-height range is the same, and the lower limit value is different; according to the first pixel point in each sub-height range, each connected domain in each sub-height range is determined; according to the connectivity in each sub-height range The number of domains, determines the number of people. Taller people generate connected domains in sub-height ranges with larger and smaller lower limit values, and shorter people only generate connected domains in sub-height ranges with smaller lower limit values. This scheme reduces at least two heights and one height. Short people are in close proximity, and the chance of being falsely detected as the same person improves the accuracy of determining the number of people.

Description

technical field [0001] The invention relates to the technical field of computer vision, in particular to a method and device for determining the number of personnel. Background technique [0002] In some special scenes, it is usually necessary to detect the situation of people. For example, at the security checkpoint, it is often necessary to count the number of people in the current scene and the distribution density of people. When the density of people is too large, an alarm is sent to the security personnel. . [0003] At present, when counting the number of people, it is possible to obtain two-dimensional images, process the two-dimensional images, and count the number of people. However, when people are blocked, background changes, and crowds are crowded, it is easy to cause inaccurate statistics. Contents of the invention [0004] The embodiment of the invention discloses a method and device for determining the number of personnel, which are used to solve the probl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/187G06T7/50G06K9/46
CPCG06T7/187G06T7/50G06T2207/30196G06T2207/30232G06T2207/10004G06V10/457
Inventor 李乾坤郭晴卢维潘石柱
Owner ZHEJIANG DAHUA TECH CO LTD