Image acquisition device and water purification apparatus

By designing a image collection device with a curved light -based light guide component in the water purification equipment, the problem of narrow internal space and insufficient light in the equipment is solved, and the efficient filter element anti -pseudo recognition is achieved.

WO2025021077A1PCT designated stage expired Publication Date: 2025-01-30WUHU MIDEA SMART KITCHEN APPLIANCE MFG CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/106851
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-21
Filing Date
2024-07-22
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

In existing water purification equipment, anti-counterfeiting identification equipment for filter elements is difficult to install in a narrow space, and insufficient light leads to poor imaging quality, affecting the accuracy of anti-counterfeiting identification.

Method used

Design a image collection device, including lens, lighting device, and light guide components. The light guide components guide the light through the two light surfaces set by non -positive pairs to form a curved light path. The second light surface is used for the anti -counterfeiting logo area facing the filter element to provide sufficient light for anti -counterfeiting identification.

Benefits of technology

The problem of the small space installation of the image collection device in the inside of the water purification equipment is solved, the space utilization rate of the internal water purification equipment is improved, the size of the equipment is reduced, and the quality of the imaging of anti -counterfeiting recognition is improved by providing sufficient light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024106851_30012025_PF_FP_ABST
    Figure CN2024106851_30012025_PF_FP_ABST
Patent Text Reader

Abstract

An image acquisition device and a water purification apparatus, which belong to the technical field of water purification apparatuses. The image acquisition device comprises: a lens and a light adding device; and a light guide assembly comprising a first light surface and a second light surface, wherein the first light surface and the second light surface do not directly face each other so that a light path of the light guide assembly is a curved light path; the lens and the light adding device face the first light surface; the second light surface is configured to face an anti-counterfeiting label area of a filter cartridge; the light guide assembly is configured to guide a light ray to be transmitted between the first light surface and the second light surface; and the lens is configured to acquire an image of the anti-counterfeiting label area by means of the light guide assembly.
Need to check novelty before this filing date? Find Prior Art

Description

Image acquisition device and water purification equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application numbers: 202321959810.0 and 202321959745.1, and the application date is July 21, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present application relates to the technical field of water purification equipment, and in particular to an image acquisition device and water purification equipment. Background Art

[0004] Filter elements are key consumables for water purification equipment and need to be replaced regularly. Counterfeit and shoddy filter elements often appear on the market. Counterfeit filter elements not only infringe on the interests of manufacturers, but the quality of counterfeit filter elements is also difficult to guarantee, which affects the operation of water purification equipment and the health of users. Therefore, anti-counterfeiting identification of filter elements in water purification equipment is crucial.

[0005] At present, some water purifiers attach anti-counterfeiting QR codes on the filter element and use scanning devices for anti-counterfeiting identification. However, the shooting distance required by the scanning lens of such devices is long, and the space inside the water purifier is limited, making it difficult to install. In addition, the water purifier is a closed space with insufficient light, resulting in poor imaging quality of the scanning device.

[0006] Summary of the Invention

[0007] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes an image acquisition device and a water purification device. The image acquisition device can be installed inside the water purification device and provides sufficient light for anti-counterfeiting identification, which helps to reduce the size of the water purification device and improve the space utilization inside the water purification device.

[0008] In a first aspect, the present application provides an image acquisition device for anti-counterfeiting identification of a filter element of a water purification device, the image acquisition device comprising:

[0009] Lenses and fill lights;

[0010] A light guide assembly, the light guide assembly comprising a first light surface and a second light surface, the first light surface and the second light surface being arranged non-oppositely to each other so that the light path of the light guide assembly is a bent light path, the lens and the fill light device are arranged toward the first light surface, and the second light surface is arranged toward the anti-counterfeiting mark area of ​​the filter element;

[0011] The light guide component is used to guide light to be transmitted between the first light surface and the second light surface, and the lens is used to capture an image of the anti-counterfeiting mark area through the light guide component.

[0012] According to the image acquisition device of the present application, the light transmission between the filter element and the lens is guided by a light-guiding component having two light surfaces that are not arranged opposite each other. The fill light device is arranged close to the lens to provide sufficient light for anti-counterfeiting identification, thereby solving the problem of installing the image acquisition device in a small space inside the water purification equipment, improving the space utilization inside the water purification equipment, and helping to reduce the size of the water purification equipment.

[0013] According to one embodiment of the present application, the light guide component is a prism structure.

[0014] According to one embodiment of the present application, the prism structure includes a first prism column and a second prism column, the first optical surface is located at one end of the first prism column, the other end of the first prism column is connected to one end of the second prism column, and the second optical surface is located at the other end of the second prism column.

[0015] According to one embodiment of the present application, the first prism column is provided with a first reflecting surface, and the second prism column is provided with a second reflecting surface. The first reflecting surface is used to reflect the light of the first light surface to the second reflecting surface, and the second reflecting surface is used to reflect the light of the second light surface to the first reflecting surface.

[0016] According to one embodiment of the present application, a third reflective surface is provided at the connection between the first prism column and the second prism column, and the third reflective surface is used to reflect the light from the first reflective surface to the second reflective surface.

[0017] According to one embodiment of the present application, the angle between the first reflective surface and the first light surface is 45 degrees.

[0018] According to one embodiment of the present application, the included angle between the second reflective surface and the second light surface is 45 degrees.

[0019] According to one embodiment of the present application, the angle between the third reflecting surface and the first reflecting surface and the angle between the third reflecting surface and the second reflecting surface are both 90 degrees.

[0020] According to an embodiment of the present application, the prism structure is made of plastic or glass.

[0021] According to one embodiment of the present application, the light guide assembly defines a light guide channel, one end of the light guide channel is the first light surface, the other end of the light guide channel is the second light surface, and at least one reflector is provided in the light guide channel.

[0022] According to one embodiment of the present application, the fill light device includes one or more fill light lamps.

[0023] In a second aspect, the present application provides a water purification device, comprising:

[0024] a housing defining a receiving space;

[0025] at least one filter element, the filter element being located in the accommodating space;

[0026] At least one image acquisition device as described in the first aspect is located in the accommodating space, has a one-to-one correspondence with the filter element, and is arranged toward the anti-counterfeiting mark area of ​​the filter element.

[0027] According to the water purification equipment of the present application, the light transmission between the filter element and the lens is guided by a light-guiding component having two light surfaces that are not arranged opposite each other. The fill light device is arranged close to the lens to provide sufficient light for anti-counterfeiting identification, which solves the problem of installing the image acquisition device in the narrow space inside the water purification equipment, improves the space utilization inside the water purification equipment, and helps to reduce the size of the water purification equipment.

[0028] According to one embodiment of the present application, it further includes:

[0029] a reset button, the reset button being disposed on the housing and configured to output a reset button signal based on a received input;

[0030] A control board is electrically connected to the reset button and the image acquisition device. The control board is located in the accommodation space and is used to control the image acquisition device to acquire an image of the anti-counterfeiting mark area based on the reset button signal.

[0031] According to the water purification equipment of the present application, by setting an image acquisition device in cooperation with the reset button on the casing, the image of the anti-counterfeiting mark area of ​​the filter element is collected to perform anti-counterfeiting identification and reset operations, which can reduce the cost of anti-counterfeiting identification of the filter element and simplify the filter element replacement operation.

[0032] According to one embodiment of the present application, it further includes:

[0033] An anti-counterfeiting information output device is provided on the housing, the anti-counterfeiting information output device is electrically connected to the control board, and is used to output the authenticity information of the filter element.

[0034] According to one embodiment of the present application, the anti-counterfeiting information output device includes an anti-counterfeiting indicator light, which is used to light up when the filter element is identified as fake.

[0035] According to one embodiment of the present application, the image acquisition device includes an image acquisition component and a fill light component.

[0036] According to one embodiment of the present application, it further includes:

[0037] A communication module is electrically connected to the control board, and the control board is used to communicate with the server through the communication module.

[0038] According to an embodiment of the present application, the control board is configured to receive a heartbeat signal sent by the image acquisition device at a target time interval, and send a feedback signal corresponding to the heartbeat signal to the image acquisition device.

[0039] According to one embodiment of the present application, it further includes:

[0040] A fault information output device is electrically connected to the control panel, the fault information output device is arranged in the housing, and the fault information output device is used to output fault information of the water purification equipment.

[0041] According to one embodiment of the present application, the fault information output device includes at least one fault indicator light, which is configured to light up when a fault occurs in the water purification equipment.

[0042] According to one embodiment of the present application, the image acquisition device includes a plurality of image acquisition units, and the plurality of image acquisition units are arranged in a one-to-one correspondence with the plurality of filter elements of the water purification equipment.

[0043] According to one embodiment of the present application, the reset button is a light-sensitive button.

[0044] In a third aspect, the present application provides a water purification device, comprising:

[0045] A housing and a filter element, wherein the housing defines a receiving space, and the filter element is located in the receiving space;

[0046] An image acquisition device, the image acquisition device is located in the accommodating space and is arranged toward the anti-counterfeiting mark area of ​​the filter element;

[0047] a reset button, the reset button being disposed on the housing and configured to output a reset button signal based on a received input;

[0048] A control board is electrically connected to the reset button and the image acquisition device. The control board is located in the accommodation space and is used to control the image acquisition device to acquire an image of the anti-counterfeiting mark area based on the reset button signal.

[0049] According to the water purification equipment of the present application, by setting an image acquisition device in cooperation with the reset button on the casing, the image of the anti-counterfeiting mark area of ​​the filter element is collected to perform anti-counterfeiting identification and reset operations, which can reduce the cost of anti-counterfeiting identification of the filter element and simplify the filter element replacement operation.

[0050] According to one embodiment of the present application, it further includes:

[0051] An anti-counterfeiting information output device is provided on the housing, the anti-counterfeiting information output device is electrically connected to the control board, and is used to output the authenticity information of the filter element.

[0052] According to one embodiment of the present application, the anti-counterfeiting information output device includes an anti-counterfeiting indicator light, which is used to light up when the filter element is identified as fake.

[0053] According to one embodiment of the present application, the image acquisition device includes an image acquisition component and a fill light component.

[0054] According to one embodiment of the present application, it further includes:

[0055] A communication module is electrically connected to the control board, and the control board is used to communicate with the server through the communication module.

[0056] According to an embodiment of the present application, the control board is configured to receive a heartbeat signal sent by the image acquisition device at a target time interval, and send a feedback signal corresponding to the heartbeat signal to the image acquisition device.

[0057] According to one embodiment of the present application, it further includes:

[0058] A fault information output device is electrically connected to the control panel, the fault information output device is arranged in the housing, and the fault information output device is used to output fault information of the water purification equipment.

[0059] According to one embodiment of the present application, the fault information output device includes at least one fault indicator light, which is configured to light up when a fault occurs in the water purification equipment.

[0060] According to one embodiment of the present application, the image acquisition device includes a plurality of image acquisition units, and the plurality of image acquisition units are arranged in a one-to-one correspondence with the plurality of filter elements of the water purification equipment.

[0061] According to one embodiment of the present application, the reset button is a light-sensitive button.

[0062] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0064] FIG1 is a schematic diagram of a flow chart of an anti-counterfeiting identification method for a filter element provided in an embodiment of the present application;

[0065] FIG2 is a schematic diagram of a first identification image provided in an embodiment of the present application;

[0066] FIG3 is a schematic diagram of a first identification sub-image provided in an embodiment of the present application;

[0067] FIG4 is a second flow chart of the anti-counterfeiting identification method of the filter element provided in an embodiment of the present application;

[0068] FIG5 is a schematic diagram of the structure of the anti-counterfeiting identification device of the filter element provided in an embodiment of the present application;

[0069] FIG6 is a third flow chart of the anti-counterfeiting identification method of the filter element provided in an embodiment of the present application;

[0070] FIG7 is a schematic diagram of an anti-counterfeiting mark image provided in an embodiment of the present application;

[0071] FIG8 is a second schematic diagram of an anti-counterfeiting mark image provided in an embodiment of the present application;

[0072] FIG9 is a third schematic diagram of an anti-counterfeiting mark image provided in an embodiment of the present application;

[0073] FIG10 is a fourth flow chart of the anti-counterfeiting identification method of the filter element provided in an embodiment of the present application;

[0074] FIG11 is a second structural diagram of the anti-counterfeiting identification device of the filter element provided in an embodiment of the present application;

[0075] FIG12 is a fourth flow chart of the anti-counterfeiting identification method of the filter element provided in an embodiment of the present application;

[0076] FIG13 is a schematic diagram of an image to be processed according to an embodiment of the present application;

[0077] FIG14 is a second schematic diagram of an image to be processed provided in an embodiment of the present application;

[0078] FIG15 is a third schematic diagram of an image to be processed provided in an embodiment of the present application;

[0079] FIG16 is a schematic diagram of a target binary image provided by an embodiment of the present application performing pure color pixel filling;

[0080] FIG17 is a schematic diagram of a first target image provided in an embodiment of the present application;

[0081] FIG18 is a schematic diagram of target pixel counting of a first target image provided by an embodiment of the present application;

[0082] FIG19 is a schematic diagram of the location of the target area provided in an embodiment of the present application;

[0083] FIG20 is a fifth flow chart of the anti-counterfeiting identification method of the filter element provided in an embodiment of the present application;

[0084] FIG21 is a third structural diagram of the anti-counterfeiting identification device for the filter element provided in an embodiment of the present application;

[0085] FIG22 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0086] FIG23 is a schematic diagram of the structure of a water purification device according to an embodiment of the present application;

[0087] FIG24 is a schematic diagram of a process for resetting a filter element of a water purification device according to an embodiment of the present application;

[0088] FIG25 is a schematic diagram of a structure of a light guide assembly of an image acquisition device according to an embodiment of the present application;

[0089] FIG26 is a second structural diagram of the light guide assembly of the image acquisition device provided in an embodiment of the present application;

[0090] Figure 27 is a second structural schematic diagram of the water purification equipment provided in an embodiment of the present application.

[0091] Reference numerals:

[0092] Housing 200 , filter element 300 , image acquisition device 400 , light guide assembly 410 , first light surface 411 , second light surface 412 , first prism column 413 , second prism column 414 , first reflection surface 415 , second reflection surface 416 , third reflection surface 417 , and reflector 418 . DETAILED DESCRIPTION

[0093] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0094] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0095] Below, in combination with the accompanying drawings, the anti-counterfeiting identification method of the filter element, the anti-counterfeiting identification device of the filter element, the electronic device, the readable storage medium, the water purification equipment and the image acquisition device provided in the embodiments of the present application are described in detail through embodiments and their application scenarios.

[0096] The anti-counterfeiting identification method of the filter element can be applied to a terminal, and can be specifically executed by hardware or software in the terminal.

[0097] The anti-counterfeiting identification method for the filter element provided in the embodiment of the present application can be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the anti-counterfeiting identification method for the filter element. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras and wearable devices, etc. The anti-counterfeiting identification method for the filter element provided in the embodiment of the present application is explained below using the electronic device as an example of the execution subject.

[0098] It should be noted that the filter element surface of the embodiment of the present application is provided with an anti-counterfeiting mark, which can be an icon, a QR code or other identification pattern used for anti-counterfeiting identification. The anti-counterfeiting mark can be set on the filter element surface by printing or other means.

[0099] As shown in FIG1 , an anti-counterfeiting identification method for a filter element provided in an embodiment of the present application includes steps 110 to 140 .

[0100] Step 110: Acquire a first filter element image of the filter element 300 to be identified.

[0101] The first filter element image is a YUV image, and the first filter element image includes the anti-counterfeiting mark of the filter element 300 .

[0102] The first filter image uses three YUV components to store data. Y represents brightness, that is, grayscale value, and U and V represent chroma, which are used to describe color and color saturation.

[0103] In this step, the first filter element image in YUV format is directly acquired, which does not place high requirements on the imaging of the image acquisition device 400, helps to reduce the cost of anti-counterfeiting identification, and the first filter element image has a smaller data volume than the image in RGB format, which is convenient for storage and processing in a microcontroller unit (MCU) with a smaller random access memory (RAM) and a lower cost.

[0104] Step 120: Obtain a second filter element image based on the grayscale data of the first filter element image.

[0105] In this embodiment, the grayscale data of the first filter element image is extracted to obtain the second filter element image, thereby completing the collection and storage of the image data of the filter element 300 .

[0106] In actual implementation, the second filter element image can be saved in a flash memory on a microcontroller chip for further processing.

[0107] Step 130: extract the anti-counterfeiting mark image from the second filter element image.

[0108] In this step, the second filter element image is cropped, and images of other areas in the second filter element image except the anti-counterfeiting mark are cropped to obtain an anti-counterfeiting mark image, which has a smaller data volume.

[0109] Step 140 : Compare the anti-counterfeiting mark image and the template mark image to determine the authenticity of the filter element 300 .

[0110] After the anti-counterfeiting mark image is captured, the anti-counterfeiting mark image is compared with the template mark image, and the authenticity of the filter element 300 is determined based on the degree of difference between the currently captured anti-counterfeiting mark image and the template mark image.

[0111] When the difference between the anti-counterfeiting mark image and the template mark image is large, it indicates that the filter element 300 is fake. When the difference between the anti-counterfeiting mark image and the template mark image is small, it indicates that the filter element 300 is authentic.

[0112] It should be noted that by comparing with the template identification image, there is no need to run complex image processing algorithms in processors such as microcontrollers, which reduces the processor requirements for filter element anti-counterfeiting identification.

[0113] In this embodiment, the anti-counterfeiting identification of the filter element 300 is divided into two independent stages: image acquisition and storage, obtaining the first filter element image in YUV format and saving its grayscale data; image processing and matching, intercepting the second filter element image, obtaining the anti-counterfeiting logo image, and comparing it with the template logo image to determine the authenticity of the product.

[0114] In actual implementation, a low-cost microcontroller unit with a smaller random access memory can be used to execute the above-mentioned image acquisition and storage as well as image processing and matching processes, thereby realizing low-cost anti-counterfeiting identification of filter elements.

[0115] It is understandable that the timeliness requirement for filter element anti-counterfeiting identification is not high. Anti-counterfeiting identification can be performed through two independent stages of image acquisition and storage, and image processing and matching, which can meet the needs of anti-counterfeiting identification of water purification equipment filter elements.

[0116] According to the anti-counterfeiting identification method of the filter element provided in the embodiment of the present application, by collecting the first filter element image, extracting the grayscale data to obtain the second filter element image, intercepting the second filter element image, obtaining the anti-counterfeiting logo image, and comparing it with the template logo image, the authenticity of the filter element is judged. The image processor has low requirements, and the anti-counterfeiting identification of the filter element can be achieved by using a microcontroller unit with a smaller random access memory and a lower cost, thereby effectively reducing the cost of anti-counterfeiting identification of the filter element.

[0117] In some embodiments, step 140, comparing the anti-counterfeiting mark image with the template mark image to determine the authenticity of the filter element 300, may include:

[0118] Performing image segmentation processing on the anti-counterfeiting mark image based on grayscale information to obtain a first mark image;

[0119] performing binarization and rotation processing on the first identification image to obtain a binarized image;

[0120] Performing image segmentation processing based on the mark size on the binary image to obtain a plurality of first mark sub-images;

[0121] performing translation processing on the plurality of first identification sub-images respectively to obtain a plurality of second identification sub-images corresponding to the second identification image;

[0122] The second identification image is compared with the template identification image to determine the authenticity of the product.

[0123] Image segmentation refers to dividing an image into several non-overlapping regions based on features such as grayscale, color, spatial texture, and geometric shape, so that these features show consistency or similarity in the same region, but show obvious differences between different regions.

[0124] In this embodiment, image segmentation is performed based on the grayscale information of the anti-counterfeiting mark image to obtain the first mark image, thereby reducing the influence of other factors in the anti-counterfeiting mark image other than the anti-counterfeiting mark on the anti-counterfeiting identification of the filter element.

[0125] After the first logo image is binarized and rotated, a second image segmentation is performed according to the logo size of the anti-counterfeiting logo to obtain multiple first logo sub-images, each of which corresponds to a different area of ​​the anti-counterfeiting logo.

[0126] For example, as shown in FIG2 , the first logo image includes the anti-counterfeiting logo Abcde. Image segmentation is performed on the binary image of the first logo image according to the logo size of each letter of Abcde.

[0127] As shown in FIG3 , the anti-counterfeiting mark Abcde is divided into first mark sub-images corresponding to the five letters A, b, c, d and e.

[0128] In this embodiment, after segmenting to obtain the first identification sub-image, multiple first identification sub-images are translated to obtain corresponding multiple second identification sub-images. The multiple second identification sub-images form a second identification image, and the second identification image is compared with the template identification image to determine the authenticity of the filter element.

[0129] In some embodiments, performing binarization and rotation on the first identification image may include:

[0130] Based on the first identification image, a binarization process is performed by traversing the binarization threshold within a binarization threshold range, and a rotation process is performed by traversing the rotation angle within a rotation angle range.

[0131] In this embodiment, the first identification image is subjected to multiple binarization and rotation processes until the binarization threshold within the binarization threshold range and the rotation angle within the rotation angle range are traversed to obtain multiple binarized images. Then, each binarized image is subjected to image segmentation and translation processing based on the identification size to obtain multiple second identification images, which are compared with the template identification image to determine the authenticity of the filter element.

[0132] For example, the binarization threshold range includes binarization threshold 1, binarization threshold 2, and binarization threshold 3, and the rotation angle range includes rotation angle 1 and rotation angle 2.

[0133] The first identification image is binarized and rotated. The first identification image is binarized according to binarization threshold 1, binarization threshold 2, and binarization threshold 3 to obtain three binarized images. The three binarized images are then rotated by rotation angle 1 and rotation angle 2 to obtain six rotated binarized images.

[0134] In some embodiments, performing translation processing on the plurality of first identification sub-images may include:

[0135] Based on the first identification sub-image, the translation process is performed by traversing the translation actions in the translation action set.

[0136] In this embodiment, the first identification sub-image is subjected to translation processing of traversing the translation actions in the translation action set, and one first identification sub-image can be processed to obtain multiple second identification sub-images corresponding to different translation actions.

[0137] For example, the translation action set includes upward translation, downward translation, and leftward translation. By performing translation processing on one first identification sub-image, three second identification sub-images can be obtained.

[0138] In some embodiments, comparing the second identification image with the template identification image to determine product authenticity information includes:

[0139] Comparing the plurality of second identification sub-images in the second identification image with the plurality of template identification sub-images in the template identification image in a one-to-one correspondence manner to obtain an image difference between the second identification image and the template identification image;

[0140] The authenticity information of the product is determined based on the image difference corresponding to the second identification image.

[0141] The second identification image includes multiple second identification sub-images, each second identification sub-image represents an area of ​​the anti-counterfeiting mark. The second identification sub-image is compared one-to-one with the template identification sub-image in the template identification image to obtain the degree of difference between different areas of the anti-counterfeiting mark of the filter element 300. The authenticity of the filter element is judged based on the image difference between the second identification image and the template identification image.

[0142] For example, the second identification image includes second identification sub-images corresponding to the five letters A, b, c, d and e. These five second identification sub-images are compared with the corresponding template identification sub-images in the template identification image to obtain the image difference between each second identification sub-image and the corresponding template identification sub-image.

[0143] In actual implementation, the image difference may be a pixel difference between each pixel in the two images.

[0144] In some embodiments, determining product authenticity information based on the image difference corresponding to the second identification image may include:

[0145] acquiring a plurality of second identification images;

[0146] The authenticity information of the product is determined according to the smallest image difference value among the image differences of the plurality of second identification images.

[0147] It is understandable that the image captured by the image capture device 400 is different from the pre-stored template identification image in terms of capture angle, light, etc.

[0148] In this embodiment, multiple second identification images can be obtained through binarization, rotation and translation processing to achieve an increase in the amount of image data. Without changing the anti-counterfeiting identification characteristics of the current filter element 300, they can be fully compared with the template identification image, which can reduce the impact of image acquisition angle, light and other conditions on aspect comparison, thereby ensuring the accuracy of filter element anti-counterfeiting identification.

[0149] In some embodiments, extracting the anti-counterfeiting mark image from the second filter element image includes:

[0150] determining the anti-counterfeiting mark boundary in the second filter element image based on the target grayscale threshold;

[0151] Based on the anti-counterfeiting mark boundary and anti-counterfeiting mark size information, the second filter element image is intercepted to obtain the anti-counterfeiting mark image.

[0152] In this embodiment, the anti-counterfeiting mark boundary in the second filter element image is searched according to a preset target grayscale threshold, and the second filter element image is intercepted according to the anti-counterfeiting mark boundary and the anti-counterfeiting mark size information.

[0153] It is understandable that when intercepting the second filter element image according to the anti-counterfeiting mark size information, it is possible to first determine whether the size of the second filter element image is consistent with the pre-stored anti-counterfeiting mark size information. If not, the second filter element image is scaled appropriately.

[0154] An embodiment is described below.

[0155] As shown in FIG4 , the image acquisition device 400 directly acquires the image of the filter element 300 , and the MCU extracts the grayscale data from a complete first filter element image transmitted by the image acquisition device 400 , obtains the second filter element image and saves the data into the MCU's on-chip Flash for the next step of processing.

[0156] The MCU reads the second filter element image stored in the Flash, searches for the complete anti-counterfeiting mark boundary through a preset target grayscale threshold, and intercepts the second filter element image in combination with the anti-counterfeiting mark size information to obtain the anti-counterfeiting mark image.

[0157] The anti-counterfeiting logo image is matched with the template logo image. In order to improve the matching degree, the first logo image obtained by the first segmentation is superimposed and processed from three dimensions: image binarization, image rotation, and image translation. Then it is compared with the original template logo image to determine the authenticity of the product.

[0158] In this embodiment, a pre-set binarization threshold is selected for the first logo image and first binarized, and then the image is rotated at intervals of 1 degree within a preset rotation range. The rotated logo image is then segmented according to a preset logo size to obtain a plurality of first logo sub-images. The first logo sub-images are then translated using four translation actions, namely, up, down, left, and right. After the translation is completed, image matching is performed, and the processed image data is compared one by one with the original template logo image to obtain the corresponding image difference.

[0159] Then, different binarization thresholds are used to perform binarization processing on the segmented image. The above steps are repeated until all cycles are completed, and the minimum image difference is calculated. The minimum image difference represents the error between the image captured by the image acquisition device 400 and the template identification image.

[0160] By comparing the image difference calculated between the second identification sub-image and the template identification sub-image with the preset difference threshold, it is possible to determine whether the filter element 300 is genuine. When the image difference is very close to the preset error threshold during identification and the authenticity cannot be determined, the image can be directly uploaded to the server for higher-level identification to improve the recognition rate.

[0161] An embodiment of the present application also provides an anti-counterfeiting identification device for a filter element.

[0162] As shown in Figure 5, the anti-counterfeiting identification device of the filter element includes:

[0163] An acquisition module 510 is configured to acquire a first filter element image of the filter element 300 to be identified, wherein the first filter element image is a YUV image and includes an anti-counterfeiting mark of the filter element 300;

[0164] A first processing module 520 is configured to obtain a second filter element image based on the grayscale data of the first filter element image;

[0165] The second processing module 530 is used to extract the anti-counterfeiting mark image from the second filter element image;

[0166] The third processing module 540 is used to compare the anti-counterfeiting mark image with the template mark image to determine the product authenticity information of the filter element 300.

[0167] According to the anti-counterfeiting identification device of the filter element provided in the embodiment of the present application, by collecting the first filter element image, extracting the grayscale data to obtain the second filter element image, intercepting the second filter element image, obtaining the anti-counterfeiting logo image, and comparing it with the template logo image, the authenticity of the filter element 300 product is determined. The requirements for the image processor can be effectively reduced, and the anti-counterfeiting identification of the filter element can be realized by using a micro control unit with a smaller random access memory and a lower cost, thereby effectively reducing the cost of anti-counterfeiting identification of the filter element.

[0168] In some embodiments, the third processing module 540 is configured to perform image segmentation processing based on grayscale information on the anti-counterfeiting mark image to obtain a first mark image;

[0169] performing binarization and rotation processing on the first identification image to obtain a binarized image;

[0170] Performing image segmentation processing based on the logo size on the binary image to obtain a plurality of first logo sub-images;

[0171] performing translation processing on the plurality of first identification sub-images respectively to obtain a plurality of second identification sub-images corresponding to the second identification image;

[0172] The second identification image is compared with the template identification image to determine the authenticity information of the product.

[0173] In some embodiments, the third processing module 540 is configured to perform binarization processing on the first identification image by traversing a binarization threshold within a binarization threshold range, and performing rotation processing by traversing a rotation angle within a rotation angle range.

[0174] In some embodiments, the third processing module 540 is configured to perform translation processing by traversing the translation actions in the translation action set based on the first identification sub-image.

[0175] In some embodiments, the third processing module 540 is configured to compare the plurality of second identification sub-images in the second identification image with the plurality of template identification sub-images in the template identification image in a one-to-one correspondence to obtain an image difference between the second identification image and the template identification image;

[0176] The product authenticity information is determined based on the image difference corresponding to the second identification image.

[0177] In some embodiments, the third processing module 540 is configured to obtain a plurality of the second identification images;

[0178] The product authenticity information is determined according to the smallest image difference value among the plurality of image differences of the second identification images.

[0179] In some embodiments, the second processing module 530 is configured to determine the anti-counterfeiting mark boundary in the second filter element image based on a target grayscale threshold;

[0180] Based on the anti-counterfeiting mark boundary and anti-counterfeiting mark size information, the second filter element image is intercepted to obtain the anti-counterfeiting mark image.

[0181] The embodiment of the present application further provides a water purification device, including a filter element 300 and an anti-counterfeiting identification system. The anti-counterfeiting identification system includes an image acquisition device 400 and a micro control unit. The image acquisition device 400 and the micro control unit are electrically connected.

[0182] In this embodiment, the image acquisition device 400 is used to acquire a first filter element image of the filter element 300, and the flash memory of the micro control unit is used to store a second filter element image, which is obtained based on the grayscale data of the first filter element image. The micro control unit is used to perform anti-counterfeiting identification on the filter element 300 based on the above-mentioned filter element anti-counterfeiting identification method.

[0183] In some embodiments, the anti-counterfeiting identification system may include an anti-counterfeiting identification device of a filter element as shown in FIG5 .

[0184] According to the water purification equipment provided in the embodiment of the present application, by collecting the first filter element image, extracting the grayscale data to obtain the second filter element image, intercepting the second filter element image, obtaining the anti-counterfeiting mark image, and comparing it with the template mark image, the authenticity of the filter element is determined. This can effectively reduce the requirements for the image processor, and use a microcontroller unit with a smaller random access memory and a lower cost to achieve anti-counterfeiting identification of the filter element, effectively reducing the cost of anti-counterfeiting identification of the filter element.

[0185] It is understandable that moisture or water leakage may occur inside the water purification equipment, which may cause the lens surface of the image acquisition device 400 to become fogged, thereby affecting the image quality and making anti-counterfeiting identification impossible.

[0186] As shown in Figure 6, the present application also provides an anti-counterfeiting identification method for a filter element, which includes steps 610 to 630. The method can accurately identify the fogging situation and perform corresponding anti-counterfeiting identification operations without the need to improve the lens, which helps to reduce the cost of anti-counterfeiting identification of the filter element.

[0187] Step 610: Obtain the anti-counterfeiting mark image of the filter element 300 to be identified.

[0188] In this step, the anti-counterfeiting mark image of the filter element 300 may be captured by the image capture device 400 . The anti-counterfeiting mark image may be a captured image.

[0189] Step 620: Perform ternary processing on the anti-counterfeiting mark image to obtain a ternary image.

[0190] It is understandable that when the lens surface of the image acquisition device 400 is not fogged, the anti-counterfeiting mark image captured by the image acquisition device 400 includes an anti-counterfeiting mark with clear boundaries. When the lens surface of the image acquisition device 400 is fogged, the anti-counterfeiting mark image captured will be relatively blurred.

[0191] Take the anti-counterfeiting mark of the filter element 300 as a QR code as an example.

[0192] As shown in FIG7 , the lens surface of the image acquisition device 400 is not fogged, and the anti-counterfeiting mark image acquired by the image acquisition device 400 includes a two-dimensional code with clear boundaries, and can display all small squares with clear black and white.

[0193] As shown in FIG8 , the lens surface of the image acquisition device 400 is fogged, and the anti-counterfeiting mark image acquired by the image acquisition device 400 is blurred, and only a small black and white square can be displayed.

[0194] As shown in FIG9 , the lens of the image acquisition device 400 is severely fogged, and the anti-counterfeiting mark image acquired by the image acquisition device 400 is blurred, and the small square with distinct black and white cannot be displayed.

[0195] In this step, a first pixel threshold and a second pixel threshold may be preset, the first pixel threshold being smaller than the second pixel threshold, and the first pixel threshold and the second pixel threshold are used to perform ternary processing on the anti-counterfeiting mark image.

[0196] In this embodiment, the pixel value in the anti-counterfeiting mark image that is less than or equal to the first pixel threshold is set as the grayscale minimum value (for example, 0), the pixel value between the first pixel threshold and the second pixel threshold is set as the grayscale intermediate value (for example, 1), and the pixel value that is greater than or equal to the second pixel threshold is set as the grayscale maximum value (for example, 2).

[0197] Taking the anti-counterfeiting mark of the filter element 300 as a QR code as an example, interval division is performed based on the RGB data of the anti-counterfeiting mark image, and ternary processing is performed.

[0198] In actual implementation, when the lens of the image acquisition device 400 is normal, the RGB data of the black and white blocks in the collected anti-counterfeiting mark image fluctuates within a small range. For example, the RGB data of the black square is less than 20, and the RGB data of the white square is greater than 240.

[0199] After the lens surface of the image acquisition device 400 is fogged, the acquired anti-counterfeiting mark image is partially or completely blurred to varying degrees, and a series of intermediate RGB data between 20-240 appear.

[0200] In this embodiment, the anti-counterfeiting mark image is ternary processed, and the grayscale value of the black square position with RGB data less than 20 is set to 0, the grayscale value of the white square position with RGB data greater than 240 is set to 2, and the grayscale value of the position with intermediate RGB data is set to 1.

[0201] Step 630 : When the pixel ratio of the grayscale intermediate value of the ternary image is greater than the target ratio threshold, perform an anti-counterfeiting identification operation on the filter element 300 to determine the product authenticity information of the filter element 300 .

[0202] It should be noted that the number of pixels in the image captured by the image acquisition device 400 is fixed. For example, the anti-counterfeiting logo image includes 64x64 pixels. The blurring of the lens of the image acquisition device 400 is determined based on the pixel ratio of the grayscale median value of the ternary image, that is, the ratio of the grayscale median value of the ternary image to the total number of pixels.

[0203] In actual implementation, a target proportion threshold can be pre-set based on actual test data. When the pixel proportion of the grayscale median value is greater than the target proportion threshold, the anti-counterfeiting mark image is blurred, indicating that the lens surface of the image acquisition device 400 is fogged.

[0204] For example, the target proportion threshold is 40%. When the proportion of pixels with the grayscale median value of the ternary image is greater than 40%, it indicates that the lens surface of the image acquisition device 400 is fogged.

[0205] In this embodiment, after determining that the lens surface of the image acquisition device 400 is fogged, a corresponding anti-counterfeiting identification operation is performed on the filter element 300 to determine the authenticity of the filter element 300.

[0206] In actual implementation, the frequency of fogging inside the water purification equipment is low, and the timeliness requirement for identifying the authenticity of the filter element is not high. The anti-counterfeiting mark image can be collected through a low-cost image acquisition device 400. After determining that the lens is fogged, the corresponding anti-counterfeiting identification operation is taken. There is no need to use a lens with anti-fogging material added to meet the filter element anti-counterfeiting identification requirements.

[0207] It should be noted that for some counterfeit filter elements 300 whose surface markings are missing or complete without markings, the anti-counterfeiting mark image is ternary processed, and whether it is fogged is judged based on whether the pixel ratio of the grayscale median value is greater than the target ratio threshold. This can accurately distinguish between counterfeiting and fogging. The image of the counterfeit filter element 300 does not have pixels corresponding to the grayscale median value.

[0208] According to the anti-counterfeiting identification method of the filter element in the embodiment of the present application, the anti-counterfeiting mark image is ternary-processed, and the fogging situation is accurately identified based on the pixel ratio of the grayscale median value of the ternary image, and the corresponding anti-counterfeiting identification operation is performed. There is no need to improve the lens, which helps to reduce the cost of anti-counterfeiting identification of the filter element.

[0209] In actual implementation, after judging whether the lens of the image acquisition device 400 is fogged based on the pixel ratio of the grayscale median value of the ternary image, the authenticity information of the filter element 300 can be determined through at least the following two anti-counterfeiting identification operations.

[0210] 1. No true or false judgment is made at the time, and multiple tests are performed subsequently.

[0211] In some embodiments, performing an anti-counterfeiting identification operation on the filter element 300 to determine the authenticity of the filter element 300 may include:

[0212] acquiring a plurality of anti-counterfeiting mark images again at a first time interval;

[0213] Performing ternary processing on the multiple anti-counterfeiting mark images respectively to obtain multiple new ternary images;

[0214] When the new multiple ternary images include at least one target ternary image, the product authenticity information is determined based on the anti-counterfeiting mark image corresponding to the target ternary image, and the target ternary image is a ternary image in which the proportion of pixels with grayscale intermediate values ​​is less than or equal to the target proportion threshold.

[0215] In this embodiment, the fogging of the lens of the image acquisition device 400 is determined based on the ternary processed image of the anti-counterfeiting mark currently acquired, and the authenticity of the filter element 300 is not determined currently.

[0216] It is understandable that lens fogging will change with changes in the environment. The current lens fogging may disappear after a period of time.

[0217] Subsequently, multiple anti-counterfeiting mark images are continuously acquired at the first time interval and ternary processed. As long as at least one of the multiple new ternary images can determine that the lens is no longer fogged, that is, the target ternary image, the anti-counterfeiting mark image corresponding to the target ternary image is used to perform anti-counterfeiting identification to determine the authenticity of the filter element 300.

[0218] For example, the first time interval is 6 hours.

[0219] The lens of the image acquisition device 400 is fogged, and the authenticity of the filter element 300 is not judged at present. Subsequently, one anti-counterfeiting logo image is obtained every 6 hours, and a total of 20 anti-counterfeiting logo images are obtained. The 20 anti-counterfeiting logo images are ternary processed. When the pixel ratio of the grayscale median value of at least one of the new 20 ternary images is less than or equal to the target ratio threshold, anti-counterfeiting identification can be performed based on the corresponding anti-counterfeiting logo image.

[0220] In some embodiments, after determining the authenticity of the product based on the anti-counterfeiting mark image corresponding to the target ternary image, the anti-counterfeiting identification method of the filter element may further include:

[0221] At a second time interval, the anti-counterfeiting mark image is acquired again to perform anti-counterfeiting identification on the filter element 300 , and the second time interval is greater than the first time interval.

[0222] In this embodiment, after anti-counterfeiting identification is performed according to the anti-counterfeiting mark image corresponding to the target ternary image, the frequency of the anti-counterfeiting identification operation can be reduced, for example, the first time interval is 6 hours and the second time interval is 24 hours.

[0223] It can be understood that by regularly acquiring the anti-counterfeiting mark image according to the pre-set second time interval, not only can the authenticity of the filter element 300 be monitored in real time, but also the fogging condition of the lens of the image acquisition device 400 and the moisture or leakage inside the water purification equipment can be judged based on the ternary image corresponding to the anti-counterfeiting mark image.

[0224] 2. No authenticity judgment is made locally, but the cloud performs the authenticity judgment.

[0225] In some embodiments, performing an anti-counterfeiting identification operation on the filter element 300 to determine the authenticity of the filter element 300 may include:

[0226] Sending the anti-counterfeiting logo image to the server;

[0227] Receive product authenticity information sent by the server.

[0228] In this embodiment, after determining that the lens of the image acquisition device 400 is fogged, the water purification device or other terminal does not determine the authenticity of the current filter element 300, and sends the current anti-counterfeiting mark image to the cloud server. The server's powerful computing power is used to restore and analyze the blurred data to determine the authenticity of the filter element 300.

[0229] It should be noted that only when it is determined that the lens of the image acquisition device 400 is fogged based on the ternary image corresponding to the anti-counterfeiting mark image, the above-mentioned anti-counterfeiting identification operation of subsequent multiple detections or authenticity judgment in the cloud is adopted. For anti-counterfeiting mark images with clear imaging, the authenticity of the filter element 300 can be directly judged.

[0230] In some embodiments, after obtaining the ternary image, the anti-counterfeiting identification method of the filter element may further include:

[0231] When the pixel ratio of the grayscale intermediate value of the ternary image is less than or equal to the target ratio threshold, the authenticity information of the product is determined based on the anti-counterfeiting mark image.

[0232] In this embodiment, the pixel ratio of the grayscale median value of the ternary image is less than or equal to the target ratio threshold, indicating that the lens of the image acquisition device 400 is not fogged, and anti-counterfeiting identification can be directly performed, and the authenticity information of the product can be determined using the current anti-counterfeiting mark image.

[0233] In some embodiments, the anti-counterfeiting mark image is a color image. After obtaining the anti-counterfeiting mark image of the filter element 300 to be identified and before performing ternary processing on the anti-counterfeiting mark image, the anti-counterfeiting identification method of the filter element further includes:

[0234] Convert the anti-counterfeiting logo image to a grayscale image.

[0235] It can be understood that a color image is also called an RGB image, which has three channels of color components: R, G, and B. After converting the color image of the anti-counterfeiting logo image into a grayscale image, there is only a single channel of color component, which can effectively improve the processing speed of the ternary processing of the anti-counterfeiting logo image.

[0236] An embodiment is described below.

[0237] As shown in Figure 10, the anti-counterfeiting logo image is initialized and collected to obtain the image RGB data. The RGB data is ternary processed, and the grayscale value of the black square position with RGB data less than 20 is set to 0, the grayscale value of the white square position with RGB data greater than 240 is set to 2, and the grayscale value of the position with intermediate RGB data is set to 1.

[0238] Calculate the proportion of 1 values ​​in the overall data, that is, the proportion of the grayscale median value of the ternary image to the total number of pixels. When the proportion of 1 values ​​is >40%, it is determined that the lens of the image acquisition device 400 is fogged or abnormal, and perform subsequent multiple detections or perform true and false judgment in the cloud for abnormal processing and anti-counterfeiting identification operations.

[0239] When the proportion of 1 values ​​is ≤40%, it is determined that the lens of the image acquisition device 400 is normal, normal recognition is performed, the judgment result is output, and the next triggering of image acquisition is waited for.

[0240] In this embodiment, by ternary processing the anti-counterfeiting mark image, the fogging situation is accurately identified according to the pixel ratio of the grayscale median value of the ternary image, and the corresponding anti-counterfeiting identification operation is performed without the need to improve the lens, which helps to reduce the cost of filter element anti-counterfeiting identification.

[0241] An embodiment of the present application also provides an anti-counterfeiting identification device for a filter element.

[0242] As shown in Figure 11, the anti-counterfeiting identification device of the filter element includes:

[0243] The second acquisition module 1110 is used to acquire the anti-counterfeiting mark image of the filter element 300 to be identified;

[0244] The fourth processing module 1120 is used to perform ternary processing on the anti-counterfeiting mark image to obtain a ternary image;

[0245] The fifth processing module 1130 is configured to perform an anti-counterfeiting identification operation on the filter element 300 to determine the authenticity of the filter element 300 when the pixel ratio of the grayscale intermediate value of the ternary image is greater than a target ratio threshold.

[0246] According to the anti-counterfeiting identification device of the filter element provided in the embodiment of the present application, the anti-counterfeiting mark image is ternary-processed, and the fogging situation is accurately identified according to the pixel ratio of the grayscale median value of the ternary image, and the corresponding anti-counterfeiting identification operation is performed. There is no need to improve the lens, which helps to reduce the cost of anti-counterfeiting identification of the filter element.

[0247] In some embodiments, the fifth processing module 1130 is configured to obtain a plurality of anti-counterfeiting mark images again at the first time interval;

[0248] Performing ternary processing on the multiple anti-counterfeiting mark images respectively to obtain multiple new ternary images;

[0249] When the new multiple ternary images include at least one target ternary image, the product authenticity information is determined based on the anti-counterfeiting mark image corresponding to the target ternary image, and the target ternary image is a ternary image in which the proportion of pixels with grayscale intermediate values ​​is less than or equal to the target proportion threshold.

[0250] In some embodiments, the fifth processing module 1130 is used to obtain the anti-counterfeiting mark image again at a second time interval after determining the authenticity information of the product based on the anti-counterfeiting mark image corresponding to the target ternary image, so as to perform anti-counterfeiting identification on the filter element 300, and the second time interval is greater than the first time interval.

[0251] In some embodiments, the fifth processing module 1130 is configured to send the anti-counterfeiting mark image to a server;

[0252] Receive product authenticity information sent by the server.

[0253] In some embodiments, the fifth processing module 1130 is further configured to determine the authenticity of the product based on the anti-counterfeiting mark image when the percentage of pixels with intermediate grayscale values ​​in the ternary image is less than or equal to a target percentage threshold.

[0254] In some embodiments, the anti-counterfeiting mark image is a color image, and the fourth processing module 1120 is further configured to convert the anti-counterfeiting mark image into a grayscale image.

[0255] The embodiment of the present application also provides a water purification device, including a filter element 300 and an anti-counterfeiting identification system.

[0256] In this embodiment, the anti-counterfeiting identification system is used to perform anti-counterfeiting identification on the filter element 300 based on the anti-counterfeiting identification method of the filter element. The anti-counterfeiting identification method of the filter element may include: obtaining an anti-counterfeiting logo image of the filter element 300 to be identified; performing ternary processing on the anti-counterfeiting logo image to obtain a ternary image; when the pixel ratio of the grayscale median value of the ternary image is greater than the target ratio threshold, performing an anti-counterfeiting identification operation on the filter element 300 to determine the product authenticity information of the filter element 300.

[0257] In some embodiments, the anti-counterfeiting identification system may include an anti-counterfeiting identification device of a filter element as shown in FIG11 .

[0258] According to the water purification equipment provided in the embodiment of the present application, the anti-counterfeiting mark image is ternary-processed, and the atomization situation is accurately identified according to the pixel ratio of the grayscale median value of the ternary image, and the corresponding anti-counterfeiting identification operation is performed without the need to improve the lens, which helps to reduce the cost of anti-counterfeiting identification of the filter element.

[0259] It is understandable that low-cost anti-counterfeiting identification of the filter element 300 can be achieved by using a low-cost processor. For a low-cost processor, its internal storage space is not large enough to process the complete image captured by the camera, and external expansion of the storage space will increase the cost of anti-counterfeiting identification.

[0260] As shown in Figure 12, the present application also provides an anti-counterfeiting identification method for a filter element, which includes steps 1210 to 1240. The method can accurately locate the key positions of the image of the filter element 300, crop the image according to the positioning information, and perform anti-counterfeiting identification processing, which helps to achieve low-cost anti-counterfeiting identification of the filter element.

[0261] Step 1210: Obtain an image to be processed of the filter element 300 to be identified.

[0262] The image to be processed includes the anti-counterfeiting mark of the filter element 300 , and the image to be processed may be an image captured by the image capture device 400 .

[0263] As shown in FIG13 , in the case where only the anti-counterfeiting mark has a clear boundary in the image to be processed, the method of finding the black edge can be used to confirm the target area where the anti-counterfeiting mark is located, or the data of the center part of the image can be directly intercepted.

[0264] In actual scenarios, as shown in Figure 14, there are too many interference factors in the image to be processed, and the black edge search cannot accurately identify the target area where the anti-counterfeiting mark is located. As shown in Figure 15, the acquisition angle of the image to be processed is offset, and it is impossible to obtain the effective image data of the anti-counterfeiting mark by intercepting the data of the central part of the image.

[0265] Step 1220: Perform image preprocessing on the image to be processed to obtain a first target image.

[0266] The difference between the anti-counterfeiting mark area and the background area in the first target image is greater than the difference between the anti-counterfeiting mark area and the background area in the image to be processed.

[0267] In this step, the difference between the anti-counterfeiting mark area and the background area in the image to be processed is increased by image preprocessing means to obtain a first target image, in which the anti-counterfeiting mark area is easier to identify.

[0268] It should be noted that the difference between the anti-counterfeiting mark area and the background area in the image refers to the degree of difference between the image features of the anti-counterfeiting mark area and the image features of the background area. The difference between the anti-counterfeiting mark area and the background area in the image to be processed can be increased through image processing methods such as pixel expansion, contrast adjustment, and binarization, which helps to accurately locate the anti-counterfeiting mark area in the image.

[0269] Step 1230: Determine the target area where the anti-counterfeiting mark is located in the first target image based on the size information of the anti-counterfeiting mark.

[0270] In this step, based on the size information of the anti-counterfeiting mark, a target area where the anti-counterfeiting mark is located is located in the first target image where the anti-counterfeiting mark area is significantly different from the background area.

[0271] For example, if the anti-counterfeiting mark is a 90x90 pixel square QR code, the target area where the anti-counterfeiting mark matching the square of this size is located is searched in the first target image based on the 90x90 pixel square.

[0272] Step 1240: crop the image to be processed based on the target area to obtain an anti-counterfeiting mark image.

[0273] The anti-counterfeiting mark image is used to determine the authenticity of the filter element 300 .

[0274] In this embodiment, the first target image is cropped according to the target area where the anti-counterfeiting mark is located to obtain the anti-counterfeiting mark image corresponding to the target area where the anti-counterfeiting mark is located. After cropping, the image size is greatly reduced, and anti-counterfeiting identification of the filter element 300 can also be achieved using a low-cost processor.

[0275] According to the anti-counterfeiting identification method of the filter element provided in the embodiment of the present application, by performing image preprocessing on the image to be processed, the difference between the anti-counterfeiting mark area and the background area in the image to be processed is increased, which helps to accurately locate the anti-counterfeiting mark area in the image. The image is cropped according to the located target area, and anti-counterfeiting identification processing is performed, which can achieve low-cost anti-counterfeiting identification of the filter element.

[0276] In some embodiments, step 1220 may include:

[0277] Perform binarization on the image to be processed to obtain a target binary image;

[0278] Based on the pixel value of each pixel in the target binary image, pixels adjacent to each pixel in the target binary image are expanded and filled with pure color pixels to obtain a first target image.

[0279] In this embodiment, the image preprocessing of the image to be processed includes binarization processing and pixel expansion filling. Through binarization processing and pixel expansion filling, the difference between the anti-counterfeiting mark area and the background area in the image to be processed is effectively increased to obtain the first target image.

[0280] In actual implementation, the image to be processed is binarized according to a preset binarization threshold value, and the anti-counterfeiting mark area and the background area are preliminarily separated to obtain a target binary image.

[0281] According to the pixel value of each pixel in the target binary image, its adjacent pixel points are filled with pure color pixels to highlight the boundary between the anti-counterfeiting mark area and the background area, thereby increasing the difference between the anti-counterfeiting mark area and the background area in the image to be processed.

[0282] For example, as shown in FIG16 , the pixel points of the target binary image are expanded, and the pixel values ​​of the pixel points adjacent to a certain pixel point of the target binary image are read one by one in the downward, left, and diagonal directions, and a threshold is used to determine whether it is a black dot. If it is a black dot, black pixels are used to fill it until the expansion processing of the entire target binary image is completed.

[0283] The image to be processed as shown in FIG15 is subjected to image preprocessing by binarization processing and pixel expansion filling, and a first target image as shown in FIG17 can be obtained. In the first target image, the difference between the anti-counterfeiting mark area and the background area is more obvious.

[0284] In some embodiments, the filling and extension direction of the pure color pixels is determined based on the distribution characteristics of the background area in the target binary image.

[0285] It can be understood that the background area is an interference printing that affects the identification and positioning of the anti-counterfeiting mark area. According to the distribution characteristics of the background area, the filling and expansion direction of the pure color pixels are determined to effectively increase the difference between the anti-counterfeiting mark area and the background area.

[0286] For example, as shown in FIG15 , the interference factors in the background area are more vertical stripes. By expanding in the filling and expansion direction of black pixels as shown in FIG16 , a first target image with increased difference between the anti-counterfeiting mark area and the background area can be obtained.

[0287] In some embodiments, step 1230 may include:

[0288] Taking a pixel point of the first target image as a reference point, traverse all pixel points of the first target image in sequence to obtain a count value of a target pixel point in an area corresponding to the size information in the first target image, where the target pixel point is a pixel point whose pixel value is greater than a target pixel threshold;

[0289] The target area is determined based on the count values ​​of the target pixels.

[0290] In this embodiment, based on the size information of the anti-counterfeiting mark, we can start with the pixel point in the lower left corner of the first target image, traverse all the pixel points of the first target image in sequence, and use each pixel point as a reference point to calculate the count value of the target pixel points in the area corresponding to the size information.

[0291] For example, the target pixel is a black pixel, and the anti-counterfeiting mark is a 90x90 pixel square, as shown in FIG18 . Starting from the pixel in the lower left corner, the count value of the black pixel in the 90x90 pixel image is calculated, and then the reference point is moved one pixel to the right, and the count value of the black pixel in the 90x90 pixel image is continued to be calculated until all the pixels of the first target image are traversed.

[0292] In some embodiments, the area with the largest count value of target pixels in the first target image is determined as the target area.

[0293] In this embodiment, after obtaining the count value of the target pixel points in the area corresponding to each size information in the first target image, the area with the largest count value is taken as the target area. As shown in Figure 19, the image to be processed can be cropped according to the target area (the black border next to the QR code) to obtain the anti-counterfeiting mark image for anti-counterfeiting identification.

[0294] In some embodiments, after obtaining the count value of target pixels in the area corresponding to the size information in the first target image, the anti-counterfeiting identification method of the filter element may further include:

[0295] When there are multiple areas in the first target image where the count value of the target pixel points is greater than the target count threshold, at least one of the image to be processed and the first target image is sent to the server for the server to perform anti-counterfeiting identification on the filter element 300.

[0296] Among them, the target counting threshold can be a counting critical value determined according to the pixel ratio of the target pixel points in the anti-counterfeiting mark. When the count value of the target pixel points in a certain area in the first target image is greater than the target counting threshold, it indicates that the area may be the area where the anti-counterfeiting mark is located.

[0297] In this embodiment, there are multiple areas in the first target image where the count values ​​of the target pixels are greater than the target count threshold, and the exact position of the target area cannot be accurately located. The image to be processed and / or the first target image can be sent to the server, and the powerful computing power of the server can be used to perform anti-counterfeiting identification to improve the identification accuracy.

[0298] An embodiment is described below.

[0299] As shown in FIG20 , the image acquisition device 400 acquires an image to be processed, and may first store the image in the on-chip Flash of the microprocessor unit, and then read the image from the on-chip Flash to perform image pre-processing.

[0300] Select a threshold for binarization, perform binarization on the image to be processed, and perform image preprocessing with black pixel expansion. If a pixel is determined to be black by the threshold, fill the adjacent data below with black, and read the next pixel until all pixels are filled.

[0301] After image preprocessing is completed, the black pixel count is performed on the area corresponding to the size information of the anti-counterfeiting mark in the first target image, the first pixel point is selected as the coordinate origin, the square image data of the set width starting from the coordinate origin is read, the number of black pixels is calculated, and the coordinate point is moved to the next pixel point until all square pixel statistics are completed. The area with the largest black pixel count value is determined as the target area where the anti-counterfeiting mark is located.

[0302] In this embodiment, by performing image preprocessing on the image to be processed, increasing the difference between the anti-counterfeiting mark area and the background area in the image to be processed, accurately locating the anti-counterfeiting mark area in the image, and cropping the image according to the located target area, low-cost filter element anti-counterfeiting identification can be achieved.

[0303] An embodiment of the present application also provides an anti-counterfeiting identification device for a filter element.

[0304] As shown in Figure 21, the anti-counterfeiting identification device of the filter element includes:

[0305] The third acquisition module 2110 is used to acquire an image to be processed of the filter element 300 to be identified, where the image to be processed includes the anti-counterfeiting mark of the filter element 300;

[0306] The sixth processing module 2120 is configured to perform image preprocessing on the image to be processed to obtain a first target image, wherein the difference between the anti-counterfeiting mark area and the background area in the first target image is greater than the difference between the anti-counterfeiting mark area and the background area in the image to be processed;

[0307] A seventh processing module 2130 is configured to determine a target area where the anti-counterfeiting mark is located in the first target image based on the size information of the anti-counterfeiting mark;

[0308] The eighth processing module 2140 is configured to crop the image to be processed based on the target area to obtain an anti-counterfeiting mark image, which is used to determine the authenticity of the filter element 300 .

[0309] According to the anti-counterfeiting identification device of the filter element provided in the embodiment of the present application, by performing image preprocessing on the image to be processed, the difference between the anti-counterfeiting mark area and the background area in the image to be processed is increased, which helps to accurately locate the anti-counterfeiting mark area in the image. The image is cropped according to the located target area, and anti-counterfeiting identification processing is performed, which can achieve low-cost anti-counterfeiting identification of the filter element.

[0310] In some embodiments, the sixth processing module 2120 is configured to perform binarization processing on the image to be processed to obtain a target binary image;

[0311] Based on the pixel value of each pixel in the target binary image, pixels adjacent to each pixel in the target binary image are expanded and filled with pure color pixels to obtain a first target image.

[0312] In some embodiments, the filling and extension direction of the pure color pixels is determined based on the distribution characteristics of the background area in the target binary image.

[0313] In some embodiments, the seventh processing module 2130 is configured to use a pixel of the first target image as a reference point, sequentially traverse all pixels of the first target image, and obtain a count value of a target pixel in an area corresponding to the size information in the first target image, where the target pixel is a pixel whose pixel value is greater than a target pixel threshold.

[0314] The target area is determined based on the count values ​​of the target pixels.

[0315] In some embodiments, the seventh processing module 2130 is configured to determine a region having the largest count value of target pixels in the first target image as the target region.

[0316] In some embodiments, the seventh processing module 2130 is also used to send at least one of the image to be processed and the first target image to the server when there are multiple areas where the count value of the target pixel points in the first target image is greater than the target count threshold, so that the server can perform anti-counterfeiting identification on the filter element 300.

[0317] The embodiment of the present application also provides a water purification device, including a filter element 300 and an anti-counterfeiting identification system.

[0318] In this embodiment, the anti-counterfeiting identification system is used to perform anti-counterfeiting identification on the filter element 300 based on the anti-counterfeiting identification method of the filter element. The anti-counterfeiting identification method of the filter element may include: obtaining an image to be processed of the filter element 300 to be identified, the image to be processed including the anti-counterfeiting mark of the filter element 300; performing image preprocessing on the image to be processed to obtain a first target image, wherein the difference between the anti-counterfeiting mark area and the background area in the first target image is greater than the difference between the anti-counterfeiting mark area and the background area in the image to be processed; determining the target area where the anti-counterfeiting mark is located in the first target image based on the size information of the anti-counterfeiting mark; and cropping the image to be processed based on the target area to obtain an anti-counterfeiting mark image, wherein the anti-counterfeiting mark image is used to determine the product authenticity information of the filter element 300.

[0319] In some embodiments, the anti-counterfeiting identification system may include an anti-counterfeiting identification device of a filter element as shown in FIG. 21 .

[0320] According to the water purification equipment provided in the embodiment of the present application, by performing image preprocessing on the image to be processed, the difference between the anti-counterfeiting mark area and the background area in the image to be processed is increased, which helps to accurately locate the anti-counterfeiting mark area in the image. The image is cropped according to the located target area, and anti-counterfeiting identification processing is performed, which can achieve low-cost filter element anti-counterfeiting identification.

[0321] As shown in Figure 22, an embodiment of the present application also provides an electronic device 2200, including a processor 2201, a memory 2202, and a computer program stored in the memory 2202 and runnable on the processor 2201. When the program is executed by the processor 2201, each process of the anti-counterfeiting identification method embodiment of any of the above-mentioned filter elements is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0322] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0323] An embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the anti-counterfeiting identification method embodiment of any of the above-mentioned filter elements and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0324] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0325] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the anti-counterfeiting identification method of any of the above-mentioned filter elements.

[0326] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0327] An embodiment of the present application also provides a water purification device, which can reduce the cost of anti-counterfeiting identification of the filter element and simplify the replacement operation of the filter element 300. It should be noted that the water purification device can perform anti-counterfeiting identification of the filter element 300 based on any of the above-mentioned anti-counterfeiting identification methods of the filter element.

[0328] In this embodiment, the water purification device includes: a housing 200, a filter element 300, an image acquisition device 400, a reset button and a control panel.

[0329] As shown in Figure 23, the housing 200 defines a accommodating space, the filter element 300 is located in the accommodating space, the control panel is located in the accommodating space, the image acquisition device 400 is located in the accommodating space, and the image acquisition device 400 is set towards the anti-counterfeiting mark area of ​​the filter element 300.

[0330] The image acquisition device 400 is used to acquire an image of the anti-counterfeiting mark area of ​​the filter element 300 , and can output the image to the control board, which processes the image and performs anti-counterfeiting identification of the filter element 300 .

[0331] The reset button is set on the housing 200, and the reset button is used to output a reset button signal based on the received input; the control board is electrically connected to the reset button and the image acquisition device 400, and the control board is used to control the image acquisition device 400 to capture an image of the anti-counterfeiting mark area based on the reset button signal.

[0332] In this embodiment, the user can press the reset button, the control board receives the reset button signal, and forwards the reset button signal to the image acquisition device 400. The image acquisition device 400 receives the signal and starts to acquire images. By setting the reset button, images are acquired when the reset button signal is input. Compared with the solution of performing single photo recognition at a certain frequency in the related art, the shooting frequency can be reduced and the service life of the device can be extended.

[0333] It should be noted that an image acquisition device 400 is installed in the casing 200 of the water purification equipment. By comparing the images of the anti-counterfeiting mark taken by the image acquisition device 400 before and after receiving the reset key signal, it can be determined whether the filter element 300 of the water purification equipment has been replaced. If the image data before and after receiving the reset key signal are inconsistent, it indicates that the filter element 300 has been replaced. The anti-counterfeiting identification is performed on the replaced new filter element 300, and the new filter element 300 is determined to be genuine. The new filter element 300 is reset, and the controller performs data binding according to the image of the anti-counterfeiting mark of the new filter element 300 to simplify the filter element 300 replacement operation.

[0334] In some embodiments, the image acquisition device 400 includes a plurality of image acquisition units, and the plurality of image acquisition units are arranged in a one-to-one correspondence with the plurality of filter cartridges 300 of the water purification equipment.

[0335] The image acquisition device 400 can monitor multiple filter cartridges 300 in the water purification device at the same time. The user only needs to input a reset key signal once to automatically identify the replaced filter cartridge 300 in the water purification device and automatically reset the filter cartridge 300.

[0336] In actual implementation, when it is detected that the replaced filter element 300 is fake, the reset operation by the user pressing the reset button is ineffective, and the water purification device outputs information to remind the user that the filter element 300 is fake.

[0337] According to the water purification equipment provided in the embodiment of the present application, by setting an image acquisition device 400, cooperating with the reset button on the housing 200, an image of the anti-counterfeiting mark area of ​​the filter element 300 is acquired to perform anti-counterfeiting identification and reset operations, thereby reducing the cost of anti-counterfeiting identification of the filter element and simplifying the replacement operation of the filter element 300.

[0338] In some embodiments, the water purification device further includes an anti-counterfeiting information output device.

[0339] In this embodiment, the anti-counterfeiting information output device is disposed in the housing 200 , is electrically connected to the control board, and is used to output the authenticity information of the filter element 300 .

[0340] The image acquisition device 400 captures an image of the anti-counterfeiting mark area of ​​the filter element 300 and performs anti-counterfeiting identification on the filter element 300. When the filter element 300 is identified as authentic, the anti-counterfeiting information output device can output information that the filter element 300 is authentic, and the control panel automatically resets the filter element 300.

[0341] When the filter element 300 is identified as fake, the anti-counterfeiting information output device can output information that the filter element 300 is fake, reminding the user that the filter element 300 is fake, and the reset key signal input by the user is invalid.

[0342] In actual implementation, the anti-counterfeiting information output device can be a device that can output information, such as a display, a speaker, etc.

[0343] In some embodiments, the anti-counterfeiting information output device includes an anti-counterfeiting indicator light, which is used to light up when the filter element 300 is identified as fake.

[0344] In this embodiment, when the filter element 300 is identified as fake, the anti-counterfeiting indicator light lights up to remind the user that the filter element 300 is fake.

[0345] In some embodiments, the image acquisition device 400 includes an image acquisition component and a fill light component.

[0346] In this embodiment, the image acquisition device 400 is disposed in the accommodation space of the housing 200 , and the fill light component can provide fill light for the image acquisition component to ensure that the image acquisition device 400 can capture clear images.

[0347] In some embodiments, the water purification device may further include a communication module.

[0348] In this embodiment, the communication module is electrically connected to the control board, and the control board is used to communicate with the server through the communication module.

[0349] In actual implementation, the control board can capture the image captured by the image acquisition device 400 and transmit it to the server, using the server's powerful computing power to perform anti-counterfeiting identification. The control board can also transmit information such as the serial number obtained by the anti-counterfeiting identification of the filter element to the server to realize the binding of the water purification equipment and the filter element 300.

[0350] In some embodiments, the control board is used to receive the heartbeat signal sent by the image acquisition device 400 at a target time interval, and send a feedback signal corresponding to the heartbeat signal to the image acquisition device 400.

[0351] In this embodiment, a timed heartbeat communication method is used between the control board and the image acquisition device 400 to ensure that the communication link between the control board and the image acquisition device 400 is unobstructed, and when the image acquisition device 400 acquires images, they can be output to the control board normally.

[0352] In some embodiments, the water purification equipment may further include a fault information output device.

[0353] In this embodiment, the fault information output device is electrically connected to the control board, and the fault information output device is disposed in the housing 200 . The fault information output device is used to output fault information of the water purification device.

[0354] When the image acquisition device 400, reset button, control panel or other components of the water purification equipment fail, the fault information output device can output corresponding fault information to remind the user of the equipment failure and promptly inform after-sales service to repair the failure.

[0355] In actual implementation, the anti-counterfeiting information output device can be a device that can output information, such as a display, a speaker, etc.

[0356] In some embodiments, the fault information output device includes at least one fault indicator light, which is used to light up when a fault occurs in the water purification device.

[0357] In actual implementation, the fault information output device may include fault indicator lights corresponding to multiple components of the water purification equipment. For example, the fault information output device may include three fault indicator lights, and the two fault indicator lights correspond to the image acquisition device 400, the reset button and the communication module respectively.

[0358] When the fault indicator light corresponding to the image acquisition device 400 lights up, it indicates that the image acquisition device 400 has a fault; when the fault indicator light corresponding to the reset button lights up, it indicates that the reset button has a fault; when the fault indicator light corresponding to the communication module lights up, it indicates that the communication module has a fault;.

[0359] The failure of the image acquisition device 400 can be divided into a failure of the image acquisition component and a failure of the fill light component.

[0360] When the fill light component fails, the image captured by the image acquisition device 400 may be darker. It can be determined whether the fill light component fails based on the image captured by the image acquisition device 400.

[0361] An embodiment is described below.

[0362] As shown in FIG24 , the user presses the reset button, and upon receiving the reset button information, the image acquisition device 400 acquires and recognizes an image.

[0363] In this embodiment, it is determined whether the various components of the water purification equipment have failed. If no failure has occurred and the filter element 300 is identified as true, the reset operation of the filter element 300 is automatically performed; when a failure occurs, the fault information output device outputs the fault information to inform and remind the user to resolve the problem after sales.

[0364] In some embodiments, the reset button of the water purification device is a light-sensing button.

[0365] In this embodiment, the light-sensing button is used to collect light-sensing signals, generate corresponding reset button signals, and control the image acquisition device 400 to perform image acquisition. The light-sensing button collects light-sensing information without direct contact. The user can also trigger the light-sensing button when his hands are wet or when he holds objects in his hands.

[0366] It is understandable that the internal space of the housing 200 of the water purification equipment is limited, and the shooting distance required by the conventional camera module is long, which makes it difficult to install in the housing 200. In addition, the water purification equipment is a closed space with insufficient light, and the imaging quality of the conventional camera module is poor.

[0367] An embodiment of the present application also provides an image acquisition device 400, which is used for anti-counterfeiting identification of a filter element 300 of a water purification device. The image acquisition device 400 can be installed inside the water purification device and provide sufficient light for anti-counterfeiting identification, which helps to reduce the size of the water purification device and improve the space utilization inside the water purification device.

[0368] The image acquisition device 400 in the embodiment of the present application may include a lens, a fill light device and a light guide component 410.

[0369] The lens is used to capture an image of the anti-counterfeiting mark area of ​​the filter element 300, and the fill light device is used to fill light for the image captured by the lens.

[0370] As shown in Figure 25, the light guide component 410 includes a first light surface 411 and a second light surface 412. The first light surface 411 and the second light surface 412 are not arranged opposite each other so that the light path of the light guide component 410 is a bent light path. The lens and the fill light device are arranged toward the first light surface 411, and the second light surface 412 is used to be arranged toward the anti-counterfeiting mark area of ​​the filter element 300.

[0371] In this embodiment, the first light surface 411 and the second light surface 412 are not arranged to face each other, and the light path of the light guide component 410 is compactly bent. Compared with the conventional vertical or horizontal light path in the related art, the distance between the two light surfaces is greatly reduced, and the size of the image acquisition device 400 is reduced, which is convenient for installation in the narrow space inside the housing 200.

[0372] In actual implementation, as shown in Figure 27, the image acquisition device 400 provided with a bent light path light guide component 410 can be attached to the surface of the filter element and installed in the narrow space between the filter element 300 and the casing 200, thereby improving the space utilization inside the water purification equipment and helping to reduce the size of the water purification equipment.

[0373] In this embodiment, the light guide component 410 is used to guide light to be transmitted between the first light surface 411 and the second light surface 412 , and the lens is used to capture an image of the anti-counterfeiting mark area through the light guide component 410 .

[0374] The light emitted by the fill light device enters from the first light surface 411, is guided by the light guide component 410, and is emitted from the second light surface 412, evenly illuminating the anti-counterfeiting mark area of ​​the filter element 300; the light of the anti-counterfeiting mark area of ​​the filter element 300 enters from the second light surface 412, is guided by the light guide component 410, and is emitted from the first light surface 411, is received by the lens, and the image of the anti-counterfeiting mark area of ​​the filter element 300 is captured.

[0375] According to the image acquisition device 400 provided in the embodiment of the present application, the light transmission between the filter element 300 and the lens is guided by a light guide component 410 having two light surfaces that are not arranged opposite each other. The fill light device is arranged close to the lens to provide sufficient light for anti-counterfeiting identification, thereby solving the problem of installing the image acquisition device 400 in a small space inside the water purification equipment, improving the space utilization inside the water purification equipment, and helping to reduce the size of the water purification equipment.

[0376] The following describes the embodiments of the present application in detail from two different implementation perspectives.

[0377] 1. The light guide component 410 is a prism structure.

[0378] In this embodiment, the light guide component 410 is a prism structure, which changes the direction of light. The light is propagated and reflected in the prism structure, so that the longer light path in the vertical or horizontal direction in the related art is folded.

[0379] In some embodiments, as shown in Figure 26, the prism structure includes a first prism column 413 and a second prism column 414, the first light surface 411 is located at one end of the first prism column 413, the other end of the first prism column 413 is connected to one end of the second prism column 414, and the second light surface 412 is located at the other end of the second prism column 414.

[0380] The light from the fill light device enters from one end of the first prism 413 , propagates and reflects through the first prism 413 and the second prism 414 , and exits from the other end of the second prism 414 to evenly illuminate the anti-counterfeiting mark area of ​​the filter element 300 .

[0381] The light from the anti-counterfeiting mark area of ​​the filter element 300 enters from the other end of the second prism column 414, and the light completes propagation and reflection in the second prism column 414 and the first prism column 413, and is emitted from one end of the first prism column 413, and is received by the lens to capture the image of the anti-counterfeiting mark area of ​​the filter element 300.

[0382] In some embodiments, the first prism column 413 is provided with a first reflecting surface 415, and the second prism column 414 is provided with a second reflecting surface 416. The first reflecting surface 415 is used to reflect the light from the first light surface 411 to the second reflecting surface 416, and the second reflecting surface 416 is used to reflect the light from the second light surface 412 to the first reflecting surface 415.

[0383] In this embodiment, the first reflecting surface 415 of the first prism column 413 and the second reflecting surface 416 of the second prism column 414 provide the function of light reflection and deflection. By adjusting the angle between the first prism column 413 and the second prism column 414, the angle between the first reflecting surface 415 and the first light surface 411, and the angle between the second reflecting surface 416 and the second light surface 412, it is ensured that light can be transmitted between the first light surface 411 and the second light surface 412.

[0384] In some embodiments, a third reflective surface 417 is provided at the connection between the first prism column 413 and the second prism column 414 . The third reflective surface 417 is used to reflect the light from the first reflective surface 415 to the second reflective surface 416 .

[0385] In this embodiment, three reflective surfaces, namely, a first reflective surface 415, a second reflective surface 416 and a third reflective surface 417, are provided in the light guide component 410. The first reflective surface 415 cannot reflect the light directly to the second reflective surface 416. The light is reflected by the third reflective surface 417, so that the light can be transmitted between the first light surface 411 and the second light surface 412.

[0386] It should be noted that when the light guide component 410 is a prism structure, the reflective surfaces of the prism structure can be three or any other number. The number and angle of the reflective surfaces can be adjusted according to the positional relationship between the anti-counterfeiting mark area of ​​the filter element 300 and the lens to ensure that the first light surface 411 and the second light surface 412 are not arranged directly opposite each other, and the light path of the light guide component 410 is a bent light path.

[0387] In some embodiments, the angle between the first reflective surface 415 and the first light surface 411 is 45 degrees, the angle between the second reflective surface 416 and the second light surface 412 is 45 degrees, and the angle between the third reflective surface 417 and the first reflective surface 415 and the second reflective surface 416 are both 90 degrees.

[0388] For example, the ambient light reflected by the anti-counterfeiting mark area of ​​the filter element 300 is in a vertical direction, enters the prism structure from the second optical surface 412, is transformed into a horizontal direction after total reflection by the second reflection surface 416, is totally reflected once by the third reflection surface 417, and is totally reflected once by the first reflection surface 415, and then is emitted from the first optical surface 411, received by the lens, and an image of the anti-counterfeiting mark area is captured.

[0389] In this embodiment, the light undergoes multiple total reflection turns in the light guide component 410. The overall optical path of the light guide component 410 is relatively compact and the vertical space is greatly compressed. The image acquisition device 400 is smaller as a whole and is easy to install inside the water purifier.

[0390] In some embodiments, the prism structure is made of plastic or glass.

[0391] In actual implementation, the prism structure can be made of optical materials such as plastic or glass, and these optical materials are polished to form reflective surfaces at different angles and positions in the prism structure.

[0392] 2. The light guide assembly 410 is provided with a reflector 418 .

[0393] In some embodiments, the light guide assembly 410 defines a light guide channel, one end of the light guide channel is a first light surface 411 , the other end of the light guide channel is a second light surface 412 , and at least one reflector 418 is disposed in the light guide channel.

[0394] The light guide component 410 defines a light guide channel, and light is transmitted in the light guide channel. One end of the light guide channel is a first light surface 411, and the lens and the fill light device are set toward the first light surface 411. The other end of the light guide channel is a second light surface 412, and the anti-counterfeiting mark area of ​​the filter element 300 is set toward the second light surface 412.

[0395] As shown in Figure 25, a reflector 418 is provided in the light guide channel. The ambient light reflected by the anti-counterfeiting mark area of ​​the filter element 300 is in a vertical direction, enters the light guide channel from the second light surface 412, and is converted into a horizontal direction after total reflection by the reflector 418. It is emitted from the first light surface 411 and is received by the lens to capture the image of the anti-counterfeiting mark area.

[0396] It should be noted that there can be one or more reflectors 418 in the light-guiding channel, and the number and setting angle of the reflectors 418 can be adjusted according to the positional relationship between the anti-counterfeiting mark area of ​​the filter element 300 and the lens, to ensure that the first light surface 411 and the second light surface 412 are not directly opposite each other, and the light path of the light-guiding component 410 is a bent light path.

[0397] In actual implementation, the reflector 418 may be made of a smooth material with a reflective layer coated on the surface or back surface.

[0398] In some embodiments, the fill light device includes one or more fill lights.

[0399] In this embodiment, a fill light with sufficient power may be provided, or multiple fill lights may be provided to provide sufficient lighting so that the lens can capture a clear image of the anti-counterfeiting mark area.

[0400] In actual implementation, the fill light can be an LED light.

[0401] An embodiment of the present application further provides a water purification device, which includes the above-mentioned image acquisition device 400.

[0402] As shown in FIG. 27 , the water purification device includes: a housing 200 , at least one filter element 300 and at least one image acquisition device 400 .

[0403] The housing 200 defines a receiving space, the filter element 300 and the image acquisition device 400 are located in the receiving space, the image acquisition device 400 and the filter element 300 correspond one to one, and the image acquisition device 400 is arranged toward the anti-counterfeiting mark area of ​​the filter element 300.

[0404] The light guide component 410 of the image acquisition device 400 includes a first light surface 411 and a second light surface 412. The first light surface 411 and the second light surface 412 are not arranged to face each other so that the light path of the light guide component 410 is a bent light path. The lens and the fill light device are arranged toward the first light surface 411, and the second light surface 412 is used to be arranged toward the anti-counterfeiting mark area of ​​the filter element 300.

[0405] In this embodiment, the first light surface 411 and the second light surface 412 are not arranged to face each other, and the light path of the light guide component 410 is compactly bent. Compared with the conventional vertical or horizontal light path in the related art, the distance between the two light surfaces is greatly reduced, and the size of the image acquisition device 400 is reduced, which is convenient for installation in the narrow space inside the housing 200.

[0406] The light emitted by the fill light device enters from the first light surface 411, is guided by the light guide component 410, and is emitted from the second light surface 412, evenly illuminating the anti-counterfeiting mark area of ​​the filter element 300; the light of the anti-counterfeiting mark area of ​​the filter element 300 enters from the second light surface 412, is guided by the light guide component 410, and is emitted from the first light surface 411, is received by the lens, and the image of the anti-counterfeiting mark area of ​​the filter element 300 is captured.

[0407] According to the water purification equipment provided in the embodiment of the present application, the light transmission between the filter element 300 and the lens is guided by a light guide component 410 having two light surfaces that are not arranged opposite each other. The fill light device is arranged close to the lens to provide sufficient light for anti-counterfeiting identification, which solves the problem of installing the image acquisition device 400 in a small space inside the water purification equipment, improves the space utilization inside the water purification equipment, and helps to reduce the size of the water purification equipment.

[0408] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0409] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "up", "down", "left", "right", "vertical", "horizontal", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.

[0410] In the description of this application, "first feature" and "second feature" may include one or more of the features, and "plurality" means two or more.

[0411] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0412] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

[0413] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. An image acquisition device, characterized in that: The image acquisition device is used for anti-counterfeiting identification of a filter element of a water purification device, and the image acquisition device comprises: Lenses and fill lights; A light guide assembly, the light guide assembly comprising a first light surface and a second light surface, the first light surface and the second light surface are arranged non-oppositely so that the light path of the light guide assembly is a bent light path, the lens and the fill light device are arranged toward the first light surface, and the second light surface is arranged toward the anti-counterfeiting mark area of ​​the filter element; The light guide component is used to guide light to be transmitted between the first light surface and the second light surface, and the lens is used to collect an image of the anti-counterfeiting mark area through the light guide component.

2. The image acquisition device according to claim 1, characterized in that: The light guide component is a prism structure.

3. The image acquisition device according to claim 2, characterized in that: The prism structure includes a first prism column and a second prism column, the first optical surface is located at one end of the first prism column, the other end of the first prism column is connected to one end of the second prism column, and the second optical surface is located at the other end of the second prism column.

4. The image acquisition device according to claim 3, characterized in that: The first prism column is provided with a first reflecting surface, and the second prism column is provided with a second reflecting surface. The first reflecting surface is used to reflect the light from the first light surface to the second reflecting surface, and the second reflecting surface is used to reflect the light from the second light surface to the first reflecting surface.

5. The image acquisition device according to claim 4, characterized in that: A third reflection surface is provided at the connection between the first prism column and the second prism column, and the third reflection surface is used to reflect the light of the first reflection surface to the second reflection surface.

6. The image acquisition device according to claim 5, characterized in that: The included angle between the first reflecting surface and the first light surface is 45 degrees, the included angle between the second reflecting surface and the second light surface is 45 degrees, and the included angle between the third reflecting surface and the first reflecting surface and the second reflecting surface are both 90 degrees.

7. The image acquisition device according to any one of claims 2 to 6, characterized in that: The material of the prism structure is plastic or glass.

8. The image acquisition device according to any one of claims 1 to 7, characterized in that: The light guide component defines a light guide channel, one end of the light guide channel is the first light surface, the other end of the light guide channel is the second light surface, and at least one reflector is disposed in the light guide channel.

9. The image acquisition device according to any one of claims 1 to 8, characterized in that: The fill light device includes one or more fill light lamps.

10. A water purification device, characterized in that: include: a casing, wherein the casing defines a receiving space; at least one filter element, wherein the filter element is located in the accommodation space; At least one image acquisition device according to any one of claims 1 to 9, the image acquisition device is located in the accommodating space, the image acquisition device and the filter element have a one-to-one correspondence, and the image acquisition device is arranged toward the anti-counterfeiting mark area of ​​the filter element.

11. The water purification device according to claim 10, characterized in that: Also includes: A reset key, the reset key being disposed on the housing and configured to output a reset key signal based on a received input; A control board, the control board is electrically connected to the reset button and the image acquisition device, the control board is located in the accommodating space, and the control board is used to control the image acquisition device to acquire an image of the anti-counterfeiting mark area based on the reset button signal.

12. The water purification device according to claim 11, characterized in that: Also includes: An anti-counterfeiting information output device is disposed on the housing, the anti-counterfeiting information output device is electrically connected to the control board, and the anti-counterfeiting information output device is used to output the product authenticity information of the filter element.

13. The water purification device according to claim 12, characterized in that: The anti-counterfeiting information output device includes an anti-counterfeiting indicator light, which is used to light up when the filter element is identified as fake.

14. The water purification device according to any one of claims 11 to 13, characterized in that: The image acquisition device comprises an image acquisition component and a fill light component.

15. The water purification device according to any one of claims 11 to 14, characterized in that: Also includes: A communication module is electrically connected to the control board, and the control board is used to communicate with the server through the communication module.

16. The water purification device according to any one of claims 11 to 15, characterized in that: The control board is used to receive the heartbeat signal sent by the image acquisition device at a target time interval, and send a feedback signal corresponding to the heartbeat signal to the image acquisition device.

17. The water purification device according to any one of claims 11 to 16, characterized in that: Also includes: A fault information output device is electrically connected to the control panel, the fault information output device is arranged in the housing, and the fault information output device is used to output the fault information of the water purification equipment.

18. The water purification device according to claim 17, characterized in that: The fault information output device includes at least one fault indicator light, which is used to light up when a fault occurs in the water purification device.

19. The water purification device according to any one of claims 11 to 18, characterized in that: The image acquisition device includes a plurality of image acquisition units, and the plurality of image acquisition units are arranged in a one-to-one correspondence with the plurality of filter elements of the water purification equipment.

20. The water purification device according to any one of claims 11 to 19, characterized in that: The reset button is a light-sensitive button.

Citation Information

Patent Citations

  • Double eye iris image acquisition module for mobile device

    CN104834903A

  • Filter element anti-counterfeiting method, water purifier and filter element anti-counterfeiting system

    CN106355422A

  • Air conditioner, control method of air conditioner, server and storage medium

    CN112484231A

  • Water purification equipment

    CN220381596U

  • Image acquisition device and water purification equipment

    CN220383156U