CN109902559A - Statistical method of traffic flow, system and computer readable storage medium - Google Patents

Statistical method of traffic flow, system and computer readable storage medium Download PDF

Info

Publication number
CN109902559A
CN109902559A CN201910036216.6A CN201910036216A CN109902559A CN 109902559 A CN109902559 A CN 109902559A CN 201910036216 A CN201910036216 A CN 201910036216A CN 109902559 A CN109902559 A CN 109902559A
Authority
CN
China
Prior art keywords
vehicle
information
video stream
stream information
preset
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
Application number
CN201910036216.6A
Other languages
Chinese (zh)
Inventor
陈年春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201910036216.6A priority Critical patent/CN109902559A/en
Publication of CN109902559A publication Critical patent/CN109902559A/en
Pending legal-status Critical Current

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The invention proposes a kind of statistical method of traffic flow, a kind of vehicle flowrate system and computer readable storage mediums.Wherein, method includes receiving Video stream information;Video stream information is identified using vehicle identification model, in the case where including preset vehicle in detecting Video stream information, the vehicle flowrate of preset vehicle is updated according to the quantity of preset vehicle.The preset vehicle in Video stream information is identified by using vehicle identification model, corresponding vehicle flowrate is updated according to the vehicle fleet size that statistics obtains, and then realize the statistics of vehicle, to manage according to statistical result to vehicle.

Description

Statistical method of traffic flow, system and computer readable storage medium
Technical field
The present invention relates to educational resource informatizations, in particular to a kind of statistical method of traffic flow, a kind of wagon flow Volume statistic system and computer readable storage medium.
Background technique
During the construction of smart city is continuously updated, new problem continuously emerges, government is needed to be managed, and Urban transportation is particularly important as the ring in intelligent city, and vehicle illegal situation violating the regulations is particularly acute at present, difficulty of governance Essentially consisting in accurately to be monitored vehicle, such as only the lane of limitation small vehicle traveling occur the quantity of oversize vehicle into Row statistics.
Therefore, a kind of statistical method of traffic flow is needed, so as to can be monitored to vehicle flowrate.
Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, first aspect of the present invention is to propose a kind of statistical method of traffic flow.
The second aspect of the invention is to propose a kind of vehicle flowrate system.
The third aspect of the invention is to propose a kind of computer readable storage medium.
In view of this, according to the first aspect of the invention, proposing a kind of statistical method of traffic flow, comprising: receive view Frequency stream information;Video stream information is identified using vehicle identification model, default vehicle is included in detecting Video stream information In the case where, the vehicle flowrate of preset vehicle is updated according to the quantity of preset vehicle.
Statistical method of traffic flow provided by the invention receives Video stream information, is believed using vehicle identification model video flowing Whether breath is detected, judge comprising preset vehicle in Video stream information, in the case where recognizing preset vehicle, according to default The quantity of vehicle updates the vehicle flowrate of preset vehicle.The preset vehicle in Video stream information is known by using vehicle identification model It does not come out, corresponding vehicle flowrate is updated according to the vehicle fleet size that statistics obtains, and then realize the statistics of vehicle, so as to according to system Meter result manages vehicle, and wherein preset vehicle can be car, lorry, passenger traffic public transport and responsible plant area's goods and materials fortune Defeated dump truck.
Above-mentioned statistical method of traffic flow according to the present invention, can also have following technical characteristic:
In the above-mentioned technical solutions, further, the step for the case where including preset vehicle in detecting Video stream information After rapid, before the step of the vehicle flowrate of the quantity of preset vehicle update preset vehicle, further includes: at interval of preset duration Judge whether current location and the last position of preset vehicle are identical, in current location and the upper primary different situation in position Under, execute the step of vehicle flowrate of preset vehicle is updated according to the quantity of preset vehicle.
In the technical scheme, since vehicle is there may be staying, in order to avoid in statistic processes by same vehicle Statistics is repeated several times, and then causes the vehicle flowrate inaccuracy of statistics.It therefore, include preset vehicle in detecting Video stream information The case where the step of, and then the current location and whether identical last position for judging preset vehicle at interval of preset duration The vehicle stayed is screened away, and then improves the accuracy of vehicle flowrate.
In any of the above-described technical solution, further, further includes: mark is arranged to the Video stream information comprising preset vehicle The step of signing information, updating the vehicle flowrate of preset vehicle according to the quantity of preset vehicle specifically includes: sentencing at interval of preset duration Whether disconnected label information and the label information in last Video stream information are consistent, in label information and upper primary Video stream information In label information it is inconsistent in the case where, the vehicle flowrate of preset vehicle is updated according to the inconsistent quantity of label information.
In the technical scheme, further, it is repeatedly identified to since vehicle is so slow that there may be travel speed, And then cause the vehicle flowrate inaccuracy of statistics.Therefore, by the way that label information is arranged to the Video stream information comprising preset vehicle, The vehicle flowrate that preset vehicle is updated according to the quantity of preset vehicle judges label information and last video at interval of preset duration Whether the label information in stream information is consistent, the inconsistent feelings of the label information in label information and upper primary Video stream information Under condition, the vehicle flowrate of preset vehicle is updated according to the inconsistent quantity of label information.It is through the above steps that travel speed is excessively slow Vehicle screen, and then improve vehicle flowrate accuracy.Wherein label information may include view set time length Video stream information in a certain position, it is either a certain in Video stream information that the specific form of expression can be a certain picture Moment;Or position of the preset vehicle image in Video stream information on certain image;Label information is also possible to default vehicle The coding number of setting in counting process, such as identity number.
In any of the above-described technical solution, further, further includes: be parsed into the Video stream information comprising preset vehicle Image information, and stored.
In the technical scheme, the Video stream information comprising preset vehicle is also parsed into image information, and is stored, It records, while vehicle can be known using the image information of storage as training set using image information as car statistics so as to subsequent Other model is trained, and then improves the accuracy of the identification of vehicle identification model.
In any of the above-described technical solution, further, receive Video stream information the step of specifically include: receive character string Data information;In the case where pre-arranged code method is to string data information successfully resolved, the video flowing of successfully resolved is believed Breath is stored in memory;In the case where pre-arranged code method parses string data information and fails, by the view of parsing failure The identity number of frequency stream information is stored in error log.
In the technical scheme, it transmits and avoids leakage of information occur in output transmission process for the ease of data, lead to Often the data of transmission are converted and encrypted in data transmission procedure, therefore, after receiving string data information, are made It is stored in the Video stream information that pre-arranged code method parses to string data information, and successfully resolved is obtained interior It deposits, to use vehicle identification model to identify it, and for parsing the case where failing, the video flowing that parsing is failed is believed The identity number of breath is stored in error log, to reacquire.
In any of the above-described technical solution, further, string data information is connect by hypertext transfer protocol It receives;Video stream information is stored in memory in the way of message queue.
In the technical scheme, string data information is carried out received by hypertext transfer protocol, therefore, character string The transmission of data information is not limited to identical platform, and cross-platform data transmission may be implemented.
According to the second aspect of the invention, a kind of vehicle flowrate system is proposed, wherein include: memory, be used for Store computer program;Processor, for execute computer program with: receive Video stream information;Use vehicle identification model pair Video stream information is identified, in the case where including preset vehicle in detecting Video stream information, according to the number of preset vehicle Amount updates the vehicle flowrate of preset vehicle.
Vehicle flowrate system provided by the invention, comprising: memory and processor, wherein processor execution are stored in The computer program of reservoir with: receive Video stream information, Video stream information is detected using vehicle identification model, judges to regard Whether include preset vehicle in frequency stream information, in the case where recognizing preset vehicle, is updated according to the quantity of preset vehicle pre- If the vehicle flowrate of vehicle.The preset vehicle in Video stream information is identified by using vehicle identification model, according to statistics Obtained vehicle fleet size updates corresponding vehicle flowrate, and then realizes the statistics of vehicle, so as to according to statistical result to vehicle into Row control, wherein preset vehicle can be the dump truck of car, lorry, passenger traffic public transport and responsible plant area's Material Transportation.
Above-mentioned vehicle flowrate system according to the present invention, can also have following technical characteristic:
In the above-mentioned technical solutions, further, processor is also used to: judging working as preset vehicle at interval of preset duration Whether front position and last position are identical, under current location and the upper primary different situation in position, execute according to default The quantity of vehicle updates the step of vehicle flowrate of preset vehicle.
In the technical scheme, since vehicle is there may be staying, in order to avoid in statistic processes by same vehicle Statistics is repeated several times, and then causes the vehicle flowrate inaccuracy of statistics.It therefore, include preset vehicle in detecting Video stream information The case where the step of, and then the current location and whether identical last position for judging preset vehicle at interval of preset duration The vehicle stayed is screened away, and then improves the accuracy of vehicle flowrate.
In any of the above-described technical solution, further, processor is also used to: to the Video stream information comprising preset vehicle Label information is set;And whether the label information in label information and last Video stream information is judged at interval of preset duration Unanimously, it is different according to label information in the case that the label information in label information and upper primary Video stream information is inconsistent The quantity of cause updates the vehicle flowrate of preset vehicle.
In the technical scheme, further, it is repeatedly identified to since vehicle is so slow that there may be travel speed, And then cause the vehicle flowrate inaccuracy of statistics.Therefore, by the way that label information is arranged to the Video stream information comprising preset vehicle, The vehicle flowrate that preset vehicle is updated according to the quantity of preset vehicle judges label information and last video at interval of preset duration Whether the label information in stream information is consistent, the inconsistent feelings of the label information in label information and upper primary Video stream information Under condition, the vehicle flowrate of preset vehicle is updated according to the inconsistent quantity of label information.It is through the above steps that travel speed is excessively slow Vehicle screen, and then improve vehicle flowrate accuracy.Wherein label information may include view set time length Video stream information in a certain position, it is either a certain in Video stream information that the specific form of expression can be a certain picture Moment;Or position of the preset vehicle image in Video stream information on certain image;Label information is also possible to default vehicle The coding number of setting in counting process, such as identity number.
In any of the above-described technical solution, further, processor is also used to: by the Video stream information comprising preset vehicle It is parsed into image information, and is stored.
In the technical scheme, the Video stream information comprising preset vehicle is also parsed into image information, and is stored, It records, while vehicle can be known using the image information of storage as training set using image information as car statistics so as to subsequent Other model is trained, and then improves the accuracy of the identification of vehicle identification model.
In any of the above-described technical solution, further, processor is specifically used for: receiving string data information;Pre- If in the case that coding method is to string data information successfully resolved, the Video stream information of successfully resolved is stored in memory In;Processor is also used to: in the case where pre-arranged code method parses string data information and fails, by the view of parsing failure The identity number of frequency stream information is stored in error log.
In the technical scheme, it transmits and avoids leakage of information occur in output transmission process for the ease of data, lead to Often the data of transmission are converted and encrypted in data transmission procedure, therefore, after receiving string data information, are made It is stored in the Video stream information that pre-arranged code method parses to string data information, and successfully resolved is obtained interior It deposits, to use vehicle identification model to identify it, and for parsing the case where failing, the video flowing that parsing is failed is believed The identity number of breath is stored in error log, to reacquire.
In any of the above-described technical solution, further, string data information is connect by hypertext transfer protocol It receives;Video stream information is stored in memory in the way of message queue.
In the technical scheme, string data information is carried out received by hypertext transfer protocol, therefore, character string The transmission of data information is not limited to identical platform, and cross-platform data transmission may be implemented.
According to the third aspect of the present invention, it the present invention provides a kind of computer readable storage medium, is stored thereon with Computer program realizes the step of statistical method of traffic flow in any of the above-described technical solution when computer program is executed by processor Suddenly.
A kind of computer readable storage medium provided by the invention is stored thereon with computer program, computer program quilt The step of processor realizes statistical method of traffic flow in any of the above-described technical solution when executing, therefore there is the vehicle flowrate side Whole technical effects of method, details are not described herein.
Additional aspect and advantage of the invention will become obviously in following description section, or practice through the invention Recognize.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 shows the flow diagram of the statistical method of traffic flow of one embodiment of the present of invention;
Fig. 2 shows the flow diagrams of the statistical method of traffic flow of another embodiment of the invention;
Fig. 3 shows the flow diagram of the statistical method of traffic flow of yet another embodiment of the present invention;
Fig. 4 shows the flow diagram of the reception Video stream information of one embodiment of the present of invention;
Fig. 5 shows the flow diagram of the statistical method of traffic flow of another embodiment of the invention;
Fig. 6 shows the schematic block diagram of the vehicle flowrate system of one embodiment of the present of invention.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to be more clearly understood that aforementioned aspect of the present invention, feature and advantage Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not limited to following public affairs The limitation for the specific embodiment opened.
The embodiment of first aspect present invention, proposes a kind of statistical method of traffic flow, and Fig. 1 shows a reality of the invention Apply the flow diagram of the statistical method of traffic flow of example.As shown in Figure 1, this method comprises:
S102 receives Video stream information;
S104 identifies Video stream information using vehicle identification model, comprising pre- in detecting Video stream information If in the case where vehicle, the vehicle flowrate of preset vehicle is updated according to the quantity of preset vehicle.
Statistical method of traffic flow provided by the invention receives Video stream information, is believed using vehicle identification model video flowing Whether breath is detected, judge comprising preset vehicle in Video stream information, in the case where recognizing preset vehicle, according to default The quantity of vehicle updates the vehicle flowrate of preset vehicle.The preset vehicle in Video stream information is known by using vehicle identification model It does not come out, corresponding vehicle flowrate is updated according to the vehicle fleet size that statistics obtains, and then realize the statistics of vehicle, so as to according to system Meter result manages vehicle, and wherein preset vehicle can be car, lorry, passenger traffic public transport and responsible plant area's goods and materials fortune Defeated dump truck.
In one embodiment of the invention, Fig. 2 shows the statistical method of traffic flow of another embodiment of the invention Flow diagram.As shown in Fig. 2, this method comprises:
S202 receives Video stream information;
S204 identifies Video stream information using vehicle identification model, comprising pre- in detecting Video stream information If in the case where vehicle, judging whether the current location of preset vehicle and last position are identical at interval of preset duration;
S206 updates default under current location and the upper primary different situation in position according to the quantity of preset vehicle The vehicle flowrate of vehicle.
In this embodiment, since vehicle is there may be staying, in order to avoid in statistic processes that same vehicle is more It is secondary to repeat to count, and then cause the vehicle flowrate inaccuracy of statistics.It therefore, include preset vehicle in detecting Video stream information It the step of situation, will and then the current location and whether identical last position for judging preset vehicle at interval of preset duration The vehicle stayed screens away, and then improves the accuracy of vehicle flowrate.
In one embodiment of the invention, Fig. 3 shows the statistical method of traffic flow of yet another embodiment of the present invention Flow diagram.As shown in figure 3, this method comprises:
S302 receives Video stream information;
S304 identifies Video stream information using vehicle identification model, comprising pre- in detecting Video stream information If in the case where vehicle, label information is arranged to the Video stream information comprising preset vehicle;
S306, at interval of preset duration judge the label information in label information and last Video stream information whether one It causes, it is inconsistent according to label information in the case that the label information in label information and upper primary Video stream information is inconsistent Quantity update preset vehicle vehicle flowrate.
In this embodiment, further, it is repeatedly identified to since vehicle is so slow that there may be travel speed, into And cause the vehicle flowrate inaccuracy of statistics.Therefore, by the way that label information is arranged to the Video stream information comprising preset vehicle, in root The vehicle flowrate that preset vehicle is updated according to the quantity of preset vehicle judges label information and last video flowing at interval of preset duration Whether the label information in information is consistent, the inconsistent situation of the label information in label information and upper primary Video stream information Under, the vehicle flowrate of preset vehicle is updated according to the inconsistent quantity of label information.It is through the above steps that travel speed is excessively slow Vehicle screens, and then improves the accuracy of vehicle flowrate.Wherein label information may include view set time length A certain position in Video stream information, the specific form of expression can be certain a period of time in a certain picture either Video stream information It carves;Or position of the preset vehicle image in Video stream information on certain image;Label information is also possible to preset vehicle The coding of setting in counting process is numbered, such as identity number.
In any of the above-described embodiment, further includes: the Video stream information comprising preset vehicle is parsed into image information, and It is stored.
In this embodiment, the Video stream information comprising preset vehicle is also parsed into image information, and is stored, with Continue after an action of the bowels and recorded image information as car statistics, while can be using the image information of storage as training set to vehicle identification Model is trained, and then improves the accuracy of the identification of vehicle identification model.
In one embodiment of the invention, Fig. 4 shows the reception Video stream information of one embodiment of the present of invention Flow diagram.As shown in figure 4, this method comprises:
S402 receives string data information;
S404, in the case where pre-arranged code method is to string data information successfully resolved, by the video of successfully resolved Stream information is stored in memory;In the case where pre-arranged code method parses string data information and fails, parsing is failed The identity number of Video stream information be stored in error log.
In this embodiment, transmit and avoid leakage of information occur in output transmission process for the ease of data, usually The data of transmission are converted and encrypted in data transmission procedure, therefore, after receiving string data information, are used Pre-arranged code method parses string data information, and the Video stream information that successfully resolved is obtained is stored in memory, To use vehicle identification model to identify it, and for parsing the case where failing, the Video stream information of failure will be parsed Identity number be stored in error log, to reacquire.
In any of the above-described embodiment, string data information is received by hypertext transfer protocol;Video flowing letter Breath is stored in memory in the way of message queue.
In this embodiment, string data information is carried out received by hypertext transfer protocol, therefore, character string number It is believed that the transmission of breath is not limited to identical platform, cross-platform data transmission may be implemented.
In one embodiment of the invention, Fig. 5 shows the statistical method of traffic flow of another embodiment of the invention Flow diagram.As shown in figure 5, video flowing dump truck flow mainly comprises the steps that
Step 1: the reception of video stream data;
Step 2: the parsing of video stream data;
Step 3: the detection and tracking of video flowing dump truck;
Step 4: the statistics of video flowing dump truck quantity;
Step 5: the preservation of video flowing dump truck picture.
Wherein, step 1: the reception of video stream data specifically includes: the sender of Video stream information and Video stream information Recipient is transmitted by the mode of HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) service agreement Data.Consumer of the recipient as Video stream information, is the server-side of HTTP service, and sender mentions as Video stream information Donor is the client of HTTP service;
Sender is parsed into real-time Video stream information in the picture of one frame frame, and format is set to JPG (jpeg (Joint Photographic Experts Group is a kind of picture format, is developed and is named as by joint photo expert group " ISO10918-1 ")), with BASE64, (base64 is the coding mode for being used for transmission 8Bit bytecode, and one kind can be beaten based on 64 Lettering symbol is come the method that indicates binary data) mode change into character string, be ceaselessly sent to the recipient of Video stream information. The recipient of Video stream information is stored in Video stream information the memory of server, uses for subsequent step.
Step 2: the parsing of video stream data specifically includes: the recipient of Video stream information is protected by way of message queue The data for depositing Video stream information are decoded conversion with BASE64 format, to successfully resolved for received Video stream information Video stream information is stored in memory variable, parse failure Video stream information note down the ID of lower Video stream information (identity, Identification number) record is in error log, for subsequent step use.
Step 3: the detection and tracking of video flowing dump truck specifically includes: picture memory is identified in the way of machine learning Variable;The picture for acquiring a collection of dump truck in advance, the identification model of dump truck is trained with machine learning method, then uses machine Whether the identification model of the identification method load dump truck of study, be dump truck by procedure identification dump truck memory variable.
Step 4: the statistics of video flowing dump truck quantity specifically includes: completing dump truck memory variable in identification is dump truck Afterwards, dump truck is numbered, and marks the dump truck with the technology of object tracking;1 is added to the flow of dump truck simultaneously, to rear Continuous dump truck frame picture stream does a dump truck detection at interval of 10 frames, if the dump truck Pictures location and object of detection The dump truck Pictures location of tracking is not consistent, then it is assumed that is new dump truck picture, then the flow of dump truck adds 1 again;So follow Ring goes down, and by the combination of the detection and tracking technology of dump truck, guarantees the accurate of dump truck traffic statistics.
Step 5: the preservation of video flowing dump truck picture specifically includes: to the dump truck picture newly detected, using internal storage data It is parsed into JPG picture, is saved on the server, and be sent to application server.
Above-mentioned steps are specifically refined as, the identification model of the method training dump truck of machine learning;Image recognition client Build the video stream data that HTTP service receives dump truck;Image recognition client call machine learning algorithm identifies video flowing Dump truck;Image recognition client tracks dump truck with machine learning track algorithm;Image recognition client distributes dump truck Unique identifying number;Image recognition client judges whether the dump truck of machine learning algorithm and track algorithm is same;Image Identification client is updated dump truck data on flows;Image recognition client saves the picture of the dump truck after identification.
The embodiment of second aspect of the present invention, proposes a kind of vehicle flowrate system, and Fig. 6 shows a reality of the invention Apply the schematic block diagram of the vehicle flowrate system 600 of example.As shown in fig. 6, vehicle flowrate system 600 includes: memory 602, For storing computer program;Processor 604, for execute computer program with: receive Video stream information;Use vehicle identification Model identifies Video stream information, in the case where including preset vehicle in detecting Video stream information, according to default vehicle Quantity update preset vehicle vehicle flowrate.
Vehicle flowrate system 600 provided by the invention, comprising: memory 602 and processor 604, wherein processor 604 Execute be stored in the computer program of memory 602 with: Video stream information is received, using vehicle identification model to Video stream information It is detected, is judged whether comprising preset vehicle in Video stream information, in the case where recognizing preset vehicle, according to default vehicle Quantity update preset vehicle vehicle flowrate.The preset vehicle in Video stream information is identified by using vehicle identification model Out, corresponding vehicle flowrate is updated according to the vehicle fleet size that statistics obtains, and then realizes the statistics of vehicle, so as to according to statistics As a result vehicle is managed, wherein preset vehicle can be car, lorry, passenger traffic public transport and responsible plant area's Material Transportation Dump truck.
In one embodiment of the invention, processor 604 is also used to: judging working as preset vehicle at interval of preset duration Whether front position and last position are identical, under current location and the upper primary different situation in position, execute according to default The quantity of vehicle updates the step of vehicle flowrate of preset vehicle.
In this embodiment, since vehicle is there may be staying, in order to avoid in statistic processes that same vehicle is more It is secondary to repeat to count, and then cause the vehicle flowrate inaccuracy of statistics.It therefore, include preset vehicle in detecting Video stream information It the step of situation, will and then the current location and whether identical last position for judging preset vehicle at interval of preset duration The vehicle stayed screens away, and then improves the accuracy of vehicle flowrate.
In one embodiment of the invention, processor 604 is also used to: the Video stream information comprising preset vehicle is arranged Label information;And at interval of preset duration judge the label information in label information and last Video stream information whether one It causes, it is inconsistent according to label information in the case that the label information in label information and upper primary Video stream information is inconsistent Quantity update preset vehicle vehicle flowrate.
In this embodiment, further, it is repeatedly identified to since vehicle is so slow that there may be travel speed, into And cause the vehicle flowrate inaccuracy of statistics.Therefore, by the way that label information is arranged to the Video stream information comprising preset vehicle, in root The vehicle flowrate that preset vehicle is updated according to the quantity of preset vehicle judges label information and last video flowing at interval of preset duration Whether the label information in information is consistent, the inconsistent situation of the label information in label information and upper primary Video stream information Under, the vehicle flowrate of preset vehicle is updated according to the inconsistent quantity of label information.It is through the above steps that travel speed is excessively slow Vehicle screens, and then improves the accuracy of vehicle flowrate.Wherein label information may include view set time length A certain position in Video stream information, the specific form of expression can be certain a period of time in a certain picture either Video stream information It carves;Or position of the preset vehicle image in Video stream information on certain image;Label information is also possible to preset vehicle The coding of setting in counting process is numbered, such as identity number.
In one embodiment of the invention, processor 604 is also used to: the Video stream information comprising preset vehicle is parsed At image information, and stored.
In this embodiment, the Video stream information comprising preset vehicle is also parsed into image information, and is stored, with Continue after an action of the bowels and recorded image information as car statistics, while can be using the image information of storage as training set to vehicle identification Model is trained, and then improves the accuracy of the identification of vehicle identification model.
In one embodiment of the invention, processor 604 is specifically used for: receiving string data information;It is compiled default In the case that code method is to string data information successfully resolved, the Video stream information of successfully resolved is stored in memory;Place Reason device 604 is also used to: in the case where pre-arranged code method parses string data information and fails, by the video of parsing failure The identity number of stream information is stored in error log.
In this embodiment, transmit and avoid leakage of information occur in output transmission process for the ease of data, usually The data of transmission are converted and encrypted in data transmission procedure, therefore, after receiving string data information, are used Pre-arranged code method parses string data information, and the Video stream information that successfully resolved is obtained is stored in memory, To use vehicle identification model to identify it, and for parsing the case where failing, the Video stream information of failure will be parsed Identity number be stored in error log, to reacquire.
In one embodiment of the invention, string data information is received by hypertext transfer protocol;Video Stream information is stored in memory in the way of message queue.
In this embodiment, string data information is carried out received by hypertext transfer protocol, therefore, character string number It is believed that the transmission of breath is not limited to identical platform, cross-platform data transmission may be implemented.
The embodiment of third aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer Program, the step of exam pool resource construction method in any of the above-described embodiment is realized when computer program is executed by processor.
A kind of computer readable storage medium provided by the invention is stored thereon with computer program, computer program quilt The step of processor realizes exam pool resource construction method in any of the above-described embodiment when executing, therefore there is the exam pool resource construction Whole technical effects of method, details are not described herein.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Mean that particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one reality of the invention It applies in example or example.In the present specification, schematic expression of the above terms are not necessarily referring to identical embodiment or reality Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more of the embodiments or examples with Suitable mode combines.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification, Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of statistical method of traffic flow characterized by comprising
Receive Video stream information;
The Video stream information is identified using vehicle identification model, comprising default in detecting the Video stream information In the case where vehicle, the vehicle flowrate of the preset vehicle is updated according to the quantity of the preset vehicle.
2. statistical method of traffic flow according to claim 1, which is characterized in that
After the step of the case where including preset vehicle in detecting the Video stream information, according to the number of the preset vehicle Amount updated before the step of vehicle flowrate of the preset vehicle, further includes:
Judge whether the current location of the preset vehicle and last position are identical at interval of preset duration, in the present bit It sets in the different situation in the last position, execution is described according to the quantity of the preset vehicle update default vehicle The vehicle flowrate the step of.
3. statistical method of traffic flow according to claim 1, which is characterized in that further include:
Label information, the quantity according to the preset vehicle are arranged to the Video stream information comprising the preset vehicle The step of updating the vehicle flowrate of the preset vehicle specifically includes:
Judge whether the label information and the label information in the last Video stream information are consistent at interval of preset duration, In the case that label information in the label information and the upper primary Video stream information is inconsistent, believed according to the label Cease the vehicle flowrate that inconsistent quantity updates the preset vehicle.
4. statistical method of traffic flow according to claim 2 or 3, which is characterized in that further include:
The Video stream information comprising the preset vehicle is parsed into image information, and is stored.
5. statistical method of traffic flow according to claim 1, which is characterized in that the step of reception Video stream information has Body includes:
Receive string data information;
In the case where pre-arranged code method is to the string data information successfully resolved, by the video flowing of successfully resolved Information is stored in memory;
In the case where pre-arranged code method parses the string data information and fails, by the video flowing of parsing failure The identity number of information is stored in error log.
6. statistical method of traffic flow according to claim 5, which is characterized in that
The string data information is received by hypertext transfer protocol;
The Video stream information stores in the memory in the way of message queue.
7. a kind of vehicle flowrate system characterized by comprising
Memory, for storing computer program;
Processor, for execute the computer program with:
Receive Video stream information;
The Video stream information is identified using vehicle identification model, comprising default in detecting the Video stream information In the case where vehicle, the vehicle flowrate of the preset vehicle is updated according to the quantity of the preset vehicle.
8. vehicle flowrate system according to claim 7, which is characterized in that
The processor is also used to:
Judge whether the current location of the preset vehicle and last position are identical at interval of preset duration, in the present bit It sets in the different situation in the last position, execution is described according to the quantity of the preset vehicle update default vehicle The vehicle flowrate the step of.
9. vehicle flowrate system according to claim 7, which is characterized in that
The processor is also used to:
Label information is arranged to the Video stream information comprising the preset vehicle;And
Judge whether the label information and the label information in the last Video stream information are consistent at interval of preset duration, In the case that label information in the label information and the upper primary Video stream information is inconsistent, believed according to the label Cease the vehicle flowrate that inconsistent quantity updates the preset vehicle.
10. vehicle flowrate system according to claim 8 or claim 9, which is characterized in that
The processor is also used to:
The Video stream information comprising the preset vehicle is parsed into image information, and is stored.
11. vehicle flowrate system according to claim 7, which is characterized in that
The processor is specifically used for:
Receive string data information;
In the case where pre-arranged code method is to the string data information successfully resolved, by the video flowing of successfully resolved Information is stored in memory;
The processor is also used to:
In the case where pre-arranged code method parses the string data information and fails, by the video flowing of parsing failure The identity number of information is stored in error log.
12. vehicle flowrate system according to claim 11, which is characterized in that
The string data information is received by hypertext transfer protocol;
The Video stream information stores in the memory in the way of message queue.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It realizes when being executed by processor such as the step of any one of claims 1 to 6 the method.
CN201910036216.6A 2019-01-15 2019-01-15 Statistical method of traffic flow, system and computer readable storage medium Pending CN109902559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910036216.6A CN109902559A (en) 2019-01-15 2019-01-15 Statistical method of traffic flow, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910036216.6A CN109902559A (en) 2019-01-15 2019-01-15 Statistical method of traffic flow, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109902559A true CN109902559A (en) 2019-06-18

Family

ID=66943696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910036216.6A Pending CN109902559A (en) 2019-01-15 2019-01-15 Statistical method of traffic flow, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109902559A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314350A (en) * 2020-02-19 2020-06-19 深圳中兴网信科技有限公司 Image storage system, storage method, calling system and calling method
CN115174252A (en) * 2022-07-20 2022-10-11 中国工商银行股份有限公司 Video encryption transmission method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678214A (en) * 2015-12-21 2016-06-15 中国石油大学(华东) Vehicle flow statistical method based on convolutional neural network vehicle model recognition in cloud environment
CN106781498A (en) * 2017-01-10 2017-05-31 成都通甲优博科技有限责任公司 A kind of statistical method of traffic flow of highway
CN107316462A (en) * 2017-08-30 2017-11-03 济南浪潮高新科技投资发展有限公司 A kind of flow statistical method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678214A (en) * 2015-12-21 2016-06-15 中国石油大学(华东) Vehicle flow statistical method based on convolutional neural network vehicle model recognition in cloud environment
CN106781498A (en) * 2017-01-10 2017-05-31 成都通甲优博科技有限责任公司 A kind of statistical method of traffic flow of highway
CN107316462A (en) * 2017-08-30 2017-11-03 济南浪潮高新科技投资发展有限公司 A kind of flow statistical method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314350A (en) * 2020-02-19 2020-06-19 深圳中兴网信科技有限公司 Image storage system, storage method, calling system and calling method
CN115174252A (en) * 2022-07-20 2022-10-11 中国工商银行股份有限公司 Video encryption transmission method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN103428163A (en) Verification code based on image content
CN105025106B (en) A kind of method of the breakpoint transmission based on piecemeal and metamessage
CN107886595A (en) Recognition methods violating the regulations, drive recorder and storage medium based on drive recorder
CN109902559A (en) Statistical method of traffic flow, system and computer readable storage medium
CN104853972A (en) Augmenting ADAS features of vehicle with image processing support in on-board vehicle platform
CN106557814A (en) A kind of road vehicle density assessment method and device
CN108416376A (en) It is a kind of that system and method is managed in way logistics people's vehicle tracing and monitoring based on SVM
CN108288201A (en) The method and device of stroke expense bill is provided in net about vehicle system for target user
CN108717789A (en) A kind of the acquisition mask method and device of vehicle sample
CN106846819A (en) A kind of taking photo by plane based on small aircraft and realizes system at penalty note generation method
CN114821247B (en) Model training method and device, storage medium and electronic device
CN107727105A (en) motorcade navigation method and device
CN108694846A (en) It is a kind of digitlization traffic sign information processing and analytic method
CN113628116A (en) Training method and device for image processing network, computer equipment and storage medium
KR102326793B1 (en) System for analyzing accident images and method for using the same
CN110308715A (en) Reading data shows that equipment, automatic Pilot critical data read display system and method
CN107124327A (en) The method that the reverse-examination of JT808 car-mounted terminal simulators is surveyed
CN103106217B (en) The processing method of a kind of information of leaving a message and equipment
CN115688496A (en) Method for obtaining automatic driving simulation test script and related device
WO2015025050A1 (en) Iterative data packet generation in the car2x network
CN102236875B (en) Traffic violation information processing method and system
CN112598838A (en) Public transport ticketing identity recognition system and equipment based on gait
CN107958290A (en) A kind of automobile after-sales service information collecting method based on intelligent sliding moved end
CN106161210A (en) A kind of drift bottle information transmission and Method of printing
CN107991904B (en) Simulated wireless block center message generator

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190618

WD01 Invention patent application deemed withdrawn after publication