Image inspection and updating method, device, electronic equipment and storage medium

By generating inspection heat maps and re-dividing inspection areas, the problem of the inability to update inspection plans in traditional power inspections is solved, and the analysis and feedback of historical data and the diversity of inspection methods are improved.

CN114419496BActive Publication Date: 2024-11-15SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111654020.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-11-15
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

Traditional power inspection methods cannot analyze and feedback historical inspection data, resulting in the inability to update the inspection plan, resulting in the high repetition of inspection work and the problems caused by unmanned surveillance cannot be effectively solved.

Method used

By obtaining historical inspection data, generating inspection heat maps, re-dividing inspection areas, determining the target inspection areas, and controlling the inspection camera to conduct inspections based on the target area data, realizing the analysis and feedback of historical data and updating of inspection plans .

Benefits of technology

The analysis and feedback of historical inspection data and the update of inspection plans have been achieved, which reduces the repetition of inspection work and improves the diversity and efficiency of inspection methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114419496B_ABST
    Figure CN114419496B_ABST
Patent Text Reader

Abstract

The present invention discloses an image inspection update method, device, electronic device and storage medium, the method comprising: when receiving an inspection instruction, obtaining inspection data of an inspection camera in each historical inspection area within a historical time period; generating an inspection heat map of each historical inspection area according to a predetermined strategy based on the inspection data of each historical inspection area; re-dividing each historical inspection area according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the area of ​​the historical inspection area; determining the target inspection data according to the target inspection area, and controlling the inspection camera to inspect the target inspection area through the target inspection data. In this way, the historical inspection data can be analyzed and fed back, and the latest inspection plan can be updated, and the inspection method is more diversified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric power inspection, and in particular to an image inspection update method, device, electronic equipment and storage medium. Background Art

[0002] The traditional inspection tasks are heavy and repetitive, which can easily lead to boredom among some inspection personnel. Inspection work is not in place, and to a certain extent, there are a series of problems caused by no one on site to monitor and inspect in a timely manner. At present, the intelligent power inspection cameras in the power room can realize various intelligent inspection tasks, but in the process of intelligent inspection, the existing inspection method can only be carried out according to the pre-set time and trajectory, and it is impossible to analyze and feedback the historical inspection data and update the latest inspection plan. Summary of the invention

[0003] In a first aspect, the main purpose of the present invention is to provide an image inspection and updating method, comprising:

[0004] When receiving the inspection instruction, obtain the inspection data of the inspection camera in each historical inspection area within the historical time period;

[0005] Generate an inspection heat map of each historical inspection area based on the inspection data of each historical inspection area according to a predetermined strategy;

[0006] Re-dividing each of the historical inspection areas according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area;

[0007] Target inspection data is determined according to the target inspection area, so as to control the inspection camera to inspect the target inspection area through the target inspection data.

[0008] Optionally, when receiving the inspection instruction, obtaining the inspection data of the inspection camera in each historical inspection area within the historical time period includes:

[0009] Upon receiving the inspection instruction, obtaining the inspection track of the inspection camera in each historical inspection area within the historical time period;

[0010] According to the inspection track of the inspection camera in each historical inspection area, the stay time and the number of inspections corresponding to each historical inspection area are calculated.

[0011] Optionally, the step of generating an inspection heat map of each historical inspection area according to a predetermined strategy based on the inspection data of each historical inspection area includes:

[0012] For each historical inspection area, generating a pixel point corresponding to the historical inspection area according to the inspection times corresponding to the historical inspection area;

[0013] According to the stay time corresponding to the historical inspection area, the pixel points of the historical inspection area are rendered and superimposed to obtain the grayscale value corresponding to the historical inspection area;

[0014] The grayscale values ​​corresponding to the historical inspection area are color mapped to generate an inspection heat map of the historical inspection area.

[0015] Optionally, the re-dividing each of the historical inspection areas according to the inspection heat map to generate a target inspection area includes:

[0016] Determine, according to the thermal value corresponding to each of the inspection thermal maps, a first reference thermal value greater than a preset threshold and a second reference thermal value less than the preset threshold;

[0017] Screening out the historical inspection areas corresponding to the first reference thermal value, and determining the historical inspection areas corresponding to the second reference thermal value as a plurality of areas to be inspected;

[0018] The plurality of areas to be inspected are divided into two groups to determine a target inspection area.

[0019] Optionally, dividing the plurality of areas to be inspected to determine a target inspection area includes:

[0020] When the plurality of to-be-inspected areas are rectangular inspection areas, route planning is performed on the rectangular inspection areas to determine a first type of target inspection area;

[0021] When the plurality of to-be-inspected areas are formed into square inspection areas, route planning is performed on the square inspection areas to determine the second type of target inspection areas;

[0022] When a plurality of the to-be-inspected areas constitute an L-shaped inspection area, route planning is performed on the L-shaped inspection area to determine a third type of target inspection area.

[0023] Optionally, determining target inspection data according to the target inspection area, and controlling the inspection camera to inspect the target inspection area through the target inspection data, includes:

[0024] Determining the area type of the target inspection area;

[0025] When the target inspection area is a first type of target inspection area, the target inspection data is determined as a first inspection trajectory; the first inspection trajectory is a straight line trajectory route;

[0026] When the target inspection area is a second type of target inspection area, the target inspection data is determined as a second inspection trajectory; the second inspection trajectory is a rectangular trajectory route;

[0027] When the target inspection area is a second-type target inspection area, the target inspection data is determined to be a third inspection trajectory; and the third inspection trajectory is a corner trajectory route.

[0028] Optionally, the method further comprises:

[0029] Determine the inspection track type of the inspection camera; the inspection track type includes one of a first inspection track, a second inspection track and a third inspection track;

[0030] When the inspection track type of the inspection camera is the first inspection track, the inspection speed of the inspection camera is the first preset value;

[0031] When the inspection track type of the inspection camera is the second inspection track, the inspection speed of the inspection camera is the second preset value;

[0032] When the inspection track type of the inspection camera is the third inspection track, the inspection speed of the inspection camera is the third preset value.

[0033] In a third aspect, an embodiment of the present invention provides an image inspection and updating device, comprising:

[0034] An acquisition module is used to acquire the inspection data of the inspection camera in each historical inspection area within a historical time period upon receiving an inspection instruction;

[0035] A generation module, used for generating an inspection heat map of each of the historical inspection areas according to a predetermined strategy based on the inspection data of each of the historical inspection areas;

[0036] A division module, used for re-dividing each of the historical inspection areas according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area;

[0037] A determination module is used to determine target inspection data according to the multiple target inspection areas, so as to control the inspection camera to inspect the target inspection area through the target inspection data.

[0038] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned image patrol update method when executing the computer program.

[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the image inspection and updating method as described above are implemented.

[0040] The above solution of the present invention includes at least the following beneficial effects:

[0041] The image inspection update method provided by the present invention, when receiving the inspection instruction, firstly obtains the inspection data of the inspection camera in each historical inspection area within the historical time period; generates the inspection heat map of each historical inspection area according to the inspection data of each historical inspection area according to the predetermined strategy; re-divides each historical inspection area according to the inspection heat map to generate the target inspection area; wherein the target inspection area is different from the area of ​​the historical inspection area; determines the target inspection data according to the target inspection area, and controls the inspection camera to inspect the target inspection area through the target inspection data. In this way, the historical inspection data can be analyzed and fed back, and the latest inspection plan can be updated, and the inspection method is more diversified. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0043] Figure 1 A network architecture diagram of an image inspection and updating method provided by an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of the overall process of the image inspection and updating method provided by an embodiment of the present invention;

[0045] Figure 3 A schematic diagram of a specific flow chart of step S10 provided in an embodiment of the present invention;

[0046] Figure 4 A schematic diagram of a specific flow chart of step S20 provided in an embodiment of the present invention;

[0047] Figure 5 A schematic diagram of a specific flow chart of step S30 provided in an embodiment of the present invention;

[0048] Figure 6 A schematic diagram of a specific flow chart of step S33 provided in an embodiment of the present invention;

[0049] Figure 7An example diagram of an image inspection and updating method provided by an embodiment of the present invention;

[0050] Figure 8 Another schematic diagram of the process of step S40 provided in an embodiment of the present invention;

[0051] Fig. 9 Another flowchart of the image inspection and updating method provided by an embodiment of the present invention;

[0052] Fig.10 A structural block diagram of an image inspection and updating method device provided by an embodiment of the present invention;

[0053] Fig.11 This is a structural block diagram of an electronic device provided by an embodiment of the present invention.

[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] The terms "first", "second", "third", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any variation thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0057] First, the network architecture to which the solution of the embodiment of the present application may be applied is introduced by way of example with reference to the relevant drawings.

[0058] like Figure 1 As shown, the above network architecture involves a server, a patrol camera deployed in the power room, and a management platform. The server can be understood as a device used to plan the route of the patrol camera and store patrol data and other information; the patrol camera can be a camera device used to collect patrol images and other information in various areas of the power room; the management platform is used to receive and display the patrol data uploaded by the server, so as to facilitate the display and analysis of the patrol data and provide it to patrol personnel for viewing.

[0059] like Figure 2 As shown, a specific embodiment of the present invention provides an image inspection and updating method, comprising:

[0060] S10. When an inspection instruction is received, the inspection data of the inspection camera in each historical inspection area within a historical time period is obtained.

[0061] In this embodiment, the inspection instruction can be an inspection instruction input by the inspection personnel, for example, the inspection personnel input the inspection instruction through the management platform, and then the server can transmit it to the inspection camera to control the inspection camera to start the inspection. Of course, the inspection instruction can also be set at a time, such as an inspection every 2 hours. When the specified inspection time is reached, the server can control the inspection camera to start the inspection; wherein, the historical time period can be 3 days, and the historical inspection area represents the area inspected by the inspection camera in the historical time, such as the area inspected in the 3 days before the current time; the server obtains the inspection data of the inspection camera in each historical inspection area for analysis, so as to dynamically adjust the inspection plan through the historical inspection data.

[0062] like Figure 3 As shown, when receiving the inspection instruction, obtaining the inspection data of the inspection camera in each historical inspection area during the historical time period includes:

[0063] S11. Upon receiving the inspection instruction, obtaining the inspection trajectory of the inspection camera in each historical inspection area within the historical time period;

[0064] S12. Calculate the stay time and inspection times corresponding to each historical inspection area according to the inspection trajectory of the inspection camera in each historical inspection area.

[0065] Among them, the inspection trajectory can be expressed as a round-trip route. During the inspection process, the inspection camera can stop in each historical inspection area and obtain the corresponding video stream or captured picture. The inspection camera stops in each historical inspection area for inspection and captures pictures according to the preset stop time. After the capture is completed, it moves to the next area for inspection. In this way, a cyclic inspection is performed, so that each historical inspection area can be inspected more comprehensively; optionally, the stop time can be randomly set for each inspection area, or it can be pre-set by the inspection personnel. For example, the stop time can be 5 minutes, 7 minutes, or 8 minutes, and the inspection time can be 2 hours. After the sleep is completed, the inspection can start again. The number of inspections can represent the number of round-trip movements of the inspection camera in each area, and each round trip is counted as one time; in this way, the number of inspections and the stop time of each historical inspection area per day are accumulated, so as to calculate the stop time and number of inspections corresponding to each historical inspection area.

[0066] S20. Generate an inspection heat map of each historical inspection area based on the inspection data of each historical inspection area according to a predetermined strategy.

[0067] In this embodiment, the predetermined strategy represents the heat map generation strategy, and the inspection data includes the residence time and the number of inspections. The inspection camera can accumulate it as one time when it stops and shoots in each historical inspection area. Therefore, the inspection heat map can be determined by calculating the accumulated number of inspections in each historical inspection area every day; that is, the more inspections and the longer the residence time, the darker the color of the corresponding inspection heat map. Therefore, the inspection heat map corresponding to each historical inspection area can be determined, and through the determined inspection heat map, the inspection time and number of inspections can be dynamically adjusted for different inspection areas.

[0068] like Figure 4 As shown, the inspection data of each historical inspection area is used to generate an inspection heat map of each historical inspection area according to a predetermined strategy, including:

[0069] S21. For each historical inspection area, generate a pixel point corresponding to the historical inspection area according to the number of inspections corresponding to the historical inspection area;

[0070] S22, rendering and superimposing the pixel points of the historical inspection areas according to the stay time corresponding to the historical inspection areas, so as to obtain the grayscale value corresponding to each historical inspection area;

[0071] S23. Perform color mapping on the grayscale values ​​corresponding to the historical inspection areas to generate an inspection heat map for each historical inspection area.

[0072] After the inspection camera inspects each historical inspection area once, a corresponding pixel point can be generated. The pixel point can be a circle with a grayscale gradient from the center to the outside, that is, the pixel point has a corresponding grayscale value. Since the grayscale value can be superimposed, the corresponding pixel point is generated by the multiple inspection times and the residence time of each historical inspection area, and then the grayscale value of each historical inspection area is determined by superposition. The grayscale value can be used for color mapping to generate the corresponding inspection heat map; that is, the longer the residence time, the higher the grayscale value corresponding to the pixel point, and the shorter the residence time, the lower the grayscale value corresponding to the pixel point. Since each residence time is random, the grayscale value superimposed on each historical inspection area is different. By superimposing the grayscale value by the number of inspections of each historical inspection area, after color mapping, the color of the generated inspection heat map is also different.

[0073] For example, the historical inspection area includes two areas A and B. A is inspected 10 times in 1 day, and the stay times of the 10 times are 10 minutes, 5 minutes, 6 minutes, 5 minutes, 7 minutes, 2 minutes, 2 minutes, 10 minutes, 8 minutes, and 5 minutes respectively. The corresponding grayscale values ​​may be 20, 10, 12, 10, 14, 4, 4, 20, 16, and 10; B is inspected 8 times in 1 day, and the stay times of the 8 times are 3 minutes, 5 minutes, 7 minutes, 7 minutes, 9 minutes, 1 minute, 3 minutes, and 5 minutes respectively. The corresponding grayscale values ​​may be 6, 10, 14, 14, 18, 2, 6, and 10. Therefore, after calculation, it can be determined that the grayscale value of area A is higher than that of area B, and the color depth of the thermal map corresponding to area A is greater than the color depth of the thermal map corresponding to area B.

[0074] S30. Re-dividing each historical inspection area into intervals according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area.

[0075] In this embodiment, after determining the inspection heat map, the historical inspection area with the largest number of inspections and the longest residence time can be determined, indicating that the historical inspection area has collected more pictures or video streams. Therefore, the number of inspections of the historical inspection area can be reduced to reduce the collection of pictures and video streams; when determining the target inspection area, the historical inspection area with the largest number of inspections and the longest residence time can be screened out, and the remaining is the target inspection area. Therefore, the area of ​​the target inspection area is different from that of the historical inspection area.

[0076] like Figure 5 As shown, the above re-dividing each historical inspection area according to the inspection heat map to generate the target inspection area includes:

[0077] S31, determining a first reference thermal value greater than a preset threshold and a second reference thermal value less than the preset threshold according to the thermal value corresponding to each inspection thermal map;

[0078] S32, screening out the historical inspection areas corresponding to the first reference thermal value, and determining the historical inspection areas corresponding to the second reference thermal value as a plurality of areas to be inspected;

[0079] S33, dividing multiple areas to be inspected and determining a target inspection area.

[0080] Among them, each inspection heat map has a corresponding thermal value. The darker the color of the inspection heat map, the higher the thermal value. By determining a first reference thermal value greater than a preset threshold, the historical inspection area corresponding to the reference thermal value can be determined, thereby screening out the historical inspection area corresponding to the reference thermal value. After determining a second reference thermal value less than the preset threshold, the historical inspection area corresponding to the second reference thermal value can be determined as the area to be inspected, so as to re-divide the area to be inspected. Of course, the value equal to the preset threshold can also be used as the second reference value; thereby, the target inspection area can be determined. Optionally, the target inspection area can be composed of multiple different areas to be inspected of different types, so that different inspection routes are planned according to different types of target inspection areas.

[0081] For example, when there are four historical inspection areas A, B, C, and D, when the thermal values ​​corresponding to ABCD are 2, 5, 3, and 6 respectively, it can be determined that the thermal value corresponding to area D is the highest. By screening out area D and then redividing A, B, and C, the target inspection areas corresponding to A, B, and C can be determined.

[0082] like Figure 6 As shown, the above-mentioned multiple areas to be inspected are divided, and the target inspection areas are determined to include:

[0083] S331, when multiple to-be-inspected areas are rectangular inspection areas, route planning is performed on the rectangular inspection areas to determine a first-class target inspection area;

[0084] S332, when the multiple to-be-inspected areas are formed into square inspection areas, route planning is performed on the square inspection areas to determine the second type of target inspection areas;

[0085] S333: When multiple to-be-inspected areas constitute an L-shaped inspection area, route planning is performed on the L-shaped inspection area to determine a third type of target inspection area.

[0086] Among them, each area to be inspected can be an area of ​​the same area, and the power room can be planned into a rectangular grid track, so that the inspection camera can move on the rectangular grid track for inspection. Among the multiple areas to be inspected after screening, the multiple areas to be inspected can be on a straight track, or on a track forming two angles, or on a track forming a rectangle; therefore, by judging the type of track on which the multiple areas to be inspected are located, it can be determined that the multiple areas to be inspected are rectangular inspection areas, square inspection areas, or L-shaped inspection areas; that is, the first type of target inspection areas can be multiple areas to be inspected on a straight track; the second type of target inspection areas can be multiple areas to be inspected on a track forming a rectangle; the third type of target inspection areas can be multiple areas to be inspected on a track forming an angle, and through different types of target inspection areas, corresponding target inspection data can be planned.

[0087] For example, in Figure 7 The four inspection areas A, B, C, and D are included. Since the thermal value of area A exceeds the preset threshold, area A can be screened out, and the remaining areas to be inspected are B, C, and D. Since B, C, and D are on tracks that form two angles, B, C, and D can be determined as third-category target inspection areas; it can be understood that when the thermal values ​​of areas A and B exceed the preset threshold, C and D are on a straight track, so C and D can be determined as first-category target inspection areas; of course, when the thermal values ​​of the four inspection areas A, B, C, and D do not exceed the preset threshold, the four inspection areas A, B, C, and D can be determined as second-category target inspection areas.

[0088] S40, determining target inspection data according to the target inspection area, and controlling the inspection camera to inspect the target inspection area according to the target inspection data.

[0089] In this embodiment, the target inspection data can be represented as an inspection trajectory route. After determining the first type of target inspection area, the second type of target inspection area or the third type of target inspection area, the inspection camera is route planned through different types of target inspection areas to determine the target inspection data. The target inspection data is then used to control the inspection camera to move along the corresponding trajectory route, making the inspection method more diversified and the image data collected in each inspection area more balanced.

[0090] like Figure 8 As shown, the target inspection data is determined according to the target inspection area, so as to control the inspection camera to inspect the target inspection area through the target inspection data, including:

[0091] S41, determining the area type of the target inspection area;

[0092] S42, when the target inspection area is a first type of target inspection area, the target inspection data is determined as a first inspection trajectory; the first inspection trajectory is a straight line trajectory route;

[0093] S43, when the target inspection area is a second type of target inspection area, the target inspection data is determined as a second inspection trajectory; the second inspection trajectory is a rectangular trajectory route;

[0094] S44. When the target inspection area is a second-category target inspection area, the target inspection data is determined to be a third inspection trajectory; and the third inspection trajectory is a corner trajectory route.

[0095] Among them, when the target inspection area is the first type of target inspection area, it means that the inspection camera needs to move on a straight track to collect image data, so its corresponding first inspection trajectory is a straight track route; when the target inspection area is the second type of target inspection area, it means that the inspection camera needs to move on a track formed by a rectangle to collect image data, so its corresponding first inspection trajectory is a straight track route; when the target inspection area is the third type of target inspection area, it means that the inspection camera needs to move on a track at an angle to collect image data, so its corresponding first inspection trajectory is a straight track route.

[0096] The image inspection update method provided by the present invention, when receiving the inspection instruction, firstly, when receiving the inspection instruction, obtains the inspection data of the inspection camera in each historical inspection area within the historical time period; generates the inspection heat map of each historical inspection area according to the inspection data of each historical inspection area according to the predetermined strategy; re-divides each historical inspection area according to the inspection heat map to generate the target inspection area; wherein the target inspection area is different from the area of ​​the historical inspection area; determines the target inspection data according to the target inspection area, and controls the inspection camera to inspect the target inspection area through the target inspection data. In this way, the historical inspection data can be analyzed and fed back, and the latest inspection plan can be updated, and the inspection method is more diversified.

[0097] like Fig. 9 As shown, as an optional embodiment, the image inspection and updating method provided by the present invention also includes:

[0098] 31. Determine the inspection track type of the inspection camera; the inspection track type includes one of the first inspection track, the second inspection track and the third inspection track;

[0099] 32. When the inspection track type of the inspection camera is the first inspection track, the inspection speed of the inspection camera is the first preset value;

[0100] 33. When the inspection track type of the inspection camera is the second inspection track, the inspection speed of the inspection camera is the second preset value;

[0101] 34. When the inspection track type of the inspection camera is the third inspection track, the inspection speed of the inspection camera is the third preset value.

[0102] In this embodiment, the third preset value can be set to be greater than the first preset value and less than the second preset value, that is, the route distance of the second inspection trajectory is greater than the route distance of the third inspection trajectory, and the route distance of the third inspection trajectory is greater than the route distance of the first inspection trajectory. Therefore, the inspection speed of the inspection camera can be dynamically adjusted to improve the efficiency of the inspection; of course, the inspection speed of the inspection camera can also be adjusted by the inspection personnel to conduct inspections on different inspection trajectories to adapt to different scenarios.

[0103] like Fig.10 As shown, an embodiment of the present invention provides an image inspection and updating device 10, comprising:

[0104] An acquisition module 11 is used to acquire the inspection data of the inspection camera in each historical inspection area within a historical time period upon receiving an inspection instruction;

[0105] A generation module 12 is used to generate inspection heat maps of different colors corresponding to each historical inspection area according to the inspection data of each historical inspection area according to a predetermined strategy;

[0106] A division module 13 is used to re-divide each historical inspection area according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area;

[0107] The determination module 14 is used to determine target inspection data according to a plurality of target inspection areas, so as to control the inspection camera to inspect the target inspection area according to the target inspection data.

[0108] The image inspection update device provided by the present invention, when receiving the inspection instruction, first obtains the inspection data of the inspection camera in each historical inspection area within the historical time period; generates the inspection heat map of each historical inspection area according to the inspection data of each historical inspection area according to the predetermined strategy; re-divides each historical inspection area according to the inspection heat map to generate the target inspection area; wherein the target inspection area is different from the area of ​​the historical inspection area; determines the target inspection data according to the target inspection area, and controls the inspection camera to inspect the target inspection area through the target inspection data. In this way, the historical inspection data can be analyzed and fed back, and the latest inspection plan can be updated, and the inspection method is more diversified.

[0109] It should be noted that the image patrol update method device 10 provided in the specific embodiment of the present invention is a device corresponding to the above-mentioned image patrol update method, and all embodiments of the above-mentioned image patrol update method are applicable to the image patrol update method device 10. In the embodiments of the above-mentioned image patrol update method device 10, there are corresponding modules corresponding to the steps in the above-mentioned image patrol update method, which can achieve the same or similar beneficial effects. In order to avoid excessive repetition, each module in the image patrol update method device 2 will not be described in detail here.

[0110] like Fig.11 As shown, a specific embodiment of the present invention further provides an electronic device 20, including a memory 202, a processor 201, and a computer program stored in the memory 202 and executable on the processor 201, wherein the processor 201 implements the steps of the above-mentioned image inspection and update method when executing the computer program.

[0111] Specifically, the processor 201 is used to call the computer program stored in the memory 202 to perform the following steps:

[0112] When receiving the inspection instruction, obtain the inspection data of the inspection camera in each historical inspection area within the historical time period;

[0113] Generate an inspection heat map of each historical inspection area based on the inspection data of each historical inspection area according to a predetermined strategy;

[0114] Re-dividing each historical inspection area according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area;

[0115] Target inspection data is determined according to the target inspection area, so as to control the inspection camera to inspect the target inspection area through the target inspection data.

[0116] Optionally, when receiving the inspection instruction, the processor 201 executes the following steps to obtain the inspection data of the inspection camera in each historical inspection area within the historical time period:

[0117] When receiving the inspection instruction, obtain the inspection track of the inspection camera in each historical inspection area within the historical time period;

[0118] According to the inspection track of the inspection camera in each historical inspection area, the corresponding residence time and inspection times of each historical inspection area are calculated.

[0119] Optionally, the processor 201 generates an inspection heat map of each historical inspection area according to a predetermined strategy based on the inspection data of each historical inspection area, including:

[0120] For each historical inspection area, generate pixel points corresponding to the historical inspection area according to the inspection times corresponding to the historical inspection area;

[0121] According to the corresponding stay time of the historical inspection area, the pixel points of the historical inspection area are rendered and superimposed to obtain the grayscale value corresponding to the historical inspection area;

[0122] The grayscale values ​​corresponding to the historical inspection areas are color mapped to generate an inspection heat map of the historical inspection areas.

[0123] Optionally, the processor 201 re-divides each historical inspection area according to the inspection heat map to generate a target inspection area, including:

[0124] According to the thermal value corresponding to each inspection thermal map, a first reference thermal value greater than a preset threshold and a second reference thermal value less than the preset threshold are determined;

[0125] Screening out the historical inspection areas corresponding to the first reference thermal value, and determining the historical inspection areas corresponding to the second reference thermal value as a plurality of areas to be inspected;

[0126] Divide multiple areas to be inspected and determine the target inspection area.

[0127] Optionally, the processor 201 divides the multiple to-be-inspected areas to determine the target inspection area, including:

[0128] When multiple inspection areas are rectangular inspection areas, the rectangular inspection areas are route planned to determine the first type of target inspection area;

[0129] When multiple inspection areas are formed into square inspection areas, route planning is performed on the square inspection areas to determine the second type of target inspection areas;

[0130] When multiple to-be-inspected areas constitute an L-shaped inspection area, route planning is performed on the L-shaped inspection area to determine a third type of target inspection area.

[0131] Optionally, the processor 201 determines the target inspection data according to the target inspection area, and controls the inspection camera to inspect the target inspection area through the target inspection data, including:

[0132] When multiple inspection areas are rectangular inspection areas, the rectangular inspection areas are route planned to determine the first type of target inspection area;

[0133] When multiple inspection areas are formed into square inspection areas, route planning is performed on the square inspection areas to determine the second type of target inspection areas;

[0134] When multiple to-be-inspected areas constitute an L-shaped inspection area, route planning is performed on the L-shaped inspection area to determine a third type of target inspection area.

[0135] Optionally, the method executed by the processor 201 further includes:

[0136] Determine the inspection track type of the inspection camera; the inspection track type includes one of the first inspection track, the second inspection track and the third inspection track;

[0137] When the inspection track type of the inspection camera is the first inspection track, the inspection speed of the inspection camera is the first preset value;

[0138] When the inspection track type of the inspection camera is the second inspection track, the inspection speed of the inspection camera is the second preset value;

[0139] When the inspection track type of the inspection camera is the third inspection track, the inspection speed of the inspection camera is the third preset value.

[0140] That is, in a specific embodiment of the present invention, the processor 201 of the electronic device 20 implements the steps of the above-mentioned image inspection update method when executing a computer program, thereby analyzing and feeding back historical inspection data, and updating the latest inspection plan, making the inspection method more diversified.

[0141] It should be noted that since the processor 201 of the electronic device 20 implements the steps of the above-mentioned image patrol update method when executing a computer program, all embodiments of the above-mentioned image patrol update method are applicable to the electronic device 20 and can achieve the same or similar beneficial effects.

[0142] The computer-readable storage medium provided in the embodiment of the present invention stores a computer program. When the computer program is executed by the processor, it implements the various processes of the image inspection and update method or the application-side image inspection and update method provided in the embodiment of the present invention, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0143] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0144] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0145] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. An image inspection and updating method, characterized in that: include: When receiving the inspection instruction, obtain the inspection data of the inspection camera in each historical inspection area within the historical time period; Generate an inspection heat map of each historical inspection area based on the inspection data of each historical inspection area according to a predetermined strategy; Re-dividing each of the historical inspection areas according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area; Target inspection data is determined according to the target inspection area, so as to control the inspection camera to inspect the target inspection area through the target inspection data.

2. The image inspection and updating method according to claim 1, characterized in that: When receiving the inspection instruction, obtaining the inspection data of the inspection camera in each historical inspection area within the historical time period includes: Upon receiving the inspection instruction, obtaining the inspection track of the inspection camera in each historical inspection area within the historical time period; According to the inspection track of the inspection camera in each historical inspection area, the stay time and the number of inspections corresponding to each historical inspection area are calculated.

3. The image inspection and updating method according to claim 2, characterized in that: The step of generating an inspection heat map of each historical inspection area according to a predetermined strategy using the inspection data of each historical inspection area includes: For each historical inspection area, generating a pixel point corresponding to the historical inspection area according to the inspection times corresponding to the historical inspection area; According to the stay time corresponding to the historical inspection area, the pixel points of the historical inspection area are rendered and superimposed to obtain the grayscale value corresponding to the historical inspection area; The grayscale values ​​corresponding to the historical inspection area are color mapped to generate an inspection heat map of the historical inspection area.

4. The image inspection and updating method according to claim 1, characterized in that: The re-dividing each of the historical inspection areas according to the inspection heat map to generate a target inspection area includes: Determine, according to the thermal value corresponding to each of the inspection thermal maps, a first reference thermal value greater than a preset threshold and a second reference thermal value less than the preset threshold; Screening out the historical inspection areas corresponding to the first reference thermal value, and determining the historical inspection areas corresponding to the second reference thermal value as a plurality of areas to be inspected; The plurality of areas to be inspected are divided into two groups to determine a target inspection area.

5. The image inspection and updating method according to claim 4, characterized in that: The dividing the plurality of areas to be inspected to determine the target inspection area comprises: When the plurality of to-be-inspected areas are rectangular inspection areas, route planning is performed on the rectangular inspection areas to determine a first type of target inspection area; When the plurality of to-be-inspected areas are formed into square inspection areas, route planning is performed on the square inspection areas to determine the second type of target inspection areas; When a plurality of the to-be-inspected areas constitute an L-shaped inspection area, route planning is performed on the L-shaped inspection area to determine a third type of target inspection area.

6. The image inspection and updating method according to claim 4, characterized in that: Determining target inspection data according to the target inspection area, and controlling the inspection camera to inspect the target inspection area through the target inspection data, includes: Determining the area type of the target inspection area; When the target inspection area is a first type of target inspection area, the target inspection data is determined as a first inspection trajectory; the first inspection trajectory is a straight line trajectory route; When the target inspection area is a second type of target inspection area, the target inspection data is determined as a second inspection trajectory; the second inspection trajectory is a rectangular trajectory route; When the target inspection area is a second-type target inspection area, the target inspection data is determined to be a third inspection trajectory; and the third inspection trajectory is a corner trajectory route.

7. The image inspection and updating method according to claim 6, characterized in that: The method further comprises: Determine the inspection track type of the inspection camera; the inspection track type includes one of a first inspection track, a second inspection track and a third inspection track; When the inspection track type of the inspection camera is the first inspection track, the inspection speed of the inspection camera is the first preset value; When the inspection track type of the inspection camera is the second inspection track, the inspection speed of the inspection camera is the second preset value; When the inspection track type of the inspection camera is the third inspection track, the inspection speed of the inspection camera is the third preset value.

8. An image inspection and updating device, characterized in that: include: An acquisition module is used to acquire the inspection data of the inspection camera in each historical inspection area within a historical time period upon receiving an inspection instruction; A generation module, used for generating an inspection heat map of each of the historical inspection areas according to a predetermined strategy based on the inspection data of each of the historical inspection areas; A division module, used for re-dividing each of the historical inspection areas according to the inspection heat map to generate a target inspection area; wherein the target inspection area is different from the historical inspection area in area; A determination module is used to determine target inspection data according to the multiple target inspection areas, so as to control the inspection camera to inspect the target inspection area through the target inspection data.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the image patrol update method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the image patrol update method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Tour-inspection remote management method

    CN105868934A

  • Pipe gallery inspection method and system

    CN108133522A

  • Water surface floating target autonomous inspection method and device, equipment and a storage medium

    CN112102369A

  • Substation inspection method and system

    CN112187861A

  • Video-based intelligent building inspection method and system

    CN112687022A