Aero-engine blade counting method, device and electronic equipment
By acquiring and analyzing the grayscale value changes of borescope video frames from aero-engines, accurate blade counting without additional equipment was achieved, solving the problems of manual counting errors and low efficiency of sensor-assisted counting, and improving counting efficiency.
Patent Information
- Application Number
- CN202311437048.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-10-30
AI Technical Summary
Existing methods for counting aero-engine blades suffer from problems such as large errors in manual counting and low efficiency in sensor-assisted counting.
By acquiring borehole video frames of the aero-engine, the average gray value of the target area where the blades are located is calculated, and the blades are counted based on the gray value changes of continuous video frames. The change in the number of blades is determined by using a gray value threshold.
It enables accurate counting of blades without the need for additional hardware, improving counting efficiency and solving the problems of manual counting errors and low efficiency of sensor-assisted counting.
Smart Images

Figure CN117315549B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of aero-engine detection, in particular to an aero-engine blade counting method, device and electronic equipment. BACKGROUND
[0002] In the aero-engine detection process, counting the aero-engine blades is crucial. In the prior art, the counting method of aero-engine blades includes manual counting and sensor-assisted counting. The manual counting method has a large error when the number of blades is large and the detection time is long because the shapes of aero-engine blades are similar, which greatly reduces the accuracy of counting. The sensor-assisted counting method uses a special hardware device including a sensor to assist in blade counting, which requires additional hardware devices and a lot of time for installation and debugging in advance, which affects the counting efficiency. SUMMARY
[0003] To solve the above technical problems, the present application provides an aero-engine blade counting method, device and electronic equipment.
[0004] In a first aspect, an aero-engine blade counting method is provided, which comprises:
[0005] obtaining a borescope video frame of an aero-engine;
[0006] calculating the average gray value of a target region in which the aero-engine blades are located in the borescope video frame;
[0007] counting the blades of the aero-engine based on the change of the average gray value of the target region in consecutive borescope video frames.
[0008] In a possible implementation, the step of counting the blades of the aero-engine based on the change of the average gray value of the target region in consecutive borescope video frames comprises:
[0009] comparing the average gray value of the target region in consecutive borescope video frames with a first gray threshold and a second gray threshold, respectively, wherein the first gray threshold is greater than the second gray threshold;
[0010] when the average gray value of the target region in consecutive borescope video frames changes from greater than the first gray threshold to less than the second gray threshold, or when the average gray value of the target region in consecutive borescope video frames changes from less than the second gray threshold to greater than the first gray threshold, the number of blades of the aero-engine is increased or decreased by one.
[0011] In a possible implementation, the first gray scale threshold is determined by a maximum gray scale value of the target region in the consecutive hole exploration video frames, and the second gray scale threshold is determined by a minimum gray scale value of the target region in the consecutive hole exploration video frames, and before the step of calculating the average gray scale value of the target region where the aero-engine blade is located in the hole exploration video frame, the method further comprises:
[0012] initializing the maximum gray scale value of the target region and the minimum gray scale value of the target region.
[0013] In a possible implementation, the step of initializing the maximum gray scale value of the target region and the minimum gray scale value of the target region comprises:
[0014] selecting a video frame as a reference video frame in the consecutive hole exploration video frames, and taking the next frame of the reference video frame as a current video frame;
[0015] determining the target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame;
[0016] calculating the average gray scale value of the target region in the current video frame, and storing the average gray scale value of the target region in the current video frame in a gray scale value list;
[0017] judging whether the average gray scale values in the gray scale value list meet statistical requirements;
[0018] if the statistical requirements are not met, updating the current video frame as the reference video frame, and repeating the above steps until the average gray scale values in the gray scale value list meet the statistical requirements;
[0019] when the average gray scale values in the gray scale value list meet the statistical requirements, initializing the maximum average gray scale value in the gray scale value list as the maximum gray scale value of the target region, and initializing the minimum average gray scale value in the gray scale value list as the minimum gray scale value of the target region.
[0020] In a possible implementation, in the consecutive hole exploration video frames, a video frame is selected as a reference video frame, and the next frame of the reference video frame is taken as a current video frame, and a preset maximum gray scale value and a preset minimum gray scale value are assigned values, wherein the initial assignment of the preset maximum gray scale value is less than the initial assignment of the preset minimum gray scale value.
[0021] determining the target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame;
[0022] calculating an average gray scale value of the target region in the current video frame, storing the average gray scale value of the target region in the current video frame in a gray scale value list, and assigning the average gray scale value of the target region in the current video frame to the preset maximum gray scale value or the preset minimum gray scale value;
[0023] judging whether the average gray scale value in the gray scale value list meets statistical requirements;
[0024] if the statistical requirements are not met, updating the current video frame as a reference video frame, and repeating the above steps until the average gray scale value in the gray scale value list meets the statistical requirements;
[0025] when the average gray scale value in the gray scale value list meets the statistical requirements, initializing a current value of the preset maximum gray scale value as a maximum gray scale value of the target region, and initializing a current value of the preset minimum gray scale value as a minimum gray scale value of the target region.
[0026] In a possible implementation, the step of determining the target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame comprises:
[0027] calculating an optical flow vector of each point based on positions of the points in the reference video frame and the current video frame, and taking a maximum circumscribed rectangular region of a target point with an optical flow vector greater than a preset optical flow vector threshold as a region related to rotation of the blade;
[0028] calculating a rotation direction of the aero-engine blade based on the optical flow vector of the target point;
[0029] determining a target rectangle with a width along the rotation direction of the aero-engine blade in the region related to rotation of the blade, and taking the target rectangle as the target region in the current video frame.
[0030] In a possible implementation, the step of judging whether the average gray scale value in the gray scale value list meets statistical requirements comprises:
[0031] detecting whether there are continuous peak and valley changes in the average gray scale value in the gray scale value list, and determining that the average gray scale value in the gray scale value list meets the statistical requirements if there are continuous peak and valley changes, or determining that the average gray scale value in the gray scale value list does not meet the statistical requirements if there are no continuous peak and valley changes.
[0032] In a second aspect, the embodiments of the present application further provide an aero-engine blade counting device, which comprises:
[0033] The acquisition module is configured to acquire borescope video frames of the aero-engine.
[0034] The calculation module is configured to calculate average gray values of target regions in which the aero-engine blades are located in the borescope video frames.
[0035] The counting module is configured to count the aero-engine blades based on changes in the average gray values of the target regions in the continuous borescope video frames.
[0036] In a possible implementation, the counting module is specifically configured to:
[0037] compare the average gray values of the target regions in the continuous borescope video frames with a first gray threshold and a second gray threshold respectively, where the first gray threshold is greater than the second gray threshold.
[0038] when the average gray value of the target region in the continuous borescope video frames changes from being greater than the first gray threshold to being less than the second gray threshold, or when the average gray value of the target region in the continuous borescope video frames changes from being less than the second gray threshold to being greater than the first gray threshold, the number of the aero-engine blades is increased or decreased by one.
[0039] In a third aspect, the embodiments of the present application further provide an electronic device, which includes a processor and a computer readable storage medium, the processor and the computer readable storage medium are connected through a bus system, the computer readable storage medium is configured to store programs, instructions or codes, and the processor is configured to execute the programs, instructions or codes in the computer readable storage medium to implement the aero-engine blade counting method in any one of the possible implementation manners of the first aspect.
[0040] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, which stores instructions, when the instructions are executed, causing an electronic device to perform the aero-engine blade counting method in the first aspect or any one of the possible implementation manners of the first aspect.
[0041] Based on any of the above aspects, the aero-engine blade counting method, apparatus, and electronic equipment provided in this application first acquire borehole video frames of the aero-engine; then, calculate the average grayscale value of the target area where the aero-engine blades are located in the borehole video frames; and then, count the aero-engine blades based on the changes in the average grayscale value of the target area in consecutive borehole video frames. The above solution requires no additional hardware equipment; it only needs to utilize borehole video frame images and the grayscale change pattern of the target area where the blades are located during blade rotation to achieve blade counting. This solves the problems of counting errors caused by manual counting and low counting efficiency when using hardware equipment including sensors to assist counting. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings required in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is one of the flowcharts illustrating the aero-engine blade counting method provided in this embodiment;
[0044] Figure 2 This is the second flowchart illustrating the aero-engine blade counting method provided in this embodiment;
[0045] Figure 3 for Figure 2 One of the flowcharts for the sub-steps of step S10;
[0046] Figure 4 for Figure 2 The second flowchart of the sub-steps in step S10;
[0047] Figure 5 A schematic diagram of the functional modules of the aero-engine blade counting device provided in the embodiments of this application;
[0048] Figure 6 A schematic diagram of a possible structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0049] To make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. It should be understood that the drawings in the present application serve only the purpose of description and illustration, and do not serve to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in the present application show the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can not be implemented in sequence, and the steps that have no logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowcharts or one or more operations can be removed from the flowcharts under the guidance of the content of the present application.
[0050] In addition, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0051] For reference Figure 1 The aero-engine blade counting method provided in the embodiments of the present application can be executed by an electronic device with data processing capability. The order of some steps in the aero-engine blade counting method in the embodiments of the present application can be exchanged with each other according to actual needs, or some steps therein can be omitted or deleted. The detailed steps of the aero-engine blade counting method are described as follows.
[0052] In step S11, a bore-scope video frame of an aero-engine is acquired.
[0053] In this step, the bore-scope video frame can be acquired by deepening a camera into the aero-engine, and the bore-scope video frame is sent to an electronic device, wherein the bore-scope video frame includes a blade image of the aero-engine.
[0054] In step S12, an average gray value of a target region where a blade of the aero-engine is located in the bore-scope video frame is calculated.
[0055] In this step, the target region where the blade of the aero-engine is located is determined in the bore-scope video frame, and the average gray value of the target region is calculated according to the gray scale values of all pixel points in the target region.
[0056] In step S13, the aero-engine is counted based on the change of the average gray value of the target region in the continuous bore-scope video frames.
[0057] The brightness of the same point on the blade changes during the rotation of the aero-engine blade, that is, the gray scale of the target area where the aero-engine blade is located also changes regularly during the rotation. In this step, the aero-engine blade counting can be performed based on the change of the average gray scale value of the target area in the continuous hole-probing video frame.
[0058] The above-mentioned scheme does not require additional hardware devices, but only needs to use the hole-probing video frame image and the gray scale change rule of the target area where the blade is located during the rotation of the blade to realize blade counting. Thus, the counting error caused by manual counting and the low counting efficiency when using a hardware device including a sensor to assist counting can be solved.
[0059] In this embodiment, step S13 can be implemented in the following manner.
[0060] First, the average gray scale value of the target area in the continuous hole-probing video frame is compared with the first gray scale threshold and the second gray scale threshold, respectively.
[0061] The first gray scale threshold is greater than the second gray scale threshold. The first gray scale threshold can be smaller than the maximum average gray scale value G max of the target area where the aero-engine blade is located during the rotation of the aero-engine blade, and the second gray scale threshold can be greater than the minimum average gray scale value G min of the target area where the aero-engine blade is located during the rotation of the aero-engine blade. For example, the first gray scale threshold can be G max *scale max , scale max is less than 1 (for example, scale max is 0.8), and the second gray scale threshold can be G min *scale min , scale min is greater than 1 (for example, scale min is 1.2).
[0062] Then, when the average gray scale value of the target area in the continuous hole-probing video frame changes from being greater than the first gray scale threshold to being less than the second gray scale threshold, or when the average gray scale value of the target area in the continuous hole-probing video frame changes from being less than the second gray scale threshold to being greater than the first gray scale threshold, the number of blades of the aero-engine is increased or decreased by one.
[0063] In this embodiment, the inventors found that during the rotation of the aero-engine blade, the gray scale of the target area corresponding to the hole-probing video frame changes periodically when the aero-engine blade passes through the hole-probing area, for example, the average gray scale value of the target area gradually increases and then gradually decreases, or the average gray scale value of the target area gradually decreases and then gradually increases.
[0064] Based on the above rules, the number of the aero-engine blades can be counted automatically by detecting the change of the average gray value of the target region in the continuous hole exploration video frames from greater than the first gray threshold to less than the second gray threshold or the change of the average gray value of the target region in the continuous hole exploration video frames from less than the second gray threshold to greater than the first gray threshold. Specifically, in combination with the rotation direction of the aero-engine blades, the number of the aero-engine blades can be increased or decreased by one, such as increasing the number of the aero-engine blades by one in the forward rotation or decreasing the number of the aero-engine blades by one in the reverse rotation.
[0065] Further, please refer to Figure 2 In the embodiment, before step S12, the aero-engine blade counting method provided by the embodiment further includes step S10.
[0066] Step S10, the maximum gray value of the target region and the minimum gray value of the target region are initialized.
[0067] Please refer to Figure 3 In an embodiment of the embodiment, step S10 can be implemented in the following manner.
[0068] Step S1011, a video frame in the continuous hole exploration video frames is selected as a reference video frame, and the next frame of the reference video frame is selected as a current video frame.
[0069] In this step, the earlier video frame in the continuous hole exploration video frames can be selected as the reference video frame, and the next frame adjacent to the reference video frame can be selected as the current video frame.
[0070] Step S1012, the target region of the aero-engine blades in the current video frame is determined based on the reference video frame and the current video frame.
[0071] Firstly, based on the positions of the points in the aero-engine in the reference video frame and the current video frame, the optical flow vectors of the points are calculated, and the maximum circumscribed rectangle region of the target points with the optical flow vectors greater than a preset optical flow vector threshold is taken as the region involved in the rotation of the blades. Wherein, the optical flow vector represents the position change of the same point in the reference video frame and the current video frame.
[0072] Then, based on the optical flow vectors of the target points, the rotation direction of the aero-engine blades is calculated.
[0073] Specifically, the optical flow angle of each target point is calculated based on the optical flow vectors of the target points, and the optical flow angles of all the target points are fused to obtain a total angle, which can represent the rotation direction of the aero-engine blades.
[0074] Then, a target rectangle with a width along the rotating direction of the aero-engine blade is determined in the area involved in the rotation of the blade, and the target rectangle is taken as the target area in the current video frame.
[0075] In step S1013, the average gray scale value of the target area in the current video frame is calculated, and the average gray scale value of the target area in the current video frame is stored in a gray scale value list.
[0076] In step S1014, it is judged whether the average gray scale value in the gray scale value list meets the statistical requirement.
[0077] In this step, the statistical requirement is met if the gray scale value curve drawn by the average gray scale value in the gray scale value list at least meets a set of obvious peaks and valleys.
[0078] In this embodiment, it is judged whether the average gray scale value in the gray scale value list meets the statistical requirement by detecting whether there is a continuous change of peaks and valleys in the average gray scale value in the gray scale value list. If there is a continuous change of peaks and valleys, it is judged that the average gray scale value in the gray scale value list meets the statistical requirement. If there is no continuous change of peaks and valleys, it is judged that the average gray scale value in the gray scale value list does not meet the statistical requirement.
[0079] When the average gray scale value in the gray scale value list does not meet the statistical requirement, the current video frame is updated as the reference video frame, and the process returns to step S1011. When the average gray scale value in the gray scale value list meets the statistical requirement, the process proceeds to step S1015.
[0080] In step S1015, the maximum average gray scale value in the gray scale value list is initialized as the maximum gray scale value G max of the target area, and the minimum average gray scale value in the gray scale value list is initialized as the minimum gray scale value G min .
[0081] Please refer to Figure 4 In another implementation of this embodiment, step S10 can be implemented in the following way.
[0082] In step S1021, a video frame in the continuous borescope video frames is selected as the reference video frame, the next frame of the reference video frame is taken as the current video frame, and the preset maximum gray scale value and the preset minimum gray scale value are assigned values.
[0083] In this step, the earlier video frame in the continuous borescope video frames can be selected as the reference video frame, and the next frame adjacent to the reference video frame is taken as the current video frame. The initial assignment of the preset maximum gray scale value is smaller than the initial assignment of the preset minimum gray scale value. For example, the initial assignment of the preset maximum gray scale value G max ’ is 0, and the initial assignment of the preset minimum gray scale value G min ’ is 255.
[0084] Step S1022, determining the target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame.
[0085] Step S1022 is the same as step S1012 in the previous embodiment, and will not be repeated here.
[0086] Step S1023, calculating the average gray value of the target region in the current video frame, storing the average gray value of the target region in the current video frame in a gray value list, and assigning the average gray value of the target region in the current video frame to the preset maximum gray value or the preset minimum gray value.
[0087] In this step, if the average gray value of the target region in the current video frame is greater than the preset maximum gray value G max ', the average gray value of the target region in the current video frame is assigned to the preset maximum gray value G max '. If the average gray value of the target region in the current video frame is less than the preset minimum gray value G min ', the average gray value of the target region in the current video frame is assigned to the preset minimum gray value G min '.
[0088] Step S1024, determining whether the average gray value in the gray value list meets the statistical requirement.
[0089] In this step, the statistical requirement is that the gray value curve drawn by the average gray value in the gray value list at least meets a set of obvious peaks and valleys.
[0090] In this embodiment, it is detected whether there is a continuous change of peaks and valleys in the average gray value in the gray value list. If there is a continuous change of peaks and valleys, it is determined that the average gray value in the gray value list meets the statistical requirement. If there is no continuous change of peaks and valleys, it is determined that the average gray value in the gray value list does not meet the statistical requirement.
[0091] When the average gray value in the gray value list does not meet the statistical requirement, the current video frame is updated as the reference video frame, and returns to step S1021. When the average gray value in the gray value list meets the statistical requirement, step S1025 is entered.
[0092] Step S1025, initializing the current value of the preset maximum gray value as the maximum gray value of the target region, and initializing the current value of the preset minimum gray value as the minimum gray value of the target region.
[0093] The method for counting the blades of the aero-engine provided in the embodiment can count the blades based on the gray scale variation law of the target region where the blades are located during the rotation of the blades, so as to solve the counting error caused by manual counting and the low counting efficiency when the counting is assisted by the hardware device including the sensor.
[0094] Please refer to Figure 5 , Figure 5 A functional module schematic diagram of the aero-engine blade counting device 200 provided in the embodiment is provided, the aero-engine blade counting device 200 provided in the embodiment can be divided into functional modules according to the method embodiment executed by the server, that is, the following various functional modules corresponding to the aero-engine blade counting device 200 can be used to execute the various method embodiments. The aero-engine blade counting device 200 can include an acquisition module 210, a calculation module 220 and a counting module 230, and the functions of each functional module of the aero-engine blade counting device 200 will be described in detail below.
[0095] The acquisition module 210 is configured to acquire a borescope video frame of an aero-engine.
[0096] In the embodiment, the acquisition module 210 can acquire the borescope video frame by inserting the camera into the aero-engine, wherein the borescope video frame includes a blade image of the aero-engine.
[0097] In the embodiment, the acquisition module 210 can be used to execute the step S11, and the detailed implementation of the acquisition module 210 can be referred to the detailed description of the step S11.
[0098] The calculation module 220 is configured to calculate an average gray scale value of a target region where a blade of the aero-engine is located in the borescope video frame.
[0099] The calculation module 220 determines the target region where the blade of the aero-engine is located in the borescope video frame, and calculates the average gray scale value of the target region according to the gray scale values of all pixel points in the target region.
[0100] In the embodiment, the calculation module 220 can be used to execute the step S12, and the detailed implementation of the calculation module 220 can be referred to the detailed description of the step S12.
[0101] The counting module 230 is configured to count the blades of the aero-engine based on the variation of the average gray scale values of the target region in the continuous borescope video frames.
[0102] The brightness of the same point on the blade will change during the rotation of the aero-engine blade, that is, the gray scale of the target area where the aero-engine blade is located will also change regularly during the rotation. In this embodiment, the counting module 230 can count the blades of the aero-engine based on the change of the average gray scale value of the target area in the continuous hole exploration video frame.
[0103] In this embodiment, the counting module 230 can be used to perform the above step S13, and the detailed implementation of the counting module 230 can refer to the detailed description of step S13.
[0104] It should be noted that the division of each module in the above device or system is only a logical functional division, and all or part of the modules can be integrated into one physical entity, or can be physically separated. And these modules can all be realized in the form of software (such as open source software) that can be called by the processor; all can be realized in the form of hardware; some modules can be realized in the form of software called by the processor, and some modules can be realized in the form of hardware. As an example, the counting module 230 can be realized by a single processor, and the functions of the counting module 230 can be stored in the memory of the above device or system in the form of program code, and can be called and executed by a processor of the above device or system. The implementation of other modules is similar, and will not be repeated here.
[0105] Please refer to Figure 6 , Figure 6 The hardware structure schematic diagram of the electronic device 100 for implementing the aero-engine blade counting method provided by the embodiment of the present disclosure is shown. As Figure 6 shown, the electronic device 100 can include a processor 110, a computer readable storage medium 120, and a bus 130.
[0106] In the specific implementation process, the processor 110 executes the computer execution instructions (for example Figure 5 each module in the aero-engine blade counting device 200 shown in the above embodiment) stored in the computer readable storage medium 120, so that the processor 110 can execute the aero-engine blade counting method of the method embodiment as above, wherein the processor 110 and the computer readable storage medium 120 can be connected through the bus 130.
[0107] The specific implementation process of the processor 110 can refer to the above-mentioned various method embodiments executed by the electronic device 100, and the implementation principle and technical effect are similar, which will not be repeated here.
[0108] The computer readable storage medium 120 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), and the like. Among them, the memory 110 is used to store programs or data.
[0109] The bus 130 can be divided into an address bus, a data bus, a control bus, and the like. For the convenience of representation, the bus in the drawings of the present application does not limit only one bus or one type of bus.
[0110] In addition, the embodiment of the present application further provides a readable storage medium, the readable storage medium stores computer execution instructions, when the processor executes the computer execution instructions, the method for counting the blades of the aero-engine is realized.
[0111] To sum up, the method for counting the blades of the aero-engine, the device and the electronic equipment provided by the embodiment of the present application, first, the hole-probing video frame of the aero-engine is acquired; then, the average gray value of the target region where the blade of the aero-engine is located in the hole-probing video frame is calculated; and then, the blade counting of the aero-engine is performed based on the change of the average gray value of the target region in the continuous hole-probing video frame. The above-mentioned scheme does not need additional hardware devices, only needs to assist the hole-probing video frame image, and can realize the blade counting based on the gray change rule of the target region where the blade is located in the blade rotating process, so as to solve the counting error caused by manual counting and the low counting efficiency problem when the counting is assisted by the hardware device including the sensor.
[0112] The above-described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided in the drawings is not intended to limit the protection scope of the present application, but only represents selected embodiments of the present application. Based on this, the protection scope of the present application should be subject to the protection scope of the claims. In addition, based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
Claims
1. An aircraft engine blade counting method, characterized by, The method comprises: obtaining borescope video frames of an aero-engine; calculating average gray values of target regions where aero-engine blades are located in the borescope video frames; based on changes in the average gray values of the target regions in consecutive borescope video frames, counting the aero-engine blades; before the step of calculating the average gray values of the target regions where the aero-engine blades are located in the borescope video frames, the method further comprises a step of initializing a maximum gray value of the target regions and a minimum gray value of the target regions: selecting a video frame as a reference video frame in consecutive borescope video frames, and taking the next frame of the reference video frame as a current video frame; determining the target region of the aero-engine blades in the current video frame based on the reference video frame and the current video frame; calculating the average gray value of the target region in the current video frame, and storing the average gray value of the target region in the current video frame in a gray value list; detecting whether there are consecutive peak and valley changes in the average gray values in the gray value list, if there are consecutive peak and valley changes, it is determined that the average gray values in the gray value list meet the statistical requirements, if there are no consecutive peak and valley changes, it is determined that the average gray values in the gray value list do not meet the statistical requirements; if the statistical requirements are not met, updating the current video frame to the reference video frame, and repeating the above steps until the average gray values in the gray value list meet the statistical requirements; when the average gray values in the gray value list meet the statistical requirements, initializing the maximum average gray value in the gray value list as the maximum gray value of the target region, and initializing the minimum average gray value in the gray value list as the minimum gray value of the target region.
2. The aircraft engine blade counting method of claim 1, wherein, The step of counting the aero-engine blades based on changes in the average gray values of the target regions in consecutive borescope video frames comprises: comparing the average gray values of the target regions in consecutive borescope video frames with a first gray threshold value and a second gray threshold value respectively, wherein the first gray threshold value is greater than the second gray threshold value; when the average gray values of the target regions in consecutive borescope video frames change from being greater than the first gray threshold value to being less than the second gray threshold value, or when the average gray values of the target regions in consecutive borescope video frames change from being less than the second gray threshold value to being greater than the first gray threshold value, the number of aero-engine blades is increased or decreased by one.
3. The aircraft engine blade counting method of claim 2, wherein, The first gray threshold value is determined by the maximum gray value of the target regions in consecutive borescope video frames, and the second gray threshold value is determined by the minimum gray value of the target regions in consecutive borescope video frames.
4. The aircraft engine blade counting method of claim 3, wherein, The step of initializing the maximum gray value of the target regions and the minimum gray value of the target regions comprises: selecting a video frame as a reference video frame from the continuous hole-probe video frames, and setting a next frame of the reference video frame as a current video frame, and assigning a preset maximum gray scale value and a preset minimum gray scale value, wherein an initial assignment of the preset maximum gray scale value is less than an initial assignment of the preset minimum gray scale value; determining a target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame; calculating an average gray scale value of the target region in the current video frame, storing the average gray scale value of the target region in the current video frame in a gray scale value list, and assigning the average gray scale value of the target region in the current video frame to the preset maximum gray scale value or the preset minimum gray scale value; judging whether the average gray scale values in the gray scale value list meet statistical requirements; if the statistical requirements are not met, updating the current video frame as the reference video frame, and repeating the above steps until the average gray scale values in the gray scale value list meet the statistical requirements; when the average gray scale values in the gray scale value list meet the statistical requirements, initializing a current value of the preset maximum gray scale value as a maximum gray scale value of the target region, and initializing a current value of the preset minimum gray scale value as a minimum gray scale value of the target region.
5. The aircraft engine blade counting method of claim 1 or 4, wherein, The step of determining the target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame comprises: calculating a light flow vector of each point based on positions of the points in the reference video frame and the current video frame, and taking a maximum circumscribed rectangle region of a target point with a light flow vector greater than a preset light flow vector threshold as a region related to rotation of the blade; calculating a rotation direction of the aero-engine blade based on the light flow vector of the target point; determining a target rectangle with a width along the rotation direction of the aero-engine blade in the region related to rotation of the blade, and taking the target rectangle as the target region in the current video frame.
6. An aircraft engine blade counting device, characterized by, The device comprises: an acquisition module configured to acquire hole-probe video frames of an aero-engine; a calculation module configured to calculate an average gray scale value of a target region in which the aero-engine blade is located in the hole-probe video frames; a counting module configured to count blades of the aero-engine based on changes in the average gray scale values of the target region in the continuous hole-probe video frames. The computing module is further configured to initialize the maximum gray scale value of the target region and the minimum gray scale value of the target region, and specifically configured to select a video frame as a reference video frame in the continuous hole-probing video frames, and take the next frame of the reference video frame as a current video frame; determine the target region of the aero-engine blade in the current video frame based on the reference video frame and the current video frame; calculate the average gray scale value of the target region in the current video frame, and store the average gray scale value of the target region in the current video frame in a gray scale value list; detect whether the average gray scale values in the gray scale value list have continuous peak and valley changes, and if the average gray scale values in the gray scale value list have continuous peak and valley changes, it is determined that the average gray scale values in the gray scale value list meet the statistical requirements, and if the average gray scale values in the gray scale value list do not have continuous peak and valley changes, it is determined that the average gray scale values in the gray scale value list do not meet the statistical requirements; if the statistical requirements are not met, update the current video frame as the reference video frame, and repeat the above steps until the average gray scale values in the gray scale value list meet the statistical requirements; when the average gray scale values in the gray scale value list meet the statistical requirements, initialize the maximum average gray scale value in the gray scale value list as the maximum gray scale value of the target region, and initialize the minimum average gray scale value in the gray scale value list as the minimum gray scale value of the target region.
7. The aircraft engine blade counting device of claim 6, wherein, The counting module is specifically configured to: compare the average gray scale values of the target region in the continuous hole-probing video frames with a first gray scale threshold and a second gray scale threshold respectively, wherein the first gray scale threshold is greater than the second gray scale threshold; when the average gray scale values of the target region in the continuous hole-probing video frames change from being greater than the first gray scale threshold to being less than the second gray scale threshold, or when the average gray scale values of the target region in the continuous hole-probing video frames change from being less than the second gray scale threshold to being greater than the first gray scale threshold, add one or subtract one to the number of the aero-engine blades.
8. An electronic device, comprising: The electronic device includes a processor and a computer readable storage medium, the processor and the computer readable storage medium are connected through a bus system, the computer readable storage medium is used for storing programs, instructions or codes, and the processor is used for executing the programs, instructions or codes in the computer readable storage medium to realize the aero-engine blade counting method in any one of claims 1-5.
Citation Information
Patent Citations
Electric device for aircraft engine blade inspection and counting method thereof
CN112357113A
Aircraft target propeller blade number inversion method and target recognition method
CN113534093A