CN105551291B - Transit riding guidance system - Google Patents
Transit riding guidance system Download PDFInfo
- Publication number
- CN105551291B CN105551291B CN201610086510.4A CN201610086510A CN105551291B CN 105551291 B CN105551291 B CN 105551291B CN 201610086510 A CN201610086510 A CN 201610086510A CN 105551291 B CN105551291 B CN 105551291B
- Authority
- CN
- China
- Prior art keywords
- compartment
- gray
- guidance system
- pixel
- machine
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/123—Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
- G08G1/133—Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams within the vehicle ; Indicators inside the vehicles or at stops
Abstract
The present invention provides a kind of transit riding guidance system, including:Camera, in bus, for obtaining compartment real image;Intellectual analysis all-in-one machine, in the bus, for obtaining compartment congestion information according to the compartment real image when outbound and sending the compartment congestion information and public transport information of arriving at a station;Central server is connected with the intellectual analysis all-in-one machine wireless telecommunications, for the compartment congestion information received and public transport information of arriving at a station to be pushed to mobile terminal.With the above mentioned technical proposal, the present invention can not only make enter the station information of the passenger by the mobile terminals such as its mobile phone acquisition bus, the crowded state of the bus can also be obtained, next coastiong such as to determine whether continue, so as to greatly facilitate transit riding, have the characteristics that simple in structure, at low cost.
Description
Technical field
The present invention relates to public transport to guide field, more particularly to a kind of transit riding guidance system.
Background technology
At present, the positioning of bus is mostly carried out using GPS data, vehicle is judged by the analysis to time and speed
Real-time site information.However, the public can not know the real-time congested conditions of vehicle interior, can not so determine whether should be after
Next coastiong such as continuous.
The content of the invention
The present invention provides a kind of transit ridings simple in structure, at low cost, that the public can be made to understand public transport congested conditions to refer to
Draw system.
To solve the above problems, as one aspect of the present invention, a kind of transit riding guidance system is provided, including:
Camera, in bus, for obtaining compartment real image;Intellectual analysis all-in-one machine, in the bus,
For obtaining compartment congestion information according to the compartment real image when outbound and arriving the compartment congestion information and public transport
Information of standing is sent;Central server is connected with the intellectual analysis all-in-one machine wireless telecommunications, for it will receive described in
Compartment congestion information and public transport information of arriving at a station are pushed to mobile terminal.
Preferably, the transit riding guidance system further includes vehicle scheduling terminal, connects with the intellectual analysis all-in-one machine
It connects, for sending exit signal to the intellectual analysis all-in-one machine.
Preferably, the transit riding guidance system further includes GPS locator, is connected with the intellectual analysis all-in-one machine,
For sending to judge whether outbound GPS signal to the intellectual analysis all-in-one machine.
Preferably, the intellectual analysis all-in-one machine calculates compartment congestion information in the following manner:It is real to obtain the compartment
Border image is the pixel value of each pixel in scope corresponding with floor compartment region;The gray scale for calculating the pixel value is averaged
Value;The pixel value of the pixel is calculated compared with the gray variance of the average gray;If the gray variance is smaller,
Then judge that compartment congestion degree is smaller, otherwise the compartment congestion degree is bigger.
Preferably, the pixel that the compartment real image is each pixel in scope corresponding with floor compartment region is obtained
Value includes:Using the camera in compartment nobody shoot an empty wagons compartment image;By empty wagons compartment figure
Floor area as in is marked out with pure red come so as to obtaining compartment template image;It scans red in the compartment template image
Coordinate where colour vegetarian refreshments, so as to obtain template coordinate;It is found in the compartment real image and each template coordinate
The pixel value of corresponding pixel.
Preferably, the average gray of the pixel value is calculated using following formula:
Wherein, xiI-th grey scale pixel value is represented, n is the number of pixel.
Preferably, the pixel value of the pixel is calculated compared with the gray variance of the average gray using following formula:
Wherein, s2For gray variance, M is average gray, xiRepresent i-th grey scale pixel value.
Preferably, the following formula of intellectual analysis all-in-one machine by the compartment real image be converted into gray level image for
Subsequent step extracts gray value:
Gray=R*0.299+G*0.587+B*0.114.
Preferably, the intellectual analysis all-in-one machine is when judging crowding, if gray variance is less than first predetermined value,
It is determined as empty spacious;If gray variance is more than or equal to first predetermined value and less than second predetermined value, it is determined as general crowded;Such as
Fruit gray variance is more than or equal to second predetermined value and is less than third predetermined value, then is determined as crowded;If gray variance is more than or equal to
Third predetermined value is then determined as serious crowded.
Preferably, the compartment template image and the compartment real image are the cameras in same angle and shooting
The completely one-to-one image of the actual coordinate shot under parameter.
By adopting the above-described technical solution, the present invention can not only make passenger obtain public affairs by mobile terminals such as its mobile phones
The information that enters the station of vehicle is handed over, the crowded state of the bus can also be obtained, next coastiong such as to determine whether continue, so as to
Transit riding is greatly facilitated, is had the characteristics that simple in structure, at low cost.
Description of the drawings
Fig. 1 schematically shows the structure diagram of the present invention.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing, but the present invention can be defined by the claims
Implement with the multitude of different ways of covering.
It please refers to Fig.1, the present invention provides a kind of transit riding guidance system, including:Camera, mounted on bus
It is interior, for obtaining compartment real image;Intellectual analysis all-in-one machine, in the bus, for when outbound according to institute
Compartment real image is stated to obtain compartment congestion information and send the compartment congestion information and public transport information of arriving at a station;In
Central server is connected with the intellectual analysis all-in-one machine wireless telecommunications, for the compartment congestion information and public affairs that will be received
It is sent to station information and is pushed to mobile terminal.
By adopting the above-described technical solution, the present invention can not only make passenger obtain public affairs by mobile terminals such as its mobile phones
The information that enters the station of vehicle is handed over, the crowded state of the bus can also be obtained, next coastiong such as to determine whether continue, so as to
Transit riding is greatly facilitated, is had the characteristics that simple in structure, at low cost.
In this way, the public can be by situation in vehicle site information and compartment that acquisition for mobile terminal arrives, so as to determine to be
It is no to take, continue waiting for or change other circuits, to alleviate line pressure on the whole, improve comfort by bus.It is another
Aspect, public transport company can be decided whether by the crowding situation in compartment plus send more vehicles.
Preferably, the transit riding guidance system further includes vehicle scheduling terminal, connects with the intellectual analysis all-in-one machine
It connects, for sending exit signal to the intellectual analysis all-in-one machine.Preferably, the transit riding guidance system further includes GPS
Locator is connected with the intellectual analysis all-in-one machine, outbound for sending to judge whether to the intellectual analysis all-in-one machine
GPS signal.Under normal circumstances, when outbound, vehicle scheduling terminal can send outbound information to intellectual analysis all-in-one machine.If intelligence
All-in-one machine can be analyzed and do not receive the outbound information for carrying out vehicle scheduling terminal, then can judge to be according to GPS locator
It is no outbound.For example, GPS locators GPS signal represent bus at present where position, intellectual analysis all-in-one machine by its with
The GPS location of the website of storage compares, so as to know whether just outbound and outbound from which website.
Preferably, the intellectual analysis all-in-one machine calculates compartment congestion information in the following manner:It is real to obtain the compartment
Border image is the pixel value of each pixel in scope corresponding with floor compartment region;The gray scale for calculating the pixel value is averaged
Value;The pixel value of the pixel is calculated compared with the gray variance of the average gray;If the gray variance is smaller,
Then judge that compartment congestion degree is smaller, otherwise the compartment congestion degree is bigger.In the case of being opened since compartment is empty, floor color one
It causes, the gray scale of each point pixel is consistent, and in the case that variance is smaller, and compartment is crowded, people, each point pixel have been packed on floor
Gray scale it is inconsistent, variance is larger, accordingly can be according to judging the size of variance, and draws compartment crowding situation.In this way, root
Judge compartment crowding situation according to the size of variance, if variance is smaller, compartment is more empty spacious, if variance is bigger
Words, compartment are more crowded.
Preferably, the pixel that the compartment real image is each pixel in scope corresponding with floor compartment region is obtained
Value includes:Using the camera in compartment nobody shoot an empty wagons compartment image;By empty wagons compartment figure
Floor area as in is marked out with pure red come so as to obtaining compartment template image;It scans red in the compartment template image
Coordinate where colour vegetarian refreshments, so as to obtain template coordinate;It is found in the compartment real image and each template coordinate
The pixel value of corresponding pixel.
For example, a figure in video when bus compartment is empty to be opened can be extracted from the video of actual photographed, by floor
It is marked out to come with pure red RGB (255,0,0), and the picture size of this figure and the video of actual use is 1:1, image coordinate
Position corresponded with original position, i.e., described compartment template image and the compartment real image are that the camera exists
The completely one-to-one image of the actual coordinate shot under same angle and acquisition parameters.
Significantly, it is the position that goes out floor for mark flag bit to be arranged to pure red purpose, due to reality
Except the place being marked in upper, occurs pure red probability elsewhere for 1/16777216, it is possible to ignore.
Preferably, the average gray of the pixel value is calculated using following formula:
Wherein, xiI-th grey scale pixel value is represented, n is the number of pixel.
Preferably, the pixel value of the pixel is calculated compared with the gray variance of the average gray using following formula:
Wherein, s2For gray variance, M is average gray, xiRepresent i-th grey scale pixel value.There is average gray,
Variance can be calculated according to above formula, variance is the mean square of actual value and average value, each point flatness of reaction
Problem.
Preferably, the following formula of intellectual analysis all-in-one machine by the compartment real image be converted into gray level image for
Subsequent step extracts gray value:
Gray=R*0.299+G*0.587+B*0.114.
For example, for the bmp figures of 24, image by putting what is formed one by one, and each o'clock by the binary system of 24
Number composition, 24 are divided into 38, represent RGB respectively.For example, image resolution 704*576, then on the abscissa of the image
There are 704 points, there are 576 points on ordinate, in this way, the value of each point pixel can be obtained by coordinate system.By the gray scale of each point
The formula that value Gray brings above formula into can be obtained by floor location gradation of image average value.
Preferably, the intellectual analysis all-in-one machine is when judging crowding, if gray variance is less than first predetermined value,
It is determined as empty spacious;If gray variance is more than or equal to first predetermined value and less than second predetermined value, it is determined as general crowded;Such as
Fruit gray variance is more than or equal to second predetermined value and is less than third predetermined value, then is determined as crowded;If gray variance is more than or equal to
Third predetermined value is then determined as serious crowded.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.
Claims (9)
1. a kind of transit riding guidance system, which is characterized in that including:
Camera, in bus, for obtaining compartment real image;
Intellectual analysis all-in-one machine, in the bus, for obtaining vehicle according to the compartment real image when outbound
Compartment congestion information simultaneously sends the compartment congestion information and public transport information of arriving at a station;
Central server is connected with the intellectual analysis all-in-one machine wireless telecommunications, for the compartment congestion received to be believed
Breath and public transport information of arriving at a station are pushed to mobile terminal;
The intellectual analysis all-in-one machine calculates compartment congestion information in the following manner:Obtain the compartment real image and compartment
Floor area corresponds to the pixel value of each pixel in scope;Calculate the average gray of the pixel value;Calculate the pixel
Point pixel value compared with the average gray gray variance;If the gray variance is smaller, compartment congestion is judged
Spend smaller, otherwise the compartment congestion degree is bigger.
2. transit riding guidance system according to claim 1, which is characterized in that the transit riding guidance system also wraps
Vehicle scheduling terminal is included, is connected with the intellectual analysis all-in-one machine, for sending exit signal to the intellectual analysis all-in-one machine.
3. transit riding guidance system according to claim 1 or 2, which is characterized in that the transit riding guidance system
GPS locator is further included, is connected with the intellectual analysis all-in-one machine, for sending to judge to the intellectual analysis all-in-one machine
Whether outbound GPS signal.
4. transit riding guidance system according to claim 1, which is characterized in that obtain the compartment real image and vehicle
The pixel value that compartment floor area corresponds to each pixel in scope includes:
Using the camera in compartment nobody shoot an empty wagons compartment image;
Floor area in empty wagons compartment image is marked out with pure red come so as to obtaining compartment template image;
The coordinate where the red pixel point in the compartment template image is scanned, so as to obtain template coordinate;
The pixel value with each corresponding pixel of template coordinate is found in the compartment real image.
5. transit riding guidance system according to claim 4, which is characterized in that the pixel value is calculated using following formula
Average gray:
Wherein, xiI-th grey scale pixel value is represented, n is the number of pixel.
6. transit riding guidance system according to claim 4, which is characterized in that the pixel is calculated using following formula
Pixel value compared with the average gray gray variance:
Wherein, s2For gray variance, M is average gray, xiRepresent i-th grey scale pixel value.
7. transit riding guidance system according to claim 4, which is characterized in that under the intellectual analysis all-in-one machine use
It states formula and the compartment real image is converted into gray level image so that subsequent step extracts gray value:
Gray=R*0.299+G*0.587+B*0.114.
8. transit riding guidance system according to claim 4, which is characterized in that the intellectual analysis all-in-one machine is judging
During crowding,
If gray variance is less than first predetermined value, it is determined as empty spacious;
If gray variance is more than or equal to first predetermined value and less than second predetermined value, it is determined as general crowded;
If gray variance is more than or equal to second predetermined value and is less than third predetermined value, it is determined as crowded;
If gray variance is more than or equal to third predetermined value, it is determined as serious crowded.
9. transit riding guidance system according to claim 4, which is characterized in that the compartment template image and the vehicle
Compartment real image is that the actual coordinate that the camera is shot under same angle and acquisition parameters is completely one-to-one
Image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610086510.4A CN105551291B (en) | 2016-02-16 | 2016-02-16 | Transit riding guidance system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610086510.4A CN105551291B (en) | 2016-02-16 | 2016-02-16 | Transit riding guidance system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105551291A CN105551291A (en) | 2016-05-04 |
CN105551291B true CN105551291B (en) | 2018-06-05 |
Family
ID=55830458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610086510.4A Active CN105551291B (en) | 2016-02-16 | 2016-02-16 | Transit riding guidance system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105551291B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018064570A1 (en) * | 2016-09-30 | 2018-04-05 | Intertrust Technologies Corporation | Transit vehicle information management systems and methods |
CN106778521A (en) * | 2016-11-23 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of transit riding reminding method, apparatus and system |
CN108806234A (en) * | 2017-04-28 | 2018-11-13 | 武汉多谱多勒科技有限公司 | A kind of intelligent public transportation system |
CN108205888B (en) * | 2017-12-22 | 2021-04-02 | 北京奇虎科技有限公司 | Method and device for judging passenger entering and exiting station |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1579836A (en) * | 2003-08-15 | 2005-02-16 | 株式会社日立制作所 | Bus, stop and center system with information exchange |
CN101359427A (en) * | 2008-09-23 | 2009-02-04 | 北京航天智通科技有限公司 | Public transport vehicle-mounted monitoring and scheduling apparatus for implementing multimedia playing |
CN102622877A (en) * | 2012-04-06 | 2012-08-01 | 杭州妙影微电子有限公司 | Bus arrival judging system and method by utilizing road condition information and running speed |
CN104504688A (en) * | 2014-12-10 | 2015-04-08 | 上海大学 | Method and system based on binocular stereoscopic vision for passenger flow density estimation |
CN205722451U (en) * | 2016-02-16 | 2016-11-23 | 深圳市特维视科技有限公司 | Transit riding guidance system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014010493A (en) * | 2012-06-27 | 2014-01-20 | Koito Electric Industries Ltd | Bus stop information service system |
-
2016
- 2016-02-16 CN CN201610086510.4A patent/CN105551291B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1579836A (en) * | 2003-08-15 | 2005-02-16 | 株式会社日立制作所 | Bus, stop and center system with information exchange |
CN101359427A (en) * | 2008-09-23 | 2009-02-04 | 北京航天智通科技有限公司 | Public transport vehicle-mounted monitoring and scheduling apparatus for implementing multimedia playing |
CN102622877A (en) * | 2012-04-06 | 2012-08-01 | 杭州妙影微电子有限公司 | Bus arrival judging system and method by utilizing road condition information and running speed |
CN104504688A (en) * | 2014-12-10 | 2015-04-08 | 上海大学 | Method and system based on binocular stereoscopic vision for passenger flow density estimation |
CN205722451U (en) * | 2016-02-16 | 2016-11-23 | 深圳市特维视科技有限公司 | Transit riding guidance system |
Also Published As
Publication number | Publication date |
---|---|
CN105551291A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105551291B (en) | Transit riding guidance system | |
US9129397B2 (en) | Human tracking method and apparatus using color histogram | |
US7426293B2 (en) | Rapid color recognition method | |
CN104776849B (en) | Vehicle positioning device and method | |
CN109685026B (en) | Real-time monitoring method for mobile phone call held by driver | |
US20190353487A1 (en) | Positioning a terminal device based on deep learning | |
CN111295689A (en) | Depth aware object counting | |
US20140093128A1 (en) | Threshold setting device for setting threshold used in binarization process, object detection device, threshold setting method, and computer readable storage medium | |
WO2013033678A2 (en) | Mobile video calls | |
US20120135758A1 (en) | Method For Offering Location Information and Location Information Providing System | |
CN110858414A (en) | Image processing method and device, readable storage medium and augmented reality system | |
US8996577B2 (en) | Object information provision device, object information provision system, terminal, and object information provision method | |
CN115004269A (en) | Monitoring device, monitoring method, and program | |
JP2011233005A (en) | Object displaying device, system, and method | |
CN113822217A (en) | Ship tail gas monitoring method based on AIS and video image analysis | |
KR101342085B1 (en) | Method for limiting disclosure of personal mobile terminal number information using car number based on image recognition, and personal mobile terminal with image recognition function for implementing the same | |
CN114973146A (en) | Carriage congestion degree detection method and device and electronic equipment | |
CN104410831B (en) | A method of monitoring taxi does not play table | |
CN206209401U (en) | A kind of vehicle fault diagnosis system | |
KR20190142931A (en) | Code authentication method of counterfeit print image and its application system | |
JP2022032520A (en) | Management system, management method, management device, program and communication terminal | |
CN205722451U (en) | Transit riding guidance system | |
CN113473029A (en) | Lightning image shooting method and device and computer readable storage medium | |
CN107295318A (en) | Colour projection's platform based on image procossing | |
CN114493741A (en) | Vehicle returning method, device, equipment, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |