Railway overhead line system defect picture processing method and equipment

By generating the contact network defect timeline control and binding the scale line and picture attributes, the problem of low efficiency in the railway contact network safety inspection is solved, and the rapid positioning and distinction between verified and unverified pictures is achieved, which improves the User experience and verification efficiency.

CN119251205APending Publication Date: 2025-01-03HENAN SPLENDOR SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411454629.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The number of suspected defective pictures taken by the railway contact network security inspection device is huge, which makes manual verification take time and error-prone, and it is impossible to quickly locate, count and distinguish between verified pictures and unverified pictures. The user experience is poor and the verification efficiency is low. .

Method used

By generating the contact network defect timeline control, binding the attributes of each tick and suspected defect picture, clicking the tick to quickly locate the picture, and dynamically adjust the tick color according to the verification status, mark the line interval name to distinguish the image belonging, real-time Statistical verification status.

Benefits of technology

It realizes rapid positioning and verification of suspected defective pictures, improves verification efficiency, avoids the confusion between verified and unverified pictures, improves user experience, and counts the number of verified and unverified pictures in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119251205A_ABST
    Figure CN119251205A_ABST
Patent Text Reader

Abstract

The invention provides a railway contact network defect picture processing method and equipment, and the method comprises the steps: drawing a bottom line, obtaining the number of suspected defect pictures from a back-end service, and determining the number of scales to be depicted according to the number of the suspected defect pictures; according to a preset scale generation rule and the scale number, each scale line is drawn on the bottom line from left to right with a default color and a default scale interval, and an initial time axis is obtained; establishing a binding relationship between each scale mark on the initial time axis and the picture object attribute of the corresponding suspected defect picture, and generating a contact network 2C defect time axis control; when the defect is checked, whether a mouse click event is received or not is judged, if yes, the coordinate position during mouse click is obtained, and when the coordinate position is matched with the position of a certain scale line, according to the pre-established binding relation, a suspected defect picture with the binding relation with the corresponding scale line is read from the back-end service and displayed. According to the method, the suspected defect picture can be quickly positioned, so that each defect in the suspected defect picture can be manually checked, and the checking efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of computer graphics, and in particular to a method and device for processing railway contact network defect images. Background Art

[0002] The railway overhead line safety inspection device (overhead line 2C) takes a lot of videos and pictures during operation, and generates a large number of suspected defect pictures after algorithm analysis. These suspected defect pictures need to be manually checked one by one. However, due to the huge number of these suspected defect pictures, the manual checking process takes a long time and is prone to errors, and there are the following problems: (1) Verified images are easily confused with unverified images; (2) The line section to which the image belongs cannot be effectively represented; (3) Unable to quickly locate a specific defect image; (4) It is impossible to effectively count the number of images that have been verified and the number of images that have not been verified.

[0003] The traditional practice is to display all suspected defect images in a list, and the inspectors click on them one by one to view them. However, this method cannot quickly locate the specific uninspected defect images, and the list contains a lot of redundant information. The operation interface is not beautiful and friendly, and the user experience is poor, which seriously interferes with the inspection operations of the inspectors and leads to low inspection efficiency.

[0004] In order to solve the above problems, people have been seeking an ideal technical solution. Summary of the invention

[0005] Based on this, it is necessary to provide a method and equipment for processing railway contact network defect images in response to the above-mentioned technical problems, so as to effectively solve the problems of poor user experience and low verification efficiency in railway contact network 2C defect verification.

[0006] In order to achieve the above object, the first aspect of the present invention provides a method for processing a railway contact network defect image, which comprises: Draw a bottom line, obtain the number of suspected defective images from the backend service, and determine the number of scales to be drawn according to the number of suspected defective images; wherein the number of scales is equal to the number of suspected defective images; According to a preset scale generation rule and the scale quantity, each scale line is drawn on the bottom line from left to right with a default color and a default scale interval to obtain an initial time axis; Establish a binding relationship between each scale line on the initial time axis and the picture object attribute of the corresponding suspected defect picture, and generate a contact network 2C defect time axis control; wherein the picture object attribute includes the suspected defect picture, the line section name where the suspected defect is located, the verification status and the defect type; When checking defects, determine whether a mouse click event is received. If so, obtain the coordinate position of the mouse click. When the coordinate position matches a scale line position, read the suspected defect image that has a binding relationship with the corresponding scale line from the backend service according to the pre-established binding relationship and display it.

[0007] In order to achieve the above-mentioned purpose, the second aspect of the present invention provides a processing device for railway contact network defect images, which includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned railway contact network defect image processing method when executing the computer program.

[0008] The beneficial effects of the present invention are: 1) The present invention draws an initial timeline, and establishes a binding relationship between each scale line on the initial timeline and the image object attribute of the corresponding suspected defect image, generates a contact network 2C defect timeline control, and when a scale line on the timeline is clicked, the suspected defect image corresponding to the scale line is read from the backend service according to the pre-established binding relationship and displayed, thereby quickly locating the suspected defect image, so as to manually check each defect in the suspected defect image, thereby improving the verification efficiency; 2) The present invention also dynamically adjusts the scale line color corresponding to each suspected defect image according to the verification status to distinguish between verified images and unverified images to avoid confusion between the two; 3) The present invention also compares the route section names corresponding to two adjacent scale lines, and if they are inconsistent, a new route section name is marked at the preset position of the corresponding scale line, thereby effectively representing the route section to which the image belongs; 4) The present invention also determines the number of verified images and the number of unverified images according to the verification status of each suspected defect image, so that the staff can grasp the number of verified and unverified images in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a schematic flow chart of a method for processing railway contact network defect images of the present invention; Figure 2 It is a display effect diagram of the railway contact network defect picture of the present invention; Figure 3 It is a structural schematic diagram of the railway contact network defect image processing equipment of the present invention. DETAILED DESCRIPTION

[0010] The technical solution of the present invention is further described in detail below through specific implementation methods.

[0011] For ease of understanding, the interactive parties and / or terms and / or custom words involved in the present invention are first described in conjunction with the technical solution of the present invention: Catenary 2C defect images: refers to the suspected defect images detected by the Catenary-Checking Video Monitor System (CCVM) during operation. These suspected defect images are used as defect images to be manually verified, as shown in the attached Figure 2 As shown; The contact network safety inspection device is usually installed on the driver's console in the cab of a running electric locomotive or EMU, and uses high-definition cameras and other sensor technologies to capture images of the contact network status. The images and data collected by the inspection device can be used to analyze the technical status of the contact suspension components, the external environment around the contact network line, the presence or absence of intrusion limits, obstacles that hinder the safe operation of the power supply, etc., to replace manual inspections and guide contact network maintenance.

[0012] Canvas control (bitmap that can be operated by JavaScript): It is a new "canvas" element in HTML5. JavaScript can be used to draw graphics, which is used to generate images in real time on web pages and can operate image content. The present invention uses Canvas control and computer graphics technology to complete the drawing of the contact network 2C defect timeline control. The obtained contact network 2C defect timeline control is as shown in the attached figure. Figure 2 shown.

[0013] Backend service: refers to an inference service program deployed on the background server, which calls the inference model to analyze the image and select the defect target.

[0014] The name of the line section where the suspected defect is located: When the suspected defect image is detected, the location of the scene in the image, that is, the line section to which the image belongs, such as Figure 2 The Meng Temple, Linying Station, etc. shown in the picture.

[0015] Verification status: used to indicate whether the suspected defect image has been manually verified by the staff, including unverified and verified. Verified includes excluded and confirmed. Unverified means that the suspected defect image has not been manually verified. Excluded means that after manual verification, it is found that the defect in the suspected defect image does not actually exist. Confirmed means that after manual verification, the defect in the suspected defect image does exist.

[0016] Defect type: refers to the type of defect in the scene in the suspected defect image, such as dangerous trees, bird nests, etc.

[0017] Example 1 As attached Figure 1 As shown, this embodiment provides a specific implementation method of a method for processing railway contact network defect images; The method for processing the railway contact network defect picture comprises: Draw a bottom line, obtain the number of suspected defective images from the backend service through the HTTP protocol, and determine the number of scales to be drawn according to the number of suspected defective images; wherein the number of scales is equal to the number of suspected defective images; According to a preset scale generation rule and the scale quantity, each scale line is drawn on the bottom line from left to right with a default color and a default scale interval to obtain an initial time axis; Establish a binding relationship between each scale line on the initial time axis and the picture object attribute of the corresponding suspected defect picture, and generate a contact network 2C defect time axis control; wherein the picture object attributes include the suspected defect picture, the picture acquisition time, the line section name where the suspected defect is located, the verification status and the defect type; When checking defects, determine whether a mouse click event is received. If so, obtain the coordinate position of the mouse click. When the coordinate position matches a scale line position, read the suspected defect image that has a binding relationship with the corresponding scale line from the backend service according to the pre-established binding relationship and display it.

[0018] It should be noted that the present invention generates a contact network 2C defect timeline control by establishing a binding relationship between each scale line on the timeline and the picture object attribute of the corresponding suspected defect picture. When a scale line on the timeline is clicked, the suspected defect picture corresponding to the scale line can be quickly and accurately read from the back-end service according to the pre-established binding relationship and displayed to the staff responsible for verification, thereby solving the problem of being unable to quickly locate defect pictures in the existing railway contact network 2C defect verification, facilitating manual verification of each defect in the suspected defect picture, and improving verification efficiency.

[0019] It should also be noted that the present invention implements a contact network 2C defect timeline control based on Canvas control and computer graphics technology. The scale lines on the timeline represent defect pictures. By clicking the scale, the current picture can be quickly located, which improves the user experience.

[0020] It should also be noted that the scale lines of the initial time axis are arranged in sequence according to the image acquisition time of the image to be verified, so that the staff can easily select suspected defect images within a certain time period for verification.

[0021] In some embodiments, the method for processing railway contact network defect images also includes: obtaining the verification status of each suspected defect image, and dynamically adjusting the scale line color corresponding to each suspected defect image according to the latest verification status; wherein, the verification status includes verified and unverified, and verified includes excluded and confirmed.

[0022] It should be noted that the initial verification status of all suspected defect pictures is "unverified". After the staff verifies the suspected defect pictures, they will modify the verification status of the suspected defect pictures by clicking the corresponding button (such as single confirmation, single exclusion). If the defects in the suspected defect pictures do not actually exist, the verification status of the suspected defect pictures will be modified to "excluded"; if the defects in the suspected defect pictures do exist, the verification status of the suspected defect pictures will be modified to "confirmed".

[0023] It should also be noted that if there are multiple suspected defects in a suspected defect image, you can also quickly modify the verification status of the suspected defect image by clicking the "Batch Confirm" or "Batch Exclude" button.

[0024] It should also be noted that, in order to intuitively display the verification status of each suspected defect image, the present invention also dynamically adjusts the scale line color corresponding to each suspected defect image according to the latest verification status, and the verification results are distinguished by the scale line color, thereby avoiding staff from confusing verified images with unverified images; for example, a red scale line color indicates that the corresponding suspected defect image is in an "unverified" state, and a green scale line color indicates that the corresponding suspected defect image is in a "verified" state.

[0025] It should also be noted that the preset scale generation rules include information such as scale line color and scale interval. A scale line on the timeline corresponds to a suspected defect image, and the initial color of each scale line is the default color; since the initial verification status of the suspected defect images is "unverified", the default color of each scale line is the scale line color corresponding to the "unverified" status, such as red.

[0026] In some embodiments, the method for processing railway contact network defect images further includes: According to the verification status of each suspected defect image, the number of verified images and the number of unverified images are determined and displayed.

[0027] It should be noted that in order to effectively count the number of verified images and the number of unverified images, the present invention also obtains the verification status of the current suspected defective images from the back-end service through the HTTP protocol, and counts the number of images with a verification status of "unverified", the number of images with a verification status of "excluded" and "confirmed", and the number of verified images = the number of images in the "excluded" state + the number of images in the "confirmed" state.

[0028] In some embodiments, the method for processing railway contact network defect images further includes: Traverse each scale line on the contact network 2C defect time axis control, draw the corresponding line section name at the preset position of the first scale line, and then compare the line section names corresponding to the two adjacent scale lines. If they are inconsistent, mark the new line section name at the preset position of the corresponding scale line.

[0029] It should be noted that the present invention also has the function of representing line interval information. The line interval name corresponding to the defective image (each scale) is obtained from the back-end service through the HTTP protocol, and the line interval to which the image belongs is represented on the timeline using the drawText function. This makes it convenient for staff to select a certain line interval for verification, which is beneficial to the division of verification tasks (such as one staff member is responsible for verifying images within a certain line interval), and also makes it convenient for staff to know which line interval the currently verified image belongs to.

[0030] In some embodiments, the method for processing railway contact network defect images further includes: When the mouse event obtained is scrolling up, redrawing the scale lines at a first scale interval; wherein the first scale interval is greater than the default scale interval; When the obtained mouse event is scrolling down, the scale lines are redrawn at a second scale interval; wherein the second scale interval is less than the default scale interval.

[0031] It should be noted that the present invention supports various mouse events. For example, if the mouse event is scrolling up, it means enlarging the time axis, and the scale line drawing method is called to redraw the scale lines (the scale interval is a magnification of 10 pixels, and the maximum magnification is 10 times), which is convenient for the staff to see a specific scale; if the mouse event is scrolling down, it means shrinking the time axis, and the scale line drawing method is called to redraw the scale lines (the scale interval is a reduction factor of 10 pixels, and the maximum reduction is 0.2 times), which is convenient for the staff to see the entire time axis.

[0032] In a specific embodiment, the present invention comprises the following steps: Step 1, using the drawLine function to draw a horizontal bottom line, the bottom line width is the page width of the entire HTML page; in other embodiments, the bottom line can also be a vertical bottom line; Step 2: Get the number of defective images from the backend service through the HTTP protocol, calculate the number of scales that need to be drawn based on the number of defective images, and traverse: 2-1: According to the preset scale generation rules (set the scale width to 3 pixels and the default scale interval to 10 pixels), draw each scale on the horizontal bottom line from left to right; 2-2: Get the line interval name corresponding to the suspected defect image (each scale) from the backend service through the HTTP protocol. When traversing the scales, compare it with the previous value (the line interval name represented by the previous scale) each time. If it changes, it means that the interval name has changed, that is, use the drawText function to draw the corresponding line interval name at this scale position; 2-3: Get the verification status of the current suspected defect image from the backend service through the HTTP protocol. If the suspected defect image has unverified defects, the scale is drawn in red, otherwise it is drawn in green.

[0033] In other embodiments, the method for processing the railway contact network defect image further calculates the position of the current image scale in real time, and positions the current image scale to the middle of the interface display time axis (the center position of the time axis = the page width / 2), as shown in the attached Figure 2 shown.

[0034] Example 2 Based on the same inventive concept, the embodiment of the present application provides a processing device for implementing the above-mentioned processing method of the railway contact network defect image. The implementation scheme for solving the problem provided by the processing device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more processing device embodiments provided below can refer to the limitations of the processing method above, and will not be repeated here.

[0035] In some embodiments, the processing device for the railway contact network defect image includes a memory and a processor, the memory stores a computer program, and the processor implements the railway contact network defect image processing method in Example 1 when executing the computer program, as shown in the attached Figure 3 shown.

[0036] The present invention is described with reference to the flowchart and / or block diagram of the method according to the embodiment of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0037] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0038] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0039] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.

Claims

1. A method for processing railway contact network defect images, characterized in that: include: Draw a bottom line, obtain the number of suspected defective images from the backend service, and determine the number of scales to be drawn according to the number of suspected defective images; wherein the number of scales is equal to the number of suspected defective images; According to a preset scale generation rule and the scale quantity, each scale line is drawn on the bottom line from left to right with a default color and a default scale interval to obtain an initial time axis; Establish a binding relationship between each scale line on the initial time axis and the picture object attribute of the corresponding suspected defect picture, and generate a contact network 2C defect time axis control; wherein the picture object attribute includes the suspected defect picture, the line section name where the suspected defect is located, the verification status and the defect type; When checking defects, determine whether a mouse click event is received. If so, obtain the coordinate position of the mouse click. When the coordinate position matches a scale line position, read the suspected defect image that has a binding relationship with the corresponding scale line from the backend service according to the pre-established binding relationship and display it.

2. The method for processing railway contact network defect images according to claim 1, characterized in that: Also includes: The verification status of each suspected defect image is obtained, and the scale line color corresponding to each suspected defect image is dynamically adjusted according to the latest verification status; wherein the verification status includes verified and unverified.

3. The method for processing railway contact network defect images according to claim 2, characterized in that: Also includes: According to the verification status of each suspected defect image, the number of verified images and the number of unverified images are determined and displayed.

4. The method for processing railway contact network defect images according to any one of claims 1 to 3, characterized in that: Also includes: Traverse each scale line on the contact network 2C defect time axis control, draw the corresponding line section name at the preset position of the first scale line, and then compare the line section names corresponding to the two adjacent scale lines. If they are inconsistent, mark the new line section name at the preset position of the corresponding scale line.

5. The method for processing railway contact network defect images according to claim 4, characterized in that: Also includes: When the mouse event obtained is scrolling up, redrawing the scale lines at a first scale interval; wherein the first scale interval is greater than the default scale interval; When the obtained mouse event is scrolling down, the scale lines are redrawn at a second scale interval; wherein the second scale interval is less than the default scale interval.

6. A railway contact network defect image processing device, characterized in that: It comprises a memory and a processor, the memory stores a computer program, and is characterized in that when the processor executes the computer program, it implements the method for processing railway contact network defect images as described in any one of claims 1 to 5.