CN109684998A - A kind of system and method for the subway stream of people management based on image procossing - Google Patents
A kind of system and method for the subway stream of people management based on image procossing Download PDFInfo
- Publication number
- CN109684998A CN109684998A CN201811578007.6A CN201811578007A CN109684998A CN 109684998 A CN109684998 A CN 109684998A CN 201811578007 A CN201811578007 A CN 201811578007A CN 109684998 A CN109684998 A CN 109684998A
- Authority
- CN
- China
- Prior art keywords
- image
- subway
- area
- current
- limiting apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000008569 process Effects 0.000 claims description 12
- 230000002708 enhancing effect Effects 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims description 6
- 230000005611 electricity Effects 0.000 claims 1
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 6
- 238000005457 optimization Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 229910052742 iron Inorganic materials 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 239000005341 toughened glass Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
- G06V20/53—Recognition of crowd images, e.g. recognition of crowd congestion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Multimedia (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Image Processing (AREA)
Abstract
The system and method for the subway stream of people management based on image procossing that the invention discloses a kind of, it include: image collecting device, image processing apparatus, master controller, current-limiting apparatus and prior-warning device, the current-limiting apparatus is set to subway and waits the inlet in area, described image acquisition device is electrically connected with image processing apparatus, and the master controller is electrically connected with described image processing unit, prior-warning device and current-limiting apparatus respectively;The present invention is waited the image in area by acquiring subway, and it is obtained waiting waiting person's public sentiment condition in area by image procossing, according to wait crowd the case where intelligent starting current-limiting apparatus, be conducive to that subway is maintained to take order in this way, preventing from waiting, the area stream of people is excessive to there is swarm and jostlement event, flexibly the break time of control current limliting, reduction cost of labor improve intelligent simultaneously.
Description
Technical field
The present invention relates to traffic management technology field, in particular to a kind of subway stream of people management based on image procossing is
System and method.
Background technique
Crowded with city, subway plays significant role;However, peak period on and off duty or festivals or holidays are arrived, subway
Also often because flow of the people is excessive and congestion, once congestion there is security risk.Since each website flow of the people is different
Problem needs artificial current limliting also largely to control the density of personnel for entering the station and waiting, and ensures metro safety operation, intelligence
It is not strong, need labor intensive, and artificial current limliting cannot know the variation for area's density of personnel of waiting in real time, between bad control current limliting
The disconnected time.
Summary of the invention
Aiming at the problems existing in the prior art, the present invention provide it is a kind of based on image procossing the subway stream of people management be
System and method are waited density of personnel for the real-time detection subway area that waits, the unlatching of intelligent control current limliting gate.
The solution that the present invention solves its technical problem is: it is a kind of based on image procossing the subway stream of people management be
System, comprising: image collecting device, image processing apparatus, master controller, current-limiting apparatus and prior-warning device, the current-limiting apparatus are set
Wait the inlet in area in subway, described image acquisition device is electrically connected with image processing apparatus, the master controller respectively with
Described image processing unit, prior-warning device and current-limiting apparatus electrical connection;
Described image acquisition device acquisition subway is waited the image in area, and will be acquired resulting image and be sent to image procossing
Device, described image processing unit carries out image procossing to described image, and is sent according to processing result image to master controller
Level signal, master controller are waited area or unlimited according to receiving control current-limiting apparatus limitation passenger after level signal and enter subway
Passenger processed enters subway and waits area.
Further, described image acquisition device includes camera and camera lens.
Further, the current-limiting apparatus is gate.
Further, the prior-warning device is buzzer and LED light.
A method of the subway stream of people management based on image procossing utilizes a kind of ground iron man based on image procossing
The system of flow management, which comprises
In real time acquisition subway wait area someone when image pre-process, obtain target image;
Acquisition subway wait area nobody when image pre-process, obtain template image;
Image subtraction is carried out to reference picture and target image, obtains error image;
Grey level enhancement is carried out to error image by grayscale enhancing method, obtains grey level enhancement error image;
Best full threshold process with Otsu method is carried out to grey level enhancement error image, obtains difference area value;
When difference area value is greater than first threshold, current-limiting apparatus limitation passenger enters subway and waits area;
When difference area value is less than second threshold, current-limiting apparatus stops limitation passenger and enters subway waiting area.
Further, described pre-process includes:
Denoising is carried out to image, Fast Fourier Transform (FFT) is carried out to the image after denoising, to fast Fourier contravariant
After the image obtained after changing carries out low-pass filtering, then reverse Fast Fourier Transform (FFT) is carried out, resulting image is converted into gray scale
Image.
Further, described includes: to carry out median filtering method to image to image progress denoising.
Further, the grayscale enhancing method includes:
The pixel for inputting error image is n, shares L gray level, nkGray level is represented as rkPixel number, then kth
The probability that a gray level occurs may be expressed as:Wherein, 0≤rk≤ 1, k=0,1,2 ..., L-1, to its into
Enhancing processing function T (r) of row grey level enhancement may be expressed as:In formula, 0≤rk
≤ 1, k=0,1,2 ..., L-1, SkFor the enhanced grey level enhancement error image of gray value of each pixel.
The beneficial effects of the present invention are: the present invention is waited the image in area by acquiring subway, and obtained by image procossing
Wait waiting person's public sentiment condition in area, according to wait crowd the case where intelligent starting current-limiting apparatus, be conducive to that subway is maintained to multiply in this way
Order is sat, the area stream of people that prevents from waiting is excessive swarm and jostlement event occurs, while the flexibly break time of control current limliting, reduces artificial
Cost improves intelligent.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described.Obviously, described attached drawing is a part of the embodiments of the present invention, rather than is all implemented
Example, those skilled in the art without creative efforts, can also be obtained according to these attached drawings other designs
Scheme and attached drawing.
Fig. 1 is the integral module schematic diagram of the system of the subway stream of people management of the embodiment of the present invention;
Fig. 2 is the flow chart of the method for the subway stream of people management of the embodiment of the present invention;
Fig. 3 is pretreated flow chart.
Specific embodiment
It is carried out below with reference to technical effect of the embodiment and attached drawing to design of the invention, specific structure and generation clear
Chu is fully described by, to be completely understood by the purpose of the present invention, feature and effect.Obviously, described embodiment is this hair
Bright a part of the embodiment, rather than whole embodiments, based on the embodiment of the present invention, those skilled in the art are not being paid
Other embodiments obtained, belong to the scope of protection of the invention under the premise of creative work.In addition, be previously mentioned in text
All connection relationships not singly refer to that component directly connects, and referring to can be according to specific implementation situation, by adding or reducing connection
Auxiliary, Lai Zucheng more preferably connection structure.Each technical characteristic in the invention, under the premise of not conflicting conflict
It can be with combination of interactions.
Embodiment 1, referring to Fig.1, a kind of system of the subway stream of people management based on image procossing, comprising: image collector
100, image processing apparatus 200, master controller 300, current-limiting apparatus 500 and prior-warning device 400 are set, the current-limiting apparatus 500 is set
It waits the inlet in area in subway, described image acquisition device 100 is electrically connected with image processing apparatus 200, the master controller
300 are electrically connected with described image processing unit 200, prior-warning device 400 and current-limiting apparatus 500 respectively;
Described image acquisition device 100 acquires subway and waits the image in area, and will acquire resulting image and be sent to image
Processing unit 200, described image processing unit 200 carry out image procossing to described image, and according to processing result image to master
300 transmission level signal of controller, master controller 300 limit passenger according to control current-limiting apparatus 500 after receiving level signal
It waits into subway and area or does not limit passenger and enter subway and wait area.
The master controller 300 is single-chip microcontroller.
Work process of the invention:
Image collecting device 100 in real time acquisition subway wait area someone when image, and will acquisition gained image be sent to
Image processing apparatus 200,200 pairs of the image processing apparatus resulting images of acquisition obtain target image after pre-processing, by mesh
Logo image and preset template image carry out image subtraction, obtain error image, image subtraction corresponds between the two images
Pixel does subtraction.Image subtraction can detecte out the different information of two images, and between target image and reference picture
Corresponding different information is that subway is waited crowd's image information that area waits.After carrying out grey level enhancement to error image, used
The best full threshold process of Otsu method, obtains the difference area value on error image, and the difference area value is target image
Upper subway is waited area value shared by crowd's image information that area waits.
When difference area value is greater than first threshold, image processing apparatus 200 sends high level letter to master controller 300
Number, after master controller 300 receives the high level signal, judge whether current-limiting apparatus 500 is limiting passenger and entering subway
Wait area, continues to limit passenger and enters the subway area that waits and otherwise then lead if so, master controller 300 controls current-limiting apparatus 500
Controller 300 controls prior-warning device 400 and starts, and issues warning signal, under the action of timer in master controller 300, in advance
After alarm device 400 starts and issues warning signal 5 seconds, the control current-limiting apparatus 500 of master controller 300 starts limitation passenger and enters ground
Iron is waited area.
Time difference between the starting of prior-warning device 400 and the starting of current-limiting apparatus 500 can adjust according to actual needs.
When difference area value is less than second threshold, image processing apparatus 200 sends low level letter to master controller 300
Number, after master controller 300 receives the low level signal, control current limliting stops limitation passenger and enters subway waiting area.
As optimization, described image acquisition device 100 includes camera and camera lens.
As optimization, the current-limiting apparatus 500 is gate.
The gate is swing turnstile, and the form for blocking body (lock pendulum) is that have the plane of certain area, perpendicular to ground, is led to
Rotary oscillation realization is crossed to block and let pass.The material for blocking body is tempered glass, advantageously reduces the injury for hitting pedestrian.
As optimization, the prior-warning device 400 includes buzzer and LED light.
When master controller 300, which controls prior-warning device 400, to be started, buzzer issues early warning sound, while LED light flashes,
Being informed by sound and light will block across current-limiting apparatus 500 into wait passenger's current-limiting apparatus 500 in area of subway
Resistance avoids the occurrence of the case where hitting pedestrian.
The present invention is waited the image in area by acquiring subway in real time, and is obtained waiting the crowd that waits in area by image procossing
Situation, according to wait crowd the case where intelligent starting current-limiting apparatus 500, be conducive to that subway is maintained to take order in this way, prevent from waiting
The vehicle area stream of people is excessive to there is swarm and jostlement event, while the flexibly break time of control current limliting, reduces cost of labor, improves intelligence
Change.
With reference to Fig. 2, a method of the subway stream of people management based on image procossing a kind of is based on image procossing using described
The subway stream of people management system, which comprises
In real time acquisition subway wait area someone when image pre-process, obtain target image;
Acquisition subway wait area nobody when image pre-process, obtain template image;
Image subtraction is carried out to reference picture and target image, obtains error image;
Grey level enhancement is carried out to error image by grayscale enhancing method, obtains grey level enhancement error image;
Best full threshold process with Otsu method is carried out to grey level enhancement error image, obtains difference area value;
When difference area value is greater than first threshold, current-limiting apparatus 500, which limits passenger and enters subway, waits area;
When difference area value is less than second threshold, current-limiting apparatus 500 stops limitation passenger and enters subway waiting area.
When difference area value is less than first threshold and is greater than second threshold, current-limiting apparatus 500 keeps current state.
The first threshold and second threshold are preset area value, and can be according to subway carriage seating capacity or ground
Iron area's seating capacity of waiting is calculated and is adjusted, and first threshold is set in the present embodiment as the area value of template image
80%, second threshold is the 30% of the area value of template image.
It is described that image subtraction is carried out to reference picture and target image:
G (x, y)=f (x, y)-h (x, y)
H (x, y) is reference picture, and f (x, y) is target image, and g (x, y) is error image, and (x, y) is gray-scale pixels point
Coordinate.
With reference to Fig. 3, as optimization, the pretreatment includes:
Denoising is carried out to image, Fast Fourier Transform (FFT) is carried out to the image after denoising, to fast Fourier contravariant
After the image obtained after changing carries out low-pass filtering, then reverse Fast Fourier Transform (FFT) is carried out, resulting image is converted into gray scale
Image.
Image after carrying out reverse Fast Fourier Transform (FFT) is converted to by gray level image, the ash using gradation conversion formula
Spend conversion formula are as follows:
Gray=R*0.3+G*0.59+B*0.11
Wherein, Gray represents the gray level image after conversion, and R represents the pixel value of the image R channel components before conversion, G generation
The pixel value of image G channel components before table is converted, B represent the pixel value for converting preceding image channel B component;
As optimization, described includes: to carry out median filtering method to image to image progress denoising.
As optimization, the grayscale enhancing method includes:
The pixel for inputting error image is n, shares L gray level, nkGray level is represented as rkPixel number, then kth
The probability that a gray level occurs may be expressed as:Wherein, 0≤rk≤ 1, k=0,1,2 ..., L-1, to its into
Enhancing processing function T (r) of row grey level enhancement may be expressed as:In formula, 0≤rk
≤ 1, k=0,1,2 ..., L-1, SkFor the enhanced grey level enhancement error image of gray value of each pixel.
Grey level enhancement is carried out to error image to be conducive to protrude the different information between reference picture and target image.
Better embodiment of the invention is illustrated above, but the invention is not limited to the implementation
Example, those skilled in the art can also make various equivalent modifications on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent variation or replacement are all included in the scope defined by the claims of the present application.
Claims (8)
1. a kind of system of the subway stream of people management based on image procossing, it is characterised in that: include: image collecting device, image
Processing unit, master controller, current-limiting apparatus and prior-warning device, the current-limiting apparatus is set to subway and waits the inlet in area, described
Image collecting device is electrically connected with image processing apparatus, the master controller respectively with described image processing unit, prior-warning device
It is electrically connected with current-limiting apparatus;
Described image acquisition device acquisition subway is waited the image in area, and will be acquired resulting image and be sent to image procossing dress
It sets, described image processing unit carries out image procossing to described image, and sends electricity to master controller according to processing result image
Ordinary mail number, master controller area or are not limited according to receiving control current-limiting apparatus limitation passenger after level signal and enter subway and wait
Passenger enters subway and waits area.
2. a kind of system of subway stream of people management based on image procossing according to claim 1, it is characterised in that: described
Image collecting device includes camera and camera lens.
3. a kind of system of subway stream of people management based on image procossing according to claim 1, it is characterised in that: described
Current-limiting apparatus is gate.
4. a kind of system of subway stream of people management based on image procossing according to claim 1, it is characterised in that: described
Prior-warning device is buzzer and LED light.
5. a kind of method of the subway stream of people management based on image procossing, it is characterised in that: utilize one described in claim 1
The system of subway stream of people management of the kind based on image procossing, which comprises
In real time acquisition subway wait area someone when image pre-process, obtain target image;
Acquisition subway wait area nobody when image pre-process, obtain template image;
Image subtraction is carried out to reference picture and target image, obtains error image;
Grey level enhancement is carried out to error image by grayscale enhancing method, obtains grey level enhancement error image;
Best full threshold process with Otsu method is carried out to grey level enhancement error image, obtains difference area value;
When difference area value is greater than first threshold, current-limiting apparatus limitation passenger enters subway and waits area;
When difference area value is less than second threshold, current-limiting apparatus stops limitation passenger and enters subway waiting area.
6. a kind of method of subway stream of people management based on image procossing according to claim 5, it is characterised in that: described
Pretreatment includes:
Denoising is carried out to image, Fast Fourier Transform (FFT) is carried out to the image after denoising, after Fast Fourier Transform Inverse
After obtained image carries out low-pass filtering, then reverse Fast Fourier Transform (FFT) is carried out, resulting image is converted into gray level image.
7. a kind of method of subway stream of people management based on image procossing according to claim 6, it is characterised in that: described
Carrying out denoising to image includes: to carry out median filtering method to image.
8. a kind of method of subway stream of people management based on image procossing according to claim 5, it is characterised in that: described
Grayscale enhancing method includes:
The pixel for inputting error image is n, shares L gray level, nkGray level is represented as rkPixel number, then k-th ash
The probability that degree grade occurs may be expressed as:Wherein, 0≤rk≤ 1, k=0,1,2 ..., L-1 carry out ash to it
Enhancing processing function T (r) of degree enhancing may be expressed as:In formula, 0≤rk≤1,
K=0,1,2 ..., L-1, SkFor the enhanced grey level enhancement error image of gray value of each pixel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811578007.6A CN109684998A (en) | 2018-12-21 | 2018-12-21 | A kind of system and method for the subway stream of people management based on image procossing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811578007.6A CN109684998A (en) | 2018-12-21 | 2018-12-21 | A kind of system and method for the subway stream of people management based on image procossing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109684998A true CN109684998A (en) | 2019-04-26 |
Family
ID=66188111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811578007.6A Pending CN109684998A (en) | 2018-12-21 | 2018-12-21 | A kind of system and method for the subway stream of people management based on image procossing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684998A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112712619A (en) * | 2020-12-18 | 2021-04-27 | 中国平安人寿保险股份有限公司 | Method and device for managing and controlling passenger flow of subway station, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521990A (en) * | 2011-12-19 | 2012-06-27 | 徐华中 | Control method of intelligent traffic light based on image processing |
US20170286780A1 (en) * | 2016-03-18 | 2017-10-05 | Shenzhen University | Method and system for calculating passenger crowdedness degree |
CN108229400A (en) * | 2018-01-04 | 2018-06-29 | 东南大学 | Subway station large passenger flow identification method for early warning and system |
-
2018
- 2018-12-21 CN CN201811578007.6A patent/CN109684998A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521990A (en) * | 2011-12-19 | 2012-06-27 | 徐华中 | Control method of intelligent traffic light based on image processing |
US20170286780A1 (en) * | 2016-03-18 | 2017-10-05 | Shenzhen University | Method and system for calculating passenger crowdedness degree |
CN108229400A (en) * | 2018-01-04 | 2018-06-29 | 东南大学 | Subway station large passenger flow identification method for early warning and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112712619A (en) * | 2020-12-18 | 2021-04-27 | 中国平安人寿保险股份有限公司 | Method and device for managing and controlling passenger flow of subway station, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104574960B (en) | A kind of traffic lights recognition methods | |
CN104134079B (en) | A kind of licence plate recognition method based on extremal region and extreme learning machine | |
CN103366506A (en) | Device and method for automatically monitoring telephone call behavior of driver when driving | |
CN106339657B (en) | Crop straw burning monitoring method based on monitor video, device | |
Li et al. | Nighttime lane markings recognition based on Canny detection and Hough transform | |
CN108109385A (en) | A kind of vehicle identification of power transmission line external force damage prevention and hazardous act judgement system and method | |
Guo et al. | Image-based seat belt detection | |
CN106886778B (en) | License plate character segmentation and recognition method in monitoring scene | |
CN102855617A (en) | Method and system for processing adaptive images | |
CN106650728B (en) | A kind of shade Binarization of License Plate Images | |
CN102902951A (en) | System and method for vehicle target location and event detection on basis of high-definition video monitoring images | |
CN104021527A (en) | Rain and snow removal method in image | |
CN110276318A (en) | Nighttime road rains recognition methods, device, computer equipment and storage medium | |
CN102999890A (en) | Method for dynamically calibrating image light intensity on basis of environmental factors | |
CN108229447B (en) | High beam light detection method based on video stream | |
CN109637123A (en) | A kind of complexity traffic environment downlink people living things feature recognition and traffic control system | |
CN103106796A (en) | Vehicle detection method and device of intelligent traffic surveillance and control system | |
CN103927875A (en) | Traffic overflowing state recognition method based on video | |
CN109684998A (en) | A kind of system and method for the subway stream of people management based on image procossing | |
CN111062319A (en) | Driver call detection method based on active infrared image | |
Kim et al. | Deep learning based effective surveillance system for low-illumination environments | |
CN110378892A (en) | A kind of method of quick detection electric transmission line channel hidden danger | |
CN104732555A (en) | Image edge detection method based on Sobel operator | |
CN104050479A (en) | Method for eliminating automobile shadow and window interference in remote control image and recognizing automobile | |
CN112200007A (en) | License plate detection and identification method under community monitoring scene |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190426 |