CN112289032B - Automatic inspection method for unmanned aerial vehicle expressway - Google Patents

Automatic inspection method for unmanned aerial vehicle expressway Download PDF

Info

Publication number
CN112289032B
CN112289032B CN202011225317.7A CN202011225317A CN112289032B CN 112289032 B CN112289032 B CN 112289032B CN 202011225317 A CN202011225317 A CN 202011225317A CN 112289032 B CN112289032 B CN 112289032B
Authority
CN
China
Prior art keywords
unmanned aerial
aerial vehicle
image
lane line
foreground
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
CN202011225317.7A
Other languages
Chinese (zh)
Other versions
CN112289032A (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.)
Anhui Haiche Shenyu Unmanned Equipment Technology Co.,Ltd.
Original Assignee
Zhejiang Dianchen Aviation Technology 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 Zhejiang Dianchen Aviation Technology Co ltd filed Critical Zhejiang Dianchen Aviation Technology Co ltd
Priority to CN202011225317.7A priority Critical patent/CN112289032B/en
Publication of CN112289032A publication Critical patent/CN112289032A/en
Application granted granted Critical
Publication of CN112289032B publication Critical patent/CN112289032B/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/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/012Measuring and analyzing of parameters relative to traffic conditions based on the source of data from other sources than vehicle or roadside beacons, e.g. mobile networks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2200/00Type of vehicles
    • B60L2200/10Air crafts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/14Plug-in electric vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses an automatic inspection method for an unmanned aerial vehicle expressway, which is characterized by comprising the following steps of: s1, returning the unmanned aerial vehicle to a ground charging station for charging in an initial state or after the inspection task is executed; s2, judging whether the electric quantity is in polling or not when the polling task is accessed; s3, the unmanned aerial vehicle executes the task and shoots the inspection video; s4, dividing the live video into a plurality of video segments; s5, extracting at least one frame of live image from the cached video segment; s6, preprocessing the live image; s7, judging the traffic flow; S8-S10, judging whether an emergency lane is special, and selecting whether to transmit a video segment to a ground control center according to the occupied condition; s11, return to ground charging station and charge, so patrol and examine, realize automatic patrolling and examining and greatly reduced quantity transmission quantity, improved unmanned aerial vehicle' S duration.

Description

Automatic inspection method for unmanned aerial vehicle expressway
Technical Field
The invention relates to an automatic inspection method for an unmanned aerial vehicle expressway.
Background
Along with the quick development of unmanned aerial vehicle, unmanned aerial vehicle is extensively used for road conditions to patrol and examine the detection (if traffic flow statistics, emergent lane occupies the control), but unmanned aerial vehicle among the prior art has following problem at least: (1) a power source carried by an unmanned aerial vehicle is a lithium battery, and the lithium battery has weak cruising ability and cannot continuously execute a cruising task;
(2) unmanned aerial vehicle receives the influence of duration and load, carries on the arithmetic equipment very little and carries out extensive data operation, is usually to directly transmit the video of acquireing to ground control center, but data transmission receives communication signal on the one hand and influences, and on the other hand keeps the duration that a large amount of data transmission also influence unmanned aerial vehicle in real time.
Disclosure of Invention
The invention aims to provide an unmanned aerial vehicle endurance method capable of improving endurance and realizing automatic inspection of a highway.
In order to solve the problems, the invention provides an automatic inspection method for an unmanned aerial vehicle expressway, which is characterized by comprising the following steps of:
s1, returning the unmanned aerial vehicle to a ground charging station for charging in an initial state or after the execution of the inspection task is finished, entering a charging mode during charging, entering an inspection preparation mode after the charging is finished, executing the step S2 when the inspection task is accessed in the charging mode, and executing the step S3 when the inspection task is accessed in the inspection preparation mode;
s2, judging the electric quantity needed by the inspection task, if the current electric quantity meets the requirement of the inspection task, executing the step S3, otherwise, continuing to charge;
s3, taking off by the unmanned aerial vehicle, starting to execute an inspection task, inspecting the highway, and shooting a live video;
s4, dividing the live video shot by the unmanned aerial vehicle into video segments according to the set time, and caching;
s5, extracting at least one frame of live image from the cached video segment;
s6, preprocessing the live image to obtain a binary image of the highway surface, wherein in the image, the vehicle outline and the lane line are white as the foreground, and the road surface is black as the background;
s7, sequentially scanning pixel points on the binary image, defining a region with M continuous foreground pixel values in a neighborhood range as a single vehicle, obtaining the number value of the vehicle, namely the current traffic flow, and transmitting the number value of the vehicle to a ground control center, wherein M is the area threshold range of the vehicle in the binary image;
s8, transversely scanning the binary image, defining an area with N transversely continuous pixel points as foreground pixel points as a lane line, defining a lane line with a distance of P from a scanning initial position as an emergency lane line, counting the number of vehicles of the emergency lane from the scanning initial position, if so, executing a step S10, otherwise, executing a step S9, wherein N is the width threshold range of the lane line on the binary image, and P is the width threshold range of the emergency lane on the binary image;
s9, deleting the called video segment in the cache, and executing the step S5;
s10, transmitting the called video segments in the cache to a ground control center, and executing the step S5;
and S11, after the inspection task is executed, returning the unmanned aerial vehicle to the ground charging station, and executing the step S1.
As a further improvement of the present invention, the step S6 includes:
s6.1, performing semantic segmentation on the live image in the step S5, separating a lane area and a background area, and deleting pixel points of the background area from the live image;
and S6.2, performing binarization processing on the live image in the step S6.1 to obtain a binarized image, wherein the road surface is displayed as a background and is black, and the automobile outline and the lane line are displayed as a foreground and are white.
As a further improvement of the present invention, the step S7 includes:
s7.1, transversely scanning the binary image, defining a region with N transversely continuous pixel points which are foreground pixel points as a lane line, and deleting the binary image;
s7.2, transversely scanning the binary image, and defining a region with continuous M foreground pixel values in a neighborhood range as a single vehicle contour;
and S7.3, counting the number of the single vehicle profiles in the step S7.2.
As a further improvement of the present invention, in step S7.2, the binary image is scanned, if the current pixel is a foreground pixel, pixels in a neighborhood setting range are scanned, and if the number of foreground pixels in the neighborhood is greater than or equal to a set threshold, all the neighborhoods are filled into foreground pixels to obtain an independent automobile contour, and the independent automobile contour is given a set gray value α, where the α value is between 0 and 255.
As a further improvement of the present invention, in step S7.2, if the number of foreground pixels in the filled vehicle contour is smaller than the set area threshold M, the foreground pixels are deleted from the binarized image.
As a further improvement of the present invention, the step S8 includes:
s8.1, transversely scanning the binary image along the outer side of a lane on the binary image, defining an area with the foreground pixel points of N transversely continuous pixel points as a lane line, defining a lane line with the distance of P from the scanning initial position as an emergency lane line, and recording the coordinates (X) of the foreground pixel points firstly scanned on the emergency lane linem;Yn);
S8.2, carrying out coordinate (X) on the longitudinally continuous foreground pixel points by a least square methodm;Yn) Performing curve fitting to obtain a quadratic parabolic curve equation of the traffic lane, drawing a fitted emergency lane line on the image obtained in the step S7.2 according to the obtained quadratic parabolic equation, and endowing the emergency lane line with a gray value beta, wherein the value of beta is between 0 and 255;
s8.3, transversely scanning the image obtained in the step S8.2 along the outer side of the lane on the binary image, if the pixel value of the foreground pixel point scanned firstly is alpha, indicating that the emergency lane is occupied, executing a step S10, if the pixel value of the foreground pixel point scanned firstly is beta, indicating that the emergency lane is unoccupied, and executing a step S9.
The invention has the advantages that the air vehicle automatically returns to a ground charging station for charging after the task is executed each time, when a new inspection task is accessed in the charging process, the electric quantity required by the task and the current electric quantity are compared, so that the normal operation of the inspection task in each flight is ensured, the automatic inspection is realized, in addition, the video shot by the unmanned aerial vehicle is divided into a plurality of sections according to the time length, the pre-analysis is carried out on the unmanned aerial vehicle, only the video sections which are possibly occupied by an emergency lane after the pre-analysis are transmitted to a ground control center, the data transmission quantity with the ground control center is reduced, and the endurance of the main body of the unmanned aerial vehicle is improved.
Drawings
FIG. 1 is a schematic structural view of the present invention;
fig. 2 is a flow chart of the present invention.
In the figure: 2000-unmanned aerial vehicle body; 2100-a flight control module; 2200-a charging module; 2201-power supply; 2202-charging accessory unit; 2203-a charging control unit; 2300-a video processing module; 2301-video segment making unit; 2302-a temporary cache unit; 2303-video segment handling unit; 2400-a picture processing module; 2401-a semantic segmentation unit; 2402-a binarization processing unit; 2403-a traffic flow statistics submodule; 2404-lane line rejecting unit; 2406-a vehicle contour extraction unit; 2407-a vehicle profile statistics unit; 2408-an emergency lane detection sub-module; 2409-an emergency lane line contour coordinate extracting unit; 2410-emergency lane line fitting unit; 2411-emergency lane scanning unit; 4000 ground charging stations; 6000 ground control centre.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
As shown in fig. 1 and 2, the present invention includes an unmanned aerial vehicle main body 2000, a ground charging station 4000, and a ground control center 6000, and is characterized in that the unmanned aerial vehicle main body 2000 includes:
the flight control module 2100 receives and executes the polling task sent by the ground control center 6000, and returns to the ground charging station 4000 after the polling task is executed;
a charging module 2200, including a power source 2201 for providing energy to the aircraft body, a charging mating unit 2202 for providing mating for charging the power source 2201, and a charging control unit 2203, wherein when the flight control module 2100 receives a flight signal of the ground control center 6000 in the charging process of the unmanned aerial vehicle body 2000, the charging control unit 2203 compares the electric quantity required by the inspection task with the current electric quantity, and only when the current electric quantity is greater than the electric quantity required by the inspection task, the flight control module 2100 is allowed to execute the inspection task, otherwise, the charging is continued;
a video processing module 2300 including a video segment creation unit 2301, a temporary buffer unit 2302, and a video segment processing unit 2303, wherein the video segment creation unit 2301 creates a video segment from a live road video recorded when the main body 2000 of the unmanned aerial vehicle performs an inspection task at a set time and stores the video segment into the temporary buffer unit 2302, the video segment processing unit 2303 can call the video segment stored in the temporary buffer unit 2302 and extract a live image of at least one frame from the video segment, and the temporary buffer unit 2302 can delete the video segment or transmit the video segment to the ground control station;
the picture processing module 2400 includes a traffic flow statistics sub-module 2403 and an emergency lane detection sub-module, and is configured to respectively obtain vehicle quantity information in the live picture and vehicle quantity information in an emergency lane by identifying the live picture, and feed the obtained information back to the ground control center 6000, when a vehicle exists in the emergency lane, the picture processing module 2400 controls the temporary cache unit 2302 to transmit a corresponding video segment to the ground control center 6000, and otherwise, controls the temporary cache unit 2302 to delete the corresponding video segment.
As a further improvement of the present invention, the picture processing module 2400 further includes:
a semantic segmentation unit 2401, performing semantic segmentation on the live image to obtain a lane region and a background region, and removing the background region in the image;
a binarization processing unit 2402 that performs binarization processing on the image from which the background region is removed to obtain a binarized image of the image in which the road surface is displayed as a background in black and the vehicles and the lane lines are displayed as a foreground in white;
the traffic flow statistics sub-module 2403 includes:
a lane line eliminating unit 2404, configured to perform a horizontal scan on the binarized image, define a lane line as N horizontal consecutive pixel points, where N is defined as a width threshold of the lane line, where N is a foreground pixel point, and eliminate the pixel points from the binarized image to obtain a first processed image;
a vehicle contour extraction unit 2406, scanning the first processed image, capturing the contour of the individual vehicle and giving a set gray value α to the contour, wherein the value of α is between 0 and 255, and obtaining a second processed image after processing;
-a statistical unit for counting the number of independent car contours in the second processed image.
As a further improvement of the present invention, the emergency lane detection sub-module 2408 includes:
the emergency lane line contour coordinate extraction unit 2409 scans the binarized image transversely along the outer side of the lane on the binarized image, and records the coordinates (X) of the foreground pixels scanned firstly if the scanned foreground pixels are N continuous foreground pixels transversely and the distance threshold from the pixels to the side edge of the binarized image is smaller than the set rangem;Yn);
An emergency lane line fitting unit 2410 for fitting coordinates (X) of longitudinally continuous foreground pixel pointsm;Yn) Performing curve fitting, drawing a lane line on the second processed image, and giving a set gray value beta to the lane line, wherein the beta value is between 0 and 255, so as to obtain a third processed image;
the emergency lane scanning unit 2411 may perform lateral scanning on the third processed image from the outside, and determine whether the emergency lane is occupied according to a gray value of the first scanned image.
As a further improvement of the present invention, the vehicle contour filling unit may sequentially scan the pixels of the first processed image, scan pixels within a set range of a neighborhood if the current pixel is a foreground pixel, and fill all neighborhoods thereof into foreground pixels to obtain an independent vehicle contour and assign a set gray value α thereto to obtain the second processed image if the number of foreground pixels in the neighborhood is greater than or equal to a set threshold.
As a further improvement of the present invention, the emergency lane line fitting unit 2410 uses the least square method to match the coordinates (X) of the longitudinally continuous foreground pixelsm;Yn) And performing curve fitting to obtain a quadratic parabolic curve equation of the traffic lane, and drawing a fitted lane line on the second processed image according to the obtained quadratic parabolic equation.
As a further improvement of the present invention, the temporary cache unit 2302 divides the video segment priority temporarily cached therein, the video segment stored in the temporary cache unit 2302 first has a higher priority than the video segment stored in the temporary cache unit 2302 later, and the video segment processing unit 2303 calls the video segment with the highest priority first.
As a further improvement of the present invention, when there is a vehicle in the emergency lane, the picture processing module 2400 controls the temporary cache unit 2302 to transmit the video segment with the highest priority to the ground control center 6000, otherwise controls the temporary cache unit 2302 to delete the video segment with the highest priority.
The specific principle of the invention is as follows:
unmanned aerial vehicle main body 2000 patrol
(1) The ground control center 6000 sends a patrol inspection instruction to the unmanned aerial vehicle main body 2000;
(2) after receiving the inspection instruction, the flight control device controls the unmanned aerial vehicle main body 2000 to execute the inspection task;
(3) and after the polling task is finished, returning to the ground charging station 4000 for charging.
(II) the unmanned aerial vehicle main body 2000 receives the patrol inspection instruction sent by the ground control center 6000 in the charging process
(1) After the unmanned aerial vehicle main body 2000 executes the task, the unmanned aerial vehicle main body returns to the ground charging station 4000 for charging;
(2) after charging is finished, entering a polling mode, waiting for a polling command sent by the ground control center 6000, and executing a polling task after receiving the polling command sent by the ground control center 6000;
(3) when the charging is not completed, the ground control center 6000 sends out a polling instruction, the charging control unit 2203 compares the current electric quantity with the electric quantity required by the polling task (the electric quantity here can be calculated by the ground control center 6000, or can be calculated by the flight control system according to the airborne navigation), when the current electric quantity is more than the electric quantity required by the polling task, the flight control system is allowed to start the unmanned aerial vehicle main body 2000 to execute the task, otherwise, the charging is performed, and the comparison is performed once at each set time.
(III) data transmission between unmanned aerial vehicle main body 2000 and ground control center 6000
(1) The unmanned aerial vehicle main body 2000 starts an airborne camera thereof to shoot videos on the ground in the polling task;
(2) in the shooting process, the live video is made into video segments at intervals by the video segment making unit 2301;
(3) the created video segments are cached in the temporary caching unit 2302, when the cached video segments are multiple, the caching unit defines the priority of the video segments, and the earlier the cached video segments are stored, the higher the priority is;
(4) the image processing module 2400 preferentially calls a video segment with a high priority to perform analysis processing, when the emergency lane is occupied after the analysis processing, the video segment is transmitted to the ground control center 6000, the ground control center 6000 further confirms the video segment, and otherwise, the video segment is deleted to save the storage space;
(IV) graphics processing Module Pre-processing
(1) The video segment processing unit 2303 extracts several frames of live images from the video segment with the highest priority of the temporary buffer unit 2302;
(2) a semantic segmentation unit 2401 performs semantic segmentation on the live image so as to acquire a background region and a lane region in the live image;
(3) and carrying out binarization processing on the lane area of the image to obtain a binarized image, wherein the road surface is displayed as a background and the vehicle and the lane line are displayed as a foreground and are displayed as white in the binarized image.
(IV) traffic flow statistics
(1) The lane line removing unit 2404 performs transverse scanning on the binarized image, defines the horizontal continuous N pixel points, which are foreground pixel points, as lane lines, and removes the lane lines from the binarized image to obtain a first processed image, wherein N is defined as a width threshold of the lane lines, and the purpose of removing the lane lines is that the lane lines and the vehicles belong to the foreground, so that the identification of the vehicles is influenced;
(2) the vehicle contour extraction unit 2406 scans the pixels of the first processed image in sequence, if the current pixel is a foreground pixel, scans pixels in a neighborhood set range, and if the number of foreground pixels in the neighborhood is greater than or equal to a set threshold, fills all the neighborhoods into foreground pixels so as to obtain an independent vehicle contour, and gives a set gray value alpha to the independent vehicle contour so as to obtain the second processed image, wherein the alpha value is between 0 and 255;
(3) the vehicle profile counting unit 2407 counts the number of independent vehicle profiles in the second processed image, thereby obtaining the current traffic flow.
(V) Emergency Lane detection
(1) The emergency lane line contour coordinate extraction unit 2409 scans the binarized image transversely along the outer side of the lane on the binarized image, and records the coordinates (X) of the foreground pixel points scanned firstly if the scanned image is scanned transversely to form N continuous foreground pixel points and the distance threshold value from the pixel points to the side edge of the binarized image is smaller than the set rangem;Yn);
(2) The emergency lane line fitting unit 2410 performs least square method on the coordinates (X) of the longitudinally continuous foreground pixel pointsm;Yn) Performing curve fitting to obtain a quadratic parabolic curve equation of the traffic lane, drawing a fitted lane line on the second processed image according to the obtained quadratic parabolic equation, and giving a set gray value beta to the second processed image, wherein the beta value is between 0 and 255, so as to obtain a third processed image;
(3) an emergency lane scanning unit 2411, configured to scan the third processed image from the outside in the transverse direction, determine whether the emergency lane is occupied according to a gray level of the first scanned image, and if a gray level of the scanned pixel value is α, indicate that the emergency lane is occupied; and if the gray value of the scanned pixel point is beta, indicating that the emergency lane is not occupied.
The technical principle of the present invention is described above in connection with specific embodiments. The description is made for the purpose of illustrating the principles of the invention and should not be construed in any way as limiting the scope of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.

Claims (4)

1. An automatic inspection method for an unmanned aerial vehicle expressway is characterized by comprising the following steps:
s1, returning the unmanned aerial vehicle to a ground charging station for charging in an initial state or after the execution of the inspection task is finished, entering a charging mode during charging, entering an inspection preparation mode after the charging is finished, executing the step S2 when the inspection task is accessed in the charging mode, and executing the step S3 when the inspection task is accessed in the inspection preparation mode;
s2, judging the electric quantity needed by the inspection task, if the current electric quantity meets the requirement of the inspection task, executing the step S3, otherwise, continuing to charge;
s3, taking off by the unmanned aerial vehicle, starting to execute an inspection task, inspecting the highway, and shooting a live video;
s4, dividing the live video shot by the unmanned aerial vehicle into video segments according to the set time, and caching;
s5, extracting at least one frame of live image from the cached video segment;
s6, preprocessing the live image to obtain a binary image of the highway surface, wherein in the image, the vehicle outline and the lane line are white as the foreground, and the road surface is black as the background;
s7.1, transversely scanning the binary image, defining a region with N transversely continuous pixel points which are foreground pixel points as a lane line, and deleting the binary image;
s7.2, transversely scanning the binary image, and defining a region with M continuous foreground pixel values in a neighborhood range as a single vehicle contour, wherein M is an area threshold range of the vehicle in the binary image; s7.3, counting the number of the single vehicle profiles in the step S7.2, and transmitting the number of the vehicles to a ground control center; in the step S7.2, scanning the binary image, if the current pixel is a foreground pixel, scanning pixels in a neighborhood setting range, and if the number of foreground pixels in the neighborhood is greater than or equal to a setting threshold, filling all the neighborhoods into foreground pixels to obtain an independent automobile contour, and independently giving a setting gray value α to the automobile contour, wherein the value of α is between 0 and 255;
s8, transversely scanning the binary image, defining an area with N transversely continuous pixel points as foreground pixel points as a lane line, defining a lane line with a distance of P from a scanning initial position as an emergency lane line, counting the number of vehicles of the emergency lane from the scanning initial position, if so, executing a step S10, otherwise, executing a step S9, wherein N is the width threshold range of the lane line on the binary image, and P is the width threshold range of the emergency lane on the binary image;
s9, deleting the called video segment in the cache, and executing the step S5;
s10, transmitting the called video segments in the cache to a ground control center, and executing the step S5;
and S11, after the inspection task is executed, returning the unmanned aerial vehicle to the ground charging station, and executing the step S1.
2. The automatic unmanned aerial vehicle highway inspection method according to claim 1, wherein the step S6 includes:
s6.1, performing semantic segmentation on the live image in the step S5, separating a lane area and a background area, and deleting pixel points of the background area from the live image;
and S6.2, performing binarization processing on the live image in the step S6.1 to obtain a binarized image, wherein the road surface is displayed as a background and is black, and the automobile outline and the lane line are displayed as a foreground and are white.
3. The automatic unmanned aerial vehicle highway inspection method according to claim 2, wherein in step S7.2, if the number of foreground pixel points in the filled vehicle contour is less than a set area threshold value M, the foreground pixel points are deleted from the binarized image.
4. The automatic unmanned aerial vehicle highway inspection method according to claim 3, wherein the step S8 comprises:
s8.1, transversely scanning the binary image along the outer side of a lane on the binary image, defining an area with the foreground pixel points of N transversely continuous pixel points as a lane line, defining a lane line with the distance of P from the scanning initial position as an emergency lane line, and recording the coordinates (X) of the foreground pixel points firstly scanned on the emergency lane linem;Yn);
S8.2, carrying out coordinate (X) on the longitudinally continuous foreground pixel points by a least square methodm;Yn) Performing curve fitting to obtain a quadratic parabolic curve equation of the traffic lane, drawing a fitted emergency lane line on the image obtained in the step S7.2 according to the obtained quadratic parabolic equation, and endowing the emergency lane line with a gray value beta, wherein the value of beta is between 0 and 255;
s8.3, transversely scanning the image obtained in the step S8.2 along the outer side of the lane on the binary image, if the pixel value of the foreground pixel point scanned firstly is alpha, indicating that the emergency lane is occupied, executing a step S10, if the pixel value of the foreground pixel point scanned firstly is beta, indicating that the emergency lane is unoccupied, and executing a step S9.
CN202011225317.7A 2020-11-05 2020-11-05 Automatic inspection method for unmanned aerial vehicle expressway Active CN112289032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011225317.7A CN112289032B (en) 2020-11-05 2020-11-05 Automatic inspection method for unmanned aerial vehicle expressway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011225317.7A CN112289032B (en) 2020-11-05 2020-11-05 Automatic inspection method for unmanned aerial vehicle expressway

Publications (2)

Publication Number Publication Date
CN112289032A CN112289032A (en) 2021-01-29
CN112289032B true CN112289032B (en) 2022-01-14

Family

ID=74352350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011225317.7A Active CN112289032B (en) 2020-11-05 2020-11-05 Automatic inspection method for unmanned aerial vehicle expressway

Country Status (1)

Country Link
CN (1) CN112289032B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489122B (en) * 2021-12-30 2022-09-06 山东奥邦交通设施工程有限公司 UAV and matching airport-based automatic highway inspection method and system
CN114566054B (en) * 2022-04-29 2022-07-26 深圳联和智慧科技有限公司 Method and system for capturing emergency lane by law violation based on unmanned aerial vehicle aerial photography technology
CN115685975A (en) * 2022-09-14 2023-02-03 国家电网公司西南分部 No-signal off-line operation method and system for power transmission line inspection robot

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679023A (en) * 2016-02-19 2016-06-15 李彦玮 Motorway violation monitoring system based on unmanned plane
CN106030666A (en) * 2013-12-20 2016-10-12 珀肯斯公司 Traffic monitoring and surveillance system and method, and corresponding traffic infraction recording system and unmanned air vehicle
CN106097725A (en) * 2016-08-18 2016-11-09 马平 A kind of vehicle classification flow rate testing methods extracted based on behavioral characteristics
CN107464432A (en) * 2017-07-11 2017-12-12 佛山职业技术学院 A kind of system and method for controlling photovoltaic unmanned aerial vehicle group to dredge freeway traffic
CN107993308A (en) * 2017-09-08 2018-05-04 北京航空航天大学 A kind of stand alone type unmanned plane during flying safety monitoring and information management system
CN108873930A (en) * 2018-05-31 2018-11-23 苏州市启献智能科技有限公司 Unmanned plane landing method and system based on mobile platform
CN109448391A (en) * 2018-12-03 2019-03-08 广元量知汇科技有限公司 Traffic based on cloud computing, which is disobeyed, stops camera control method
KR20190113067A (en) * 2018-03-27 2019-10-08 주식회사 베이리스 Control system for unmanned aerial vehicle and control method therefor
CN110351478A (en) * 2019-05-21 2019-10-18 江苏看见云软件科技有限公司 A kind of unmanned plane acquiring and transmission system handling violation information
CN111625013A (en) * 2019-02-27 2020-09-04 杭州海康机器人技术有限公司 Energy estimation method and device for unmanned aerial vehicle to execute flight mission

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10254478B3 (en) * 2002-11-21 2004-07-01 Siemens Ag Method for detecting misfires in an internal combustion engine
CN105226836B (en) * 2015-10-20 2017-12-29 杨珊珊 A kind of unmanned plane for being capable of automatic charging, unmanned plane charging system and charging method
CN107730880A (en) * 2016-08-10 2018-02-23 操轶 A kind of congestion monitoring method and unmanned vehicle based on unmanned vehicle
US9639960B1 (en) * 2016-11-04 2017-05-02 Loveland Innovations, LLC Systems and methods for UAV property assessment, data capture and reporting
CN110570666A (en) * 2019-06-04 2019-12-13 上海浦江桥隧运营管理有限公司 Composite fixed-wing unmanned aerial vehicle pavement inspection system
CN110287945B (en) * 2019-07-04 2021-03-16 浪潮集团有限公司 Unmanned aerial vehicle target detection method in 5G environment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106030666A (en) * 2013-12-20 2016-10-12 珀肯斯公司 Traffic monitoring and surveillance system and method, and corresponding traffic infraction recording system and unmanned air vehicle
CN105679023A (en) * 2016-02-19 2016-06-15 李彦玮 Motorway violation monitoring system based on unmanned plane
CN106097725A (en) * 2016-08-18 2016-11-09 马平 A kind of vehicle classification flow rate testing methods extracted based on behavioral characteristics
CN107464432A (en) * 2017-07-11 2017-12-12 佛山职业技术学院 A kind of system and method for controlling photovoltaic unmanned aerial vehicle group to dredge freeway traffic
CN107993308A (en) * 2017-09-08 2018-05-04 北京航空航天大学 A kind of stand alone type unmanned plane during flying safety monitoring and information management system
KR20190113067A (en) * 2018-03-27 2019-10-08 주식회사 베이리스 Control system for unmanned aerial vehicle and control method therefor
CN108873930A (en) * 2018-05-31 2018-11-23 苏州市启献智能科技有限公司 Unmanned plane landing method and system based on mobile platform
CN109448391A (en) * 2018-12-03 2019-03-08 广元量知汇科技有限公司 Traffic based on cloud computing, which is disobeyed, stops camera control method
CN111625013A (en) * 2019-02-27 2020-09-04 杭州海康机器人技术有限公司 Energy estimation method and device for unmanned aerial vehicle to execute flight mission
CN110351478A (en) * 2019-05-21 2019-10-18 江苏看见云软件科技有限公司 A kind of unmanned plane acquiring and transmission system handling violation information

Also Published As

Publication number Publication date
CN112289032A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN112289032B (en) Automatic inspection method for unmanned aerial vehicle expressway
US9773176B2 (en) Image processing apparatus and image processing method
CN106971155B (en) Unmanned vehicle lane scene segmentation method based on height information
JP5856682B2 (en) Object identification device
CN109711407B (en) License plate recognition method and related device
CN110659539A (en) Information processing method and device
CN112232286A (en) Unmanned aerial vehicle image recognition system and unmanned aerial vehicle are patrolled and examined to road
CN103745224A (en) Image-based railway contact net bird-nest abnormal condition detection method
CN113947731B (en) Foreign matter identification method and system based on contact net safety inspection
CN111507975B (en) Method for detecting abnormity of outdoor insulator of traction substation
CN111310698A (en) License plate recognition method and device and inspection vehicle
CN113034378A (en) Method for distinguishing electric automobile from fuel automobile
CN112329631A (en) Method for carrying out traffic flow statistics on expressway by using unmanned aerial vehicle
CN112232284A (en) Unmanned aerial vehicle system based on automatic inspection of highway
CN116665080A (en) Unmanned aerial vehicle deteriorated insulator detection method and system based on target recognition
CN112258844B (en) Method for inspecting expressway emergency lanes by using unmanned aerial vehicle
CN111222394A (en) Muck truck overload detection method, device and system
CN114627160A (en) Underwater environment detection method
CN112258843A (en) Image identification method applied to unmanned aerial vehicle inspection of emergency lane of highway
CN115760839A (en) Mobile NetV3 internet of vehicles detection system with roadside unit caching function
CN116403200A (en) License plate real-time identification system based on hardware acceleration
CN113743235B (en) Electric power inspection image processing method, device and equipment based on edge calculation
CN114743116A (en) Barracks patrol scene-based unattended special load system and method
CN115272284A (en) Power transmission line defect identification method based on image quality evaluation
CN112150828B (en) Method for preventing jitter interference and dynamically regulating traffic lights based on image recognition technology

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240319

Address after: 233017 First Floor, Building C1, Zone C, Central Innovation Park, China (Bengbu) Sensor Valley, Economic Development Zone, Bengbu City, Anhui Province

Patentee after: Anhui Haiche Shenyu Unmanned Equipment Technology Co.,Ltd.

Country or region after: Zhong Guo

Address before: 322013 building 19, bazutang village, Niansanli street, Yiwu City, Jinhua City, Zhejiang Province

Patentee before: ZHEJIANG DIANCHEN AVIATION TECHNOLOGY CO.,LTD.

Country or region before: Zhong Guo