A kind of taxi operation monitoring method, equipment, storage medium and system
Technical field
The present invention relates to public transport monitoring operation field, it is related to a kind of taxi operation monitoring method, electronic equipment, deposits
Storage media and system.
Background technology
Taxi belongs to a kind of public transport mode, and following abnormal conditions are likely to occur in taxi operation:Driver is leading
More people's share-cars, fugitive convict ride (convict or suspect ride), passenger's hazardous act (hold knife/rifle coerce driver or other
Passenger).These abnormal conditions can give society, taxi operation side, taxi driver etc. to cause damages, and needs are supervised.But
It is current main or rely on manpower to supervise, such as supervise share-car behavior by municipal administration, multiplied to differentiate by taxi driver
The legitimacy etc. of visitor, supervision efficiency is low, effect is poor.
Invention content
One of to solve above-mentioned technical problem, this application provides a kind of taxi operation monitoring method, this method is available
It is supervised in the operation of the public transport such as such as taxi.
According to the first aspect of the embodiment of the present application, a kind of taxi operation monitoring method is provided, including:To acquisition
Obtained interior image data carries out feature extraction, obtains passenger image characteristic information;By the passenger image characteristic information with
First standard feature information is compared, if the similarity of comparison result reaches the first predetermined threshold value, generates alarm signal.
According to the second aspect of the embodiment of the present application, a kind of electronic equipment is additionally provided, the electronic equipment includes:It deposits
Reservoir, one or more processors;Memory is connected with processor by communication bus;Processor is configured as executing memory
In instruction;The instruction for executing each step in method as described above is stored in the storage medium.
In terms of according to the third of the embodiment of the present application, a kind of computer readable storage medium is additionally provided, is stored thereon
There is computer program, which is characterized in that the step of program realizes method as described above when being executed by processor.
According to the 4th of the embodiment of the present application the aspect, a kind of taxi operation monitoring system is additionally provided, including:Image
Collecting device, for carrying out image data acquiring to the human body of passenger inside the vehicle and/or face, obtain passenger inside the vehicle's image data and
The image data acquiring time;With electronic equipment as described above.
Herein described technical solution is by the way that passenger inside the vehicle's image feature information to be compared with standard feature information, really
Whether fixed operation occurs that driver is caused the behavior of personal injury or multiplied to have transported a suspect in the process, in real time to taxi
The safety of driver is monitored during operation, improves taxi operation safety.
Herein described technical solution by during taxi operation handling capacity of passengers and passenger getting on/off information carry out
Statistics can carry out rational allocation and management to the whole operation of taxi on this basis.
Herein described technical solution by time of coincidence that different passengers are stopped in the car to passenger's share-car situation into
Row judges, to reinforce dominating the management and control of more people's share-car behaviors to driver.
Description of the drawings
Fig. 1 is the schematic diagram of taxi operation monitoring method described in this programme;
Fig. 2 is the schematic diagram judged share-car situation described in this programme;
Fig. 3 is the schematic diagram of passenger inside the vehicle's image acquisition region described in this programme.
Drawing reference numeral
1, camera, 2, taxi.
Specific implementation mode
In order to make technical solution in the embodiment of the present application and advantage be more clearly understood, below in conjunction with attached drawing to the application
Exemplary embodiment be described in more detail, it is clear that described embodiment be only the application a part implement
Example, rather than the exhaustion of all embodiments.It should be noted that in the absence of conflict, the embodiment in the application and reality
The feature applied in example can be combined with each other.
The core ideas of this programme is multiple images collecting device by being arranged on taxi in real time to passenger inside the vehicle
Human body and/or face carry out image data acquiring, and to image data carry out feature extraction, obtain passenger image feature letter
Breath;Based on passenger image characteristic information, judges whether to occur to cause the behavior of personal injury, share-car behavior to driver or have can
Situations such as doubtful personnel ride, to reinforce the supervision to taxi operation.
Embodiment one
As shown in Figure 1, this example provides a kind of taxi operation monitoring method based on cloud server, this method
Step includes:
Interior image data is acquired, the acquisition time of passenger inside the vehicle's image data and image data is obtained;
Feature extraction is carried out to the interior image data collected, obtains passenger image characteristic information;
The passenger image characteristic information is compared with the first standard feature information, if the similarity of comparison result reaches
To the first predetermined threshold value, then alarm signal is generated;
Wherein, the first standard feature information includes:Characteristics of human body and/or the face of personal injury behavior are caused to driver
Portion's feature.The passenger image characteristic information includes characteristics of human body and/or face feature information.
In this example, interior image can be acquired by image capture device, from the interior image collected
The characteristic information of human body, face that passenger is detected in data is as passenger image characteristic information.It can be with for the extraction of feature
It is realized using the methods of the Face datection of human body target detection, view-based access control model based on deep learning.For example, Face datection can be with
Using based on the cascade method of binary picture feature combination multi-categorizer, human testing may be used based on human body contour outline or depth
The method of the crucial point location of degree study.In the present solution, facial feature extraction can also be gone out together when characteristics of human body extracts
Come, forms the assemblage characteristic of characteristics of human body and facial characteristics.
In this example, it is compared with the first standard feature information using passenger image characteristic information, to judge to hire out
During vehicle operation, the security situation of driver or the dangerous situation for carrying passenger.Wherein, the first standard feature information includes:It is right
Driver causes characteristics of human body and/or facial characteristics of personal injury behavior etc.;Cause the human body of personal injury behavior special driver
Sign can be the characteristics of human body that passenger holds the hazardous acts such as knife, armed or hand-held other dangerous material;Facial characteristics can be fugitive
The facial characteristics of the dangerous persons such as convict.
In this example, for passenger image characteristic information is compared with the first standard feature information, comparison result
Similarity reaches the first predetermined threshold value, then the step of generating alarm signal, can by image classification based on deep learning or
The method of target detection holds passenger to realize the image feature information of the hazardous acts such as knife, armed or hand-held other dangerous material
Matching identification;Or, by human body based on deep learning or face identification method come identify human body or the corresponding people's name of face,
Whether it is some dangerous person in chartered runaway convict library.Pass through the result of matching identification, it is determined whether generate alarm signal
Number;Remote equipment can monitor alarm signal in real time, if detecting alarm signal, alarm at once in remote port.Due to practical figure
The characteristic information of picture may will be a certain deviation with standard feature information, therefore, in order to improve alert capability and to the peace of driver
Quan Xing can be disposed at 70% to 90% when the first predetermined threshold value is arranged, as long as similarity reaches this threshold value
Alarm signal is sent out, is further confirmed that again by remote worker after alarm, to improve the alert capability of system and right
The safety of driver.The setting of predetermined threshold value can be adjusted according to actual conditions, be not limited only to the above-mentioned reality provided
Example.In the present solution, the comparison for passenger image characteristic information and the first standard feature information, can select according to actual demand
Individually characteristics of human body and facial characteristics are compared to characteristics of human body, individually to facial characteristics or simultaneously, to improve detection
Accuracy and detection efficiency.
In the present solution, causing image capture device that can not collect passenger in the car in order to avoid passenger moves in the car
The problem of image, when having passenger in the car, the car image data needs to include the image of passenger, therefore, as the passenger
When position changes, then Image Acquisition is carried out to passenger inside the vehicle by the way of tracking;Specifically:To being examined in former frame picture
Human body, the face measured can the case where tracking the change in location of this human body, face in the current frame, including disappear from picture
It is realized in method by target following.Namely based on previous moment target position, transported by target between adjacent time point
Dynamic continuity and correlation quickly detects target in the position at current time.
In this example, it is also based on number of the acquisition time to passenger getting on/off of interior image data and image data
It is counted, obtains passenger carrying capacity data and the corresponding temporal information of getting on or off the bus of passenger.Specifically, being schemed in the car with first appearing
As the image feature information of a certain passenger in data is as the second standard feature information;
It is spaced to schedule, the image feature information of the interior passenger is compared with the second standard feature information
It is right, if the similarity of comparison result is less than the second predetermined threshold value, confirm the operation for completing the passenger, passenger carrying capacity adds 1, and remembers
Record the corresponding information of getting on or off the bus of the passenger;
It repeats the above steps, records the passenger carrying capacity data and the corresponding information of getting on or off the bus of passenger in the predetermined service time.
Wherein, can also be based on the thought of serious forgiveness for the setting of the second predetermined threshold value, it can be by the second predetermined threshold value
Setting is 10% to 20%, as long as similarity can confirm the operation for completing the passenger less than this threshold value.For predetermined threshold value
Setting can be adjusted according to actual conditions, be not limited only to the above-mentioned example provided.
In this example, for number of getting on or off the bus statistics can based in previous image human body/Face datection, human body/
Face tracking as a result, counting someone stop starting and ending time on certain vehicle.Wherein, different people is expressed as P1, P2,
P3...;The whole story time that everyone i is stopped in vehicle is ti0、ti1;In addition it can count everyone, residing for each moment
GPS position information.These statistical informations can be stored in person-time statistic information base, can be periodically transmitted to high in the clouds and be used for
Backup and evidence obtaining.
In this example, as shown in Fig. 2, being also based on human body/Face datection in previous image, human body/face tracking
As a result, count someone stop starting and ending time on certain vehicle, and further share-car behavior is identified, for two
A above, having time overlaps, the people that the whole story time is different, it is believed that is share-car suspicion.For example, two people P in upper figure3And P4,
There are coincidence and whole story time point difference (t in their time30<t40<t31<t41), so P3And P4It is likely to share-car.Separately
Outside, the geographical location information that GPS is provided can also be used as a factor for differentiating share-car, for example, if the above behavior is happened at ground
Iron station, bus station near railway station, are then determined as the probability higher of share-car.
In this example, personal injury behavior, suspicious figure or share-car behavior are caused to driver when detecting, then send out alarm
Signal, while behavior type and image information are sent to high in the clouds together, high in the clouds is alarmed according to alarm signal, for taxi public affairs
The departments such as department, police decision uses.
Herein described technical solution is by the way that passenger inside the vehicle's image feature information to be compared with standard feature information, really
Whether fixed operation occurs that driver is caused the behavior of personal injury or multiplied to have transported a suspect in the process, in real time to taxi
The safety of driver is monitored during operation, improves taxi operation safety.
Herein described technical solution by during taxi operation handling capacity of passengers and passenger getting on/off information carry out
Statistics can carry out rational allocation and management to the whole operation of taxi on this basis.
Herein described technical solution by time of coincidence that different passengers are stopped in the car to passenger's share-car situation into
Row judges, to reinforce dominating the management and control of more people's share-car behaviors to driver.
Embodiment 2
This example discloses a kind of electronic equipment, which is characterized in that the electronic equipment includes:Memory, one or more
A processor;Memory is connected with processor by communication bus;Processor is configured as executing the instruction in memory;It is described
The instruction for executing each step in method described in embodiment 1 is stored in storage medium.
Herein described technical solution is by the way that passenger inside the vehicle's image feature information to be compared with standard feature information, really
Whether fixed operation occurs that driver is caused the behavior of personal injury or multiplied to have transported a suspect in the process, in real time to taxi
The safety of driver is monitored during operation, improves taxi operation safety.
Herein described technical solution by during taxi operation handling capacity of passengers and passenger getting on/off information carry out
Statistics can carry out rational allocation and management to the whole operation of taxi on this basis.
Herein described technical solution by time of coincidence that different passengers are stopped in the car to passenger's share-car situation into
Row judges, to reinforce dominating the management and control of more people's share-car behaviors to driver.
Embodiment 3
This example discloses a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that should
The step of method as described in example 1 above is realized when program is executed by processor.
Herein described technical solution is by the way that passenger inside the vehicle's image feature information to be compared with standard feature information, really
Whether fixed operation occurs that driver is caused the behavior of personal injury or multiplied to have transported a suspect in the process, in real time to taxi
The safety of driver is monitored during operation, improves taxi operation safety.
Herein described technical solution by during taxi operation handling capacity of passengers and passenger getting on/off information carry out
Statistics can carry out rational allocation and management to the whole operation of taxi on this basis.
Herein described technical solution by time of coincidence that different passengers are stopped in the car to passenger's share-car situation into
Row judges, to reinforce dominating the management and control of more people's share-car behaviors to driver.
Embodiment 4
This example discloses a kind of taxi operation monitoring system based on cloud server, which includes that setting is going out
Multiple images collecting device in hiring a car and electronic equipment as described in Example 2.Using multiple images collecting device to car
Image is acquired, and obtains the acquisition time of interior image data and image data;Using electronic equipment to collecting
Image data carries out feature extraction, and the passenger image characteristic information that extraction obtains is compared with the first standard feature information,
If the similarity of comparison result reaches the first predetermined threshold value, alarm signal is generated.Wherein, the first standard feature information includes:
The image feature information and/or facial image features information of personal injury behavior are caused to driver.By by passenger inside the vehicle's image
Characteristic information is compared with standard feature information, determines whether operation occurs causing driver the behavior of personal injury in the process
Or multiply and transported a suspect, to be monitored in real time to the safety of driver during taxi operation, improve taxi fortune
Battalion's safety.In this example, image capture device can be separately positioned on the front end at front and rear row seat, and specific installation position can root
It is adjusted according to image acquisition region.Preferably, it is arranged and is not arranging among seat on the vehicle body frame of oblique upper.In this example,
The microprocessor of built-in recognizer may be used in computing unit, and it is integrated with interior other equipment or is separately provided in the car
Some region, specific location can according to interior physical device arrange situation and adjust.
In this example, described image collecting device can follow the change in location of passenger inside the vehicle, to vehicle in a manner of tracking
Interior passenger carries out Image Acquisition, and avoiding passenger and moving in the car causes image capture device that can not collect passenger in the car
The problem of image.
In this example, the taxi operation monitoring system is further provided with storage unit, and the storage unit can
Storage collects all data and the first standard feature information in image data, computing unit implementation procedure.When high in the clouds needs
It wants all data during operation are uploaded to high in the clouds at any time when called data.
In this example, the taxi operation monitoring system is further provided with network module, which can pass through net
Network module obtains the first standard feature information that high in the clouds provides or other high in the clouds are transmitted to the communication information of the system;It can also lead to
It crosses network module and all data in the image data collected and/or computing unit implementation procedure is sent to cloud service
Device.
In this example, the taxi operation monitoring system is further provided with locating module and/or acceleration detection mould
Block.Locating module is used for the location information of real-time collection vehicle, and the electronic equipment is based on the location information and is carried out to vehicle
Positioning in real time.Acceleration detection module is used for the acceleration information of real-time collection vehicle, and the electronic equipment is based on the acceleration
Degree information determines the transport condition of vehicle.In this example, the locating module can select GPS or IMU sensors.The acceleration
Degree detection module can select acceleration transducer.
As shown in figure 3, taxi operation monitoring system described in this example includes camera 2, sensor, such as 2 institute of embodiment
Electronic equipment, storage unit and the network module composition stated.Wherein, camera is responsible for shooting interior picture, usually, it is contemplated that
The front row for covering taxi 1 needs two synchronous wide viewing angle cameras with heel row;GPS/IMU etc. may be used in sensor,
It can be used for providing geographical location information (such as so-and-so bus station, so-and-so subway station, so-and-so railway station etc.), IMU sensors
It can also be used to judge the transport condition (such as stopping, acceleration, deceleration etc.) of taxi 1;The electronic equipment is for executing
1 the method step of embodiment;Storage unit is responsible for storing suspect/convict's feature database, person-time statistic information base etc.;Network mould
Block, which is responsible for communicating with first end, obtains suspect/convict's characteristic, push person-time statistical data etc..There is corresponding software and hardware in high in the clouds
Module is docked with mobile unit.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
It these are only the embodiment of the present invention, be not intended to restrict the invention, it is all in the spirit and principles in the present invention
Within, any modification, equivalent substitution, improvement and etc. done, be all contained in apply pending scope of the presently claimed invention it
It is interior.