Method and device for determining bending parameters of power cable, storage medium and program product

By performing threshold segmentation and geometric curve conversion on the cable image data, the cable bending parameters are determined based on the inflection point of the geometric curve, which solves the problem of low accuracy in determining cable bending parameters in the prior art, and achieves higher measurement accuracy and reliability.

CN119671967APending Publication Date: 2025-03-21GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411729390.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the prior art, the accuracy of determining cable bending parameters is low, mainly due to the reliance on the experience and judgment of the acceptance personnel, and there is a problem of strong subjectivity.

Method used

By acquiring the image data of the cable, performing threshold segmentation to obtain the geometric profile, converting it into a geometric curve, and determining the bending parameters of the cable based on the inflection points on the geometric curve.

Benefits of technology

It improves the accuracy of determining cable bending parameters, reduces subjectivity, and achieves more scientific and reliable measurement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119671967A_ABST
    Figure CN119671967A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for determining bending parameters of a power cable, a storage medium and a program product. The method comprises the following steps: acquiring image data of a power cable; performing threshold segmentation on the image data to obtain a geometric contour of the power cable; converting the geometric contour to obtain a geometric curve corresponding to the power cable; and determining a bending parameter of the power cable based on at least one inflection point on the geometric curve. The technical problem that the bending parameter determination accuracy of the cable is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power systems, and in particular to a method, device, storage medium and program product for determining bending parameters of a power cable. Background Art

[0002] At present, with the development of economy and the acceleration of urbanization, the use of power cables in urban power grids is increasing, and urban power grid overhead line engineering is also being implemented on a large scale. The cable bending radius is the main indicator to ensure its insulation performance during cable laying and operation.

[0003] In the related art, during the acceptance of power cables, it is usually based on the acceptance personnel's experience to determine whether the turning radius meets the requirements. However, in the above method, visual inspection only relies on the acceptance personnel's experience to determine whether the turning radius meets the requirements. This method is highly subjective and has the technical problem of low accuracy in determining the bending parameters of the cable.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method, device, storage medium and program product for determining bending parameters of a power cable, so as to at least solve the technical problem of low accuracy in determining the bending parameters of the cable.

[0006] According to one aspect of an embodiment of the present application, a method for determining bending parameters of a power cable is provided, and the method may include: acquiring image data of the power cable; performing threshold segmentation on the image data to obtain a geometric contour of the power cable; converting the geometric contour to obtain a geometric curve corresponding to the power cable; and determining the bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0007] Optionally, threshold segmentation is performed on the image data to obtain the geometric contour of the power cable, including: enhancing the image data to obtain enhanced image data; based on a preset threshold, threshold segmentation is performed on the enhanced image data to obtain at least one initial geometric contour, wherein the initial geometric contour is used to characterize the geometric contour of at least one object contained in the enhanced image, and the at least one object includes the power cable; and the geometric contour is determined from the at least one initial geometric contour.

[0008] Optionally, determining the geometric contour from at least one initial geometric contour includes: determining the number of pixels of at least one initial geometric contour respectively; and determining the initial geometric contour whose number of pixels is greater than the target number of pixels as the geometric contour.

[0009] Optionally, based on at least one inflection point on the geometric curve, determining the bending parameter of the power cable includes: respectively determining at least one initial bending parameter corresponding to the at least one inflection point; and determining the largest initial bending parameter among the at least one initial bending parameter as the bending parameter.

[0010] Optionally, respectively determining at least one initial bending parameter corresponding to at least one inflection point includes: converting the geometric curve to obtain a plurality of continuous straight lines; and determining the angle between two straight lines associated with the inflection point as the initial bending parameter corresponding to the inflection point.

[0011] Optionally, converting the geometric profile to obtain a geometric curve corresponding to the power cable includes: converting the geometric profile into a non-smooth geometric curve; and interpolating the non-smooth geometric curve to obtain the geometric curve.

[0012] According to another aspect of an embodiment of the present application, a device for determining the bending parameters of a power cable is also provided, and the device may include: an acquisition unit for acquiring image data of the power cable; a segmentation unit for performing threshold segmentation on the image data to obtain a geometric contour of the power cable; a conversion unit for converting the geometric contour to obtain a geometric curve corresponding to the power cable; and a determination unit for determining the bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0013] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for determining the bending parameters of the power cable of the embodiment of the present application.

[0014] According to another aspect of an embodiment of the present application, a processor is further provided, the processor being used to run a program, wherein when the program is run by the processor, the method for determining the bending parameters of the power cable of the embodiment of the present application is executed.

[0015] According to another aspect of an embodiment of the present application, a computer program product is further provided. The computer program product includes computer instructions, wherein when the computer instructions are executed by a processor, the method for determining bending parameters of a power cable according to an embodiment of the present application is implemented.

[0016] In an embodiment of the present application, image data of a power cable is acquired; the image data is segmented by a threshold value to obtain a geometric profile of the power cable; the geometric profile is converted to obtain a geometric curve corresponding to the power cable; and the bending parameters of the power cable are determined based on at least one inflection point on the geometric curve. That is, in an embodiment of the present application, the image data of the power cable is segmented by a threshold value to obtain a geometric profile of the power cable, and the geometric profile is converted to obtain a geometric curve corresponding to the power cable, and the bending parameters (e.g., bending radius) of the circuit cable can be determined based on the bending angle of at least one inflection point in the geometric curve, thereby solving the technical problem of low accuracy in determining the bending parameters of the cable and achieving the technical effect of improving the accuracy in determining the bending parameters of the cable. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 is a flow chart of a method for determining bending parameters of a power cable according to an embodiment of the present application;

[0019] Figure 2 is a flow chart of a cable bending radius measurement method according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a device for determining bending parameters of a power cable according to an embodiment of the present application;

[0021] Figure 4 is a structural block diagram of a computer terminal according to an embodiment of the present application;

[0022] Figure 5 It is a block diagram of an electronic device for determining a bending parameter of a power cable according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations 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 necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] According to an embodiment of the present application, an embodiment of a method for determining bending parameters of a power cable is provided. The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] In this embodiment, a method for determining the bending parameters of a power cable is proposed. The method can perform threshold segmentation on the image data of the power cable to obtain the geometric contour of the power cable, and convert the geometric contour to obtain a geometric curve corresponding to the power cable. The bending parameters (for example, the bending radius) of the circuit cable can be determined based on the bending angle of at least one inflection point in the geometric curve, thereby solving the technical problem of low accuracy in determining the bending parameters of the cable and achieving the technical effect of improving the accuracy in determining the bending parameters of the cable.

[0027] Figure 1 FIG. 1 is a flow chart of a method for determining bending parameters of a power cable according to an embodiment of the present application. Figure 1 As shown, the method may include the following steps:

[0028] Step S102: acquiring image data of the power cable.

[0029] In the technical solution provided in the above step S102 of the present application, the above image data may include power cables, and the image data may be pictures collected by image acquisition devices such as mobile phones, cameras, and handheld devices, or may be pictures captured from videos. It should be noted that this is only an example, and there is no specific restriction on the way of collecting image data. The above power cable may be referred to as a cable, and may be a cable line in the area to be detected.

[0030] Optionally, the image acquisition module uses an advanced shooting device to obtain image data of the power cable (ie, cable image). The image data can be stored in a database (eg, OpenCV library) to allocate and use the image data at any time.

[0031] Step S104: performing threshold segmentation on the image data to obtain the geometric outline of the power cable.

[0032] In the technical solution provided in step S104 of the present application, the geometric contour may be a target contour of the power cable, which may be used to characterize the shape of the power cable. The threshold segmentation may include global threshold segmentation, local threshold segmentation, adaptive threshold segmentation, etc. It should be noted that this is only an example, and the threshold segmentation method is not specifically limited.

[0033] For example, the image processing module can obtain the collected image data from the image acquisition module or the OpenCV library. Furthermore, the image processing module can be used to process the image data through the threshold segmentation method to obtain the outline of the main target (cable) in the image data, that is, the geometric outline of the power cable.

[0034] Step S106, converting the geometric outline to obtain a geometric curve corresponding to the power cable.

[0035] In the technical solution provided in the above step S106 of the present application, the above geometric curve can be used to characterize the power cable, can be used to determine the bending degree of the power cable, can be a smooth curve, also called a smooth curve, and can also be used to characterize the deformation conditions at different positions in the power cable.

[0036] Optionally, the geometric profile can be transformed by spline curve, least square fitting and other methods to obtain the geometric curve corresponding to the power cable. For example, multiple straight lines or arcs are fitted by the least square method to approximate the cable profile to form a continuous curve; or the straight line segments and arcs in the profile are detected by Hough transform to reconstruct the curve. It should be noted that the conversion method can be selected according to the complexity and accuracy requirements of the profile, and no specific restrictions are made here.

[0037] For example, assuming that there is a curved power cable in the image data, first, the geometric outline of the cable can be obtained through image processing technology (such as edge detection), and the geometric outline can be composed of a series of irregular, discrete pixel points. The above pixel points can be converted into continuous coordinate points to form a point set that approximately describes the shape of the cable. Furthermore, smoothing algorithms such as B-spline interpolation can be used to connect and fit these coordinate points into a smooth geometric curve. The geometric curve (which can be simply referred to as a curve) can accurately reflect the actual bending path of the cable, which is convenient for subsequent analysis of its bending radius. This process, from discrete pixels to continuous coordinates, and then to a smooth curve, realizes the accurate extraction of the geometric characteristics of the cable. It should be noted that the above-mentioned method of converting the geometric outline is only for example and is not specifically limited here.

[0038] Step S108: determining a bending parameter of the power cable based on at least one inflection point on the geometric curve.

[0039] In the technical solution provided in the above step S108 of the present application, the above inflection point may be the vertex of the curve. The above bending parameter may be used to characterize the bending radius of the power cable and may be used to determine the maximum bending angle of the power cable.

[0040] Optionally, the angle of each inflection point on the geometric curve is closely related to the bending angle of the curve, so the overall bending degree of the curve can be evaluated through comprehensive analysis of multiple inflection point angles.

[0041] For example, an image data containing a curved power cable is captured on site. The image is preprocessed through the OpenCV library, such as graying and noise filtering, and then threshold segmentation is applied to obtain the cable contour (that is, the geometric contour) and a discrete set of pixel points. Next, the above pixel points are converted into continuous coordinates, and a smooth geometric curve is fitted using B-spline interpolation, which can represent the curved path of the cable. On this basis, the key inflection points on the curve can be identified, and the bending parameters of the power cable, such as the bending radius and angle, can be obtained by calculating the curvature or angle change at the inflection point. It should be noted that the method for calculating the bending parameters here is only for illustration and is not specifically limited here.

[0042] Through the above steps S102 and S108 of the present application, the image data of the power cable is obtained; the image data is segmented by threshold value to obtain the geometric profile of the power cable; the geometric profile is converted to obtain the geometric curve corresponding to the power cable; based on at least one inflection point on the geometric curve, the bending parameters of the power cable are determined. That is to say, in the embodiment of the present application, the image data of the power cable is segmented by threshold value to obtain the geometric profile of the power cable, and the geometric profile is converted to obtain the geometric curve corresponding to the power cable, and the bending parameters (such as bending radius) of the circuit cable can be determined based on the bending angle of at least one inflection point in the geometric curve, thereby solving the technical problem of low accuracy in determining the bending parameters of the cable and achieving the technical effect of improving the accuracy of determining the bending parameters of the cable.

[0043] The above method of this embodiment is further introduced below.

[0044] As an optional implementation, step S104, performing threshold segmentation on the image data to obtain the geometric contour of the power cable, includes: performing enhancement processing on the image data to obtain enhanced image data; based on a preset threshold, performing threshold segmentation on the enhanced image data to obtain at least one initial geometric contour, wherein the initial geometric contour is used to characterize the geometric contour of at least one object contained in the enhanced image, and the at least one object includes the power cable; and determining the geometric contour from the at least one initial geometric contour.

[0045] In this embodiment, the image data can be enhanced to obtain enhanced image data, and the enhanced image data can be threshold segmented based on a preset threshold to obtain at least one initial geometric contour, which can be used to characterize the shape of at least one object in the enhanced image data. The geometric contour of the power cable can be determined from the at least one initial geometric contour. The above-mentioned enhancement processing can be graying, filtering, contrast enhancement and other processing methods, which can be used to improve image quality and prepare optimized images for subsequent threshold segmentation and contour extraction.

[0046] Optionally, the above-mentioned initial geometric contour can be an object contour. The at least one initial geometric contour obtained includes the contour of the cable and the contours of other non-cable objects. However, since the cable has a relatively regular shape in the obtained segmentation image, and the area is continuous and large, it is possible to determine which contours in the segmented image are the contours of the cable and which are the contours of non-target objects (non-cables) by counting the number of pixels in each geometric contour or based on the size of each geometric contour, so that the cable contour can be processed specifically later.

[0047] For example, the OpenCV library can be used to read the image data. The image data is preprocessed (such as grayscale, filtering, contrast enhancement, etc.) to obtain enhanced image data. The image quality can be ensured by preprocessing, and an optimized image can be prepared for subsequent threshold segmentation and contour extraction. One or more thresholds (i.e., preset thresholds) can be set, and the enhanced image data can be segmented into a foreground (cable) and a background by the preset thresholds, thereby obtaining an initial geometric contour of at least one object in the enhanced image data. The geometric contour of the power cable can be determined from the at least one initial geometric contour.

[0048] As an optional implementation, determining a geometric contour from at least one initial geometric contour includes: determining the number of pixels of at least one initial geometric contour respectively; and determining an initial geometric contour having a pixel number greater than a target pixel number as the geometric contour.

[0049] In this embodiment, the geometric contour can be determined from at least one initial geometric contour by pixel points, which can include the following steps: obtaining multiple initial geometric contours corresponding to multiple objects in the enhanced image data, determining the number of pixels of each initial geometric contour, and determining the initial geometric contour whose number of pixels is greater than the target number of pixels as the geometric contour. The above-mentioned target number of pixels can be a preset number of pixels. It should be noted that this is only an example, and the method for determining the target number of pixels is not specifically limited.

[0050] Optionally, the geometric outlines (which may be referred to as outlines for short) of multiple objects in the enhanced image data are obtained. Among these obtained outlines, there are also small outlines of non-cable objects in other environments. However, we only need the outline of the cable target and the outlines of other non-cable objects. Therefore, the outlines of other non-cable objects need to be deleted. It can be known from tests (or experience) that the outlines of other non-cable objects are relatively small (that is, the number of pixels in the corresponding outline is also relatively small). Therefore, it can be determined whether it is a cable or other object by judging the number of each outline in the segmentation map. It should be noted that if it is a more complex background, it can be further screened according to other corresponding conditions. Here, there is no specific limitation on the method of screening geometric outlines from at least one initial geometric outline.

[0051] Optionally, the method for determining the cable contour based on the number of pixels is generally based on the distribution, density and continuity of the pixels, combined with preset rules and algorithms to judge and extract the pixel area belonging to the cable, so as to determine its contour. Therefore, in this embodiment, a target number of pixels can be set, and based on the target number of pixels, at least one initial geometric contour can be screened to obtain a geometric contour corresponding to the cable.

[0052] As an optional implementation, step S108, determining the bending parameters of the power cable based on at least one inflection point on the geometric curve, includes: determining at least one initial bending parameter corresponding to at least one inflection point; and determining the largest initial bending parameter among the at least one initial bending parameter as the bending parameter.

[0053] In this embodiment, after obtaining the geometric curve, it can be determined that the geometric curve may include at least one inflection point. Therefore, at least one initial bending parameter corresponding to the at least one inflection point can be determined respectively. Based on the initial bending parameters, the bending parameters of the curve can be determined, that is, the largest initial bending parameter among the at least one initial bending parameter can be determined as the bending parameter corresponding to the curve.

[0054] Optionally, an initial bending parameter corresponding to the inflection point is determined, and a maximum initial bending parameter among at least one initial bending parameter is determined as the bending parameter of the curve.

[0055] Optionally, calculate the angle of each inflection point. By calculating these angles, you can understand how the curve changes.

[0056] As an optional implementation, at least one initial bending parameter corresponding to at least one inflection point is determined respectively, including: converting the geometric curve to obtain multiple continuous straight lines; determining the angle between two straight lines associated with the inflection point as the initial bending parameter corresponding to the inflection point.

[0057] In this embodiment, after the geometric curve is obtained, if the geometric curve is a smooth curve, the geometric curve can be converted to obtain a plurality of continuous straight lines, and the two straight lines connected by the inflection point can be determined as two straight lines associated with the inflection point, and the angle between the two straight lines can be determined as the initial bending parameter corresponding to the point. The method of converting the smooth geometric curve into a plurality of continuous straight lines is not specifically limited here.

[0058] Optionally, the angle of the inflection point can be used to characterize the bending angle of the curve. Therefore, after fitting the cable profile into a smooth curve, the smooth curve can be simplified into a continuous segment straight line, and then the maximum bending angle of the segment curve can be obtained by calculating the angle between the inflection points (i.e., the vertices at the curve bend) between two adjacent segment straight lines.

[0059] For example, uniform sampling can be performed on the smooth curve obtained by B-spline interpolation to obtain a series of xy coordinate points to prepare data for constructing the Bezier curve. The Bezier curve is constructed based on the sampling points. The Bezier curve can more accurately describe the shape of the curve, especially in the local and detailed parts of the curve. Using the Ramer-Douglas-Peucke algorithm to simplify the Bezier curve can effectively remove unnecessary details in the curve, identify the inflection points on the curve, and calculate the bending angles at these inflection points to quantify the bending degree of the cable.

[0060] As an optional implementation, converting the geometric profile to obtain a geometric curve corresponding to the power cable includes: converting the geometric profile to a non-smooth geometric curve; and interpolating the non-smooth geometric curve to obtain the geometric curve.

[0061] In this embodiment, the geometric contour can be converted into a non-smooth geometric curve, and the non-smooth geometric curve can be interpolated to obtain a smooth geometric curve (i.e., a geometric curve). Based on the smooth geometric curve, an initial bending parameter corresponding to at least one inflection point can be determined. The initial bending parameter can be used to characterize the direction, angle and other information corresponding to the inflection point. This is only for illustration, and there is no specific limitation on the characterization content of the initial bending parameter.

[0062] Optionally, the cable profile is initially refined into a curve, which is a non-smooth geometric curve. The non-smooth geometric curve can be fitted into a smooth geometric curve using B-spline interpolation to obtain a geometric curve corresponding to the geometric profile.

[0063] For example, after determining the geometric profile, for each cable's geometric profile, the unique x-coordinate corresponding to the geometric profile can be determined, and the mean of the corresponding y-coordinate value can be calculated. The cable's geometric profile can be simplified into a non-smooth geometric curve, and then fit into a smooth geometric curve using B-spline interpolation, thereby accurately describing the shape of the cable for subsequent calculations and analysis.

[0064] Optionally, after determining the geometric curve, evenly sample points on the x-axis and y-axis corresponding to the curve to construct a Bezier curve, and simplify the curve using Ramer-Douglas-Peucke. This step further optimizes the expression of the curve, making the calculation more efficient and accurate. The angle of each inflection point can be calculated. By calculating these angles, the change of the curve can be understood.

[0065] Optionally, for each cable geometric profile, a unique x-coordinate may be determined and the mean of the corresponding y-coordinate values ​​may be calculated, thereby simplifying the geometric profile into a non-smooth curve; the non-smooth curve may be fitted into a smooth curve using B-spline interpolation.

[0066] For example, after obtaining the geometric profile, for each different x-coordinate on the geometric profile, the average value of all y-coordinate values ​​is calculated to form an xy coordinate point sequence, thereby simplifying the complex geometric profile into a non-smooth geometric curve. The non-smooth geometric curve can be fitted using a B-spline interpolation algorithm to make the curve smoother, thereby obtaining a smooth geometric curve, which helps to more accurately represent the bending shape of the cable. Furthermore, evenly sampling points on the x-axis and y-axis of the curve to construct a Bezier curve, and the curve is further simplified by the Ramer-Douglas-Peucker algorithm.

[0067] At present, with the development of economy, the process of urbanization is accelerating, the use of power cables in urban power grids is increasing, and urban overhead line engineering is also being implemented on a large scale. The key factors for the safe operation of cables are the good insulation and the uniformity of the internal electric field distribution. The cable bending radius is the main indicator to ensure its insulation performance during cable installation and operation. The so-called bending radius refers to the bending radius of the curved cable when the curved cable is approximately regarded as an arc in engineering. If the bending radius of the cable is less than the specified value during installation or operation, it will directly lead to the destruction of its structure and eventually cause insulation breakdown. The hazards may include the following three aspects:

[0068] (I) The impact of excessive bending of the body on the conductor. The cable conductor is composed of multiple single-core wires twisted at a certain pitch. During the conductor manufacturing process, the number of single wires and the pitch size of the conductor determine the stability of the conductor when bent. Excessive bending will cause the conductor to loosen and bulge, directly affecting the performance of the conductor's semi-conductive layer and insulating layer. If the conductor is bent too much, burrs will appear, which will cause the conduction and internal shielding to be distorted, thereby causing the electric field to be distorted. A large amount of unbalanced charges will gather around the conductor burrs and continuously impact the insulating medium. The charge concentrated at the protrusion is not enough to cause insulation breakdown in a short period of time, and the discharge amount is negligible. As time goes on and the charge continues to impact, the discharge branches at the defective site continue to grow and spread to the outer layer of the insulation, eventually causing an electrothermal breakdown event.

[0069] (II) The effect of bending on insulation. When the cable is bent, the insulation at the bend will be stretched and deformed. When the bending exceeds the minimum allowable bending radius, insulation damage may occur. For XLPE cross-linked polyethylene insulated cables, due to the large thickness of the insulation layer, when operating at a small bending radius, the insulation layer is subjected to certain stress, especially when a certain operating temperature is reached, the insulation layer (for example, XLPE insulation layer) may be deformed under the action of heat and stress, which in turn causes the electric field distribution of the insulation layer to be distorted. The relative change of the field strength and maximum field strength of the cable insulation layer under different bending radius conditions: the smaller the bending radius, the more concentrated the maximum field strength on the inside of the insulation, and the more uneven the field strength distribution inside the insulation. As long as the bending radius is greater than 20 times the outer diameter of the cable, the maximum field strength inside the insulation is within the maximum field strength range allowed by XLPE. The relationship between the relative change of the maximum field strength and the bending radius: the relative change of the maximum field strength is in an exponential decreasing relationship with the bending radius. The larger the bending radius, the smaller the corresponding relative change of the maximum field strength. Therefore, small bending radii should be avoided as much as possible when laying cables.

[0070] (III) The influence of bending on metal shielding. When the cable is bent too much, the metal tape will wrinkle or curl, which may easily lead to insulation damage. Although the traditional copper tape wrapping has advantages in technology, the contact resistance will increase exponentially due to the generation of oxides on the contact surface between the metal shielding layers during operation, and the contact pressure will be reduced after bending and hot deformation, which will affect the capacity and conduction of short-circuit current. Poor contact plus thermal expansion and contraction bending deformation will directly damage the outer semi-conductive layer.

[0071] It can be seen from this that during the construction of power cables, the torque on the cables should be reduced as much as possible. When the power cables are turning and reserved, the cables should be kept in a natural bend to prevent internal mechanical damage.

[0072] In the relevant technology, for cable acceptance, the cable turning radius is generally accepted through the following methods: 1. Visual inspection, relying on the experience of the acceptance personnel to judge whether the turning radius meets the requirements; 2. Relying on manual measurement and calculation, first use several steel tape measures to measure the chord length, chord height and other parameters, and then calculate the cable turning radius through the corresponding formula; 3. Direct acceptance using cable turning radius measurement tools.

[0073] However, in the above method, visual inspection only relies on the experience of the acceptance personnel to judge whether the turning radius meets the requirements. This method is highly subjective and is not conducive to quality management and control. In addition, the above method relies more on manual measurement and calculation. First, several steel tape measures are used to measure parameters such as chord length and chord height, and then the cable turning radius is calculated through the corresponding formula. This method has large errors and low efficiency. At the same time, the existing turning radius measurement tools are divided into two categories: one is traditional tools, which are simple in design and have large measurement errors. Some of the designs are too complicated, the tools are large in size, and inconvenient to carry; the other is made of electronic components such as laser ranging and ultrasonic receivers, which have the disadvantages of high cost and difficult operation, and are rarely used on site.

[0074] In order to solve the above problems, the present invention provides a cable bending radius measuring device with higher accuracy, better portability and simpler operation, and the cable bending radius measuring device can be a handheld cable curvature detector. The improvements of the device may include: portability, that is, using a handheld PDA (Personal Digital Assistant, referred to as PDA) as a hardware platform, making the detector more portable and easy to use, and convenient for engineers to carry it for testing at any time. Image recognition and image processing algorithms such as Ramer-Douglas-Peucker can be used, and the cable image (that is, image data) can be captured by a camera, and the curvature of the cable can be quickly and accurately analyzed.

[0075] Optionally, the above device can allow engineers to detect the curvature of the cable in real time, making it more adaptable to various work scenarios and needs, and achieving the purpose of real-time detection. The introduction of the above handheld cable curvature detector can significantly improve the power industry's monitoring and evaluation of cable status, help prevent potential safety hazards, and improve the reliability and safety of the power system.

[0076] Optionally, the handheld cable curvature detector can be used to perform the method for determining the bending parameters of the power cable. The method for determining the bending parameters of the power cable can be a new cable bending radius measurement method based on B-spline interpolation, Bezier curve and Ramer-Douglas-Peucker algorithm.

[0077] Optionally, the device may include four core modules, namely, an image acquisition module, an image processing module, a data display module and a handheld device body module. The image acquisition module may use an advanced shooting device to acquire cable images, and store the images in the OpenCV library, which may be deployed and used at any time. The image processing module may be used to process the image data in the OpenCV library by the threshold segmentation method to obtain the outline of the main target (e.g., cable) in the image data, and may also calculate the cable bending radius by using algorithms such as B-spline interpolation, Bezier curves and Ramer-Douglas-Peucker. The data display module may clearly acquire the numerical information of the cable bending radius (i.e., bending parameters) through a visual and quantitative display screen, and automatically analyze the qualified bending radius according to the data results. The handheld device body module allows operators to use it at any time, is easy to carry and operate, and is made of waterproof, corrosion-resistant and drop-resistant materials to facilitate storage and outdoor operations.

[0078] Figure 2 is a flow chart of a cable bending radius measurement method according to an embodiment of the present application, such as Figure 2 As shown, the method may include the following:

[0079] Step S201, acquiring image data.

[0080] In this embodiment, the cable can be photographed by a handheld device to obtain at least one image data.

[0081] Step S202: pre-process the image data.

[0082] In this embodiment, the image data may be preprocessed to obtain enhanced image data.

[0083] Step S203: performing threshold segmentation on the preprocessed image data.

[0084] In this embodiment, the OpenCV library is used to read the image data, and the image data is pre-processed, and the outline of the main target (cable) in the image data is obtained through threshold segmentation. Then, the obtained target outline is post-processed to refine the edges, fill the holes, etc.

[0085] Optionally, use the OpenCV library to read the image and perform preprocessing to prepare for subsequent processing. The outline of the main target (cable) in the image can be obtained through threshold segmentation, and then the obtained target outline is post-processed to refine the edges, fill holes, etc., so as to improve the quality and accuracy of the outline.

[0086] Step S204, eliminating invalid targets.

[0087] In this embodiment, the number of pixels of the main target contour is counted, so as to determine the geometric contour of the cable from at least one initial geometric contour.

[0088] Optionally, the number of pixels is related to the shape and range of the contour, so the contour can be determined by a specific algorithm and a set threshold.

[0089] Optionally, based on the number of pixels of the initial geometric contours, the geometric contour of the cable is determined in at least one initial geometric contour, and the remaining geometric contours unrelated to the cable are eliminated to achieve the purpose of eliminating invalid targets in the image data. The invalid targets may refer to objects in the image data that are unrelated to the cable.

[0090] Step S205, refining the geometric outline into a curve.

[0091] In this embodiment, for each geometric profile, a unique x-coordinate may be determined, and the average of the corresponding y-coordinate values ​​may be calculated, so that the cable profile may be simplified into a non-smooth curve.

[0092] Step S206, fitting the non-smooth curve into a smooth curve.

[0093] In this embodiment, the non-smooth curve may be fitted into a smooth curve using B-spline interpolation.

[0094] Optionally, for each cable profile, a unique x-coordinate can be determined and the mean of the corresponding y-coordinate value can be calculated, thereby simplifying the cable profile into a non-smooth curve, which is then fitted into a smooth curve using B-spline interpolation, thereby more accurately describing the shape of the cable for subsequent calculations and analysis.

[0095] Step S207: sampling the smooth curve and converting it into a Bezier curve.

[0096] In this embodiment, points are uniformly sampled on the x-axis and y-axis of the curve to construct a Bezier curve, and the curve is simplified by the Ramer-Douglas-Peucker algorithm.

[0097] Optionally, evenly sampling points is performed on the x-axis and y-axis of the curve to construct a Bezier curve, and the curve is simplified by the Ramer-Douglas-Peucke algorithm, thereby achieving the purpose of optimizing the expression of the curve and making the calculation more efficient and accurate.

[0098] Optionally, points are uniformly sampled on the x-axis and y-axis of the curve to construct a Bezier curve, and the curve is simplified by a Ramer-Douglas-Peucker algorithm to obtain a plurality of continuous straight lines.

[0099] Step S208, determining whether the specified number of inflection points has been reached.

[0100] In this embodiment, the corner points between adjacent straight lines may be inflection points, and it may be determined whether the number of inflection points in the smooth curve reaches a specified number of inflection points. If yes, step S209 is executed, and if no, step S207 is executed.

[0101] Step S209, calculating the bending angle.

[0102] In this embodiment, the smooth curve is simplified into a continuous segment straight line, and then the maximum bending angle of the segment curve is obtained by calculating the angle between the inflection points (ie, the vertices at the curve bend) between two adjacent segment straight lines.

[0103] Optionally, the angle of each inflection point is calculated. By calculating the above angles, the change of the curve can be understood.

[0104] Step S210: Handheld device display.

[0105] In this embodiment, the calculated angle can be displayed on the original image for technicians to view and analyze.

[0106] It should be noted that the embodiments of the present application can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. A person of ordinary skill in the art will appreciate that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present application can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0107] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed in the present application and within the spirit and principles of the present application should be covered by the protection scope of the present application.

[0108] In this embodiment, the cable contour is segmented by combining threshold segmentation and post-processing technology to efficiently and accurately extract the cable contour from the complex background. In this step, the brightness or color distribution of the image can be carefully analyzed to determine a suitable threshold, and then the pixels in the image can be divided into foreground and background. In addition, some morphological operations can be used to optimize the contour edge to make it sharper and clearer, which is helpful for subsequent curve fitting and angle calculation.

[0109] In this embodiment, B-spline interpolation can also be used to greatly improve the accuracy and visual effect of the contour representation. Then, Bezier curve processing can be used to more accurately fit the curvature of the curve, so that the bending angle of the cable can be accurately calculated to two decimal places.

[0110] According to an embodiment of the present application, a device for determining bending parameters of a power cable is also provided. It should be noted that the device for determining bending parameters of a power cable of this embodiment can be used to execute the method for determining bending parameters of a power cable of the above embodiment of the present application.

[0111] Figure 3 is a schematic diagram of a device for determining bending parameters of a power cable according to an embodiment of the present application. Figure 3 As shown, the device 30 for determining the bending parameters of the power cable may include: an acquisition unit 302 , a segmentation unit 304 , a conversion unit 306 and a determination unit 308 .

[0112] The acquisition unit 302 is used to acquire image data of the power cable.

[0113] The segmentation unit 304 is used to perform threshold segmentation on the image data to obtain the geometric outline of the power cable.

[0114] The conversion unit 306 is used to convert the geometric profile to obtain a geometric curve corresponding to the power cable.

[0115] The determination unit 308 is configured to determine a bending parameter of the power cable based on at least one inflection point on the geometric curve.

[0116] The device for determining the bending parameters of the power cable of this embodiment obtains image data of the power cable through an acquisition unit; performs threshold segmentation on the image data through a segmentation unit to obtain a geometric contour of the power cable; converts the geometric contour through a conversion unit to obtain a geometric curve corresponding to the power cable; and determines the bending parameters of the power cable based on at least one inflection point on the geometric curve through a determination unit, thereby solving the technical problem of low accuracy in determining the bending parameters of the cable and achieving the technical effect of improving the accuracy in determining the bending parameters of the cable.

[0117] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal.

[0118] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.

[0119] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for determining the bending parameters of the power cable: obtaining image data of the power cable; performing threshold segmentation on the image data to obtain the geometric contour of the power cable; converting the geometric contour to obtain the geometric curve corresponding to the power cable; and determining the bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0120] Optionally, Figure 4 is a structural block diagram of a computer terminal according to an embodiment of the present application, such as Figure 4 As shown, the computer terminal 408 may include: one or more (only one is shown in the figure) processors 402 , a memory 404 and a transmission device 406 .

[0121] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for determining the bending parameters of the power cable in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the method for determining the bending parameters of the power cable described above is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 408 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0122] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: obtain image data of the power cable; perform threshold segmentation on the image data to obtain the geometric contour of the power cable; convert the geometric contour to obtain the geometric curve corresponding to the power cable; and determine the bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0123] It can be understood by those skilled in the art that Figure 4The structure shown is for illustration only, and the computer terminal 408 may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID for short), a PAD, or other terminal devices. Figure 4 The structure of the computer terminal 408 is not limited. For example, the computer terminal 408 may also include Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations are shown.

[0124] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0125] According to an embodiment of the present application, a computer-readable storage medium is further provided, the computer-readable storage medium comprising a stored program, wherein the program executes the method for determining the bending parameters of the power cable in the above embodiment.

[0126] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.

[0127] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: acquiring image data of the power cable; performing threshold segmentation on the image data to obtain a geometric contour of the power cable; converting the geometric contour to obtain a geometric curve corresponding to the power cable; and determining bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0128] Optionally, the computer-readable storage medium may also execute program codes for the following steps: performing enhancement processing on the image data to obtain enhanced image data; performing threshold segmentation on the enhanced image data based on a preset threshold to obtain at least one initial geometric contour, wherein the initial geometric contour is used to characterize the geometric contour of at least one object contained in the enhanced image, and the at least one object includes a power cable; and determining the geometric contour from the at least one initial geometric contour.

[0129] Optionally, the computer-readable storage medium may also execute program code for the following steps: respectively determining the number of pixels of at least one initial geometric contour; and determining an initial geometric contour having a pixel number greater than a target pixel number as a geometric contour.

[0130] Optionally, the computer-readable storage medium may also execute program code for the following steps: respectively determining at least one initial bending parameter corresponding to at least one inflection point; and determining the largest initial bending parameter among the at least one initial bending parameter as the bending parameter.

[0131] Optionally, the computer-readable storage medium may also execute program codes for the following steps: converting the geometric curve to obtain a plurality of continuous straight lines; and determining the angle between two straight lines associated with the inflection point as an initial bending parameter corresponding to the inflection point.

[0132] Optionally, the computer-readable storage medium may also execute program codes for the following steps: converting the geometric contour into a non-smooth geometric curve; and performing interpolation processing on the non-smooth geometric curve to obtain a geometric curve.

[0133] In this embodiment, the image data of the power cable is threshold segmented to obtain the geometric outline of the power cable, and the geometric outline is converted to obtain a geometric curve corresponding to the power cable. The bending parameters (for example, bending radius) of the circuit cable can be determined based on the bending angle of at least one inflection point in the geometric curve, thereby solving the technical problem of low accuracy in determining the bending parameters of the cable and achieving the technical effect of improving the accuracy in determining the bending parameters of the cable.

[0134] According to an embodiment of the present application, a processor is further provided, the processor being used to run a program, wherein when the program is run by the processor, the method for determining the bending parameters of the power cable in the above embodiment is executed.

[0135] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.

[0136] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for determining the bending parameters of the power cable: obtaining image data of the power cable; performing threshold segmentation on the image data to obtain the geometric contour of the power cable; converting the geometric contour to obtain the geometric curve corresponding to the power cable; and determining the bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0137] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for determining the bending parameters of the power cable in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the method for determining the bending parameters of the power cable described above is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0138] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: obtain image data of the power cable; perform threshold segmentation on the image data to obtain the geometric contour of the power cable; convert the geometric contour to obtain the geometric curve corresponding to the power cable; and determine the bending parameters of the power cable based on at least one inflection point on the geometric curve.

[0139] Optionally, the processor may also execute program codes of the following steps: performing enhancement processing on the image data to obtain enhanced image data; performing threshold segmentation on the enhanced image data based on a preset threshold to obtain at least one initial geometric contour, wherein the initial geometric contour is used to characterize the geometric contour of at least one object contained in the enhanced image, and the at least one object includes a power cable; and determining the geometric contour from the at least one initial geometric contour.

[0140] Optionally, the processor may also execute program codes of the following steps: respectively determining the number of pixels of at least one initial geometric contour; and determining an initial geometric contour having a pixel number greater than a target pixel number as a geometric contour.

[0141] Optionally, the processor may further execute program codes of the following steps: respectively determining at least one initial bending parameter corresponding to at least one inflection point; and determining the largest initial bending parameter among the at least one initial bending parameter as the bending parameter.

[0142] Optionally, the processor may also execute program codes of the following steps: converting the geometric curve to obtain a plurality of continuous straight lines; and determining the angle between two straight lines associated with the inflection point as an initial bending parameter corresponding to the inflection point.

[0143] Optionally, the processor may also execute program codes of the following steps: converting the geometric contour into a non-smooth geometric curve; and performing interpolation processing on the non-smooth geometric curve to obtain a geometric curve.

[0144] By adopting the embodiment of the present application, threshold segmentation is performed on the image data of the power cable to obtain the geometric contour of the power cable. The geometric contour is converted to obtain a geometric curve corresponding to the power cable. The bending parameters (for example, bending radius) of the circuit cable can be determined based on the bending angle of at least one inflection point in the geometric curve, thereby solving the technical problem of low accuracy in determining the bending parameters of the cable and achieving the technical effect of improving the accuracy in determining the bending parameters of the cable.

[0145] According to an embodiment of the present application, a computer program product is further provided. The computer program product includes computer instructions, wherein when the computer instructions are executed by a processor, the method for determining the bending parameters of the power cable in the above embodiment is implemented.

[0146] An embodiment of the present application may provide an electronic device, which may include a memory and a processor.

[0147] Figure 5 It is a block diagram of an electronic device for determining a bending parameter of a power cable according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0148] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 to a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0149] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0150] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as a verification method for data. For example, in some embodiments, the verification method for data may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the verification method for data described above may be executed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the data verification method in any other appropriate manner (for example, by means of firmware).

[0151] According to an embodiment of the present application, a method for determining the bending parameters of a power cable is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0152] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that are executable and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0153] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0154] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0155] To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display, monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a path ball) through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0156] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.

[0157] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0158] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0159] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0160] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0161] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0162] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0163] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store program code.

[0164] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for determining bending parameters of a power cable, characterized in that: include: Acquire image data of power cables; Performing threshold segmentation on the image data to obtain a geometric outline of the power cable; Converting the geometric profile to obtain a geometric curve corresponding to the power cable; Based on at least one inflection point on the geometric curve, a bending parameter of the power cable is determined.

2. The method according to claim 1, characterized in that The step of performing threshold segmentation on the image data to obtain a geometric outline of the power cable includes: Performing enhancement processing on the image data to obtain enhanced image data; Based on a preset threshold, performing threshold segmentation on the enhanced image data to obtain at least one initial geometric contour, wherein the initial geometric contour is used to characterize the geometric contour of at least one object included in the enhanced image data, and at least one of the objects includes the power cable; The geometric profile is determined from at least one of the initial geometric profiles.

3. The method according to claim 2, characterized in that Determining the geometric profile from at least one of the initial geometric profiles comprises: respectively determining the number of pixels of at least one of the initial geometric contours; The initial geometric outline, in which the number of pixels is greater than the target number of pixels, is determined as the geometric outline.

4. The method according to claim 1, characterized in that: The determining of the bending parameters of the power cable based on at least one inflection point on the geometric curve comprises: respectively determining at least one initial bending parameter corresponding to at least one of the inflection points; The largest initial bending parameter among at least one of the initial bending parameters is determined as the bending parameter.

5. The method according to claim 4, characterized in that The respectively determining at least one initial bending parameter corresponding to at least one of the inflection points comprises: Converting the geometric curve to obtain a plurality of continuous straight lines; The angle between the two straight lines associated with the inflection point is determined as the initial bending parameter corresponding to the inflection point.

6. The method according to claim 1, characterized in that The step of converting the geometric profile to obtain a geometric curve corresponding to the power cable includes: converting the geometric contour into a non-smooth geometric curve; The non-smooth geometric curve is interpolated to obtain the geometric curve.

7. A device for determining bending parameters of a power cable, characterized in that: include: An acquisition unit, used for acquiring image data of the power cable; A segmentation unit, used for performing threshold segmentation on the image data to obtain a geometric outline of the power cable; A conversion unit, used for converting the geometric profile to obtain a geometric curve corresponding to the power cable; A determination unit is used to determine a bending parameter of the power cable based on at least one inflection point on the geometric curve.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 6.

9. A computer program product, characterized in that The method comprises computer instructions, which implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 6 when run by the processor.