Bus passenger flow counting equipment and its method based on binocular infrared photography
Technical field
The present invention relates to technical field, more particularly to based on the bus passenger flow counting equipment of binocular infrared photography and its side
Method.
Background technology
Passenger flow is generally also referred to as number, is the public places such as bus, airport, megastore, shopping center, exhibition center
In management and the indispensable data of decision-making level.And passenger flow statisticses are in intelligent transportation system (Intelligent
Transportation System, are abbreviated as ITS) an important ring is even more, the accuracy of passenger flow statisticses directly affects public transport
Benefit of the running of car intelligent scheduling with scheduling.The main purpose of public transport vehicle-mounted passenger flow statistical system is realized to getting on the bus, getting off
Number carry out real-time programming count, and data can be in real time sent to the system management platform of rear end stored, shape
Into data sheet and data analysis.Thus, Surveillance center can immediately recognize every chassis carrying situation, each website of arrival
The information such as upper and lower objective situation, the busy or degree of crowding of each website, by analyzing these passenger flow data information etc., to get on or off the bus
The data of passenger are foundation, and combine GPS position information, can more reasonably arrange and dispatch public transit vehicle.Meanwhile, get each
The passenger flow data of individual website, can be physical construction planning, related governmental departments etc., planning, construction, public transport line for each website
Road configuration etc., can be more rationally and more humane, allows the common people to go on a journey more convenient.
Bus passenger flow counts recognition principle:Vehicle-mounted passenger flow statistical system is by analyzing visible light video, by pattern
Recognition methods identifies head, i.e., in the front door of vehicle, the surface at back door, install a video camera, and using vertically downward
Visual angle, shoot the crown of people, and track the direct of travel of the number of people, thus judge that passenger is to get on the bus or get off.But the party
Method is because by intensity inequality, it is very low that night deficiency often leads to Head recognition rate.Additionally, when boarding and alighting is intensive
When, it may appear that block;Especially there is child to be more easy to be blocked and None- identified.
The content of the invention
In order to overcome the above-mentioned deficiencies of the prior art, the present invention obtains depth information, and profit using binocular infrared photography
Contour dividing method is utilized with the depth information for being obtained, the different height even number of people of dense population can be steadily and surely extracted,
So as to improve the levels of precision of bus passenger flow statistics, it is to avoid night deficiency often leads to that Head recognition rate is very low and child
Situation about being blocked.
The technical solution adopted in the present invention is:Bus passenger flow counting equipment based on binocular infrared photography, including computing
Device, thermal camera A, infrared camera B and counting display device, wherein, thermal camera A and thermal camera B distinguishes
Two diverse locations above a position that is taken, arithmetic unit real-time collecting comes from thermal camera A and thermal camera B
Video, and calculate the depth information from each point on two images of different thermal cameras, extract what image was included
Number of people quantity, and then carry out passenger flow statisticses.
Further, counting display device shows the real-time volume of the flow of passengers being calculated in real time, and distinguish get on the bus passenger flow and under
Car passenger flow, i.e., comprising passenger flow counting module and the passenger flow counting module of getting off of getting on the bus.
Further, in arithmetic unit real-time tracking thermal camera A, infrared camera B videos active state the number of people
1-3 seconds, so as to avoid repeat count.
Further, bus passenger flow counting equipment is also included for storing the memory of passenger flow data and for deriving data
Output end.
Further, bus passenger flow counting equipment also includes passenger flow counting clear device, and it is connected on arithmetic unit, and
And realize being purged the data in memory under the control of arithmetic unit.
Further, memory connects public transportation management system by communication module, and in real time or regularly to public transport pipe
Reason system uploads passenger flow data.
The method for carrying out passenger flow counting using above-mentioned bus passenger flow counting equipment, arithmetic unit operation binocular vision is calculated
Method, calculates the depth information from each point on two images of different thermal cameras, and then draws a contour line, with reference to the number of people
Shape and contour regularity of distribution priori, extract the number of people quantity that image is included, and the number of people quantity of extraction is according to pre-
In the fixed time, thermal camera A or infrared camera B are tracked to it.
Compared with prior art, the beneficial effects of the invention are as follows:Bus passenger flow based on binocular infrared photography of the invention
Counting equipment, obtains depth information, and utilize obtained depth information to split using contour using binocular infrared photography
Method, can steadily and surely extract the different height even number of people of dense population, so as to improve the levels of precision of science and education passenger flow statisticses, keep away
Exempt from night deficiency and often lead to the situation that Head recognition rate is very low and child is blocked.
Brief description of the drawings
Fig. 1 is the theory diagram of one embodiment of the bus passenger flow counting equipment based on binocular infrared photography;
Fig. 2 is the theory diagram of another embodiment of the bus passenger flow counting equipment based on binocular infrared photography;
Wherein:1- arithmetic units, 2- thermal cameras A, 3- infrared camera B, 4- counting display device, 5- passenger flow countings reset
Device, 6- communication modules, 7- public transportation management systems, 8- memories, 9- output ends.
Specific embodiment
In order to deepen the understanding of the present invention, the present invention is further described with reference to the accompanying drawings and examples, the implementation
Example is only used for explaining the present invention, protection scope of the present invention is not constituted and is limited.
As shown in figure 1, the bus passenger flow counting equipment based on binocular infrared photography, including arithmetic unit 1, thermal camera
A2, infrared camera B3 and counting display device 4, wherein, thermal camera A and thermal camera B is located at is taken a little respectively
Two diverse locations above position, video of the arithmetic unit real-time collecting from thermal camera A and thermal camera B;And
The depth information from each point on two images of different thermal cameras is calculated, the number of people quantity that image is included is extracted, entered
And carry out passenger flow statisticses.
In the above-described embodiments, counting display device shows the real-time volume of the flow of passengers being calculated in real time, and distinguishes the visitor that gets on the bus
Flow and get off passenger flow, i.e., passenger flow counting module and got off passenger flow counting module comprising getting on the bus so that passenger flow counting can understand, directly
Show with seeing.
In the above-described embodiments, moving type in the real-time tracking thermal camera A2 of arithmetic unit 1, infrared camera B3 videos
The number of people of state 1-3 seconds, so as to avoid repeat count, improves the accurate performance of its counting.
As shown in Fig. 2 bus passenger flow counting equipment is also included for storing the memory 8 of passenger flow data and for deriving number
According to output end 9, facilitate public traffic management personnel to transfer passenger flow on bus and counted and analyzed.
In the above-described embodiments, bus passenger flow counting equipment also includes passenger flow counting clear device 5, and it is connected to computing dress
Put on 1, and realize being purged the data in memory 8 under the control of arithmetic unit 1, be purged if necessary, protect
Card equipment can be with Reusability.
In the above-described embodiments, memory 8 connects public transportation management system 7 by communication module 6, and in real time or regularly
Passenger flow data is uploaded to public transportation management system 7, it is ensured that public traffic management personnel being capable of direct real time inspection by public transportation management system
The each passenger flow situation of bus, the use of simultaneous memory so that public traffic management personnel's later stage can also transfer public transport visitor
Stream situation, is easy to real statistics and the management in later stage.
Additionally, communication module described in the above embodiments be WIFI, bluetooth, it is infrared in it is a kind of or several,
There is preferable using effect.
The method for carrying out passenger flow counting using above-mentioned bus passenger flow counting equipment, arithmetic unit operation binocular vision is calculated
Method, calculates the depth information from each point on two images of different thermal cameras, and then draws a contour line, with reference to the number of people
Shape and contour regularity of distribution priori, extract the number of people quantity that image is included, and the number of people quantity of extraction is according to pre-
In the fixed time, thermal camera A or infrared camera B are tracked to it.
What embodiments of the invention were announced is preferred embodiment, but is not limited thereto, the ordinary skill people of this area
Member, easily according to above-described embodiment, understands spirit of the invention, and makes different amplifications and change, but as long as not departing from this
The spirit of invention, all within the scope of the present invention.