[go: up one dir, main page]

CN109166336B - A real-time road condition information collection and push method based on blockchain technology - Google Patents

A real-time road condition information collection and push method based on blockchain technology Download PDF

Info

Publication number
CN109166336B
CN109166336B CN201811218517.2A CN201811218517A CN109166336B CN 109166336 B CN109166336 B CN 109166336B CN 201811218517 A CN201811218517 A CN 201811218517A CN 109166336 B CN109166336 B CN 109166336B
Authority
CN
China
Prior art keywords
test
road condition
picture
road
descriptor
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
Application number
CN201811218517.2A
Other languages
Chinese (zh)
Other versions
CN109166336A (en
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.)
Fujian University Of Science And Technology
Original Assignee
Fujian University of Technology
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 Fujian University of Technology filed Critical Fujian University of Technology
Priority to CN201811218517.2A priority Critical patent/CN109166336B/en
Publication of CN109166336A publication Critical patent/CN109166336A/en
Application granted granted Critical
Publication of CN109166336B publication Critical patent/CN109166336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096805Systems involving transmission of navigation instructions to the vehicle where the transmitted instructions are used to compute a route
    • G08G1/096827Systems involving transmission of navigation instructions to the vehicle where the transmitted instructions are used to compute a route where the route is computed onboard
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/54Surveillance or monitoring of activities, e.g. for recognising suspicious objects of traffic, e.g. cars on the road, trains or boats
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096877Systems involving transmission of navigation instructions to the vehicle where the input to the navigation device is provided by a suitable I/O arrangement
    • G08G1/096883Systems involving transmission of navigation instructions to the vehicle where the input to the navigation device is provided by a suitable I/O arrangement where input information is obtained using a mobile device, e.g. a mobile phone, a PDA
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30236Traffic on road, railway or crossing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior
    • G06T2207/30252Vehicle exterior; Vicinity of vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明涉及交通路况技术领域,具体为一种基于区块链技术的实时路况信息采集推送方法,包括以下步骤,1)运行车辆在车载终端或司机手机上安装路况应用软件,并通过与所述车载终端或司机手机连接的行车记录仪采集当前道路的实时路况视频;2)通过所述路况应用软件的视频处理模块处理所述路况视频以获取所述运行车辆所处的路况条件;3)通过所述路况应用软件的路况更新模块将所述路况条件更新于所述路况应用软件的路况查询模块;4)车主通过路况查询模块查询路况以选择合适的行驶路径。本发明的实时路况信息采集推送方法可以充分利用社会公众资源,通过社会公众来参与道路交通路况数据的采集,不但效率高,而且比传统机制更加灵活。

Figure 201811218517

The invention relates to the technical field of traffic road conditions, in particular to a method for collecting and pushing real-time road condition information based on blockchain technology, comprising the following steps: 1) running a vehicle to install road condition application software on a vehicle terminal or a driver's mobile phone, The driving recorder connected to the vehicle terminal or the driver's mobile phone collects the real-time road condition video of the current road; 2) The road condition video is processed by the video processing module of the road condition application software to obtain the road condition of the running vehicle; The road condition update module of the road condition application software updates the road condition condition in the road condition inquiry module of the road condition application software; 4) The vehicle owner inquires the road condition through the road condition inquiry module to select an appropriate driving route. The real-time road condition information collection and push method of the present invention can make full use of social public resources and participate in the collection of road traffic road condition data through the public, which is not only efficient, but also more flexible than the traditional mechanism.

Figure 201811218517

Description

一种基于区块链技术的实时路况信息采集推送方法A real-time road condition information collection and push method based on blockchain technology

技术领域technical field

本发明涉及交通路况技术领域,具体为一种基于区块链技术的实时路况信息采集推送方法。The invention relates to the technical field of traffic road conditions, in particular to a method for collecting and pushing real-time road condition information based on blockchain technology.

背景技术Background technique

随着国民经济的飞速发展、生活节奏加快,越来越多的人出行时选择以车代步,这导致了城市交通愈加拥堵,传统的交通管理机制已经无法满足如今客流量大、车流量多的交通现状。传统的实时路况信息采集系统一般是在各路段设置监控系统,或者设置速度监测仪等等,其路况信息的采集、发布,再到更新,全都是由交通部门完全管控,此类信息采集方法不仅需要耗费大量的人力、物力在设备的安装上,而且效率低、实时性差。With the rapid development of the national economy and the accelerated pace of life, more and more people choose to travel by car, which leads to more and more congestion in urban traffic. traffic situation. The traditional real-time road condition information collection system generally sets up monitoring systems or speed monitors in each road section. The collection, release, and update of road condition information are all fully controlled by the traffic department. Such information collection methods not only It takes a lot of manpower and material resources to install the equipment, and the efficiency is low and the real-time performance is poor.

且传统的实时路况信息采集系统通常都需要一个中心平台来对采集到的信息进行整合和处理,而随着数据量的增多,系统的效率会越来越低,并且管理上会有诸多困难。因此,如何实时地采集交通路况信息、并及时将这些信息传递给每一个交通参与者,这是当前迫切需要解决的问题。Moreover, the traditional real-time road condition information collection system usually requires a central platform to integrate and process the collected information. With the increase of the data volume, the efficiency of the system will become lower and lower, and there will be many difficulties in management. Therefore, how to collect traffic information in real time and transmit the information to every traffic participant in time is an urgent problem to be solved at present.

发明内容SUMMARY OF THE INVENTION

本发明针对现有技术存在的问题,提出了一种基于区块链技术的实时路况信息采集推送方法。Aiming at the problems existing in the prior art, the present invention proposes a method for collecting and pushing real-time road condition information based on blockchain technology.

本发明解决其技术问题所采用的技术方案是:一种基于区块链技术的实时路况信息采集推送方法,包括以下步骤,The technical solution adopted by the present invention to solve the technical problem is: a method for collecting and pushing real-time road condition information based on blockchain technology, comprising the following steps:

步骤1)运行车辆在车载终端或司机手机上安装路况应用软件,并通过与所述车载终端或司机手机连接的行车记录仪采集当前道路的实时路况视频;Step 1) Install the road condition application software on the vehicle terminal or the driver's mobile phone by running the vehicle, and collect the real-time road condition video of the current road through the driving recorder connected with the vehicle terminal or the driver's mobile phone;

步骤2)通过所述路况应用软件的视频处理模块处理所述路况视频以获取所述运行车辆所处的路况条件;Step 2) Process the road condition video through the video processing module of the road condition application software to obtain the road condition where the running vehicle is located;

步骤3)通过所述路况应用软件的路况更新模块将所述路况条件更新于所述路况应用软件的路况查询模块;Step 3) updating the road condition condition in the road condition query module of the road condition application software through the road condition update module of the road condition application software;

步骤4)车主通过路况查询模块查询路况以选择合适的行驶路径。Step 4) The vehicle owner inquires the road conditions through the road condition inquiry module to select a suitable driving route.

作为优选,所述步骤2)具体包括,21)将所述路况视频以20秒的时间间隔进行实时分段以得到路况短视频;Preferably, the step 2) specifically includes, 21) Real-time segmentation of the road condition video at a time interval of 20 seconds to obtain a short road condition video;

22)等间隔提取所述路况短视频的S帧待检测图片;22) Extracting the S-frame to-be-detected pictures of the short video of the road condition at equal intervals;

23)检测每一帧待检测图片的车辆数目以及每一帧待检测图片中所述运行车辆与正前方车辆的车距,若待检测图片的车辆数目大于车辆数阈值且待检测图片的车距小于车距阈值,则将所述运行车辆所处的路况条件判为第一拥挤,否则判为不拥挤;23) Detect the number of vehicles in each frame of the picture to be detected and the distance between the running vehicle and the vehicle directly ahead in each frame of the picture to be detected, if the number of vehicles in the picture to be detected is greater than the threshold of the number of vehicles and the distance between the vehicles in the picture to be detected is less than the vehicle distance threshold, the road condition where the running vehicle is located is judged as the first congestion, otherwise it is judged as not crowded;

24)若S帧待检测图片中有95%的待检测图片均将所述运行车辆所处的路况条件判为第一拥挤,则将所述运行车辆所处的路况条件判为第二拥挤,否则判为不拥挤;24) If 95% of the pictures to be detected in the frame S to be detected all judge the road condition where the running vehicle is located as the first congestion, then the road condition where the running vehicle is located is judged as the second congestion, Otherwise, it is judged to be not crowded;

25)若连续三段路况短视频均将所述运行车辆所处的路况条件判为第二拥挤,则将所述运行车辆所处的路况条件判为第三拥挤,否则判为不拥挤。25) If the road condition of the running vehicle is judged as the second congested in three consecutive short videos of road conditions, then the road condition of the running vehicle is judged as the third congested, otherwise it is judged as not congested.

作为优选,所述步骤3)中,所述路况应用软件还包括导航模块,当所述运行车辆所处的路况条件判为第三拥挤时,所述路况更新模块结合所述导航模块将所述运行车辆以红色亮点的形式显示在所述路况查询模块。Preferably, in the step 3), the road condition application software further includes a navigation module, and when the road condition where the running vehicle is located is judged to be the third congested, the road condition update module combines with the navigation module to update the The running vehicle is displayed in the road condition query module in the form of red highlights.

作为优选,所述步骤23)中通过背景差法计算所述待检测图片的车辆数目,具体包括以下步骤,Preferably, in the step 23), the background difference method is used to calculate the number of vehicles in the to-be-detected picture, which specifically includes the following steps:

231)在云端服务器设置道路背景库,所述云端服务器与所述车载终端或司机手机连接;231) A road background library is set on a cloud server, and the cloud server is connected to the vehicle terminal or the driver's mobile phone;

232)根据导航模块调用所述运行车辆所处位置对应的初级道路背景图;232) Call the primary road background image corresponding to the location of the running vehicle according to the navigation module;

233)将所述初级道路背景图片与所述待检测图片结合并通过背景计算模型得到终级道路背景图;233) Combine the primary road background picture with the to-be-detected picture and obtain a final road background picture through a background calculation model;

234)将待检测图片与所述终级道路背景图作差以获得车辆图片;234) Difference between the to-be-detected picture and the final road background picture to obtain a vehicle picture;

235)对所述车辆图片进行车辆数目统计。235) Perform vehicle number statistics on the vehicle picture.

作为优选,所述背景计算模型通过道路背景训练集建立并通过道路背景测试集完善,所述道路背景训练集与所述道路背景测试集通过描述符匹配法去重,具体包括以下步骤,Preferably, the background calculation model is established by a road background training set and perfected by a road background test set, and the road background training set and the road background test set are deduplicated by a descriptor matching method, which specifically includes the following steps:

L1.提取道路背景训练集中所有图片各自的特征点,并根据所述特征点计算相应图片的描述符;L1. Extract the respective feature points of all the pictures in the road background training set, and calculate the descriptors of the corresponding pictures according to the feature points;

L2.按顺序在道路背景测试集中提取一张测试图片并计算所述测试图片的测试特征点,根据所述测试特征点计算所述测试图片的测试描述符;L2. extract a test picture and calculate the test feature point of the test picture in order in the road background test set, and calculate the test descriptor of the test picture according to the test feature point;

L3.根据所述测试描述符结合DBOW算法获取所述道路背景训练集中与所述测试图片最相似的N张候选图片;L3. obtain N candidate pictures most similar to the test picture in the road background training set according to the test descriptor in conjunction with the DBOW algorithm;

L4.按顺序在N张候选图片中选取一张候选图片,将所述候选图片的描述符与所述测试图片的测试描述符进行匹配,匹配结果为相同,则将测试集中的所述测试图片删除并返回步骤2);否则,继续执行步骤4)至N张候选图片均匹配结束并返回步骤2)。L4. Select a candidate picture from N candidate pictures in order, and match the descriptor of the candidate picture with the test descriptor of the test picture. If the matching result is the same, then the test picture in the test set is matched. Delete and return to step 2); otherwise, continue to perform step 4) until all N candidate pictures are matched and return to step 2).

作为优选,所述步骤L4中匹配过程具体为,Preferably, the matching process in the step L4 is specifically:

L41.将所述测试图片的测试描述符与所述候选图片的描述符进行暴力匹配,获取所述测试图片与所述候选图片描述符匹配的测试描述符集合一;L41. Perform brute force matching between the test descriptor of the test picture and the descriptor of the candidate picture, and obtain a set of test descriptors matching the test picture and the candidate picture descriptor;

L42.将所述测试描述符集合一中与距离最近的测试描述符之间距离大于一定阈值D的测试描述符删除以获得测试描述符集合二;L42. Delete the test descriptor whose distance between the test descriptor set 1 and the closest test descriptor is greater than a certain threshold D to obtain the test descriptor set 2;

L43.将所述测试描述符集合二中不符合旋转不变性的测试描述符删除以获得测试描述符集合三;L43. Delete the test descriptors that do not meet the rotational invariance in the second test descriptor set to obtain the third test descriptor set;

L44.将所述测试描述符集合三中不符合缩放不变性的测试描述符删除以获得测试描述符集合四;L44. Delete the test descriptors that do not meet the scaling invariance in the test descriptor set three to obtain the test descriptor set four;

L45.计算所述测试描述符集合四中测试描述符的个数,当个数大于阈值M时,进入下一步骤;否则判定所述测试图片与所述候选图片的匹配结果为不相同;L45. Calculate the number of test descriptors in the test descriptor set four, and when the number is greater than the threshold M, enter the next step; otherwise, determine that the matching result of the test picture and the candidate picture is not the same;

L46.判定测试描述符集合四中的测试描述符是否匹配在水印上,是则判定所述测试图片与所述候选图片的匹配结果为不相同,否则判定所述测试图片与所述候选图片的匹配结果为相同。L46. Determine whether the test descriptors in the test descriptor set 4 are matched on the watermark, and if so, determine that the matching results of the test picture and the candidate picture are not the same, otherwise determine that the test picture and the candidate picture match The matching result is the same.

作为优选,所述步骤L42中两测试描述符之间的距离为两测试描述符之差的模;Preferably, the distance between the two test descriptors in the step L42 is the modulus of the difference between the two test descriptors;

所述步骤L43中旋转不变性为所述测试描述符集合二中的某一测试描述符与其他任意两测试描述符之间形成的测试夹角与所述候选图片对应的描述符形成的夹角相等。The rotation invariance in the step L43 is the angle formed by the test angle formed between a certain test descriptor in the second test descriptor set and any other two test descriptors and the descriptor corresponding to the candidate picture. equal.

作为优选,所述步骤L44中缩放不变性计算过程具体为,Preferably, the scaling invariance calculation process in the step L44 is specifically:

L441将所述测试描述符集合三中的测试描述符任意两两配对形成多组测试描述符;L441 pairs any pair of test descriptors in the test descriptor set three to form multiple groups of test descriptors;

L442计算每组测试描述符中两测试描述符之间的测试距离,并计算所述候选图片中与每组测试描述符对应的描述符之间的候选距离;L442 calculates the test distance between two test descriptors in each group of test descriptors, and calculates the candidate distance between the descriptors corresponding to each group of test descriptors in the candidate picture;

L443计算每组测试距离与对应的候选距离之间的比值,并计算所有比值的比值平均值;L443 calculates the ratio between each set of test distances and the corresponding candidate distances, and calculates the ratio average of all ratios;

L444将每组测试描述符求得的比值与比值平均值作差,当差值大于一定阈值时,则该组的两个测试描述符不符合缩放不变性。L444 makes a difference between the ratio obtained by each group of test descriptors and the average value of the ratio, and when the difference is greater than a certain threshold, the two test descriptors in the group do not meet the scaling invariance.

作为优选,所述步骤L46具体为计算所述测试描述符集合四中测试描述符两两距离的平均值,如果所述平均值小于所述测试图片对角线长度的10%,则判定所述测试描述符集合四中的测试描述符匹配在水印上,否则判定所述测试描述符集合四中的测试描述符不匹配在水印上。Preferably, the step L46 is specifically to calculate the average value of the distance between the two test descriptors in the test descriptor set 4. If the average value is less than 10% of the diagonal length of the test picture, it is determined that the The test descriptors in the test descriptor set four match on the watermark, otherwise it is determined that the test descriptors in the test descriptor set four do not match on the watermark.

作为优选,N张候选图片中N取值为5,阈值D取值为30,阈值M取值为10。Preferably, in the N candidate pictures, N is 5, the threshold D is 30, and the threshold M is 10.

本发明的有益效果是,本发明的实时路况信息采集推送方法可以充分利用社会公众资源,通过社会公众来参与道路交通路况数据的采集,不但效率高,而且比传统机制更加灵活;本发明可以省去传统意义上的中心平台,通过分布式数据存储、点对点传输的形式,应用行车记录仪使每一个交通参与者都能够直接参与路况信息的采集过程。The beneficial effect of the present invention is that the real-time road condition information collection and push method of the present invention can make full use of social public resources and participate in the collection of road traffic road condition data through the public, which is not only efficient, but also more flexible than the traditional mechanism; Going to the central platform in the traditional sense, through the form of distributed data storage and point-to-point transmission, the application of the driving recorder enables every traffic participant to directly participate in the collection process of road condition information.

附图说明Description of drawings

图1为本发明一种基于区块链技术的实时路况信息采集推送方法的流程图。FIG. 1 is a flowchart of a method for collecting and pushing real-time road condition information based on blockchain technology according to the present invention.

具体实施方式Detailed ways

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。The technical solutions of the present invention are further described below with reference to the accompanying drawings and through specific embodiments.

如图1所示,一种基于区块链技术的实时路况信息采集推送方法,包括以下步骤,As shown in Figure 1, a method for collecting and pushing real-time road condition information based on blockchain technology includes the following steps:

步骤1)运行车辆在车载终端或司机手机上安装路况应用软件,并通过与所述车载终端或司机手机连接的行车记录仪采集当前道路的实时路况视频。Step 1) Install the road condition application software on the vehicle terminal or the driver's mobile phone by running the vehicle, and collect the real-time road condition video of the current road through the driving recorder connected with the vehicle terminal or the driver's mobile phone.

步骤2)通过所述路况应用软件的视频处理模块处理所述路况视频以获取所述运行车辆所处的路况条件。视频处理模块只处理其对应的运行车辆所采集的路况视频。具体包括,21)将所述路况视频以20秒的时间间隔进行实时分段以得到路况短视频。22)等间隔提取所述路况短视频的S帧待检测图片。23)检测每一帧待检测图片的车辆数目以及每一帧待检测图片中所述运行车辆与正前方车辆的车距,若待检测图片的车辆数目大于车辆数阈值且待检测图片的车距小于车距阈值,则将所述运行车辆所处的路况条件判为第一拥挤,否则判为不拥挤。车辆数阈值可以是5辆,车距阈值可以是4米。24)若S帧待检测图片中有95%的待检测图片均将所述运行车辆所处的路况条件判为第一拥挤,则将所述运行车辆所处的路况条件判为第二拥挤,否则判为不拥挤。25)若连续三段路况短视频均将所述运行车辆所处的路况条件判为第二拥挤,则将所述运行车辆所处的路况条件判为第三拥挤,否则判为不拥挤。Step 2) The road condition video is processed by the video processing module of the road condition application software to obtain the road condition where the running vehicle is located. The video processing module only processes the road condition video collected by its corresponding running vehicle. Specifically, 21) segment the road condition video in real time at 20-second time intervals to obtain a short road condition video. 22) Extract the S frames of the pictures to be detected in the short video of the road condition at equal intervals. 23) Detect the number of vehicles in each frame of the picture to be detected and the distance between the running vehicle and the vehicle directly ahead in each frame of the picture to be detected, if the number of vehicles in the picture to be detected is greater than the threshold of the number of vehicles and the distance between the vehicles in the picture to be detected If it is less than the vehicle distance threshold, the road condition where the running vehicle is located is judged as the first congestion, otherwise it is judged as not crowded. The threshold for the number of vehicles may be 5, and the threshold for the distance between vehicles may be 4 meters. 24) If 95% of the pictures to be detected in the frame S to be detected all judge the road condition where the running vehicle is located as the first congestion, then the road condition where the running vehicle is located is judged as the second congestion, Otherwise, it is judged not to be crowded. 25) If the road condition of the running vehicle is judged as the second congested in three consecutive short videos of road conditions, then the road condition of the running vehicle is judged as the third congested, otherwise it is judged as not congested.

步骤3)通过所述路况应用软件的路况更新模块将所述路况条件更新于所述路况应用软件的路况查询模块。所述路况应用软件还包括导航模块,当所述运行车辆所处的路况条件判为第三拥挤时,所述路况更新模块结合所述导航模块将所述运行车辆以红色亮点的形式显示在所述路况查询模块。路况更新模块会将其对应的运行车辆的最新路况信息更新于所有的路况应用软件。所处路况为第一拥挤、第二拥挤以及不拥挤的运行车辆不作显示,只有所处路况为第三拥挤的运行车辆才在路况查询模块中以红色亮点的形式显示,当同一运行车辆所处的路况条件从第三拥挤变为其他路况时,其所对应的红色亮点会消失。Step 3) Update the road condition condition in the road condition query module of the road condition application software through the road condition update module of the road condition application software. The road condition application software also includes a navigation module, when the road condition where the running vehicle is located is judged to be the third congestion, the road condition updating module combines with the navigation module to display the running vehicle in the form of a red bright spot on the running vehicle. Describe the road condition query module. The road condition update module will update all road condition application software with the latest road condition information of the corresponding running vehicle. The running vehicles whose road conditions are the first crowded, the second crowded and the uncrowded are not displayed, and only the running vehicles whose road conditions are the third crowded are displayed in the form of red highlights in the road condition query module. When the road conditions of the 3rd congestion change to other road conditions, the corresponding red highlights will disappear.

步骤4)车主通过路况查询模块查询路况以选择合适的行驶路径。车主可通过路况查询模块查询相关道路的路况信息,例如,某一路段红色亮点较多时,车主可选择其他的道路行驶。Step 4) The vehicle owner inquires the road conditions through the road condition inquiry module to select a suitable driving route. The car owner can query the road condition information of the relevant road through the road condition query module. For example, when there are many red bright spots in a certain road section, the car owner can choose other roads to drive.

所述步骤23)中通过背景差法计算所述待检测图片的车辆数目,具体包括以下步骤,In the step 23), the number of vehicles in the picture to be detected is calculated by the background difference method, which specifically includes the following steps:

231)在云端服务器设置道路背景库,所述云端服务器与所述车载终端或司机手机连接。232)根据导航模块调用所述运行车辆所处位置对应的初级道路背景图。同一路段同一车道在一定范围内使用一张初级道路背景图。233)将所述初级道路背景图片与所述待检测图片结合并通过背景计算模型得到终级道路背景图。通过背景计算模型以及待检测图片的信息优化初级道路背景图片以得到终级道路背景图。背景计算模型采集现有的模型。234)将待检测图片与所述终级道路背景图作差以获得车辆图片。235)对所述车辆图片进行车辆数目统计。231) A road background library is set on a cloud server, and the cloud server is connected to the vehicle terminal or the driver's mobile phone. 232) Call the primary road background image corresponding to the location of the running vehicle according to the navigation module. A primary road background image is used within a certain range for the same road section and the same lane. 233) Combine the primary road background picture with the to-be-detected picture and obtain a final road background picture through a background calculation model. The primary road background image is optimized by the background calculation model and the information of the image to be detected to obtain the final road background image. The background computational model collects existing models. 234) Difference between the image to be detected and the final road background image to obtain a vehicle image. 235) Perform vehicle number statistics on the vehicle picture.

所述背景计算模型通过道路背景训练集建立并通过道路背景测试集完善,所述道路背景训练集与所述道路背景测试集通过描述符匹配法去重,避免出现过拟合现象,具体包括以下步骤,L1.提取道路背景训练集中所有图片各自的特征点,并根据所述特征点计算相应图片的描述符。特征点提取可以使用FAST算法,描述符计算可以使用ORB算法。特征点是图像中那些明暗变化突出的点。描述符是每个特征点的标识,一般是通过提取特征点附近的像素信息得到,可以用来判断不同图片中,哪些特征点对应的是物体上相同的点,这个过程叫做特征点的匹配。描述符的特点之一是图像在经过缩放、旋转、平移后,描述符并不发生变化,描述符最终以向量形式呈现,比如64个1 byte的数。The background calculation model is established by the road background training set and perfected by the road background test set. The road background training set and the road background test set are deduplicated by the descriptor matching method to avoid over-fitting, which specifically includes the following: Step, L1. Extract the respective feature points of all the pictures in the road background training set, and calculate the descriptors of the corresponding pictures according to the feature points. The feature point extraction can use the FAST algorithm, and the descriptor calculation can use the ORB algorithm. Feature points are those points in the image where the light and dark changes are prominent. The descriptor is the identification of each feature point, which is generally obtained by extracting the pixel information near the feature point. It can be used to determine which feature points in different pictures correspond to the same points on the object. This process is called feature point matching. One of the characteristics of the descriptor is that after the image is zoomed, rotated, and translated, the descriptor does not change, and the descriptor is finally presented in the form of a vector, such as 64 numbers of 1 byte.

L2.按顺序在道路背景测试集中提取一张测试图片并计算所述测试图片的测试特征点,根据所述测试特征点计算所述测试图片的测试描述符。测试特征点提取可以使用FAST算法,测试描述符计算可以使用ORB算法。L2. Extract a test picture from the road background test set in sequence, calculate the test feature points of the test picture, and calculate the test descriptor of the test picture according to the test feature points. The test feature point extraction can use the FAST algorithm, and the test descriptor calculation can use the ORB algorithm.

L3.根据所述测试描述符结合DBOW算法获取所述道路背景训练集中与所述测试图片最相似的N张候选图片。为了加速描述符的匹配速度,本方法同时使用DBOW算法提速。通常道路背景训练集图片的数量在几十万级,道路背景测试集的数量在几万级。如果直接两两进行暴力匹配的话,会花费大量时间,大大降低本发明的匹配效率。使用DBOW算法后,只需要一次对比,就可以找出最相近的图片,然后再通过描述符的匹配和匹配特征点的位置关系来确定两图片是否是相同片。DBOW算法是一种高效的回环检测算法,DBOW算法的全称为Bags of binary words for fast place recognition in image sequence,使用的特征检测算法为FAST,描述子使用的是BRIEF描述子。L3. Obtain N candidate pictures most similar to the test picture in the road background training set according to the test descriptor in combination with the DBOW algorithm. In order to speed up the matching speed of descriptors, this method also uses the DBOW algorithm to speed up. Usually, the number of road background training set images is in the hundreds of thousands, and the number of road background test sets is in the tens of thousands. If the brute force matching is performed directly two by two, it will take a lot of time and greatly reduce the matching efficiency of the present invention. After using the DBOW algorithm, only one comparison is needed to find the most similar pictures, and then it is determined whether the two pictures are the same slice through the matching of descriptors and the positional relationship of matching feature points. The DBOW algorithm is an efficient loop closure detection algorithm. The full name of the DBOW algorithm is Bags of binary words for fast place recognition in image sequence. The feature detection algorithm used is FAST, and the descriptor uses the Brief descriptor.

L4.按顺序在N张候选图片中选取一张候选图片,将所述候选图片的描述符与所述测试图片的测试描述符进行匹配,匹配结果为相同,则将测试集中的所述测试图片删除并返回步骤2);否则,继续执行步骤4)至N张候选图片均匹配结束并返回步骤2)。L4. Select a candidate picture from N candidate pictures in order, and match the descriptor of the candidate picture with the test descriptor of the test picture. If the matching result is the same, then the test picture in the test set is matched. Delete and return to step 2); otherwise, continue to perform step 4) until all N candidate pictures are matched and return to step 2).

通过图片两两间描述符的匹配度,可以判断是否图片相同。比如相同的图片能够匹配上的特征点数目远大于不同的图片。并且因为描述符的平移、缩放、旋转不变性,所以即使图片进行了变形处理,也能被匹配上。再因为描述符是局部特征,图片加上不同的水印后,们也不影响匹。所述步骤L4中匹配过程具体为,L41.将所述测试图片的测试描述符与所述候选图片的描述符进行暴力匹配,获取所述测试图片与所述候选图片描述符匹配的测试描述符集合一。简单进行描述符的匹配不是完全可靠的,那些错误的匹配叫做误匹配,正确匹配的时候不管图片怎么变形,特征点之间的相对关系保持不变,但误匹配的特征点杂乱无章,所以可以通过这个规律来排除误匹配。Through the matching degree of the descriptors between the two pictures, it can be judged whether the pictures are the same. For example, the number of feature points that can be matched on the same picture is much larger than that of different pictures. And because of the translation, scaling, and rotation invariance of the descriptor, even if the image is deformed, it can be matched. And because the descriptors are local features, after adding different watermarks to the image, they do not affect the matching. The matching process in the step L4 is specifically, L41. Perform violent matching between the test descriptor of the test picture and the descriptor of the candidate picture, and obtain the test descriptor matching the test picture and the candidate picture descriptor. Collection one. Simply matching descriptors is not completely reliable. Those wrong matches are called mismatches. When matching correctly, no matter how the image is deformed, the relative relationship between the feature points remains unchanged, but the feature points that are mismatched are disorganized, so you can pass This rule is used to rule out mismatches.

L42.将所述测试描述符集合一中与距离最近的测试描述符之间距离大于一定阈值D的测试描述符删除以获得测试描述符集合二。步骤L42中两测试描述符之间的距离为两测试描述符之差的模,此步骤可以删除独立的匹配特征点。L42. Delete the test descriptors whose distance from the test descriptor set with the closest distance is greater than a certain threshold D in the test descriptor set 1 to obtain the test descriptor set 2. In step L42, the distance between the two test descriptors is the modulus of the difference between the two test descriptors. In this step, independent matching feature points can be deleted.

L43.将所述测试描述符集合二中不符合旋转不变性的测试描述符删除以获得测试描述符集合三。步骤L43中旋转不变性为所述测试描述符集合二中的某一测试描述符与其他任意两测试描述符之间形成的测试夹角与所述候选图片对应的描述符形成的夹角相等。例如,候选图片存在特征点1,特征点2和特征点3,三个特征点连接后形成三角形1,测试图片存在测试特征点1,测试特征点2和测试特征点3,三个测试特征点连接后形成三角形2,且特征点1与测试特征点1匹配,特征点2与测试特征点2匹配,特征点3与测试特征点3,假设候选图片与测试图片是相同的,则三角形1与三角形2的形状是相同的,否则,三角形1与三角形2的形状很大概率是不同的。L43. Delete the test descriptors in the second test descriptor set that do not meet the rotation invariance to obtain the third test descriptor set. The rotation invariance in step L43 is that the test angle formed between a certain test descriptor in the second test descriptor set and any other two test descriptors is equal to the angle formed by the descriptor corresponding to the candidate picture. For example, the candidate picture has feature point 1, feature point 2 and feature point 3, the three feature points are connected to form triangle 1, the test picture has test feature point 1, test feature point 2 and test feature point 3, three test feature points After the connection, triangle 2 is formed, and feature point 1 matches with test feature point 1, feature point 2 matches with test feature point 2, and feature point 3 matches with test feature point 3. Assuming that the candidate picture and the test picture are the same, triangle 1 matches with the test feature point 3. The shape of triangle 2 is the same, otherwise, the shape of triangle 1 and triangle 2 are very likely to be different.

L44.将所述测试描述符集合三中不符合缩放不变性的测试描述符删除以获得测试描述符集合四。步骤L44中缩放不变性计算过程具体为,L441将所述测试描述符集合三中的测试描述符任意两两配对形成多组测试描述符;L442计算每组测试描述符中两测试描述符之间的测试距离,并计算所述候选图片中与每组测试描述符对应的描述符之间的候选距离;L443计算每组测试距离与对应的候选距离之间的比值,并计算所有比值的比值平均值;L444将每组测试描述符求得的比值与比值平均值作差,当差值大于一定阈值时,则该组的两个测试描述符不符合缩放不变性。L44. Delete the test descriptors in the third test descriptor set that do not meet the scaling invariance to obtain the fourth test descriptor set. The scaling invariance calculation process in step L44 is specifically: L441 pairs any two test descriptors in the test descriptor set three to form multiple groups of test descriptors; L442 calculates the difference between two test descriptors in each group of test descriptors. L443 calculates the ratio between each set of test distances and the corresponding candidate distances, and calculates the ratio average of all ratios value; L444 makes the difference between the ratio obtained by each group of test descriptors and the average value of the ratio, and when the difference is greater than a certain threshold, the two test descriptors in this group do not meet the scaling invariance.

例如,候选图片存在特征点d1,特征点d2,特征点d3和特征点d4,测试图片存在测试特征点s1,测试特征点s2,测试特征点s3和测试特征点s4,且特征点d1与测试特征点s1匹配,特征点d2与测试特征点s2匹配,特征点d3与测试特征点s3,特征点d4与测试特征点s4匹配,其中,测试特征点s1与测试特征点s2之间的距离比上特征点d1与特征点d2之间的距离为比值1,测试特征点s3与测试特征点s4之间的距离比上特征点d3与特征点d4之间的距离为比值2,假设候选图片与测试图片是相同的,则比值1和比值2是相同的。本发明先求得比值的平均值,再用实际比值与平均比值作比较,可判断测测试特征点的描述符与候选图片的描述符是否真的匹配。For example, the candidate picture has feature point d1, feature point d2, feature point d3 and feature point d4, the test picture has test feature point s1, test feature point s2, test feature point s3 and test feature point s4, and feature point d1 and test feature point s4 The feature point s1 matches, the feature point d2 matches the test feature point s2, the feature point d3 matches the test feature point s3, and the feature point d4 matches the test feature point s4, wherein the distance ratio between the test feature point s1 and the test feature point s2 The distance between the upper feature point d1 and the feature point d2 is the ratio 1, and the distance between the test feature point s3 and the test feature point s4 is the ratio 2 compared with the distance between the upper feature point d3 and the feature point d4. The test images are the same, then the ratio 1 and the ratio 2 are the same. The present invention first obtains the average value of the ratio, and then compares the actual ratio with the average ratio, so as to determine whether the descriptor of the test feature point and the descriptor of the candidate picture really match.

L45.计算所述测试描述符集合四中测试描述符的个数,当个数大于阈值M时,进入下一步骤,否则判定所述测试图片与所述候选图片的匹配结果为不相同。L45. Calculate the number of test descriptors in the test descriptor set 4, when the number is greater than the threshold M, go to the next step, otherwise it is determined that the matching results of the test picture and the candidate picture are not the same.

L46.判定测试描述符集合四中的测试描述符是否匹配在水印上,是则判定所述测试图片与所述候选图片的匹配结果为不相同,否则判定所述测试图片与所述候选图片的匹配结果为相同。步骤L46具体为计算所述测试描述符集合四中测试描述符两两距离的平均值,如果所述平均值小于所述测试图片对角线长度的10%,则判定所述测试描述符集合四中的测试描述符匹配在水印上,否则判定所述测试描述符集合四中的测试描述符不匹配在水印上。L46. Determine whether the test descriptors in the test descriptor set 4 are matched on the watermark, and if so, determine that the matching results of the test picture and the candidate picture are not the same, otherwise determine that the test picture and the candidate picture match The matching result is the same. Step L46 is specifically to calculate the average value of the distance between the test descriptors in the test descriptor set 4. If the average value is less than 10% of the diagonal length of the test picture, it is determined that the test descriptor set 4 The test descriptor in the set matches the watermark, otherwise it is determined that the test descriptor in the test descriptor set four does not match the watermark.

其中,N张候选图片中N取值可以为5,阈值D取值可以为30,阈值M取值可以为10。The value of N in the N candidate pictures may be 5, the value of the threshold D may be 30, and the value of the threshold M may be 10.

上面所述的实施例仅是对本发明的优选实施方式进行描述,并非对本发明的构思和范围进行限定。在不脱离本发明设计构思的前提下,本领域普通人员对本发明的技术方案做出的各种变型和改进,均应落入到本发明的保护范围,本发明请求保护的技术内容,已经全部记载在权利要求书中。The above-mentioned embodiments are only to describe the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention. Under the premise of not departing from the design concept of the present invention, various modifications and improvements made by those of ordinary skill in the art to the technical solutions of the present invention should fall within the protection scope of the present invention, and the technical content claimed in the present invention has been fully recorded in the claims.

Claims (2)

1.一种基于区块链技术的实时路况信息采集推送方法,其特征在于:包括以下步骤,1. a real-time road condition information collection and push method based on block chain technology, is characterized in that: comprise the following steps, 步骤1)运行车辆在车载终端或司机手机上安装路况应用软件,并通过与所述车载终端或司机手机连接的行车记录仪采集当前道路的实时路况视频;Step 1) Install the road condition application software on the vehicle terminal or the driver's mobile phone by running the vehicle, and collect the real-time road condition video of the current road through the driving recorder connected with the vehicle terminal or the driver's mobile phone; 步骤2)通过所述路况应用软件的视频处理模块处理所述路况视频以获取所述运行车辆所处的路况条件;Step 2) Process the road condition video through the video processing module of the road condition application software to obtain the road condition where the running vehicle is located; 步骤3)通过所述路况应用软件的路况更新模块将所述路况条件更新于所述路况应用软件的路况查询模块;Step 3) updating the road condition condition in the road condition query module of the road condition application software through the road condition update module of the road condition application software; 步骤4)车主通过路况查询模块查询路况以选择合适的行驶路径;Step 4) The car owner inquires the road conditions through the road condition inquiry module to select a suitable driving route; 所述步骤2)具体包括,21)将所述路况视频以20秒的时间间隔进行实时分段以得到路况短视频;The step 2) specifically includes, 21) Real-time segmentation of the road condition video at a time interval of 20 seconds to obtain a short road condition video; 22)等间隔提取所述路况短视频的S帧待检测图片;22) Extracting the S-frame to-be-detected pictures of the short video of the road condition at equal intervals; 23)检测每一帧待检测图片的车辆数目以及每一帧待检测图片中所述运行车辆与正前方车辆的车距,若待检测图片的车辆数目大于车辆数阈值且待检测图片的车距小于车距阈值,则将所述运行车辆所处的路况条件判为第一拥挤,否则判为不拥挤;23) Detect the number of vehicles in each frame of the picture to be detected and the distance between the running vehicle and the vehicle directly ahead in each frame of the picture to be detected, if the number of vehicles in the picture to be detected is greater than the threshold of the number of vehicles and the distance between the vehicles in the picture to be detected is less than the vehicle distance threshold, the road condition where the running vehicle is located is judged as the first congestion, otherwise it is judged as not crowded; 24)若S帧待检测图片中有95%的待检测图片均将所述运行车辆所处的路况条件判为第一拥挤,则将所述运行车辆所处的路况条件判为第二拥挤,否则判为不拥挤;24) If 95% of the pictures to be detected in the frame S to be detected all judge the road condition where the running vehicle is located as the first congestion, then the road condition where the running vehicle is located is judged as the second congestion, Otherwise, it is judged to be not crowded; 25)若连续三段路况短视频均将所述运行车辆所处的路况条件判为第二拥挤,则将所述运行车辆所处的路况条件判为第三拥挤,否则判为不拥挤;25) If three consecutive short videos of road conditions all judge the road condition where the running vehicle is located as the second congestion, then the road condition where the running vehicle is located is judged as the third congestion, otherwise it is judged as not crowded; 所述步骤3)中,所述路况应用软件还包括导航模块,当所述运行车辆所处的路况条件判为第三拥挤时,所述路况更新模块结合所述导航模块将所述运行车辆以红色亮点的形式显示在所述路况查询模块;In the step 3), the road condition application software further includes a navigation module, when the road condition where the running vehicle is located is judged to be the third congested, the road condition update module combines the navigation module to update the running vehicle to the third congested. The form of red highlights is displayed in the road condition query module; 所述步骤23)中通过背景差法计算所述待检测图片的车辆数目,具体包括以下步骤,In the step 23), the number of vehicles in the picture to be detected is calculated by the background difference method, which specifically includes the following steps: 231)在云端服务器设置道路背景库,所述云端服务器与所述车载终端或司机手机连接;231) A road background library is set on a cloud server, and the cloud server is connected to the vehicle terminal or the driver's mobile phone; 232)根据导航模块调用所述运行车辆所处位置对应的初级道路背景图;232) Call the primary road background image corresponding to the location of the running vehicle according to the navigation module; 233)将所述初级道路背景图片与所述待检测图片结合并通过背景计算模型得到终级道路背景图;233) Combine the primary road background picture with the to-be-detected picture and obtain a final road background picture through a background calculation model; 234)将待检测图片与所述终级道路背景图作差以获得车辆图片;234) Difference between the to-be-detected picture and the final road background picture to obtain a vehicle picture; 235)对所述车辆图片进行车辆数目统计;235) Counting the number of vehicles on the vehicle picture; 所述背景计算模型通过道路背景训练集建立并通过道路背景测试集完善,所述道路背景训练集与所述道路背景测试集通过描述符匹配法去重,具体包括以下步骤,The background calculation model is established through a road background training set and perfected through a road background test set, and the road background training set and the road background test set are deduplicated by a descriptor matching method, which specifically includes the following steps: L1.提取道路背景训练集中所有图片各自的特征点,并根据所述特征点计算相应图片的描述符;L1. Extract the respective feature points of all the pictures in the road background training set, and calculate the descriptors of the corresponding pictures according to the feature points; L2.按顺序在道路背景测试集中提取一张测试图片并计算所述测试图片的测试特征点,根据所述测试特征点计算所述测试图片的测试描述符;L2. extract a test picture and calculate the test feature point of the test picture in order in the road background test set, and calculate the test descriptor of the test picture according to the test feature point; L3.根据所述测试描述符结合DBOW算法获取所述道路背景训练集中与所述测试图片最相似的N张候选图片;L3. obtain N candidate pictures most similar to the test picture in the road background training set according to the test descriptor in conjunction with the DBOW algorithm; L4.按顺序在N张候选图片中选取一张候选图片,将所述候选图片的描述符与所述测试图片的测试描述符进行匹配,匹配结果为相同,则将测试集中的所述测试图片删除并返回步骤L2;否则,继续执行步骤L4至N张候选图片均匹配结束并返回步骤L2;L4. Select a candidate picture from N candidate pictures in order, and match the descriptor of the candidate picture with the test descriptor of the test picture. If the matching result is the same, then the test picture in the test set is matched. Delete and return to step L2; otherwise, continue to perform step L4 to N candidate pictures are all matched and return to step L2; 所述步骤L4中匹配过程具体为,The matching process in the step L4 is specifically, L41.将所述测试图片的测试描述符与所述候选图片的描述符进行暴力匹配,获取所述测试图片与所述候选图片描述符匹配的测试描述符集合一;L41. Perform brute force matching between the test descriptor of the test picture and the descriptor of the candidate picture, and obtain a set of test descriptors matching the test picture and the candidate picture descriptor; L42.将所述测试描述符集合一中与距离最近的测试描述符之间距离大于一定阈值D的测试描述符删除以获得测试描述符集合二;L42. Delete the test descriptor whose distance between the test descriptor set 1 and the closest test descriptor is greater than a certain threshold D to obtain the test descriptor set 2; L43.将所述测试描述符集合二中不符合旋转不变性的测试描述符删除以获得测试描述符集合三;L43. Delete the test descriptors that do not meet the rotational invariance in the second test descriptor set to obtain the third test descriptor set; L44.将所述测试描述符集合三中不符合缩放不变性的测试描述符删除以获得测试描述符集合四;L44. Delete the test descriptors that do not meet the scaling invariance in the test descriptor set three to obtain the test descriptor set four; L45.计算所述测试描述符集合四中测试描述符的个数,当个数大于阈值M时,进入下一步骤;否则判定所述测试图片与所述候选图片的匹配结果为不相同;L45. Calculate the number of test descriptors in the test descriptor set four, and when the number is greater than the threshold M, enter the next step; otherwise, it is determined that the matching results of the test picture and the candidate picture are not the same; L46.判定测试描述符集合四中的测试描述符是否匹配在水印上,是则判定所述测试图片与所述候选图片的匹配结果为不相同,否则判定所述测试图片与所述候选图片的匹配结果为相同;L46. Determine whether the test descriptors in the test descriptor set 4 are matched on the watermark, and if yes, determine that the matching results of the test picture and the candidate picture are different, otherwise determine that the test picture and the candidate picture match The matching result is the same; 所述步骤L42中两测试描述符之间的距离为两测试描述符之差的模;The distance between the two test descriptors in the step L42 is the modulus of the difference between the two test descriptors; 所述步骤L43中旋转不变性为所述测试描述符集合二中的某一测试描述符与其他任意两测试描述符之间形成的测试夹角与所述候选图片对应的描述符形成的夹角相等;The rotation invariance in the step L43 is the angle formed by the test angle formed between a certain test descriptor in the second test descriptor set and any other two test descriptors and the descriptor corresponding to the candidate picture. equal; 所述步骤L44中缩放不变性计算过程具体为,The scaling invariance calculation process in the step L44 is specifically: L441将所述测试描述符集合三中的测试描述符任意两两配对形成多组测试描述符;L441 pairs any pair of test descriptors in the test descriptor set three to form multiple groups of test descriptors; L442计算每组测试描述符中两测试描述符之间的测试距离,并计算所述候选图片中与每组测试描述符对应的描述符之间的候选距离;L442 calculates the test distance between two test descriptors in each group of test descriptors, and calculates the candidate distance between the descriptors corresponding to each group of test descriptors in the candidate picture; L443计算每组测试距离与对应的候选距离之间的比值,并计算所有比值的比值平均值;L443 calculates the ratio between each set of test distances and the corresponding candidate distances, and calculates the ratio average of all ratios; L444将每组测试描述符求得的比值与比值平均值作差,当差值大于一定阈值时,则该组的两个测试描述符不符合缩放不变性;L444 makes a difference between the ratio obtained by each group of test descriptors and the average value of the ratio, and when the difference is greater than a certain threshold, the two test descriptors in the group do not meet the scaling invariance; 所述步骤L46具体为计算所述测试描述符集合四中测试描述符两两距离的平均值,如果所述平均值小于所述测试图片对角线长度的10%,则判定所述测试描述符集合四中的测试描述符匹配在水印上,否则判定所述测试描述符集合四中的测试描述符不匹配在水印上。The step L46 is specifically to calculate the average value of the distance between the two test descriptors in the test descriptor set 4. If the average value is less than 10% of the diagonal length of the test picture, the test descriptor is determined. The test descriptor in set four matches the watermark, otherwise it is determined that the test descriptor in the test descriptor set four does not match on the watermark. 2.根据权利要求1所述的一种基于区块链技术的实时路况信息采集推送方法,其特征在于:N张候选图片中N取值为5,阈值D取值为30,阈值M取值为10。2. a kind of real-time road condition information collection and push method based on blockchain technology according to claim 1, is characterized in that: in N candidate pictures, N is 5, the threshold D is 30, and the threshold M is 30. is 10.
CN201811218517.2A 2018-10-19 2018-10-19 A real-time road condition information collection and push method based on blockchain technology Active CN109166336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811218517.2A CN109166336B (en) 2018-10-19 2018-10-19 A real-time road condition information collection and push method based on blockchain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811218517.2A CN109166336B (en) 2018-10-19 2018-10-19 A real-time road condition information collection and push method based on blockchain technology

Publications (2)

Publication Number Publication Date
CN109166336A CN109166336A (en) 2019-01-08
CN109166336B true CN109166336B (en) 2020-08-07

Family

ID=64878423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811218517.2A Active CN109166336B (en) 2018-10-19 2018-10-19 A real-time road condition information collection and push method based on blockchain technology

Country Status (1)

Country Link
CN (1) CN109166336B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112820120B (en) * 2020-12-30 2022-03-01 杭州趣链科技有限公司 Multi-party traffic flow space-time cross validation method based on alliance chain
CN113347243A (en) * 2021-05-31 2021-09-03 重庆工程职业技术学院 Driving information recording system and method based on block chain
CN116412854A (en) * 2022-01-05 2023-07-11 深圳市威宇智通科技有限公司 Road surface information data acquisition system based on 5G Internet of Vehicles
CN114973744B (en) * 2022-05-10 2024-04-26 江苏国科北斗智能研究院有限公司 A real-time analysis system for public transportation passenger flow and road conditions based on blockchain

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231236A (en) * 2011-06-14 2011-11-02 汉王科技股份有限公司 Method and device for counting vehicles
CN102663894A (en) * 2012-05-20 2012-09-12 杭州妙影微电子有限公司 Road traffic condition foreknowing system and method based on internet of things
CN103310206A (en) * 2013-07-06 2013-09-18 中国科学技术大学 Moped detection method based on multi-feature and multi-frame information fusion
CN104636488A (en) * 2015-02-26 2015-05-20 北京奇艺世纪科技有限公司 Method and device for determining duplicate video files on basis of pictures
CN104851295A (en) * 2015-05-22 2015-08-19 北京嘀嘀无限科技发展有限公司 Method and system for acquiring road condition information
CN105469612A (en) * 2016-01-22 2016-04-06 大连楼兰科技股份有限公司 A traffic jam warning system and method
CN105787943A (en) * 2016-03-03 2016-07-20 西安电子科技大学 SAR image registration method based on multi-scale image block characteristics and sparse expression
CN106297297A (en) * 2016-11-03 2017-01-04 成都通甲优博科技有限责任公司 Traffic jam judging method based on degree of depth study
CN106844726A (en) * 2017-02-10 2017-06-13 深圳前海大造科技有限公司 A kind of image-recognizing method matched with violence based on words tree retrieval
CN106874445A (en) * 2017-02-10 2017-06-20 深圳前海大造科技有限公司 High in the clouds image-recognizing method based on words tree retrieval with similarity checking
CN108564565A (en) * 2018-03-12 2018-09-21 华南理工大学 A kind of power equipment infrared image multi-target orientation method based on deep learning

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7813870B2 (en) * 2006-03-03 2010-10-12 Inrix, Inc. Dynamic time series prediction of future traffic conditions
KR101034364B1 (en) * 2008-10-07 2011-05-16 현대엠엔소프트 주식회사 Traffic Information Generation System and Method in Intersection Considering Entry and Exit
CN101853486B (en) * 2010-06-08 2012-06-13 华中科技大学 Image copying detection method based on local digital fingerprint
CN106375771B (en) * 2016-08-31 2019-05-24 西安万像电子科技有限公司 Image Feature Matching method and apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231236A (en) * 2011-06-14 2011-11-02 汉王科技股份有限公司 Method and device for counting vehicles
CN102663894A (en) * 2012-05-20 2012-09-12 杭州妙影微电子有限公司 Road traffic condition foreknowing system and method based on internet of things
CN103310206A (en) * 2013-07-06 2013-09-18 中国科学技术大学 Moped detection method based on multi-feature and multi-frame information fusion
CN104636488A (en) * 2015-02-26 2015-05-20 北京奇艺世纪科技有限公司 Method and device for determining duplicate video files on basis of pictures
CN104851295A (en) * 2015-05-22 2015-08-19 北京嘀嘀无限科技发展有限公司 Method and system for acquiring road condition information
CN105469612A (en) * 2016-01-22 2016-04-06 大连楼兰科技股份有限公司 A traffic jam warning system and method
CN105787943A (en) * 2016-03-03 2016-07-20 西安电子科技大学 SAR image registration method based on multi-scale image block characteristics and sparse expression
CN106297297A (en) * 2016-11-03 2017-01-04 成都通甲优博科技有限责任公司 Traffic jam judging method based on degree of depth study
CN106844726A (en) * 2017-02-10 2017-06-13 深圳前海大造科技有限公司 A kind of image-recognizing method matched with violence based on words tree retrieval
CN106874445A (en) * 2017-02-10 2017-06-20 深圳前海大造科技有限公司 High in the clouds image-recognizing method based on words tree retrieval with similarity checking
CN108564565A (en) * 2018-03-12 2018-09-21 华南理工大学 A kind of power equipment infrared image multi-target orientation method based on deep learning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Vehicle traffic congestion management in vehicular ad-hoc networks;Brijesh Kadri Mohandas,Ramiro Liscano,Oliver W. W. Yang;《2009 IEEE 34th Conference on Local Computer Networks》;IEEE;20091023;第655-660页 *
无人机视觉导航关键技术的研究与实现;尤宇星;《中国优秀硕士学位论文全文数据库 工程科技II辑》;20180215(第02期);第25-38页第三章节 *

Also Published As

Publication number Publication date
CN109166336A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN108986465B (en) Method, system and terminal equipment for detecting traffic flow
CN109166336B (en) A real-time road condition information collection and push method based on blockchain technology
CN103186982B (en) Intelligent access system for public security
CN110717433A (en) Deep learning-based traffic violation analysis method and device
CN112651293B (en) Video detection method for road illegal spreading event
CN107316007A (en) A kind of monitoring image multiclass object detection and recognition methods based on deep learning
CN111818313A (en) Vehicle real-time tracking method and device based on monitoring video
CN116311166A (en) Traffic obstacle recognition method, device and electronic equipment
CN112132071A (en) Processing method, device, device and storage medium for identifying traffic congestion
CN115601741A (en) Non-motor vehicle retrograde detection incremental learning and license plate recognition method
CN112883936A (en) Method and system for detecting vehicle violation
CN115187886A (en) Vehicle violation detection method and device and electronic equipment
CN106934374A (en) The recognition methods of traffic signboard and system in a kind of haze scene
CN113963310A (en) People flow detection method and device for bus station and electronic equipment
CN111931726A (en) Traffic light detection method and device, computer storage medium and road side equipment
CN108665712A (en) A kind of vehicle gets over line act of violating regulations monitoring method and system
CN204856897U (en) It is detection device violating regulations in abscission zone territory that motor vehicle stops promptly
CN116229396B (en) High-speed pavement disease identification and warning method
CN115063979B (en) Traffic information quantification method and system under intelligent networking environment
CN115394089A (en) A method for fusion display of vehicle information, a non-inductive traffic system and a storage medium
CN110852289A (en) Method for extracting information of vehicle and driver based on mobile video
CN110782671A (en) Real-time update method and server for road congestion status
CN114639084A (en) Road side end vehicle sensing method based on SSD (solid State disk) improved algorithm
CN117456482B (en) Abnormal event identification method and system for traffic monitoring scene
CN114627400A (en) A lane congestion detection method, device, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Xueyuan Road, new campus of Fuzhou Regional University, Shangjie Town, Minhou County, Fuzhou City, Fujian Province

Patentee after: Fujian University of Science and Technology

Country or region after: China

Address before: Xueyuan Road, new campus of Fuzhou Regional University, Shangjie Town, Minhou County, Fuzhou City, Fujian Province

Patentee before: FUJIAN University OF TECHNOLOGY

Country or region before: China

CP03 Change of name, title or address