CN116310372A - Fuzzy image recognition method, device and equipment - Google Patents
Fuzzy image recognition method, device and equipment Download PDFInfo
- Publication number
- CN116310372A CN116310372A CN202111565980.6A CN202111565980A CN116310372A CN 116310372 A CN116310372 A CN 116310372A CN 202111565980 A CN202111565980 A CN 202111565980A CN 116310372 A CN116310372 A CN 116310372A
- Authority
- CN
- China
- Prior art keywords
- image
- fuzzy
- blade
- features
- lens
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/70—Wind energy
- Y02E10/72—Wind turbines with rotation axis in wind direction
Landscapes
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本申请属于图像处理技术领域,尤其涉及一种模糊图像识别方法、装置及设备。The present application belongs to the technical field of image processing, and in particular relates to a fuzzy image recognition method, device and equipment.
背景技术Background technique
风能作为一种清洁的可再生能源,风力发电在能源发展战略中起重要作用,风力发电主要是靠风力发电机将风能转化为电能。风力发电机的叶片在运行时,可能会遇到如断裂、裂纹、结冰等故障,在相关技术中,通常通过云台相机拍摄风力发电机的图像来检测风力发电机的叶片是否出现这些故障,然而云台相机拍摄时可能受其他因素影响导致拍摄得到的图像较为模糊,若基于这些模糊图像进行检测,往往会导致检测结果的准确性较低。As a clean renewable energy, wind power plays an important role in the energy development strategy. Wind power mainly relies on wind generators to convert wind energy into electrical energy. When the blades of the wind turbine are running, they may encounter failures such as fracture, crack, and icing. In related technologies, it is usually detected whether these failures occur on the blades of the wind turbine by taking images of the wind turbine with a pan-tilt camera. However, when the PTZ camera is shooting, it may be affected by other factors, resulting in blurred images. If the detection is based on these blurred images, the accuracy of the detection results will often be low.
发明内容Contents of the invention
本申请实施例提供一种模糊图像识别方法、装置及设备,以解决风力发电机的叶片故障检测的准确度较低的技术问题。Embodiments of the present application provide a fuzzy image recognition method, device, and equipment to solve the technical problem of low accuracy in wind turbine blade fault detection.
第一方面,本申请实施例提供一种模糊图像识别方法,方法包括:In the first aspect, the embodiment of the present application provides a fuzzy image recognition method, the method includes:
获取拍摄设备对风力发电机拍摄的图像;Obtain the image captured by the capture device on the wind turbine;
响应于所述图像中包括所述风力发电机的叶片,将所述图像输入至模糊识别模型,得到模糊识别结果,所述模糊识别结果用于指示所述图像是否为模糊图像;In response to the image including the blade of the wind power generator, input the image into a fuzzy recognition model to obtain a fuzzy recognition result, the fuzzy recognition result is used to indicate whether the image is a fuzzy image;
其中,所述模糊识别模型用于识别图像中的模糊因素,所述模糊因素包括:发光要素、镜头附加要素、叶片轮廓像素点。Wherein, the fuzzy recognition model is used to recognize fuzzy factors in the image, and the fuzzy factors include: luminous elements, lens additional elements, and blade outline pixels.
第二方面,本申请实施例提供了一种模糊图像识别装置,装置包括:In the second aspect, the embodiment of the present application provides a blurred image recognition device, which includes:
获取模块,用于获取拍摄设备对风力发电机拍摄的图像;The obtaining module is used to obtain the image taken by the shooting device to the wind turbine;
识别模块,用于响应于所述图像中包括所述风力发电机的叶片,将所述图像输入至模糊识别模型,得到模糊识别结果,所述模糊识别结果用于指示所述图像是否为模糊图像;A recognition module, configured to input the image into a fuzzy recognition model in response to the image including the blade of the wind turbine, and obtain a fuzzy recognition result, the fuzzy recognition result being used to indicate whether the image is a fuzzy image ;
其中,所述模糊识别模型用于识别图像中的模糊因素,所述模糊因素包括:发光要素、镜头附加要素、叶片轮廓像素点。Wherein, the fuzzy recognition model is used to recognize fuzzy factors in the image, and the fuzzy factors include: luminous elements, lens additional elements, and blade outline pixels.
第三方面,本申请实施例提供了一种电子设备,设备包括:In a third aspect, an embodiment of the present application provides an electronic device, including:
处理器以及存储有程序指令的存储器;a processor and a memory storing program instructions;
所述处理器执行所述程序指令时实现上述的方法。The above method is implemented when the processor executes the program instructions.
第四方面,本申请实施例提供了一种存储介质,所述存储介质上存储有程序指令,所述程序指令被处理器执行时实现上述的方法。In a fourth aspect, an embodiment of the present application provides a storage medium, where program instructions are stored on the storage medium, and the above method is implemented when the program instructions are executed by a processor.
第五方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备执行上述方法。In a fifth aspect, an embodiment of the present application provides a computer program product, where instructions in the computer program product are executed by a processor of an electronic device, causing the electronic device to execute the foregoing method.
本申请实施例的模糊图像识别方法、装置及设备,能够获取拍摄设备对风力发电机拍摄的图像;响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型,得到模糊识别结果,模糊识别结果用于指示图像是否为模糊图像;其中,模糊识别模型用于识别图像中的模糊因素,模糊因素包括:发光要素、镜头附加要素、叶片轮廓像素点。这样,可以先识别图像中是否包括叶片,若图像中包括风力发电机的叶片,则基于模糊识别模型识别图像中的模糊因素,进而根据模糊识别结果判断图像是否为模糊图像,有效避免了采用模糊图像对风力发电机的叶片的故障情况进行检测,从而提高了对风力发电机的叶片故障检测的准确度。The fuzzy image recognition method, device, and device of the embodiments of the present application can acquire the image taken by the shooting device of the wind power generator; in response to the blade of the wind power generator included in the image, input the image into the fuzzy recognition model to obtain the fuzzy recognition result, The fuzzy recognition result is used to indicate whether the image is a fuzzy image; wherein, the fuzzy recognition model is used to recognize the fuzzy factors in the image, and the fuzzy factors include: luminous elements, lens additional elements, and blade outline pixels. In this way, it is possible to first identify whether the image includes blades, and if the image includes blades of wind turbines, the fuzzy factors in the image are identified based on the fuzzy recognition model, and then it is judged whether the image is a fuzzy image according to the fuzzy recognition results, effectively avoiding the use of fuzzy The image detects the fault condition of the blade of the wind power generator, thereby improving the accuracy of detecting the fault of the blade of the wind power generator.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments of the present application. Additional figures can be derived from these figures.
图1是本申请一个实施例提供的模糊图像识别方法的流程示意图;Fig. 1 is a schematic flow chart of a fuzzy image recognition method provided by an embodiment of the present application;
图2是模糊图像识别方法的工作逻辑的示意图;Fig. 2 is a schematic diagram of the working logic of the fuzzy image recognition method;
图3是模糊识别模型的网络结构示例图;Fig. 3 is an example diagram of the network structure of the fuzzy recognition model;
图4是模糊识别模型提取语义特征的原理图;Fig. 4 is a schematic diagram of fuzzy recognition model extracting semantic features;
图5是基于模糊识别模型获取叶片面积的处理流程图;Fig. 5 is the processing flowchart of obtaining blade area based on fuzzy recognition model;
图6是本申请另一个实施例提供的模糊图像识别装置的结构示意图;Fig. 6 is a schematic structural diagram of a blurred image recognition device provided by another embodiment of the present application;
图7是本申请又一个实施例提供的电子设备的结构示意图。Fig. 7 is a schematic structural diagram of an electronic device provided by another embodiment of the present application.
具体实施方式Detailed ways
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本申请,而不是限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The characteristics and exemplary embodiments of various aspects of the application will be described in detail below. In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only intended to explain the present application rather than limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the statement "comprising..." does not exclude the presence of additional same elements in the process, method, article or device comprising said element.
为了解决现有技术问题,本申请实施例提供了一种模糊图像识别方法、装置、设备及计算机存储介质。下面首先对本申请实施例所提供的模糊图像识别方法进行介绍。In order to solve the problems in the prior art, the embodiments of the present application provide a fuzzy image recognition method, device, equipment and computer storage medium. The blurred image recognition method provided by the embodiment of the present application is firstly introduced below.
图1示出了本申请一个实施例提供的模糊图像识别方法的流程示意图。如图1所示,该模糊化图像识别方法可以包括如下步骤:Fig. 1 shows a schematic flowchart of a blurred image recognition method provided by an embodiment of the present application. As shown in Figure 1, the fuzzy image recognition method may include the following steps:
步骤101,获取拍摄设备对风力发电机拍摄的图像;
步骤102,响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型,得到模糊识别结果,模糊识别结果用于指示图像是否为模糊图像;
其中,模糊识别模型用于识别图像中的模糊因素,模糊因素包括:发光要素、镜头附加要素、叶片轮廓像素点。Among them, the fuzzy recognition model is used to identify the fuzzy factors in the image, and the fuzzy factors include: luminous elements, lens additional elements, and blade outline pixels.
上述各个步骤的具体实现方式将在下文中进行详细描述。The specific implementation of the above steps will be described in detail below.
在本申请实施例中,模糊图像识别方法能够获取拍摄设备对风力发电机拍摄的图像;响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型,得到模糊识别结果,模糊识别结果用于指示图像是否为模糊图像;其中,模糊识别模型用于识别图像中的模糊因素,模糊因素包括:发光要素、镜头附加要素、叶片轮廓像素点。这样,可以先识别图像中是否包括叶片,若图像中包括风力发电机的叶片,则基于模糊识别模型识别图像中的模糊因素,进而根据模糊识别结果判断图像是否为模糊图像,有效避免了采用模糊图像对风力发电机的叶片的故障情况进行检测,从而提高了对风力发电机的叶片故障检测的准确度。In the embodiment of the present application, the fuzzy image recognition method can obtain the image taken by the shooting device of the wind turbine; in response to the blade of the wind turbine included in the image, the image is input into the fuzzy recognition model to obtain the fuzzy recognition result, the fuzzy recognition result It is used to indicate whether the image is a blurred image; wherein, the blur identification model is used to identify blur factors in the image, and the blur factors include: luminous elements, lens additional elements, and blade outline pixels. In this way, it is possible to first identify whether the image includes blades, and if the image includes blades of wind turbines, the fuzzy factors in the image are identified based on the fuzzy recognition model, and then it is judged whether the image is a fuzzy image according to the fuzzy recognition results, effectively avoiding the use of fuzzy The image detects the fault condition of the blade of the wind power generator, thereby improving the accuracy of detecting the fault of the blade of the wind power generator.
下面介绍上述各个步骤的具体实现方式。The specific implementation of each of the above steps is introduced below.
在步骤101中,图像可以是通过云台相机或者摄像头等拍摄设备对风力发电机进行拍摄得到。In
示例地,在风力发电机工作过程中,云台相机可以持续或每间隔预设时间段对风力发电机进行视频录制,图像可以是在该视频中提取的视频帧。也可以是通过云台相机按照预设频率,对风力发电机进行拍摄得到的图像。For example, during the working process of the wind turbine, the pan/tilt camera may record the video of the wind turbine continuously or every preset time period, and the images may be video frames extracted from the video. It may also be an image obtained by shooting the wind turbine at a preset frequency through a pan-tilt camera.
在步骤102中,获取到图像后,可以判断图像中是否包括风力发电机的叶片,示例地,可以将图像输入至预先训练得到的叶片检测模型中,得到叶片检测结果,叶片检测结果可以指示图像中是否包括风力发电机的叶片。其中叶片检测模型具体可以是目标检测模型或者图像分类模型等,可以使用包括叶片的样本图像与不包括叶片的样本图像对其训练得到。In
响应于图像中包括风力发电机的叶片,可以将该图像输入至模糊识别模型中,得到模糊识别结果,模糊识别结果可以用于指示图像是否为模糊图像。模糊识别模型具体也可以是目标检测模型或者图像分类模型等,模糊识别模型可以用于识别图像中的模糊因素。In response to the image including blades of the wind power generator, the image may be input into a fuzzy recognition model to obtain a fuzzy recognition result, and the fuzzy recognition result may be used to indicate whether the image is a fuzzy image. Specifically, the fuzzy recognition model may also be a target detection model or an image classification model, etc., and the fuzzy recognition model may be used to recognize fuzzy factors in an image.
其中,图像中的模糊因素可以包括发光要素、镜头附加要素和叶片轮廓像素点。发光要素可以是指光源、太阳等发光体,换而言之,模糊识别模型可以用于识别图像中是否存在光源、太阳等发光体,响应于图像中存在光源、太阳等发光体,可以认为该图像是在背光的环境下拍摄得到的背光图像,即模糊识别结果可以指示图像为模糊图像。镜头附加要素可以是镜头附着物,换而言之,模糊识别模型可以用于识别图像中是否存在水滴、污渍等镜头附着物,响应于图像中存在镜头附着物,可以认为云台相机在拍摄该图像时,镜头上存在水滴或污渍等附着物,即拍摄时镜头不清晰,此时模糊识别结果可以指示图像为模糊图像。叶片轮廓像素点则可以根据现有的边缘提取算法进行提取,模糊识别模型可以用于识别图像中由叶片轮廓像素点构成的叶片轮廓是否明显,若叶片轮廓像素点的数量较少,则构成的叶片轮廓不明显,可以认为该图像可能是由于对焦错误等原因导致图像的分辨率较差,此时模糊识别结果也可以指示图像为模糊图像。Wherein, the fuzzy factors in the image may include luminous elements, lens additional elements and blade outline pixels. The luminous elements can refer to light sources, the sun and other luminous bodies. In other words, the fuzzy recognition model can be used to identify whether there are light sources, the sun and other luminous bodies in the image. In response to the existence of light sources, the sun and other luminous bodies in the image, the The image is a backlight image taken in a backlight environment, that is, the blur recognition result may indicate that the image is a blur image. The additional elements of the lens can be lens attachments. In other words, the fuzzy recognition model can be used to identify whether there are lens attachments such as water droplets and stains in the image. In response to the presence of lens attachments in the image, it can be considered that the PTZ camera is shooting the When the image is taken, there are attachments such as water droplets or stains on the lens, that is, the lens is not clear when shooting. At this time, the blur recognition result can indicate that the image is a blur image. The leaf contour pixels can be extracted according to the existing edge extraction algorithm. The fuzzy recognition model can be used to identify whether the leaf contour formed by the leaf contour pixels in the image is obvious. If the number of leaf contour pixels is small, the formed If the outline of the leaf is not obvious, it can be considered that the image may have poor resolution due to reasons such as focusing errors. At this time, the blurred recognition result can also indicate that the image is a blurred image.
示例地,图像输入至模糊识别模型中,模糊识别模型可以识别图像中发光要素、镜头附加要素和叶片轮廓像素点的模糊因素,响应于图像中存在模糊因素,可以认为该图像为模糊图像,响应于图像中不存在模糊因素,可以认为该图像不为模糊图像,即该图像为清晰图像,该图像可以用于后续的叶片故障检测。For example, the image is input into the fuzzy recognition model, and the fuzzy recognition model can recognize the fuzzy factors of the luminescent elements, lens additional elements and blade outline pixels in the image. In response to the fuzzy factors in the image, the image can be considered as a fuzzy image, and the response Since there is no fuzzy factor in the image, it can be considered that the image is not a blurred image, that is, the image is a clear image, and the image can be used for subsequent blade fault detection.
在一些示例中,模糊识别模型的相关算法可以采用基于Region Proposal网络的R-CNN系算法,例如R-CNN、Fast R-CNN或者Faster R-CNN,这些算法均可以称为二级目标检测(two-stage)算法,其特点是需要先使用启发式方法(selective search)或者CNN网络(RPN)产生候选框(Region Proposal),然后再在Region Proposal上做分类与回归。In some examples, the related algorithm of the fuzzy recognition model can adopt the R-CNN algorithm based on the Region Proposal network, such as R-CNN, Fast R-CNN or Faster R-CNN, and these algorithms can be called secondary target detection ( Two-stage) algorithm, which is characterized by the need to use a heuristic method (selective search) or a CNN network (RPN) to generate a candidate frame (Region Proposal), and then perform classification and regression on the Region Proposal.
模糊识别模型的相关算法也可以采用Yolo或者SSD的一级目标检测(one-stage)算法,其仅仅使用一个CNN网络直接预测不同目标的类别与位置。The relevant algorithm of the fuzzy recognition model can also use the one-stage target detection (one-stage) algorithm of Yolo or SSD, which only uses a CNN network to directly predict the categories and positions of different targets.
two-stage算法的检测结果的准确度相对较高,one-stage算法的运算速度相对较快,对运算资源的要求较低。在本申请实施例中,由于风力发电机通常布设在偏远地区,往往难以通过联网获取运算资源,因此,采用Yolo等one-stage算法可以在较快地检测到图像是否模糊。The accuracy of the detection results of the two-stage algorithm is relatively high, and the operation speed of the one-stage algorithm is relatively fast, and the requirements for computing resources are relatively low. In the embodiment of this application, since wind power generators are usually deployed in remote areas, it is often difficult to obtain computing resources through the Internet. Therefore, using one-stage algorithms such as Yolo can quickly detect whether the image is blurred.
在一些可行的实施方式中,在运算资源充足的情况下,上述模糊识别模型也可以使用two-stage算法,以提高模糊图像识别结果的准确度,从而提高了对风力发电机的叶片故障检测的准确度。In some feasible implementations, in the case of sufficient computing resources, the above-mentioned fuzzy recognition model can also use a two-stage algorithm to improve the accuracy of fuzzy image recognition results, thereby improving the accuracy of wind turbine blade fault detection. Accuracy.
如图2所示,图2是模糊图像识别方法的工作逻辑的示意图,其中模糊图像识别方法的工作逻辑可以如下:As shown in Figure 2, Figure 2 is a schematic diagram of the working logic of the fuzzy image recognition method, wherein the working logic of the fuzzy image recognition method can be as follows:
步骤201,获取图像,示例地,图像可以是云台相机等拍摄设备对风力发电机进行拍摄得到。
步骤202,获取到图像后,检测图像中是否包括叶片,若是,则执行步骤203,若否,则执行步骤207。
步骤203,识别图像中的发光要素和镜头附加要素的模糊因素。
步骤204,检测图像中是否包括发光要素和镜头附加要素中的至少一者,若是,则执行步骤207,若否,则执行步骤205。
步骤205,识别图像中的叶片轮廓像素点的模糊因素。
步骤206,判断图像中的叶片面积与叶片轮廓像素点的关系满足预设轮廓条件,若是,则执行步骤207,若否,则执行步骤208。
步骤207,确定图像为模糊图像。
步骤208,确定图像不为模糊图像。
示例地,结合图2,在一些实施例中,上述步骤102可以具体执行如下步骤:For example, referring to FIG. 2, in some embodiments, the
响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型,识别图像中是否包括发光要素和镜头附加要素中的至少一者;Responsive to the image including blades of wind turbines, inputting the image into a fuzzy identification model to identify whether at least one of the luminous element and the lens additional element is included in the image;
响应于图像中包括发光要素和镜头附加要素中的至少一者,将图像确定为模糊图像;Determining the image as a blurred image in response to the image including at least one of a luminous element and a lens additional element;
响应于图像中不包括发光要素和镜头附加要素这两者,获取图像中的叶片面积和叶片轮廓像素点;Responding to the fact that the image does not include both the luminous element and the lens additional element, obtain the blade area and the blade outline pixel points in the image;
在叶片面积与叶片轮廓像素点的关系满足预设轮廓条件的情况下,将图像确定为模糊图像。The image is determined as a blurred image when the relationship between the area of the blade and the pixel points of the blade contour satisfies a preset contour condition.
在本申请实施例中,响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型后,可以先识别图像中是否包括发光要素和镜头附加要素中的至少一者,若图像中包括发光要素和镜头附加要素中的至少一者,即可以认为该图像为背光环境下拍摄的图像,或者拍摄该图像时镜头上存在水滴、污渍等附着物,此时可以直接将图像确定为模糊图像。In the embodiment of the present application, in response to the blades of wind power generators included in the image, after inputting the image into the fuzzy recognition model, it may first identify whether the image includes at least one of the luminous element and the lens additional element, if the image includes At least one of the luminescent element and the additional element of the lens, that is, the image can be considered to be an image taken under a backlight environment, or there are water droplets, stains and other attachments on the lens when the image is taken, and the image can be directly determined as a blurred image .
若图像中不包括发光要素和镜头附加要素这两者,则可以认为该图像不是在背光环境下拍摄的图像,并且拍摄该图像时镜头上是干净的,不存在水滴、污渍等附着物,此时可以获取图像中的叶片面积和叶片轮廓像素点,以判断图像是否存在分辨率较差的情况。其中,图像中的叶片面积可以是基于模糊识别模型识别得到,也可以是基于现有图像中的目标对象面积计算算法得到。叶片轮廓像素点可以是基于现有的边缘提取算法得到。If the image does not include both the luminous element and the additional element of the lens, it can be considered that the image is not an image taken under a backlight environment, and the lens is clean when the image is taken, and there are no water droplets, stains and other attachments. The leaf area and leaf outline pixels in the image can be obtained to determine whether the image has poor resolution. Wherein, the leaf area in the image may be obtained based on a fuzzy recognition model, or may be obtained based on an algorithm for calculating the area of a target object in an existing image. The blade outline pixel points can be obtained based on the existing edge extraction algorithm.
获取到图像中的叶片面积和叶片轮廓像素点后,可以判断叶片面积与叶片轮廓像素点的关系是否满足预设轮廓条件。例如可以根据叶片轮廓像素点构建成的轮廓与叶片面积进行匹配,若不匹配,则可以认为叶片面积与叶片轮廓像素点的关系满足预设轮廓条件。又例如,可以根据叶片轮廓像素点的数量与叶片面积进行对比,若叶片轮廓像素点的数量与叶片面积的比值满足一定阈值,则可以认为叶片面积与叶片轮廓像素点的关系满足预设轮廓条件。可以理解的是,具体的预设轮廓条件可以根据实际情况进行设定,此处不作具体限定。After obtaining the leaf area and leaf contour pixel points in the image, it can be judged whether the relationship between the leaf area and the leaf contour pixel points satisfies the preset contour condition. For example, the contour constructed based on the blade contour pixels can be matched with the blade area, and if there is no match, it can be considered that the relationship between the blade area and the blade contour pixels satisfies the preset contour condition. For another example, the number of leaf contour pixels can be compared with the leaf area. If the ratio of the number of leaf contour pixels to the leaf area satisfies a certain threshold, it can be considered that the relationship between the leaf area and the leaf contour pixels satisfies the preset contour condition . It can be understood that specific preset contour conditions can be set according to actual conditions, and are not specifically limited here.
若叶片面积与叶片轮廓像素点的关系满足预设轮廓条件,则可以认为图像可能是由于对焦错误等原因导致图像的分辨率较差,此时可以将图像确定为模糊图像。若叶片面积与叶片轮廓像素点的关系不满足预设轮廓条件,则可以认为图像的分辨率较好,此时可以将图像确定为清晰图像。If the relationship between the leaf area and the pixel points of the leaf contour satisfies the preset contour condition, it can be considered that the image may have poor resolution due to reasons such as focusing errors, and the image can be determined to be a blurred image at this time. If the relationship between the leaf area and the pixel points of the leaf contour does not satisfy the preset contour condition, it can be considered that the resolution of the image is better, and the image can be determined as a clear image at this time.
在本申请实施例中,可以先识别图像中发光要素和镜头附加要素的模糊因素,若图像中包括发光要素和镜头附加要素中的至少一者,则可以直接将图像确定为模糊图像,若图像中不包括发光要素和镜头附加要素这两者,再识别叶片轮廓像素点的模糊因素,这样可以有效减少计算量,从而节约了算力资源,并且提高了模糊图像识别的速率。In the embodiment of the present application, the blur factors of the luminous elements and lens additional elements in the image can be identified first. If the image includes at least one of the luminous elements and lens additional elements, the image can be directly determined as a blurred image. If the image The luminous element and the additional element of the lens are not included in the method, and then the blurring factors of the blade outline pixels are identified, which can effectively reduce the amount of calculation, thereby saving computing power resources, and improving the speed of blurred image recognition.
示例地,结合图2,在一些实施例中,上述步骤101之后,模糊图像识别方法还可以包括如下步骤:For example, referring to FIG. 2 , in some embodiments, after the
响应于图像中不包括风力发电机的叶片,将图像确定为模糊图像。In response to the blades of the wind turbine not being included in the image, the image is determined to be a blurred image.
在本申请实施例中,获取到图像后,可以检测图像中是否包括风力发电机的叶片。正常情况下,由于图像是基于云台相机等拍摄设备对风力发电机的叶片进行拍摄得到的,因此图像中包括风力发电机的叶片。但是若拍摄时正处于夜晚、风雪或大雾等环境下时,图像中可能不会有较为明显的叶片特征。基于此,若图像中不包括风力发电机的叶片,则可以认为该图像可能是在夜晚、风雪或大雾等环境下拍摄得到,此时可以将图像确定为模糊图像,不可用于后续的叶片故障检测。In the embodiment of the present application, after the image is acquired, it may be detected whether the image includes blades of the wind power generator. Under normal circumstances, since the image is obtained by taking pictures of the blades of the wind turbine based on a shooting device such as a pan-tilt camera, the image includes the blades of the wind turbine. However, if the image is taken at night, in a snowstorm or in heavy fog, there may not be more obvious leaf features in the image. Based on this, if the image does not include the blades of the wind turbine, it can be considered that the image may be taken at night, in a snowstorm, or in heavy fog. At this time, the image can be determined as a blurred image and cannot be used for subsequent Blade failure detection.
在一些实施例中,预设轮廓条件可以为叶片面积与叶片轮廓像素点的数量的平方的关系满足预设阈值。In some embodiments, the preset contour condition may be that the relationship between the blade area and the square of the number of blade contour pixel points satisfies a preset threshold.
可以理解的是,针对对焦错误的图像,由于图像的分辨率较差,风力发电机的叶片的轮廓相对于清晰图像而言较为不明显,因此使用图像处理领域中的边缘提取算法提取叶片轮廓像素点时,得到的叶片轮廓像素点的数量会更少,甚至造成轮廓中断的情况。It can be understood that for the image with wrong focus, due to the poor resolution of the image, the outline of the blade of the wind turbine is less obvious than the clear image, so the edge extraction algorithm in the image processing field is used to extract the blade outline pixels When pointing, the number of obtained blade outline pixels will be less, and even cause the outline to be interrupted.
还可以理解的是,在图像的清晰程度不变的情况下,叶片轮廓长度的平方与叶片面积成正比,基于此,为了简化模糊图像识别过程,从而节约算力资源、提高识别速率,可以根据叶片面积与轮廓像素点的数量平方的关系,判断图像的模糊程度。换而言之,预设轮廓条件可以为叶片面积与叶片轮廓像素点的数量的平方的关系满足预设阈值。It can also be understood that the square of the leaf contour length is proportional to the leaf area when the clarity of the image remains unchanged. Based on this, in order to simplify the fuzzy image recognition process, thereby saving computing power resources and improving the recognition rate, it can be based on The relationship between the leaf area and the square of the number of contour pixels is used to judge the blurring degree of the image. In other words, the preset contour condition may be that the relationship between the area of the blade and the square of the number of pixel points of the blade contour satisfies a preset threshold.
示例地,若叶片面积与叶片轮廓像素点的数量的平方的比值大于或等于预设阈值,则可以认为提取到的叶片轮廓像素点的数量较少,即图像的分辨率较差,可以将图像确定为模糊图像。其中叶片轮廓像素点的数量可以是指叶片长度方向的轮廓像素点的数量。For example, if the ratio of the leaf area to the square of the number of leaf contour pixels is greater than or equal to a preset threshold, it can be considered that the number of extracted leaf contour pixels is small, that is, the resolution of the image is poor, and the image can be Determined as blurry image. The number of blade contour pixel points may refer to the number of contour pixel points in the blade length direction.
可以理解的是,预设阈值可以结合实际情况根据经验值设定,也可以是基于多个模糊图像样本和多个清晰图像样本计算得到。例如,预设阈值可以为15.3,即若图像中叶片面积与叶片轮廓像素点的数量的平方的比值大于或等于15.3,则可以认为图像为模糊图像,若图像中叶片面积与叶片轮廓像素点的数量的平方的比值小于15.3,则可以认为图像为清晰图像。It can be understood that the preset threshold can be set based on empirical values in combination with actual conditions, or can be calculated based on multiple blurred image samples and multiple clear image samples. For example, the preset threshold can be 15.3, that is, if the ratio of the square of the leaf area in the image to the number of leaf contour pixels is greater than or equal to 15.3, the image can be considered as a blurred image, and if the ratio of the leaf area to the leaf contour pixels in the image If the ratio of the square of the number is less than 15.3, the image can be considered as a clear image.
在一些实施例中,上述识别图像中是否包括发光要素和镜头附加要素中的至少一者,可以具体执行如下步骤:In some embodiments, the above identification of whether the image includes at least one of the luminescent element and the lens additional element may specifically perform the following steps:
将图像输入到模糊识别模型中的特征提取网络,通过特征提取网络提取图像中的特征,得到图像中的边缘特征和色彩特征;Input the image into the feature extraction network in the fuzzy recognition model, extract the features in the image through the feature extraction network, and obtain the edge features and color features in the image;
通过模糊识别模型中的路径聚合网络,对边缘特征和色彩特征进行特征组合,得到图像中的语义特征;Through the path aggregation network in the fuzzy recognition model, the edge features and color features are combined to obtain the semantic features in the image;
基于图像中的语义特征,识别图像中是否包括发光要素和镜头附加要素中的至少一者。Based on the semantic feature in the image, it is identified whether the image includes at least one of the lighting element and the lens additional element.
如图3所示,该具体应用例中,模糊识别模型可以采用Yolo网络,其具体可以包括特征提取网络、路径聚合网络以及输出网络,其中:特征提取网络可以是BackBone,其可以用于提取粗略特征;路径聚合网络可以是PANet,其可以用于提取多尺度的详细特征,以及相关特征的融合;输出网络可以记为Output,其主要作用为整理输出格式。As shown in Figure 3, in this specific application example, the fuzzy recognition model can use the Yolo network, which can specifically include a feature extraction network, a path aggregation network, and an output network, wherein: the feature extraction network can be BackBone, which can be used to extract rough Features; the path aggregation network can be PANet, which can be used to extract multi-scale detailed features, and the fusion of related features; the output network can be recorded as Output, and its main function is to organize the output format.
如图4所示,将图像输入到模糊识别模型中后,BackBone可以针对该图像逐层提取底层特征,例如边缘特征、色彩特征等,其中边缘特征可以包括轮廓和形状等,色彩特征可以包括颜色。示例地,As shown in Figure 4, after the image is input into the fuzzy recognition model, BackBone can extract the underlying features layer by layer for the image, such as edge features, color features, etc., where edge features can include contours and shapes, etc., and color features can include color . Exemplarily,
PANet可以基于BackBone提取到的边缘特征、色彩特征等,进行进一步特征提取,得到“颜色为灰色或黑色或白色”、“轮廓明显或不明显”和“形状呈较大翅膀形”等特征。PANet还可以对这些特征进行进一步的特征组合,得到图像中的语义特征,例如“裂纹”、“叶片”、“污渍”、“云朵”等。PANet can perform further feature extraction based on the edge features and color features extracted by BackBone, and obtain features such as "the color is gray or black or white", "the outline is obvious or not", and "the shape is in the shape of a larger wing". PANet can further combine these features to obtain semantic features in the image, such as "crack", "leaf", "stain", "cloud" and so on.
图像中的语义特征通常与图像中所包括的对象对应,可以通过图像中的语义特征识别图像中是否包括发光要素和镜头附加要素中的至少一者。例如,图像中的语义特征指示图像中包括太阳、光源等发光体,则可以认为图像中包括发光要素,此时可以认为该图像是在背光的环境下拍摄得到,为模糊图像,不可用于后续的叶片故障检测。又例如,图像中的语义特征指示图像中包括镜头附着物,此时可以认为图像中包括镜头附加要素,此时可以认为云台相机在拍摄该图像时,镜头上存在水滴或污渍等附着物,即拍摄时镜头不清晰,拍摄得到的图像为模糊图像,不可用于后续的叶片故障检测。The semantic features in the image usually correspond to the objects included in the image, and whether at least one of the luminescent element and the lens additional element is included in the image can be identified through the semantic feature in the image. For example, if the semantic features in the image indicate that the image includes illuminants such as the sun and light sources, it can be considered that the image includes luminous elements. At this time, the image can be considered to be taken in a backlit environment, which is a blurred image and cannot be used for subsequent blade fault detection. For another example, the semantic features in the image indicate that the image includes lens attachments. At this time, it can be considered that the image includes additional elements of the lens. At this time, it can be considered that when the pan-tilt camera captures the image, there are attachments such as water droplets or stains on the lens. That is, the lens is not clear when shooting, and the captured image is a blurred image, which cannot be used for subsequent blade fault detection.
Output可以基于图像中的语义特征直接输出图像中所包括的对象,也可以直接输出图像中是否包括发光要素和镜头附加要素中的至少一者的识别结果。Output can directly output the objects included in the image based on the semantic features in the image, and can also directly output the recognition result of whether at least one of the luminous element and the additional element of the lens is included in the image.
在一些示例中,检测图像中是否包括风力发电机的叶片,也可以是基于Yolo网络进行检测,示例地,BackBone可以提取图像中的边缘特征、色彩特征等。PANet可以基于BackBone提取到的边缘特征、色彩特征等,进行进一步特征提取和特征组合,得到图像中的语义特征。若图像中的语义特征包括“叶片”,则可以认为图像中包括风力发电机的叶片。In some examples, the detection of whether the image includes blades of wind turbines can also be performed based on the Yolo network. For example, BackBone can extract edge features, color features, etc. in the image. PANet can perform further feature extraction and feature combination based on the edge features and color features extracted by BackBone to obtain the semantic features in the image. If the semantic features in the image include "blades", it can be considered that the image includes blades of wind turbines.
在一些实施例中,获取图像中的叶片面积,可以包括如下步骤:In some embodiments, obtaining the leaf area in the image may include the following steps:
通过模糊识别模型中的路径聚合网络对边缘特征和色彩特征进行特征组合,得到叶片对应的语义特征和位置特征;Through the path aggregation network in the fuzzy recognition model, the edge features and color features are combined to obtain the semantic features and position features corresponding to the leaves;
根据叶片对应的语义特征和位置特征,获取图像中的叶片面积。According to the semantic feature and position feature corresponding to the leaf, the area of the leaf in the image is obtained.
一般来说,在Yolo网络中,通常还存在上采样的过程,也就是将提取的特征图填充到输入图像的分辨率大小。在本申请实施例中,PANet在提取到叶片对应的语义特征后,可以通过上采样,来确定叶片的位置特征,并进行语义特征与位置特征的融合,从而可以得到图像中的叶片面积。Output还可以输出该图像中的叶片面积。Generally speaking, in the Yolo network, there is usually an upsampling process, that is, filling the extracted feature map to the resolution of the input image. In the embodiment of the present application, after extracting the semantic features corresponding to the leaves, PANet can determine the position features of the leaves through upsampling, and perform fusion of the semantic features and position features, so as to obtain the leaf area in the image. Output can also output the leaf area in this image.
如图5所示,特征提取网络可以从图像中提取第一特征图。结合一个举例,图像的像素大小可以为8×8,特征提取网络可以对图像进行卷积运算,得到第一特征图,此时第一特征图可以判别出图像中有物体。As shown in Figure 5, the feature extraction network can extract the first feature map from the image. As an example, the pixel size of an image can be 8×8, and the feature extraction network can perform convolution operations on the image to obtain the first feature map. At this time, the first feature map can identify objects in the image.
路径聚合网络对第一特征图进行进一步特征提取和特征组合,可以得到4×4的第二特征图,此时第二特征图可以判别出图像中有大型灰色物体。The path aggregation network performs further feature extraction and feature combination on the first feature map to obtain a 4×4 second feature map. At this time, the second feature map can identify large gray objects in the image.
路径聚合网络可以进一步对第二特征图进行特征提取,得到2×2的第三特征图,该第三特征图中可以包括叶片对应的语义特征,即可以用于判别图像中有叶片。The path aggregation network can further perform feature extraction on the second feature map to obtain a 2×2 third feature map. The third feature map can include semantic features corresponding to leaves, that is, it can be used to identify leaves in the image.
随后路径聚合网络可以基于第二特征图与第三特征图进行上采样,得到判别出叶片大致范围的第四特征图,例如第四特征图可以指示图像中的中下区域有叶片。示例地,路径聚合网络可以对2×2的第三特征图进行填充,得到4×4的特征图,并与4×4的第二特征图进行融合,得到大小为4×4的判别出叶片大致范围的第四特征图。Then the path aggregation network can perform upsampling based on the second feature map and the third feature map to obtain a fourth feature map that identifies the approximate range of leaves. For example, the fourth feature map can indicate that there are leaves in the middle and lower regions of the image. For example, the path aggregation network can fill the third feature map of 2×2 to obtain a 4×4 feature map, and fuse it with the second feature map of 4×4 to obtain a discriminative leaf with a size of 4×4 A fourth feature map of the approximate range.
第四特征图中可以认为包括了叶片的位置特征,此时的位置特征精度相对较低。It can be considered that the fourth feature map includes the position feature of the blade, and the accuracy of the position feature at this time is relatively low.
路径聚合网络进一步将第四特征图进行上采样,得到与第一特征图大小相等的特征图后,与第一特征图进行融合,因为第一特征图的像素大小可以为8×8,即与原始图像的像素大小相等,此时可以根据第一特征图和图四特征图融合后得到的第五特征图判别出叶片在图像中的面积占比。例如,第五特征图可以指示图像中的中下区域有面积占比为20%的叶片。The path aggregation network further upsamples the fourth feature map, and after obtaining a feature map with the same size as the first feature map, it is fused with the first feature map, because the pixel size of the first feature map can be 8×8, that is, with The pixel size of the original image is equal. At this time, the area ratio of the leaves in the image can be determined according to the fifth feature map obtained after the fusion of the first feature map and the feature map in Figure 4. For example, the fifth feature map may indicate that there are leaves with an area ratio of 20% in the middle and lower regions of the image.
进一步地,路径聚合网络可以将第五特征图与原始图像进行融合,得能够判别出叶片的精确定位的第六特征图。Further, the path aggregation network can fuse the fifth feature map with the original image to obtain a sixth feature map that can identify the precise location of the leaf.
在本申请实施例中,可以基于模糊识别模型获取图像中的叶片面积。示例地,可以通过模糊识别模型中的路径聚合网络对边缘特征和色彩特征进行特征组合,得到叶片对应的语义特征,然后再通过上采样融合得到叶片的位置特征,进而根据叶片对应的语义特征和位置特征,获取图像中的叶片面积。In the embodiment of the present application, the leaf area in the image may be acquired based on a fuzzy identification model. For example, the edge feature and color feature can be combined through the path aggregation network in the fuzzy recognition model to obtain the semantic feature corresponding to the leaf, and then the position feature of the leaf can be obtained through upsampling fusion, and then according to the semantic feature corresponding to the leaf and Position feature, get the leaf area in the image.
图6示出了本申请另一个实施例提供的模糊图像识别装置的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分。FIG. 6 shows a schematic structural diagram of a blurred image recognition device provided by another embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
参照图6,模糊图像识别装置600可以包括:Referring to FIG. 6, the blurred
获取模块601,用于获取拍摄设备对风力发电机拍摄的图像;An
识别模块602,用于响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型,得到模糊识别结果,模糊识别结果用于指示图像是否为模糊图像;The
其中,模糊识别模型用于识别图像中的模糊因素,模糊因素包括:发光要素、镜头附加要素、叶片轮廓像素点。Among them, the fuzzy recognition model is used to identify the fuzzy factors in the image, and the fuzzy factors include: luminous elements, lens additional elements, and blade outline pixels.
在一些实施例中,上述识别模块602,可以包括In some embodiments, the
识别单元,用于响应于图像中包括风力发电机的叶片,将图像输入至模糊识别模型,识别图像中是否包括发光要素和镜头附加要素中的至少一者;The identification unit is used to input the image into the fuzzy identification model in response to the image including the blade of the wind turbine, and identify whether the image includes at least one of the luminous element and the lens additional element;
第一确定单元,用于响应于图像中包括发光要素和镜头附加要素中的至少一者,将图像确定为模糊图像;a first determining unit, configured to determine the image as a blurred image in response to including at least one of a luminous element and a lens additional element in the image;
获取单元,用于响应于图像中不包括发光要素和镜头附加要素这两者,获取图像中的叶片面积和叶片轮廓像素点;An acquisition unit, configured to acquire the leaf area and blade outline pixels in the image in response to the fact that the image does not include both the luminous element and the lens additional element;
第二确定单元,用于在叶片面积与叶片轮廓像素点的关系满足预设轮廓条件的情况下,将图像确定为模糊图像。The second determination unit is configured to determine the image as a blurred image when the relationship between the blade area and the blade contour pixel points satisfies a preset contour condition.
在一些实施例中,预设轮廓条件可以为叶片面积与叶片轮廓像素点的数量的平方的关系满足预设阈值。In some embodiments, the preset contour condition may be that the relationship between the blade area and the square of the number of blade contour pixel points satisfies a preset threshold.
在一些实施例中,识别单元可以具体用于:In some embodiments, the identification unit can be specifically used for:
将图像输入到模糊识别模型中的特征提取网络,通过特征提取网络提取图像中的特征,得到图像中的边缘特征和色彩特征;Input the image into the feature extraction network in the fuzzy recognition model, extract the features in the image through the feature extraction network, and obtain the edge features and color features in the image;
通过模糊识别模型中的路径聚合网络,对边缘特征和色彩特征进行特征组合,得到图像中的语义特征;Through the path aggregation network in the fuzzy recognition model, the edge features and color features are combined to obtain the semantic features in the image;
基于图像中的语义特征,识别图像中是否包括发光要素和镜头附加要素中的至少一者。Based on the semantic feature in the image, it is identified whether the image includes at least one of the lighting element and the lens additional element.
在一些实施例中,获取单元可以具体用于:In some embodiments, the acquisition unit can be specifically used for:
通过模糊识别模型中的路径聚合网络对边缘特征和色彩特征进行特征组合,得到叶片对应的语义特征和位置特征;Through the path aggregation network in the fuzzy recognition model, the edge features and color features are combined to obtain the semantic features and position features corresponding to the leaves;
根据叶片对应的语义特征和位置特征,获取图像中的叶片面积。According to the semantic feature and position feature corresponding to the leaf, the area of the leaf in the image is obtained.
在一些实施例中,模糊图像识别装置600还可以包括:In some embodiments, the blurred
确定模块,用于响应于图像中不包括风力发电机的叶片,将图像确定为模糊图像。A determining module for determining the image as a blurred image in response to the image not including blades of the wind turbine.
在一些实施例中,发光要素是发光体;并且镜头附加要素是镜头附着物。In some embodiments, the light emitting element is a light; and the lens attachment element is a lens attachment.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,与本申请方法实施例基于同一构思,是与上述模糊图像识别方法对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of the present application, and are devices corresponding to the above-mentioned fuzzy image recognition method. All the implementation methods in the above-mentioned method embodiment are In the embodiments applicable to the device, its specific functions and technical effects brought by it can be referred to the method embodiments for details, and will not be repeated here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above system, reference may be made to the corresponding processes in the aforementioned method embodiments, and details will not be repeated here.
图7示出了本申请又一个实施例提供的电子设备的硬件结构示意图。FIG. 7 shows a schematic diagram of a hardware structure of an electronic device provided by another embodiment of the present application.
设备可以包括处理器701以及存储有程序指令的存储器702。The device may include a
处理器701执行程序时实现上述任意各个方法实施例中的步骤。When the
示例性的,程序可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器702中,并由处理器701执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列程序指令段,该指令段用于描述程序在设备中的执行过程。Exemplarily, the program can be divided into one or more modules/units, and one or more modules/units are stored in the
具体地,上述处理器701可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the
存储器702可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器702可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器702可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器702可在综合网关容灾设备的内部或外部。在特定实施例中,存储器702是非易失性固态存储器。
存储器可包括只读存储器(ROM),随机存取存储器(RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本公开的一方面的方法所描述的操作。Memory may include read only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, memory includes one or more tangible (non-transitory) readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions, and when the software is executed (e.g., by one or more processor) operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
处理器701通过读取并执行存储器702中存储的程序指令,以实现上述实施例中的任意一种方法。The
在一个示例中,电子设备还可包括通信接口703和总线710。其中,处理器701、存储器702、通信接口703通过总线710连接并完成相互间的通信。In one example, the electronic device may further include a
通信接口703,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。The
总线710包括硬件、软件或两者,将在线数据流量计费设备的部件彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线710可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。The
另外,结合上述实施例中的方法,本申请实施例可提供一种存储介质来实现。该存储介质上存储有程序指令;该程序指令被处理器执行时实现上述实施例中的任意一种方法。In addition, in combination with the methods in the foregoing embodiments, the embodiments of the present application may provide a storage medium for implementation. Program instructions are stored on the storage medium; when the program instructions are executed by the processor, any one of the methods in the foregoing embodiments is implemented.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above method embodiments , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above method embodiments, and can achieve the same technical effect, for To avoid repetition, I won't go into details here.
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the application is not limited to the specific configurations and processes described above and shown in the figures. For conciseness, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art may make various changes, modifications and additions, or change the order of the steps after understanding the spirit of the present application.
以上所述的结构框图中所示的功能模块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网格被下载。The functional modules shown in the above structural block diagrams may be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiment, or may be different from the order in the embodiment, or several steps may be performed simultaneously.
上面参考根据本公开的实施例的方法、装置(系统)和程序产品的流程图和/或框图描述了本公开的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart and/or block diagrams, and combinations of blocks in the flowchart and/or block diagrams, can be implemented by computer program instructions. These program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that execution of these instructions via the processor of the computer or other programmable data processing apparatus enables the Implementation of the functions/actions specified in one or more blocks of the flowchart and/or block diagrams. Such processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It can also be understood that each block in the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can also be realized by dedicated hardware for performing specified functions or actions, or can be implemented by dedicated hardware and combination of computer instructions.
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application, and those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described systems, modules and units can refer to the foregoing method embodiments The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present application is not limited thereto, and any person familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the application, and these modifications or replacements should cover all Within the protection scope of this application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111565980.6A CN116310372A (en) | 2021-12-20 | 2021-12-20 | Fuzzy image recognition method, device and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111565980.6A CN116310372A (en) | 2021-12-20 | 2021-12-20 | Fuzzy image recognition method, device and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116310372A true CN116310372A (en) | 2023-06-23 |
Family
ID=86796457
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111565980.6A Pending CN116310372A (en) | 2021-12-20 | 2021-12-20 | Fuzzy image recognition method, device and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116310372A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100086206A1 (en) * | 2007-07-19 | 2010-04-08 | Li Hong | Device and method for estimating if an image is blurred |
| CN104067605A (en) * | 2012-01-17 | 2014-09-24 | 夏普株式会社 | Photographing device, photographed image processing system, program, and recording medium |
| CN110378235A (en) * | 2019-06-20 | 2019-10-25 | 平安科技(深圳)有限公司 | A kind of fuzzy facial image recognition method, device and terminal device |
| CN111340747A (en) * | 2018-11-30 | 2020-06-26 | 北京金风科创风电设备有限公司 | Method, device and system for processing blade images of wind turbines |
| CN113205467A (en) * | 2021-05-24 | 2021-08-03 | 新相微电子(上海)有限公司 | Image processing method and device based on fuzzy detection |
-
2021
- 2021-12-20 CN CN202111565980.6A patent/CN116310372A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100086206A1 (en) * | 2007-07-19 | 2010-04-08 | Li Hong | Device and method for estimating if an image is blurred |
| CN104067605A (en) * | 2012-01-17 | 2014-09-24 | 夏普株式会社 | Photographing device, photographed image processing system, program, and recording medium |
| CN111340747A (en) * | 2018-11-30 | 2020-06-26 | 北京金风科创风电设备有限公司 | Method, device and system for processing blade images of wind turbines |
| CN110378235A (en) * | 2019-06-20 | 2019-10-25 | 平安科技(深圳)有限公司 | A kind of fuzzy facial image recognition method, device and terminal device |
| CN113205467A (en) * | 2021-05-24 | 2021-08-03 | 新相微电子(上海)有限公司 | Image processing method and device based on fuzzy detection |
Non-Patent Citations (1)
| Title |
|---|
| 朱伟超;万新军;杨波;张薇;: "模糊图像边缘精确定位的滤波算法", 光学仪器, no. 01, 15 February 2015 (2015-02-15) * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI744283B (en) | Method and device for word segmentation | |
| US9911055B2 (en) | Method and system for detection and classification of license plates | |
| CN112001902A (en) | Defect detection method and related device, equipment and storage medium | |
| US20130279758A1 (en) | Method and system for robust tilt adjustment and cropping of license plate images | |
| AU2014346263B2 (en) | Complex background-oriented optical character recognition method and device | |
| CN113781391A (en) | Image defect detection method and related equipment | |
| CN109946304A (en) | On-line detection system and detection method for surface defects of parts based on feature matching | |
| CN113139572B (en) | An image-based fault detection method for train air springs | |
| CN108710876A (en) | A kind of battery surface mark defect inspection method and system based on machine vision | |
| CN115775246A (en) | A method for defect detection of PCB components | |
| CN111046741A (en) | Method and device for identifying lane line | |
| CN115170501A (en) | Defect detection method, system, electronic device and storage medium | |
| CN116228741A (en) | PCBA (printed circuit board assembly) component defect detection method and device | |
| CN108318773A (en) | A kind of transmission line breakage detection method and system | |
| WO2024239625A1 (en) | Defect detection method for battery cell explosion-proof valve, device, medium and system | |
| CN205721986U (en) | A kind of cable visual defects detection and character recognition device | |
| CN116485779A (en) | Adaptive wafer defect detection method, device, electronic equipment and storage medium | |
| JP2016130979A (en) | Detection device, detection processing program, and detection system | |
| CN111353954A (en) | Video image processing method and device and electronic equipment | |
| CN117917698A (en) | Target detection method, device, equipment, computer storage medium and program | |
| Danilescu et al. | Road anomalies detection using basic morphological algorithms | |
| CN118396959A (en) | Method, apparatus, storage medium, electronic device, and program product for detecting defects based on event camera | |
| CN116310372A (en) | Fuzzy image recognition method, device and equipment | |
| CN118823624A (en) | Indication status determination method, device, equipment and readable storage medium | |
| CN117765254A (en) | Res-UNet model data processing method and device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |