Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for counting people stream based on security and protection video image

A statistical method and video image technology, applied in the field of passenger flow statistics, can solve problems such as rough population statistics, accuracy impact, low precision, etc., and achieve the effects of low computational complexity, fast detection speed, and high robustness

Inactive Publication Date: 2014-06-18
BAINIAN JINHAI SCI & TECH +1
View PDF2 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in actual operation, when multiple passengers pass through the infrared device continuously or at the same time, occlusion will occur, and the temporary stay of a single passenger in the detection target a

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
  • Method for counting people stream based on security and protection video image
  • Method for counting people stream based on security and protection video image
  • Method for counting people stream based on security and protection video image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] see figure 2 , the present invention is based on the people flow counting method of security video image, comprises the following steps:

[0045] 1) Collect real-time monitoring data through the camera to obtain the original image, and preprocess the original image to filter out noise, enhance the image, and provide the necessary premise for the detection and tracking of moving objects in video sequence images;

[0046] 2) Use Gaussian background, codebook, etc. to establish an advanced background model to adapt to the constant changes in the external environment;

[0047] 3) Differentiate the foreground according to the background image, and perform morphological processing on the foreground to obtain the moving target area;

[0048] 4) Determine the size of the moving target area. If the moving target area is too large, it is considered to be in a state of high-density passenger flow, and perform step 8); otherwise, perform step 5);

[0049] 5) Complement the movin...

Embodiment 2

[0057] see figure 2 The difference between the people counting method based on security video images of this embodiment and Embodiment 1 is that the people counting program starts automatically after the car is started, and the system first records the current image data according to the monitoring equipment to generate the background; Only the background is updated when the door is opened, and the target detection, tracking and counting are performed when the door is opened.

[0058] When the door is opened, the real-time monitoring data is collected through the camera, the color image is extracted from the video and converted into a grayscale image, and then the connectivity analysis is performed on the image, and the isolated noise is eliminated by using the morphological closing operation, and the separated blocks Merge and complement, and reduce the interference caused by camera shake caused by passengers getting on and off the car by reducing the image resolution, so th...

Embodiment 3

[0063] see figure 2 , the method for counting the flow of people based on security video images of the present embodiment differs from Embodiment 1 and Embodiment 2 in that:

[0064] In step 2), the background modeling is performed through the codebook algorithm, and the background image is established;

[0065] Establish a codebook for each pixel in the original image, each codebook includes multiple code elements, and each code element has its maximum and minimum thresholds during learning and maximum and minimum threshold members during detection;

[0066] During background modeling, whenever a new picture comes, codebook matching is performed on each pixel point, if the pixel value of the pixel point is within the learning threshold of a certain symbol in the codebook, it is considered to be consistent with the The previous frame of the corresponding point is the same. By comparing the pixel values ​​between the two frames, if the update condition of the code element in ...

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 relates to a method for counting passengers taking a bus based on video stream processing and discloses a method for counting a people stream based on a security and protection video image. The method comprises the steps that 1) an original image is preprocessed; 2) a background model is established through the difference algorithm; 3) according to a background image, a foreground is obtained through differentiation and morphological processing is conducted on the foreground so that a moving object zone can be obtained; 4) the size of the moving object zone is judged, if the moving object zone is overlarge, a high-density passenger stream state is considered, a plurality of head zone moving objects are determined through the method that head features are matched, each head zone moving object is tracked so that the number of people getting on the bus and getting off the bus can be obtained through counting, and otherwise, the step 5) is conducted; 5), complementation is conducted on the moving object zone obtained through the original image, so that the background image is updated; 6) the moving object zone is divided, the divided moving objects are tacked, and whether the moving objects get on the bus or gets off the bus is determined according to the sequence of collision between the upper boundaries and a counting line and collision between the lower boundaries and the counting line of the moving objects, so that the passenger stream is counted.

Description

technical field [0001] The invention relates to a passenger flow counting method, in particular to a bus passenger counting system based on video stream processing. Background technique [0002] Traditional passenger flow statistics usually use manual statistics to obtain passenger flow data. Although the accuracy can meet the requirements, it consumes manpower and financial resources, and is not systematic and comprehensive. Although contact equipment such as credit card machines and coin machines are separated from manual labor, they can generally only pass one person at a time, and cannot meet the requirements of high accuracy and simultaneous counting of the number of people getting on and off the bus. Now the most widely used infrared detection system, this type of system is non-contact, which has been greatly improved compared with contact equipment. However, in actual operation, when multiple passengers pass through the infrared device continuously or at the same tim...

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
IPC IPC(8): G06T7/20G06T7/00G06M15/00
Inventor 陈长宝张震崔莫磊王文娟郭振强胡娟娟
Owner BAINIAN JINHAI SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products