Tire pressure detection method and device, electronic equipment and storage medium
Through tire image detection technology, the area proportion is calculated to determine the tire pressure status, which solves the problems of cumbersome operation and poor adaptability of existing methods, and realizes efficient and intelligent tire pressure detection, improving riding safety and experience.
Patent Information
- Application Number
- CN202411153515.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-20
AI Technical Summary
The existing tire pressure detection methods are cumbersome to operate, making it difficult to meet the needs of efficiency, convenience and intelligence, and it is difficult to adapt to tires of different sizes, affecting detection accuracy and riding safety.
By acquiring the tire images, detecting the spoke frame reference line and the body detection line, calculating the area proportion to determine the tire pressure status, and achieving intelligent detection without manual operation.
It improves the accuracy and convenience of tire pressure detection, enhances riding safety, adapts to different types and sizes of tires, reduces the riding burden, and improves the riding experience.
Smart Images

Figure CN119168946A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tire detection, and in particular to a tire pressure detection method, device, electronic equipment and storage medium. Background Art
[0002] With the pursuit of green travel and healthy life in modern society, the use of bicycles is becoming more and more popular. The tire pressure of bicycles has an important impact on riding safety and comfort.
[0003] Existing tire pressure detection methods mainly rely on physical sensors and manual inspection. These methods are not only cumbersome to operate and difficult to meet the needs of scenarios such as shared bicycles and smart bicycles that require efficient, convenient and intelligent detection, but also because the tire sizes of different bicycles vary, traditional methods are also difficult to adapt to a variety of tire sizes and it is difficult to ensure detection accuracy. Summary of the invention
[0004] The present invention provides a tire pressure detection method, device, electronic device and storage medium, which can adapt to tires of different types and sizes, improve the accuracy of tire pressure status detection, and do not require manual operation. The convenience, efficiency and intelligence of tire pressure status detection can be improved, thereby improving riding safety, reducing riding burden and enhancing riding experience.
[0005] According to one aspect of the present invention, a tire pressure detection method is provided, the method comprising:
[0006] Acquire a target tire image of a target tire;
[0007] Detecting the target tire image to obtain a spoke frame reference line, a tire body detection line of the target tire, and a maximum distance between the spoke frame reference line and the tire body detection line of the target tire;
[0008] Extending the spoke frame reference line radially toward the target tire by the maximum distance to generate a tire body actual line of the target tire;
[0009] Constructing a tire body deformation area between the tire body detection line and the tire body actual line, and a tire body original area between the spoke frame reference line and the tire body actual line;
[0010] An area ratio between the tire body deformation area and the tire body original area is calculated, and a tire pressure state of the target tire is determined according to the area ratio.
[0011] According to another aspect of the present invention, there is provided a tire pressure detection device, the device comprising:
[0012] A target tire image acquisition module, used to acquire a target tire image of a target tire;
[0013] A target tire image detection module, used to detect the target tire image, obtain the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire;
[0014] A tire body actual line generating module, used for radially extending the spoke frame reference line in the direction of the target tire by the maximum distance to generate a tire body actual line of the target tire;
[0015] A tire body region construction module, used to construct a tire body deformation region between the tire body detection line and the tire body actual line, and a tire body original region between the spoke frame reference line and the tire body actual line;
[0016] The tire pressure state detection module is used to calculate the area ratio between the tire body deformation area and the tire body original area, and determine the tire pressure state of the target tire according to the area ratio.
[0017] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0018] at least one processor; and
[0019] a memory communicatively connected to the at least one processor; wherein,
[0020] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the tire pressure detection method described in any embodiment of the present invention.
[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the tire pressure detection method described in any embodiment of the present invention when executed.
[0022] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the tire pressure detection method according to any embodiment of the present invention is implemented.
[0023] The technical solution of the embodiment of the present invention detects the target tire image to obtain the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, radially extends the spoke frame reference line in the direction of the target tire by the maximum distance, generates the tire body actual line of the target tire, constructs the tire body deformation area between the tire body detection line and the tire body actual line, and the tire body original area between the spoke frame reference line and the tire body actual line, calculates the area ratio between the tire body deformation area and the tire body original area, and determines the tire pressure status of the target tire based on the area ratio. It can adapt to tires of different types and sizes, improves the accuracy of tire pressure status detection, and does not require manual operation. It can improve the convenience, efficiency and intelligence of tire pressure status detection, thereby improving riding safety, reducing riding burden, and enhancing riding experience.
[0024] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 is a flow chart of a tire pressure detection method provided according to Embodiment 1 of the present invention;
[0027] Figure 2 is a flow chart of a tire pressure detection method provided according to Embodiment 2 of the present invention;
[0028] Figure 3 is a flow chart of a tire pressure detection method provided according to Embodiment 2 of the present invention;
[0029] Figure 4 is a schematic diagram of a target tire image provided according to Embodiment 2 of the present invention;
[0030] Figure 5 is a schematic diagram of the positions of the spoke frame reference line and the tire body detection line of the target tire provided in the second embodiment of the present invention;
[0031] Figure 6 is a schematic diagram of the positions of the tire body deformation area and the tire body original area provided according to the second embodiment of the present invention;
[0032] Figure 7 is a structural schematic diagram of a tire pressure detection device provided according to Embodiment 3 of the present invention;
[0033] Figure 8 It is a structural schematic diagram of an electronic device for implementing the tire pressure detection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] Embodiment 1
[0037] Figure 1 A flowchart of a tire pressure detection method provided in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the case where tire pressure detection is performed based on a target tire image. The method can be performed by a tire pressure detection device, which can be implemented in the form of hardware and / or software. The tire pressure detection device can be configured in an electronic device that carries a tire pressure detection function, such as a vehicle-mounted terminal, a client, or a server.
[0038] See also Figure 1 The tire pressure detection method shown includes:
[0039] S110, acquiring a target tire image of a target tire.
[0040] The target tire may be a tire that needs to be tested for tire pressure. Exemplarily, the target tire may be a bicycle tire. The target tire image may be a test image of the target tire. Optionally, the target tire image may include an original image of the target tire or a preprocessed image of the target tire. For example, the original image of the target tire may be processed in a grayscale manner, and the original image of the target tire may be converted from a color image to a grayscale image to reduce the complexity of the calculation. For another example, a filtering method such as a Gaussian filter or a median filter may be used to perform image denoising on the original image of the target image to enhance edge clarity.
[0041] Specifically, an original image or a preprocessed image of the target tire may be acquired to obtain a target tire image of the target tire.
[0042] S120, detecting the target tire image, obtaining the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire.
[0043] The spoke frame reference line can be used to characterize the spoke frame position corresponding to the target tire. Exemplarily, the spoke frame reference line can include a spoke frame inner reference line, a spoke frame middle part reference line, or a spoke frame outer reference line. The spoke frame inner side is used to connect at least one spoke. The spoke frame outer side is used to connect the inner side of the target tire. The spoke frame middle part can be the part between the spoke frame inner side and the spoke frame outer side. The tire body detection line can be the tire body line of the target tire actually detected. The tire body detection line can be used to characterize the degree of deformation of the tire body of the target tire. Exemplarily, the tire body detection line can be the detection result of the mold processing line retained in the tire body of the target tire after mold processing. The maximum distance between the spoke frame reference line and the tire body detection line of the target tire is substantially the distance between the spoke frame reference line and the actual tire body line of the target tire. It can be understood that the position corresponding to the maximum distance between the spoke frame reference line and the tire body detection line of the target tire is actually the position where the target tire is not deformed. For example, for a bicycle tire, even when the tire pressure is seriously insufficient, the deformation of most areas of the target tire that are not in contact with the ground will not be very large. Therefore, the distance between the spoke frame reference line and the tire body actual line of the target tire can be determined by the maximum distance between the spoke frame reference line and the tire body detection line of the target tire.
[0044] Specifically, an edge detection algorithm may be used to perform edge detection on the target tire image to obtain edge points of the spoke frame and edge points located on the target tire body. An image detection algorithm may be used to detect edge points of the spoke frame and extract the spoke frame reference line. The same image detection algorithm may be used to detect edge points located on the target tire body and extract the body detection line of the target tire. Exemplarily, the edge detection algorithm may be a Canny Edge Detection Algorithm (Cornell Edge Detection Algorithm); the image detection algorithm may be a Hough Transform.
[0045] S130, radially extending the spoke frame reference line in the direction of the target tire by a maximum distance to generate a tire body actual line of the target tire.
[0046] The actual tire body line of the target tire may be the tire body line of the target tire when the target tire is not deformed. The actual tire body line of the target tire may be used to characterize the original condition of the target tire. When the tire pressure state of the target tire changes, the spoke frame will not be deformed. Therefore, the actual tire body line of the target tire may be determined based on the spoke frame reference line of the target tire.
[0047] Specifically, the spoke frame reference line may be radially extended by a maximum distance in the direction of the target tire to generate the actual tire body line of the target tire.
[0048] S140: constructing a tire body deformation region between the tire body detection line and the tire body actual line, and a tire body original region between the spoke frame reference line and the tire body actual line.
[0049] The tire body deformation area may be an area where the tire body detection line is deformed. The tire body deformation area may be used to characterize the deformation state of the target tire. The tire body original area may be used to characterize the original state of the target tire. The tire body original area may be used as a reference area for tire pressure detection.
[0050] Specifically, the tire body deformation area can be constructed according to the closed area between the tire body detection line and the tire body actual line. The tire body original area can be constructed according to the closed area between the spoke frame reference line and the tire body actual line. Exemplarily, the boundary position of the spoke frame reference line and the tire body actual line can be determined based on the image range of the target tire image.
[0051] In an optional embodiment of the present invention, while detecting the target tire image and obtaining the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, it also includes: detecting at least two spokes corresponding to the target tire and generating at least two spoke extension lines; constructing a tire body deformation area between the tire body detection line and the tire body actual line, and a tire body original area between the spoke frame reference line and the tire body actual line, including: screening each spoke extension line to obtain two target spoke extension lines; constructing a tire body deformation area based on a closed area formed by the intersection of the target spoke extension line, the tire body detection line and the tire body actual line; constructing a tire body original area based on a closed area formed by the intersection of the target spoke extension line, the spoke frame reference line and the tire body actual line.
[0052] The spoke extension line may be a line extending radially from the straight line where the spoke is located in the direction of the target tire and exceeding the area where the target tire is located. The number of spoke extension lines may be at least two. The spoke extension line may be used as a boundary line between the tire body deformation area and the tire body original area. Compared with using the image boundary as the boundary line between the tire body deformation area and the tire body original area, the spoke extension line is selected as the boundary line between the tire body deformation area and the tire body original area, which takes into account the relative position of the spokes. At the same time, the constructed area is smaller and more typical.
[0053] Specifically, the same edge detection algorithm and image detection algorithm as described above can be used to detect the target tire image, determine the spokes corresponding to the target tire, and extend the spokes along the target tire direction to generate spoke extension lines. Each spoke extension line can be screened to obtain two target spoke extension lines. The tire body deformation area can be constructed based on the closed area formed by the intersection of the target spoke extension line, the tire body detection line and the tire body actual line. The tire body original area can be constructed based on the closed area formed by the intersection of the target spoke extension line, the spoke frame reference line and the tire body actual line. Optionally, if the target spoke extension line does not intersect with the tire body detection line when constructing the tire body deformation area, the group of target spoke extension lines is eliminated, and other target spoke extension lines are used to reconstruct the tire body deformation area.
[0054] This scheme introduces a target spoke extension line, through which the tire body deformation area and the tire body original area are demarcated, reducing the amount of calculation and further improving the calculation efficiency of the tire body deformation area and the tire body original area, thereby improving the detection efficiency of the tire pressure status.
[0055] In an optional embodiment of the present invention, the spoke frame reference line is the entire reference line of the spoke frame; and the tire body actual line is the entire actual line of the tire body.
[0056] The entire reference line of the spoke frame may be a spoke frame reference line that spans the entire target tire area. It can be understood that the entire reference line of the spoke frame is a spoke frame reference line of a full circle, rather than a partial spoke frame reference line in the target tire image. The entire actual line of the tire body may be an actual line of the tire body that spans the entire target tire area. It can be understood that the entire actual line of the tire body is an entire actual line of the tire body of a full circle, rather than a partial actual line of the tire body in the target tire image.
[0057] This scheme uses the entire reference line of the spoke frame and the entire actual line of the tire body to construct the tire body deformation area and the tire body original area. Compared with the spoke frame reference line and the actual line of the tire body in the target tire image, it can avoid the differences between different target tire images and further improve the comprehensiveness and accuracy of the tire pressure status detection of the target tire.
[0058] S150, calculating an area ratio between the tire body deformation area and the tire body original area, and determining a tire pressure state of the target tire according to the area ratio.
[0059] The area ratio value may be the ratio of the tire body deformation area to the tire body original area. The area ratio value may be used to characterize the deformation degree of the target tire. Compared with the determination of the tire deformation degree by the area value alone, the influence of the tire size itself is eliminated based on the area ratio value, and tires of different sizes may be adapted. The tire pressure state of the target tire may be used to characterize whether the tire pressure of the target tire is normal, and / or the degree of abnormal pressure of the tire pressure of the target tire. Exemplarily, the tire pressure state of the target tire may include the target tire being in a normal pressure state or the target tire being in an abnormal pressure state. The tire pressure state of the target tire may include different degrees of abnormal pressure states. Optionally, a corresponding relationship may be preset between the area ratio value and the tire pressure state. The preset corresponding relationship between the area ratio value and the tire pressure state may be pre-stored in a database. Among them, the preset corresponding relationship may be a corresponding relationship between a preset area ratio value and the tire pressure state. The preset corresponding relationship may be determined by a technician after a preliminary test.
[0060] Specifically, the area of the tire body deformation region and the area of the tire body original region can be calculated. The ratio between the area of the tire body deformation region and the area of the tire body original region can be calculated to obtain the area ratio between the tire body deformation region and the tire body original region. According to the area ratio, the tire pressure state with a preset corresponding relationship can be queried to obtain the tire pressure state of the target tire.
[0061] The technical solution of the embodiment of the present invention detects the target tire image to obtain the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, radially extends the spoke frame reference line in the direction of the target tire by the maximum distance, generates the tire body actual line of the target tire, constructs the tire body deformation area between the tire body detection line and the tire body actual line, and the tire body original area between the spoke frame reference line and the tire body actual line, calculates the area ratio between the tire body deformation area and the tire body original area, and determines the tire pressure status of the target tire based on the area ratio. It can adapt to tires of different types and sizes, improves the accuracy of tire pressure status detection, and does not require manual operation. It can improve the convenience, efficiency and intelligence of tire pressure status detection, thereby improving riding safety, reducing riding burden, and enhancing riding experience.
[0062] Embodiment 2
[0063] Figure 2 A flowchart of a tire pressure detection method provided for the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention concretizes "determining the tire pressure status of the target tire according to the area ratio value" as "obtaining a preset tire pressure detection threshold; comparing the area ratio value with the preset tire pressure detection threshold; when the area ratio value is less than or equal to the preset tire pressure detection threshold, determining that the target tire is in a normal pressure state; when the area ratio value is greater than the preset tire pressure detection threshold, determining that the target tire is in an abnormal pressure state", which can improve the detection efficiency of the tire pressure status. It should be noted that for the parts not described in detail in the embodiments of the present invention, reference can be made to the descriptions of other embodiments.
[0064] See also Figure 2 The tire pressure detection method shown includes:
[0065] S210: Acquire a target tire image of a target tire.
[0066] S220, detecting the target tire image, obtaining the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire.
[0067] S230, radially extending the spoke frame reference line in the direction of the target tire by a maximum distance to generate a tire body actual line of the target tire.
[0068] S240: constructing a tire body deformation region between the tire body detection line and the tire body actual line, and a tire body original region between the spoke frame reference line and the tire body actual line.
[0069] S250: Calculate the area ratio between the tire body deformation area and the tire body original area, and obtain a preset tire pressure detection threshold.
[0070] The preset tire pressure detection threshold value may be a maximum value of the area ratio value when the target tire is in a normal air pressure state. The preset tire pressure detection threshold value may be used to delimit the area ratio value. The preset tire pressure detection threshold value may be set and adjusted by a technician according to the test results. Optionally, the preset tire pressure detection threshold value may be pre-stored in a database.
[0071] Specifically, a preset tire pressure detection threshold pre-stored in a database may be obtained.
[0072] S260: Compare the area ratio value with a preset tire pressure detection threshold.
[0073] S270: When the area ratio is less than or equal to a preset tire pressure detection threshold, determine that the target tire is in a normal pressure state.
[0074] The area ratio value is less than or equal to the preset tire pressure detection threshold value, which can be understood as the deformation degree of the target tire does not exceed the preset deformation degree, that is, the target tire is in a normal air pressure state. The target tire being in a normal air pressure state can be used to indicate that the tire pressure state of the target tire is normal.
[0075] Specifically, when the area ratio is less than or equal to a preset tire pressure detection threshold, it can be determined that the target tire is in a normal pressure state.
[0076] S280: When the area ratio is greater than a preset tire pressure detection threshold, determine that the target tire is in an abnormal pressure state.
[0077] The area ratio value is greater than the preset tire pressure detection threshold value, which can be understood as the deformation degree of the target tire has exceeded the preset deformation degree, that is, the target tire is in an abnormal air pressure state. The target tire being in an abnormal air pressure state can be used to indicate that the tire pressure state of the target tire is abnormal.
[0078] Specifically, when the area ratio is greater than a preset tire pressure detection threshold, it can be determined that the target tire is in an abnormal pressure state.
[0079] The technical solution of the embodiment of the present invention introduces a preset tire pressure detection threshold. By comparing the area ratio value with the preset tire pressure detection threshold, when the area ratio value is less than or equal to the preset tire pressure detection threshold, it is determined that the target tire is in a normal pressure state. When the area ratio value is greater than the preset tire pressure detection threshold, it is determined that the target tire is in an abnormal pressure state, which can improve the detection efficiency of the tire pressure state.
[0080] Optionally, after determining that the target tire is in an abnormal air pressure state, the abnormal air pressure degree of the target tire may be further detected to determine the abnormal air pressure degree of the target tire, thereby improving the detection accuracy of the tire air pressure state of the target tire.
[0081] In an optional embodiment of the present invention, after determining that the target tire is in an abnormal air pressure state, it also includes: sending a first alarm message to the driver of the detection vehicle so that the driver of the detection vehicle adjusts the driving state of the detection vehicle to avoid a collision with the target vehicle; and / or sending a second alarm message to the driver of the target vehicle so that the driver of the target vehicle adjusts the tire pressure state of the target vehicle.
[0082] The detection vehicle may be a vehicle for tire pressure detection, that is, the vehicle on which the device is located. The target vehicle is the vehicle on which the target tire is located, that is, the object to be detected. The first alarm information may be used to prompt the driver of the detection vehicle that the tire pressure status of the target vehicle is abnormal. The second alarm information may be used to prompt the driver of the target vehicle that the tire pressure status of the target vehicle is abnormal.
[0083] Optionally, after determining that the target tire is in an abnormal air pressure state, a first alarm message may be sent to the driver of the detection vehicle so that the driver of the detection vehicle adjusts the driving state of the detection vehicle to avoid a collision with the target vehicle.
[0084] Optionally, after determining that the target tire is in an abnormal air pressure state, a second alarm message may be sent to the driver of the target vehicle so that the driver of the target vehicle adjusts the tire pressure state of the target vehicle.
[0085] Optionally, after determining that the target tire is in an abnormal air pressure state, a first alarm message can be sent to the driver of the detection vehicle, and a second alarm message can be sent to the driver of the target vehicle, so that the driver of the detection vehicle can adjust the driving state of the detection vehicle to avoid a collision with the target vehicle, and also enable the driver of the target vehicle to adjust the tire pressure state of the target vehicle.
[0086] This solution sends a first alarm message to the driver of the detection vehicle after determining that the target tire is in an abnormal air pressure state, so that the driver of the detection vehicle adjusts the driving state of the detection vehicle to avoid collision with the target vehicle and / or sends a second alarm message to the driver of the target vehicle, and / or sends a second alarm message to the driver of the target vehicle so that the driver of the target vehicle adjusts the tire pressure state of the target vehicle, thereby ensuring that the driver of the detection vehicle and / or the driver of the target vehicle make timely adjustments, thereby improving the driving safety of the detection vehicle and / or the target vehicle.
[0087] Figure 3 FIG. 1 is a flow chart of a tire pressure detection method. Based on the above embodiment, Figure 3 This is a preferred embodiment of the present invention. Figure 3 The tire pressure detection method shown includes:
[0088] S310, acquiring an original image of a target tire, and performing image preprocessing on the original image of the target tire to obtain an image of the target tire.
[0089] Specifically, the original image of the target tire can be grayed out, and the color image can be converted into a gray image to reduce the computational complexity. Gaussian filtering or median filtering can be used to remove image noise, and the gray image can be denoised to enhance edge clarity and obtain the target tire image.
[0090] S320: Perform edge detection on the target tire image to extract spoke frame reference lines and body detection lines of the target tire.
[0091] Specifically, the Canny edge detection algorithm can be used to extract the edge points of the spoke frame in the target tire image and the edge points of the target tire body, highlighting the contact area between the tire and the spoke frame, as well as the tire body area. The Hough transform can be used to detect the reference line outside the spoke frame, that is, Figure 5 The same method can be used to detect the tire body detection line of the target tire, that is, Figure 5 This is shown by the green horizontal line in the figure.
[0092] S330, detecting the target tire image, determining the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, and moving to obtain the actual tire pressure line of the target tire.
[0093] like Figure 6 As shown, the upper red line is the spoke frame reference line, the green line is the tire body detection line, and the lower red line is the actual tire body line after translation.
[0094] Specifically, the maximum distance between the spoke frame reference line and the tire body detection line of the target tire can be calculated, and the spoke frame reference line is expanded according to the maximum distance and then translated to the actual tire body line of the target tire. In particular, the maximum distance can also be obtained by detecting the top of the target tire. It can be understood that even when the target tire is deflated, the maximum distance between the spoke frame reference line above the target tire and the tire body detection line of the target tire is not much different from the maximum distance between the spoke frame reference line above the target tire and the tire body detection line of the target tire when it is inflated, and the maximum distance calculation can be performed. The area where the target tire is deformed is greatly affected by the change in tire pressure.
[0095] S340: constructing a fetal body deformation region and a fetal body original region.
[0096] Specifically, the translated fetal body actual line and the fetal body detection line may form a closed area, namely, a yellow area, which is determined as the fetal body deformation area. The closed area between the fetal body actual line and the fetal body detection line may be determined as the fetal body original area.
[0097] S350: Calculate the area of the deformed region of the fetus and the area of the original region of the fetus.
[0098] Specifically, the area of the yellow region can be calculated, which is recorded as A; the original area of the fetal body before and after the translation can be calculated, which is recorded as B.
[0099] S360, calculate the area ratio.
[0100] Specifically, the ratio between the area of the deformed region of the fetus and the area of the original region of the fetus may be calculated to obtain the area ratio between the deformed region of the fetus and the original region of the fetus.
[0101] For example, the following formula may be used to calculate the area ratio between the tire body deformation area and the tire body original area:
[0102]
[0103] Wherein, Ratio is the area ratio between the fetal body deformation area and the fetal body original area; A is the area of the fetal body deformation area; and B is the area of the fetal body original area.
[0104] S370: Determine the tire pressure status of the target tire according to the area ratio value.
[0105] Specifically, if the area ratio exceeds a preset tire pressure detection threshold, it is determined that the tire pressure of the target tire is insufficient, and the alarm system is triggered.
[0106] The existing physical sensor detection method is difficult to achieve real-time monitoring of tire pressure, resulting in the inability to promptly remind users when the air pressure is insufficient. This solution can improve the real-time detection performance; the existing manual inspection and traditional sensor methods have errors in detection accuracy, especially in complex road conditions, which are prone to misjudgment. This solution can improve the detection accuracy; the traditional method requires regular manual inspection or replacement of sensors, which increases the user's usage burden. This solution does not require physical sensors, simplifies the operation process, and reduces the user's operation burden; the method of this solution is difficult to integrate into the intelligent bicycle system and cannot achieve automated and intelligent management. This solution can be integrated with the intelligent bicycle system to achieve automated and intelligent tire pressure management; the existing detection method has poor adaptability to tires of different sizes and is difficult to be used on a variety of bicycles. This solution can adapt to the situation of tires of different sizes by calculating the area ratio instead of directly comparing with the threshold, and can improve the versatility and adaptability of the system; this solution uses a camera to capture tire images in real time and uses image processing algorithms for analysis, so as to detect tire pressure changes in a timely manner; based on geometric analysis technology, the deformation of the tire is used to provide accurate tire pressure detection results; this solution can ensure riding safety.
[0107] Embodiment 3
[0108] Figure 7 This is a schematic diagram of the structure of a tire pressure detection device provided in Embodiment 3 of the present invention. The embodiment of the present invention can be applied to the case where tire pressure detection is performed based on a target tire image, the device can execute a tire pressure detection method, the device can be implemented in the form of hardware and / or software, and the device can be configured in an electronic device that carries a tire pressure detection function, such as a vehicle-mounted terminal, a client, or a server.
[0109] See also Figure 7The tire pressure detection device shown includes: a target tire image acquisition module 710 , a target tire image detection module 720 , a tire body actual line generation module 730 , a tire body area construction module 740 and a tire pressure state detection module 750 . Among them, the target tire image acquisition module 710 is used to acquire the target tire image of the target tire; the target tire image detection module 720 is used to detect the target tire image, obtain the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire; the tire body actual line generation module 730 is used to radially extend the spoke frame reference line in the direction of the target tire by the maximum distance to generate the tire body actual line of the target tire; the tire body area construction module 740 is used to construct the tire body deformation area between the tire body detection line and the tire body actual line, and the tire body original area between the spoke frame reference line and the tire body actual line; the tire pressure state detection module 750 is used to calculate the area ratio between the tire body deformation area and the tire body original area, and determine the tire pressure state of the target tire according to the area ratio.
[0110] The technical solution of the embodiment of the present invention detects the target tire image to obtain the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, radially extends the spoke frame reference line in the direction of the target tire by the maximum distance, generates the tire body actual line of the target tire, constructs the tire body deformation area between the tire body detection line and the tire body actual line, and the tire body original area between the spoke frame reference line and the tire body actual line, calculates the area ratio between the tire body deformation area and the tire body original area, and determines the tire pressure status of the target tire based on the area ratio. It can adapt to tires of different types and sizes, improves the accuracy of tire pressure status detection, and does not require manual operation. It can improve the convenience, efficiency and intelligence of tire pressure status detection, thereby improving riding safety, reducing riding burden, and enhancing riding experience.
[0111] In an optional embodiment of the present invention, the device also includes: a spoke extension line generation module, which is used to detect at least two spokes corresponding to the target tire and generate at least two spoke extension lines while detecting the target tire image, acquiring the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire; a tire body area construction module, including: a target spoke extension line screening unit, which is used to screen each spoke extension line to obtain two target spoke extension lines; a tire body deformation area construction unit, which is used to construct a tire body deformation area according to the closed area between the target spoke extension line, the tire body detection line and the tire body actual line; a tire body original area construction unit, which is used to construct a tire body original area according to the closed area between the target spoke extension line, the spoke frame reference line and the tire body actual line.
[0112] In an optional embodiment of the present invention, the spoke frame reference line is the entire reference line of the spoke frame; and the tire body actual line is the entire actual line of the tire body.
[0113] In an optional embodiment of the present invention, the tire pressure status detection module includes: obtaining a preset tire pressure detection threshold; comparing the area ratio value with the preset tire pressure detection threshold; when the area ratio value is less than or equal to the preset tire pressure detection threshold, determining that the target tire is in a normal pressure state; when the area ratio value is greater than the preset tire pressure detection threshold, determining that the target tire is in an abnormal pressure state.
[0114] In an optional embodiment of the present invention, the tire pressure status detection module also includes: a first alarm unit, which is used to send a first alarm message to the driver of the detection vehicle after determining that the target tire is in an abnormal air pressure state, so that the driver of the detection vehicle adjusts the driving state of the detection vehicle to avoid collision with the target vehicle; wherein the detection vehicle is a vehicle for tire pressure detection; the target vehicle is the vehicle where the target tire is located; and / or a second alarm unit, which is used to send a second alarm message to the driver of the target vehicle, so that the driver of the target vehicle adjusts the tire pressure state of the target vehicle.
[0115] The tire pressure detection device provided in the embodiment of the present invention can execute the tire pressure detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0116] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of the target tire image of the target tire, the spoke frame reference line, the tire body detection line of the target tire, the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, and the preset tire pressure detection threshold, etc., all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0117] Embodiment 4
[0118] Figure 8 A schematic diagram of an electronic device 800 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) 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 invention described and / or required herein.
[0119] like Figure 8 As shown, the electronic device 800 includes at least one processor 801, and a memory connected to the at least one processor 801, such as a read-only memory (ROM) 802, a random access memory (RAM) 803, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 801 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 802 or the computer program loaded from the storage unit 808 to the random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0120] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0121] The processor 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 801 executes the various methods and processes described above, such as a tire pressure detection method.
[0122] In some embodiments, the tire pressure detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the processor 801, one or more steps of the tire pressure detection method described above may be performed. Alternatively, in other embodiments, the processor 801 may be configured to perform the tire pressure detection method in any other appropriate manner (e.g., by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can 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 chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can 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.
[0124] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may 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.
[0125] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. 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.
[0126] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. 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).
[0127] The systems and techniques described herein may be implemented in a computing system that includes backend 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 frontend 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 backend components, middleware components, or frontend 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), a blockchain network, and the Internet.
[0128] A computing 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 between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS (Virtual Private Server) services.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0130] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A tire pressure detection method, characterized in that: The method comprises: Acquire a target tire image of a target tire; Detecting the target tire image to obtain a spoke frame reference line, a tire body detection line of the target tire, and a maximum distance between the spoke frame reference line and the tire body detection line of the target tire; Extending the spoke frame reference line radially toward the target tire by the maximum distance to generate a tire body actual line of the target tire; Constructing a tire body deformation area between the tire body detection line and the tire body actual line, and a tire body original area between the spoke frame reference line and the tire body actual line; An area ratio between the tire body deformation area and the tire body original area is calculated, and a tire pressure state of the target tire is determined according to the area ratio.
2. The method according to claim 1, characterized in that While detecting the target tire image and acquiring the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire, the method further includes: Detecting at least two spokes corresponding to the target tire and generating at least two spoke extension lines; The step of constructing a tire body deformation region between the tire body detection line and the tire body actual line, and a tire body original region between the spoke frame reference line and the tire body actual line, comprises: Screening each of the spoke extension lines to obtain two target spoke extension lines; constructing a tire body deformation area according to a closed area formed by the intersection of the target spoke extension line, the tire body detection line and the tire body actual line; A tire body original area is constructed according to a closed area formed by the intersection of the target spoke extension line, the spoke frame reference line and the tire body actual line.
3. According to the method of claim 1, the spoke frame reference line is the entire reference line of the spoke frame; and the tire body actual line is the entire actual line of the tire body.
4. The method according to claim 1, characterized in that: Determining the tire pressure state of the target tire according to the area ratio value includes: Get the preset tire pressure detection threshold; comparing the area ratio value with the preset tire pressure detection threshold; When the area ratio is less than or equal to a preset tire pressure detection threshold, determining that the target tire is in a normal pressure state; When the area ratio value is greater than a preset tire pressure detection threshold, it is determined that the target tire is in an abnormal air pressure state.
5. The method according to claim 4, characterized in that After determining that the target tire is in an abnormal air pressure state, the method further includes: Sending a first alarm message to the driver of the detection vehicle so that the driver of the detection vehicle adjusts the driving state of the detection vehicle to avoid collision with the target vehicle; wherein the detection vehicle is a vehicle for tire pressure detection; the target vehicle is a vehicle where the target tire is located; and / or A second alarm message is sent to the driver of the target vehicle so that the driver of the target vehicle adjusts the tire pressure state of the target vehicle.
6. A tire pressure detection device, characterized in that: The device comprises: A target tire image acquisition module, used to acquire a target tire image of a target tire; A target tire image detection module, used to detect the target tire image, obtain the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire; A tire body actual line generating module, used for radially extending the spoke frame reference line in the direction of the target tire by the maximum distance to generate a tire body actual line of the target tire; A tire body region construction module, used to construct a tire body deformation region between the tire body detection line and the tire body actual line, and a tire body original region between the spoke frame reference line and the tire body actual line; The tire pressure state detection module is used to calculate the area ratio between the tire body deformation area and the tire body original area, and determine the tire pressure state of the target tire according to the area ratio.
7. The device according to claim 6, characterized in that The device also includes: a spoke extension line generation module, configured to detect at least two spokes corresponding to the target tire and generate at least two spoke extension lines while detecting the target tire image, acquiring the spoke frame reference line, the tire body detection line of the target tire, and the maximum distance between the spoke frame reference line and the tire body detection line of the target tire; The fetal body region building module comprises: a target spoke extension line screening unit, used for screening each of the spoke extension lines to obtain two target spoke extension lines; a tire body deformation region construction unit, configured to construct a tire body deformation region according to a closed region between the target spoke extension line, the tire body detection line and the tire body actual line; The tire body original area construction unit is used to construct the tire body original area according to the closed area between the target spoke extension line, the spoke frame reference line and the tire body actual line.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the tire pressure detection method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the tire pressure detection method according to any one of claims 1 to 5 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the tire pressure detection method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for detecting tire pressure of tire, as well as mobile equipment and camera equipment
CN104527337A
Tire deformation identification method and device based on visual feedback and deep network
CN114092683A
Tire pressure alarm method and device, computer equipment and storage medium
CN115257249A
Tire pressure calculation method, device and equipment and vehicle
CN115257253A
Cited By
Tire pressure determination method and device and electronic equipment
CN121492538A
