Passenger flow analysing method based on video information
Technical field
The present invention relates to safety and traffic monitoring technical field, more particularly, to use in public places based on regarding
The passenger flow analysing method of frequency information.
Background technology
At present, statistical management, the emergency evacuation of the public place due to itself such as domestic various supermarket, large-scale sales field and shops
Or the requirement of regulations for fire fighting etc., increasingly pay attention to the detection and analysis of passenger flow quantity.
On the one hand, existing detection of passenger flow system is typically to install video camera in specific position, is being controlled by special messenger
The image information of center monitors shooting, it is mainly used in safety monitoring, and the potential accident of trampling come for passenger flow dense band is endangered
Danger can not analyze precognition.
Traditional passenger flow statisticses mode mainly has two kinds, first, manually being counted by monitoring work personnel to realize;Second, make
The passenger flow number by a certain fixed position is counted with infrared photoelectric sensor.Observed using artificial or video monitoring indirect labor
To carry out the mode of passenger flow statisticses not only labor intensive cost, and the human eye that works long hours is easily tired, when the volume of the flow of passengers is intensive
When, observer's reaction does not come, and the accuracy rate of statistics is relatively low;With infrared emission block triggering come the method for statistical number of person often by
Be formed on site environment, equipment is not easy to install, it is impossible to distinguish people and object, when occur more people in parallel through or intersect pass in and out when,
Statistical error will be produced.Therefore, no matter counting accuracy rate or installing and using on convenience, the passenger flow based on video
Statistics has very big advantage than traditional passenger flow statisticses, and the passenger flow demographics based on video can be according to application scenario
Difference adjusts detection range, and hardware device is easy for installation, and has storage playback function, can be preferably applied for various multiple
Miscellaneous occasion.
Guest flow statistics based on video is mainly to analyze the pedestrian movement track in video, accumulative to enter and leave two
Passenger flow number on direction, be currently based on video analysis passenger flow statisticses technically there is also some problems and deficiency, mainly
Robustness is not good enough, is influenceed by environment, light condition, may there is preferable effect in some occasions, but in some occasions
Under statistical accuracy do not reach requirement.Do not have for pedestrian with cap, white hair, knapsack and the special circumstances such as floor background is more black
There is good separating capacity, produce statistical error.In addition, the passenger flow statisticses based on video are mainly the video by rear end
Analysis server to carry out Treatment Analysis to video image, and video surveillance point is more, background server while analyzing multiple video
When computing pressure it is bigger, or even need increase server apparatus, so as to increase cost input, and be not easy to extend.
On the other hand, in festivals or holidays, famous sites and tourist district or the public area stream of people of great celebration etc. is held
Gather density is high, it is easy to tread event occurs.And lack the effective ways to density of stream of people monitoring in the prior art.
The content of the invention
Lack the weak point lacked to density of stream of people monitoring in the prior art to make up, and improve based on video
The degree of accuracy of passenger flow statisticses and security for public arena provides necessary support, the invention provides one kind to be based on video information
Passenger flow analysing method, including:
(1) the first video information of the first video camera is obtained;
(2) first video information to the first analytic unit is transmitted;
(3) first analytic units carry out the first passenger flow analysing to the first video information;
(4) according to the result of the first passenger flow analysing, the second video camera and the 3rd video camera are started, and obtain and taken the photograph from second
Second video information of camera and the 3rd video information from the 3rd video camera;
(5) second video information and the 3rd video information to the second analytic unit are transmitted;
(6) second analytic units carry out the second passenger flow analysing to the second video information and the 3rd video information;
(7) according to the second passenger flow analysing result, sound detection unit and the 4th video camera are started;
(8) acoustic information of the sound detection unit detection and the 4th video letter of the 4th shooting machine testing are transmitted
Cease to the 3rd analytic unit;
(9) the 3rd passenger flow analysing is carried out to the acoustic information and the 4th video information;
(10) according to the result of the 3rd passenger flow analysing, the result of the 3rd passenger flow analysing is sent and to visitor to security department
Stream provides prompt message.
Further, the first video information is by cable-network transmission to the first analytic unit.
Further, the second video information and the 3rd video information are by wireless network transmissions to the second analytic unit
's.
Further, the prompt message includes warning message.
Further, first analysis includes:Intensity of passenger flow is analyzed.
Further, second analysis includes:Movement velocity is analyzed and volume of the flow of passengers analysis.
Further, the 3rd analysis includes recognition of face analysis.
Further, second video camera and the 3rd video camera use thermal camera.
Beneficial effects of the present invention are as follows:The present invention realizes the passenger flow accurate statistics based on video, and can be in people
Provide and be automatically reminded to when current density is too high.In addition, by the prediction of movement locus etc., also technology branch is provided for security work
Hold.
Brief description of the drawings
Fig. 1 shows the flow chart of the passenger flow analysing method based on video information of the present invention.
Embodiment
The passenger flow analysing method based on video information of the present invention is as shown in Figure 1.This method includes:Utilize 1080p high definitions
Clear degree video camera obtains the video information of passenger flow position from the surface at passenger flow place, then without compressing, and it is straight
Connect and the information is transferred to neighbouring Control Room by special video delivery network line, by the first server in Control Room
The frame for carrying out video image is selected, and selects the frame of definition highest and fog-level minimum, and passes therethrough image procossing calculating
Number of people number in the frame, so that it is determined that the passenger flow number in the frame.Then, by divided by the video that pre-sets cover
The area in region, calculate intensity of passenger flow.When intensity of passenger flow is less than default intensity of passenger flow threshold value, such as the area shared by everyone is low
When 0.75 square metre, start the first thermal camera and carry out human body infrared thermal imaging.First thermal camera, which is arranged on, to be treated
Oblique 45 degree of tops of the passenger flow of analysis, and the area coincidence that the region being directed to is directed to described 1080p high-definition cameras.
By the infrared information that the thermal camera obtains by the second server in 4G network transmissions to Control Room, then image is entered
The processing of row picture element matrixization, that is, the rgb value of all pixels in each frame of video is calculated, and to wherein representing red area
RGB areas are added up one by one, if red area is beyond predetermined threshold value, (through experiment, human body is in infrared imaging image kind
Red area is substantially at 0.2 square metre), then it is assumed that the red area represents a people.Further analyze in this way
Passenger flow number in the video area.Then, intensity of passenger flow is calculated by method same as above.If pass through first service
The intensity of passenger flow of device and second server is below default intensity of passenger flow threshold value, then it is assumed that intensity of passenger flow now has exceeded police
Limit is guarded against, to security department's alert.
While above-mentioned first thermal camera is opened, the second thermal camera is also opened.Second thermal camera
Oblique 45 degree of tops in above-mentioned region to be analyzed are arranged on, and the region absorbed is arranged to absorb region in the first thermal camera
(i.e. above-mentioned region to be analyzed) is separated by 100 meters of region.Preferably, the adjacent area is in above-mentioned region to be analyzed
In the direction of advance of the movement locus of passenger flow.The video information of second infrared camera scan is passed through 4G network transmissions to institute
State second server.Second server according to the infrared information from the first thermal camera and the second thermal camera, according to
Object of reference (for example, the special person of the bodily form chosen in passenger flow is object of reference) in the image of the first thermal camera intake occurs
The spent time in the image of the second thermal camera intake, the motion of passenger flow is obtained using 100 meters divided by the time
Velocity information.When the movement velocity of passenger flow exceedes predetermined threshold value, identification now may have occurred accident.Now, it is sharp
The image shot with above-mentioned 1080p video cameras carries out recognition of face to owner, and the image result that recognition of face is obtained is protected
Memory cell is stored to, and is recorded in the sound transducer for opened while recognition of face areas adjacent to be analyzed, and
Recorded message is sent to the 3rd server of Control Room by 4G networks.3rd server to the sound carry out low frequency filtering and
Noise reduction process, if the mean frequency value of obtained audio-frequency information is beyond default threshold value (being greater than 1500Hz), then it is assumed that
Now there occurs accident (for example, fearing time etc. cruelly).
Now, the 4th video camera is then turned on, the 4th video camera is using three-dimensional camera and preferably with adjustable shooting
Angle three-dimensional camera.The video camera instructs the video of shooting specific location according to caused by the 3rd server.3rd clothes
The face characteristic of the business device a bad actor saved to database in the image and the 3rd server of the recognition of face is carried out
Contrast and provide similarity and regarded more than the face (determining such a artificial doubtful personnel) of predetermined threshold (such as 70%) in newest
The location of in frequency frame.If the relevant position for the image that the 4th video camera photographs includes above-mentioned doubtful personnel, to
Security department sends the positional information and provides prompt message to passenger flow, and preferably the information is warning message.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art is not departing from the principle and objective of the present invention
In the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.