CN108464297B - Fabric mite removing method and mite removing instrument - Google Patents

Fabric mite removing method and mite removing instrument Download PDF

Info

Publication number
CN108464297B
CN108464297B CN201810252625.5A CN201810252625A CN108464297B CN 108464297 B CN108464297 B CN 108464297B CN 201810252625 A CN201810252625 A CN 201810252625A CN 108464297 B CN108464297 B CN 108464297B
Authority
CN
China
Prior art keywords
fabric
image
target
characteristic
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810252625.5A
Other languages
Chinese (zh)
Other versions
CN108464297A (en
Inventor
徐晓明
李可
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Jiangsu Midea Cleaning Appliances Co Ltd
Original Assignee
Midea Group Co Ltd
Jiangsu Midea Cleaning Appliances Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Jiangsu Midea Cleaning Appliances Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810252625.5A priority Critical patent/CN108464297B/en
Publication of CN108464297A publication Critical patent/CN108464297A/en
Application granted granted Critical
Publication of CN108464297B publication Critical patent/CN108464297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01MCATCHING, TRAPPING OR SCARING OF ANIMALS; APPARATUS FOR THE DESTRUCTION OF NOXIOUS ANIMALS OR NOXIOUS PLANTS
    • A01M17/00Apparatus for the destruction of vermin in soil or in foodstuffs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features

Abstract

The embodiment of the invention discloses a fabric mite removing method, which is applied to a mite removing instrument and comprises the following steps: acquiring a fabric image of a target fabric; determining a characteristic value corresponding to the fabric characteristic in the fabric image, and determining the category of the target fabric according to the characteristic value; determining the current working parameters according to the corresponding relation between the category of the target fabric and the working parameters; and removing the mites according to the current working parameters. The method and the device have the advantages that the characteristic value corresponding to the fabric characteristic of the target fabric can be obtained, the category of the target fabric can be automatically identified, the current working parameters are determined according to the category of the target fabric, the target fabric is subjected to mite removal, the method is high in mite removal accuracy, good in mite removal effect and convenient to operate, and the target fabric is subjected to mite removal.

Description

Fabric mite removing method and mite removing instrument
Technical Field
The embodiment of the invention relates to the field of household appliances, in particular to a fabric mite removing method, a mite removing instrument and a computer readable storage medium.
Background
The mite killing instrument is a household appliance which is frequently used for killing mites in household cleaning, generally, the mite killing instrument comprises an ultraviolet lamp and a dust collection motor, and the mites are killed by dust collection and UV-C ultraviolet sterilization. Wherein, the dust absorption motor inhales dirt such as the inside dust of fabric, hair, dandruff in the inside dust storehouse of mite removing instrument to direct destroy microorganism organism cell through ultraviolet irradiation for mite, bacterium etc. lose survival and reproductive ability, thereby play the effect of dust absorption, mite removing. The fabric needing mite removal in the household fabric usually comprises various categories such as silk, leather, cotton, flax, terylene and the like, the mite removal instrument correspondingly possibly comprises one or more working gears, different working gears correspond to different power intensities, and before mite removal, a user manually starts the mite removal instrument and selects the working gears to remove the mites.
However, in the above manner, the working gears of the mite killing instrument are not correspondingly set for different fabric types, and different working gears need to be manually selected by a user, so that the user needs to know certain properties of the fabric when the mite killing instrument is used for killing mites, and the operation is very troublesome; secondly, the working gears are preset, the number of the working gears which can be selected for different types of fabrics is limited, and unreasonable selection of the working gears can cause fabric damage or poor mite removing effect.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention provide a fabric mite removing method, a mite removing apparatus, and a computer-readable storage medium, which can effectively avoid fabric damage and improve mite removing effect.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
a fabric mite removing method is applied to a mite removing instrument and comprises the following steps: acquiring a fabric image of a target fabric; determining a characteristic value corresponding to the fabric characteristic in the fabric image, and determining the category of the target fabric according to the characteristic value; determining the current working parameters according to the corresponding relation between the category of the target fabric and the working parameters; and removing the mites according to the current working parameters.
Wherein, the acquiring the fabric image of the target fabric further comprises: starting illumination; acquiring a fabric image of the target fabric within an illumination range.
Wherein the acquiring a fabric image of a target fabric comprises: detecting the definition of the fabric image; and when the definition of the fabric image does not reach the set condition, acquiring the fabric image of the target fabric again.
Wherein the determining a feature value corresponding to a fabric feature in the fabric image comprises: extracting fabric characteristic information in the fabric image, and determining whether the fabric image meets the characteristic extraction requirement according to the fabric characteristic information; when the fabric image does not meet the feature extraction requirement, returning to the step of obtaining the fabric image of the target fabric; and when the fabric image meets the feature extraction requirement, determining a feature value corresponding to the fabric feature according to the fabric feature information.
The determining of the characteristic value corresponding to the fabric characteristic in the fabric image and the determining of the category of the target fabric according to the characteristic value include: extracting fabric texture structure information in the fabric image, and calculating a characteristic value according to the fabric texture structure information; and comparing the characteristic value with a corresponding threshold value, and determining the category of the target fabric according to the comparison result.
Wherein the determining the characteristic value corresponding to the fabric characteristic in the fabric image comprises: dividing the fabric image into a plurality of image areas; determining at least one pixel point in each image area as a target pixel point, and determining a feature vector corresponding to each target pixel point according to the pixel value of each target pixel point and the pixel value of an adjacent target pixel point; and obtaining a characteristic value corresponding to the fabric characteristic in the fabric image according to the characteristic vector corresponding to each target pixel point.
Wherein, the determining the current working parameters according to the corresponding relationship between the type of the target fabric and the working parameters comprises: and determining the working mode corresponding to the type of the target fabric according to the corresponding relation between the type of the fabric and the working mode, and determining the current working parameters according to the working mode.
The processor executes the computer program to realize the fabric mite removing method provided by any embodiment of the application.
The LED surface light source and the image collector are respectively connected with the processor.
Wherein, still include beater, ultraviolet lamp and dust absorption motor, current working parameter includes vibration frequency, ultraviolet lamp output power and dust absorption motor power.
A mite killing instrument comprises an image acquisition module, an image processing module, a parameter determination module and a control module; the image acquisition module is used for acquiring a fabric image of a target fabric; the image processing module is used for determining a characteristic value corresponding to the fabric characteristic in the fabric image and determining the category of the target fabric according to the characteristic value; the parameter determining module is used for determining the current working parameters according to the corresponding relation between the category of the target fabric and the working parameters; and the control module is used for removing the mites according to the current working parameters.
A computer readable storage medium having stored thereon a fabric de-mite program which, when executed by a processor, implements a fabric de-mite method as provided in any embodiment of the present application.
In the above embodiment of the invention, the mite removing instrument acquires the fabric image of the target fabric; determining a characteristic value corresponding to the fabric characteristic in the fabric image, and determining the category of the target fabric according to the characteristic value; determining the current working parameters according to the corresponding relation between the category of the target fabric and the working parameters; the method comprises the steps of removing mites according to the current working parameters, automatically identifying the category of the target fabric by obtaining the characteristic value corresponding to the fabric characteristic of the target fabric, determining the current working parameters according to the category of the target fabric to remove the mites on the target fabric, so that the identification accuracy of the target fabric is high, determining the working parameters for executing the current mite removing work according to the categories of different target fabrics, avoiding damage to the fabrics, achieving a better mite removing effect and being convenient to operate.
Drawings
FIG. 1 is a schematic flow chart of a fabric mite removing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a fabric mite removing method according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart of a fabric mite removing method according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart of a fabric mite removing method according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of a fabric feature information extraction provided by an embodiment of the present invention;
FIG. 6 is a schematic structural view of a mite killing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural view of a mite killing apparatus according to another embodiment of the present invention;
FIG. 8 is a schematic structural view of a mite killing apparatus according to another embodiment of the present invention;
FIG. 9 is a schematic structural view of a mite killing apparatus according to another embodiment of the present invention;
fig. 10 is a schematic flow chart of a fabric mite removing method according to another embodiment of the present invention.
Detailed Description
Along with the intelligent development of household appliances, manual operation in the household cleaning process is gradually replaced by intelligent automatic operation, and meanwhile, higher requirements on the aspects of household cleaning efficiency, operation simplicity and the like are also provided.
Referring to fig. 1, a schematic flow chart of a fabric mite removing method according to an embodiment of the present invention is shown, where the fabric mite removing method can be applied to a mite removing apparatus, and includes the following steps:
step 11, acquiring a fabric image of a target fabric;
the fabric image of the target fabric obtained by the mite removing instrument can be an image of the target fabric shot by a receiving camera, for example, a wide-angle CCD camera is adopted to collect the fabric image of the target fabric. Specifically, the lens of the CCD camera can be directly opposite to the fabric surface, and a certain shooting distance is maintained between the lens and the fabric surface, so that the camera can acquire the fabric image within a preset range of the fabric surface, and as a specific implementation, the shooting distance can be set to 2 cm.
Step 12, determining a characteristic value corresponding to the fabric characteristic in the fabric image, and determining the category of the target fabric according to the characteristic value;
wherein, the determining the characteristic value corresponding to the fabric characteristic in the fabric image specifically comprises: step a and step b, wherein:
step a, acquiring fabric characteristics in the fabric image;
as a specific embodiment, the acquiring the fabric feature in the fabric image may be acquiring a gray value of the fabric image. The method for obtaining the gray value of the fabric image includes specifically obtaining R, G, B three component values corresponding to each pixel color in the fabric image by a mite removing instrument, obtaining an average value of R, G, B three components of each pixel point, then giving the average value to the component corresponding to the pixel, and taking the value of the component as the gray value corresponding to the pixel, where, for example, R is 100, G is 150, and B is 50, the average value is 100, the mite removing instrument gives 100 to each component, that is, R is 100, G is 100, and B is 100, and 100 is taken as the gray value corresponding to the pixel.
The fabric features in the fabric image are used for describing the basic image information which is correspondingly presented in the fabric image by the physical features of different classes of fabrics, such as the gray value of the fabric image. Common fabric types comprise silk, leather, flax, cotton, wool and the like, and the fabrics of different types have different physical characteristics such as fabric density, basic structural form and the like. Physical characteristics such as fabric density, basic structure form, color, shape, spatial relationship and the like of different fabrics are mainly embodied by fabric texture structure information in corresponding fabric images, so the fabric characteristics of the fabric images can be selected as the fabric texture structure information, and the fabric texture structure information is represented by the gray value of the fabric images.
And b, acquiring a characteristic value corresponding to the fabric characteristic.
And a step a of the mite removing instrument is to obtain the gray value representing the fabric characteristics in the fabric image, obtain a pixel gray level distribution histogram through calculation according to the gray value of the fabric image so as to obtain a characteristic vector corresponding to the histogram, and obtain a characteristic value through calculation according to the characteristic vector.
The characteristic value corresponding to the fabric characteristic in the fabric image is used for describing the value of the fabric characteristic of the fabric category corresponding to the presented image information in the fabric image after the fabric characteristic is subjected to statistical analysis. For example, the fabric feature of the corresponding fabric image is the fabric texture structure information, and the feature value corresponding to the fabric feature is the value corresponding to the fabric texture structure information (such as the gray value) of the corresponding fabric image after statistical analysis. The fabric images of different fabric types comprise different fabric texture structure information, so that the type of the target fabric can be identified by extracting the fabric texture structure information and calculating corresponding characteristic values, and the aim of accurately and automatically identifying the type of the target fabric is fulfilled.
Step 13, determining the current working parameters according to the corresponding relation between the type of the target fabric and the working parameters;
the correspondence between the type of the target fabric and the operating parameters refers to the corresponding operating parameters respectively set for different fabric types. For example, the working parameters of the mite killing instrument include vibration frequency, output power of an ultraviolet lamp and power of a dust collection motor, the fabric types include silk, leather, cotton, flax, terylene and the like, and as shown in the following table I, the dust collection motor power is 50%, the beater vibration frequency is 0 and the UV-C ultraviolet lamp output power is 80% in the working parameters corresponding to the silk respectively; in the working parameters corresponding to the leather, the power of a dust collection motor is 100%, the vibration frequency of a beater is 50%, and the output power of a UV-C ultraviolet lamp is 100%; the working parameters corresponding to cotton, flax and terylene comprise 100% of dust absorption motor power, 100% of beater vibration frequency and 100% of UV-C ultraviolet lamp output power.
Watch 1
Figure BDA0001608180860000061
The percentage value is a proportionality coefficient according to the maximum processing capacity of the mite removing instrument, for example, when a target fabric is silk, the mite removing instrument determines that the type of the target fabric is silk, and then determines that the dust collection motor power corresponding to the silk is 50%, the beater vibration frequency is 0, and the UV-C ultraviolet lamp output power is 80% according to the corresponding relationship between the type of the target fabric and the working parameters in table one, then 50% of the maximum dust collection power of the dust collection motor is used as the current dust collection motor power, 0% of the maximum vibration frequency of the beater is used as the current beater vibration frequency, and 80% of the maximum output power of the UV-C ultraviolet lamp is used as the current UV-C ultraviolet lamp output power.
The mite removing instrument determines the working parameters matched with the target fabric according to the corresponding relation after the class of the target fabric is automatically identified by setting the corresponding relation between the class of the target fabric and the working parameters, so that the corresponding working parameters are conveniently set for more different classes of fabrics respectively, and the working parameters corresponding to different classes of fabrics are conveniently adjusted and optimized by updating the corresponding relation between the class of the target fabric and the working parameters. By subdividing the category of the target fabric and selecting the working parameters required by the current target fabric according to different categories of the target fabric, the optimal mite removing effect can be obtained, and the target fabric is prevented from being damaged.
And 14, removing mites according to the current working parameters.
The mite removing instrument carries out mite removing work according to the current working parameters after identifying the category of the target fabric and determining the current working parameters corresponding to the category of the target fabric. Still taking the target fabric as silk as an example, and combining with the table one, the mite removing instrument determines the current working parameters corresponding to silk as follows according to the corresponding relationship between the target fabric type and the working parameters: the power of the dust collection motor is 50% of the maximum dust collection power of the dust collection motor, the vibration frequency of the beater is 0, and the output power of the ultraviolet lamp is 80% of the maximum output power of the ultraviolet lamp, so that the mite killing instrument correspondingly starts the dust collection motor and the ultraviolet lamp according to the current working parameters to execute mite killing work.
In the above embodiment, the mite removing instrument acquires a fabric image of a target fabric; determining a characteristic value corresponding to the fabric characteristic in the fabric image, and determining the category of the target fabric according to the characteristic value; determining the current working parameters according to the corresponding relation between the category of the target fabric and the working parameters; the method comprises the steps of removing mites according to the current working parameters, automatically identifying the category of the target fabric by obtaining the characteristic value corresponding to the fabric characteristic of the target fabric, determining the current working parameters according to the category of the target fabric to remove the mites on the target fabric, so that the identification accuracy of the target fabric is high, determining the working parameters for removing the mites according to the categories of different target fabrics, avoiding damage to the fabrics, achieving a better mite removing effect and being convenient to operate.
Referring to fig. 2, a schematic flow chart of a fabric mite removing method according to another embodiment of the present invention is shown, wherein the step 11 of obtaining a fabric image of a target fabric includes:
step 21, starting illumination;
and step 22, acquiring a fabric image of the target fabric in the illumination range.
Here, the mite killing instrument starts illumination and acquires the fabric image of the target fabric within the illumination range, so that the influence of other illumination noises can be reduced, the acquired fabric image is more convenient to identify, and the fabric image acquisition efficiency is improved. As a specific embodiment, the light source of the illumination is a surface light source, which can provide uniform illumination for the surface of the target fabric. When the mite removing instrument is adopted for mite removing work, the target fabric is often in a dark environment due to the influence of environmental lighting or the shielding of the mite removing device, and the uniform lighting illumination capable of covering the surface of the target fabric is provided by adopting the surface light source through starting illumination, so that the mite removing instrument can analyze the fabric image of the target fabric in an illumination range to identify the category of the target fabric, the influence of light noise on the acquisition of the image of the target fabric can be effectively reduced, and the quality of the acquired fabric image is improved.
Referring to fig. 3, a schematic flow chart of a fabric mite removing method according to another embodiment of the present invention is shown, wherein, in the step 12, the obtaining of the fabric image of the target fabric includes:
step 31, detecting the definition of the fabric image; when the definition of the fabric image does not reach the set condition, returning to the step 11; when the definition of the fabric image reaches the set condition, step 12 is executed.
The mite killing instrument can detect the definition of the fabric image by adopting a known image definition algorithm in the field of image processing, such as a Laplace algorithm. Before analyzing the fabric image to obtain the characteristic value, the mite removing instrument judges whether the fabric image is clear or not, can ignore the fabric image which is obviously abnormal in quality and does not meet the requirement in time, can obtain the fabric image of the target fabric again in time, and can effectively improve the identification efficiency. As an alternative embodiment, after step 31, further comprising step 32: and outputting prompt information of finishing the fabric image acquisition. The prompt information can be an audio prompt or a light flashing prompt, and can prompt a user to know whether the current working state of the mite killing instrument is wrong or not and carry out adjustment operation.
Fig. 4 is a schematic flow chart of a fabric mite killing method according to another embodiment of the present invention. Wherein, in the step 12, the determining a feature value corresponding to the fabric feature in the fabric image includes:
step 41, extracting fabric characteristic information in the fabric image;
step 42, determining whether the fabric image meets the feature extraction requirement according to the fabric feature information;
step 43, when the fabric image does not meet the feature extraction requirement, returning to step 11; and when the fabric image meets the feature extraction requirement, determining a feature value corresponding to the fabric feature in the fabric image.
The mite removing instrument extracts the fabric characteristic information in the fabric image, and can extract the fabric characteristic information by adopting a known fabric characteristic information extraction mode in the field of image processing. As an optional implementation manner, the mite removing instrument extracts the fabric characteristic information in the fabric image by acquiring a gray value. In the embodiment of the invention, before the mite removing instrument acquires the characteristic value of the fabric image, whether the fabric characteristic information in the fabric image meets the characteristic extraction requirement is judged, for example, if the gray value of a certain number of pixel points is 0-255, the fabric characteristic information does not meet the characteristic extraction requirement, so that the fabric image with the quality not meeting the identification precision requirement can be ignored in time, the fabric image of the target fabric can be acquired again in time, the identification error can be effectively avoided, and the identification efficiency can be improved.
In an optional embodiment, step 12, the determining a feature value corresponding to a fabric feature in the fabric image, and determining the category of the target fabric according to the feature value includes: extracting fabric texture structure information in the fabric image, and calculating a characteristic value according to the fabric texture structure information; and comparing the characteristic value with a corresponding threshold value, and determining the category of the target fabric according to the comparison result.
The respective threshold values are standard characteristic values corresponding to various fabrics. The standard characteristic values correspond to different fabric categories respectively, and the characteristic values calculated for the standard images of different fabric categories, such as silk, cotton, polyester and other fabrics, are respectively used as the standard characteristic values corresponding to the fabric categories by acquiring the standard images of the fabrics of different fabric categories, analyzing the standard images to extract the fabric characteristic information of the standard images, calculating the corresponding characteristic values according to the fabric characteristic information, and obtaining the characteristic values by calculating the standard images of different fabric categories as the standard characteristic values corresponding to the fabric categories, for example, firstly obtaining the gray value of the texture structure of the fabric, and then obtaining the standard characteristic values by using an LBP algorithm. The standard characteristic value may refer to a specific numerical value or a numerical range, for example, the selected fabric characteristic information is fabric texture structure information, and since the fabric texture structure information of different types of fabrics is different, the standard characteristic values of different types of fabrics do not overlap with each other, and have a characteristic of distinguishing from each other. As an alternative embodiment, the standard characteristic values of different types of fabric, i.e. the corresponding threshold values of different types of fabric, may be pre-stored in the database. In step 12, when the mite removing instrument determines the category of the target fabric according to the characteristic value, the characteristic value of the fabric texture structure information of the fabric image of the target fabric is compared with a corresponding threshold value in the database, and when the characteristic value corresponding to the target fabric is equal to or within the range of the corresponding threshold value corresponding to a certain category of fabrics, the category of the target fabric is determined to be the category of the fabrics corresponding to the corresponding threshold value.
Taking the fabric characteristics as the fabric texture structure information as an example, the fabric texture structure information can be used for representing the structure of the fabric and has high identifiability, and the macroscopic characteristics and the microscopic characteristics of the fabric image can be more comprehensively represented by taking the fabric texture structure information as the fabric characteristic information. In the embodiment of the invention, the fabric texture structure information in the fabric image is used as the fabric characteristic information for determining the target fabric category, so that the identification accuracy of the target fabric category is higher, and the identification efficiency is more advantageous. As a specific implementation, by obtaining the gray value of the texture structure of the fabric, and then obtaining the corresponding characteristic value by using the LBP algorithm,
further, the determining a feature value corresponding to a fabric feature in the fabric image includes: dividing the fabric image into a plurality of image areas; determining at least one pixel point in each image area as a target pixel point, and determining a feature vector corresponding to each target pixel point according to the pixel value of each target pixel point and the pixel value of an adjacent target pixel point; and obtaining a characteristic value corresponding to the fabric characteristic in the fabric image according to the characteristic vector corresponding to each target pixel point.
As an optional implementation manner, the mite removing instrument extracts the fabric characteristic information in the fabric image by acquiring a gray value. Here, the fabric grayscale image is divided into a plurality of image regions, which may be small regions (cells) of 16 × 16, please refer to fig. 5, and for each pixel point included in each cell, one of the pixel points is arbitrarily selected as a target pixel point corresponding to the cell. Here, the feature vector corresponding to each target pixel point is determined according to the pixel value (i.e., the gray value) of each target pixel point and the adjacent target pixel point, and may be that, for each target pixel point as a center, the target pixel point is clockwise compared with 8 target pixel points in an annular neighborhood, if the pixel value of the center pixel point is greater than the pixel value of the adjacent target pixel point, the value is assigned to 1, otherwise, the value is assigned to 0, and thus, each target pixel point obtains an 8-bit binary number as the corresponding feature vector. Taking the fabric image including the target pixel points corresponding to the cells 33 as an example, wherein the cell33 represents an area with a row number of 3 and a column number of 3, the pixel value of the target pixel point in the cell33 is 5, and the pixel values of the target pixel points corresponding to 8 cells adjacent to the ring shape thereof are respectively 1, 2, 3, 6, 9, 8, 7 and 4 clockwise; according to the comparison result between the central pixel point and the pixel values of the adjacent target pixel points, it can be known that the 8-bit binary number corresponding to cell33 is 00011110, which is the corresponding feature vector. The mite removing instrument obtains a characteristic value corresponding to the fabric texture structure information in the fabric image according to the characteristic vector corresponding to each target pixel point, and may calculate a histogram of each cell according to the characteristic vector corresponding to each target pixel point, that is, the frequency of occurrence of each number, then perform normalization processing on the histogram, and connect the obtained statistical histograms of each cell, thereby obtaining the characteristic value corresponding to the fabric characteristic of the target image.
Further, the determining the current working parameter according to the corresponding relationship between the category of the target fabric and the working parameter includes: and determining the working mode corresponding to the type of the target fabric according to the corresponding relation between the type of the fabric and the working mode, and determining the current working parameters according to the working mode.
The working mode is a corresponding working mode set by the mite killing instrument aiming at a certain fabric in order to obtain a good mite killing effect, and the working mode is a set of various working parameters, such as a set of working parameters of a beater, an ultraviolet lamp, a dust collection motor and the like. The mite removing instrument determines the working mode corresponding to the category of the target fabric, namely, the set of a plurality of working parameters is determined, namely, the current working parameters of the mite removing instrument are determined.
Referring to fig. 6, a schematic structural diagram of a mite killing apparatus provided in an embodiment of the present invention includes a memory 62, a processor 61, and a computer program stored in the memory and running on the memory, where the processor executes the computer program and includes the following steps: acquiring a fabric image of a target fabric; determining a characteristic value corresponding to the fabric characteristic in the fabric image, and determining the category of the target fabric according to the characteristic value; determining the current working parameters according to the corresponding relation between the category of the target fabric and the working parameters; and removing the mites according to the current working parameters.
Here, the processor, when executing the computer program, is further configured to: the acquiring of the fabric image of the target fabric comprises: starting illumination; acquiring a fabric image of the target fabric within an illumination range.
Here, the processor, when executing the computer program, is further configured to: the acquiring of the fabric image of the target fabric comprises: detecting the definition of the fabric image; and when the definition of the fabric image does not reach the set condition, acquiring the fabric image of the target fabric again.
Here, the processor, when executing the computer program, is further configured to: the determining a characteristic value corresponding to a fabric characteristic in the fabric image includes: extracting fabric characteristic information in the fabric image, and determining whether the fabric image meets the characteristic extraction requirement according to the fabric characteristic information; when the fabric image does not meet the feature extraction requirement, returning to the step of obtaining the fabric image of the target fabric; and when the fabric image meets the feature extraction requirement, determining a feature value corresponding to the fabric feature according to the fabric feature information.
Here, the processor, when executing the computer program, is further configured to: the determining the characteristic value corresponding to the fabric characteristic in the fabric image and the determining the category of the target fabric according to the characteristic value includes: extracting fabric texture structure information in the fabric image, and calculating a characteristic value according to the fabric texture structure information; and comparing the characteristic value with a corresponding threshold value, and determining the category of the target fabric according to the comparison result.
Here, the processor, when executing the computer program, is further configured to: the determining the characteristic value corresponding to the fabric characteristic in the fabric image comprises: dividing the fabric image into a plurality of image areas; determining at least one pixel point in each image area as a target pixel point, and determining a feature vector corresponding to each target pixel point according to the pixel value of each target pixel point and the pixel value of an adjacent target pixel point; and obtaining a characteristic value corresponding to the fabric characteristic in the fabric image according to the characteristic vector corresponding to each target pixel point.
Here, the processor, when executing the computer program, is further configured to: determining the current working parameters according to the corresponding relation between the type of the target fabric and the working parameters comprises the following steps: and determining the working mode corresponding to the type of the target fabric according to the corresponding relation between the type of the fabric and the working mode, and determining the current working parameters according to the working mode.
Referring to fig. 7, which is a schematic structural diagram of a mite killing apparatus according to another embodiment of the present invention, compared with the embodiment shown in fig. 6, the mite killing apparatus further includes an LED surface light source 71 and an image collector 72, and the LED surface light source 71 and the image collector 72 are respectively connected to the processor 61. In the embodiment of the invention, the mite removing instrument comprises the LED surface light source, and the light of the LED surface light source is more uniform, so that a clearer fabric image can be obtained conveniently. The image collector 72 may be a wide-angle CCD camera.
Referring to fig. 8, a schematic structural diagram of a mite killing apparatus according to another embodiment of the present invention is shown, and compared with the embodiment shown in fig. 8, the mite killing apparatus further includes a beater 81, an ultraviolet lamp 82, and a dust collection motor 83, and the current operating parameters include a vibration frequency of the beater 81, an output power of the ultraviolet lamp 82, and a power of the dust collection motor. Beater 81 beats the fabric through the high frequency vibration, can make inside dirt such as dust of fabric, hair, dandruff beat out the quilt again dust absorption motor 83 inhales in the dirt storehouse of mite killing instrument, mite killing instrument still directly destroys microorganism organism cell through ultraviolet lamp 82's ultraviolet ray for mite, bacterium etc. lose the ability of living and propagating, thereby play the effect of dust absorption, mite killing.
Referring to fig. 9, a schematic structural diagram of a mite killing apparatus according to another embodiment of the present invention includes an image obtaining module 91, an image processing module 92, a parameter determining module 93, and a control module 94; the image acquisition module 91 is used for acquiring a fabric image of a target fabric; the image processing module 92 is configured to determine a feature value corresponding to a fabric feature in the fabric image, and determine the category of the target fabric according to the feature value; a parameter determining module 93, configured to determine a current working parameter according to a correspondence between the category of the target fabric and the working parameter; and the control module 94 is used for removing the mites according to the current working parameters. Specifically, the control module 94 sets the current working parameters to the working parameters of the beater, the ultraviolet lamp and the dust collection motor, and controls the beater, the ultraviolet lamp and the dust collection motor to start.
The image acquisition module 91 comprises an illumination starting unit 95 and an image acquisition unit 96, wherein the illumination starting unit 95 is used for starting illumination; the image acquisition unit 96 is configured to acquire a fabric image of the target fabric within an illumination range.
The image processing module 92 is further configured to detect the definition of the fabric image when the fabric image of the target fabric is obtained; and when the definition of the fabric image does not reach the set condition, acquiring the fabric image of the target fabric again.
The image processing module 92 is configured to determine a feature value corresponding to a fabric feature in the fabric image, and specifically: extracting fabric characteristic information in the fabric image, and determining whether the fabric image meets the characteristic extraction requirement according to the fabric characteristic information; when the fabric image does not meet the feature extraction requirement, returning to the step of obtaining the fabric image of the target fabric; and when the fabric image meets the feature extraction requirement, determining a feature value corresponding to the fabric feature according to the fabric feature information.
The image processing module 92 is configured to determine a feature value corresponding to a fabric feature in the fabric image, and determine the category of the target fabric according to the feature value, specifically: extracting fabric texture structure information in the fabric image, and calculating a characteristic value according to the fabric texture structure information; and comparing the characteristic value with a corresponding threshold value, and determining the category of the target fabric according to the comparison result.
The image processing module 92 is configured to determine a feature value corresponding to a fabric feature in the fabric image, and specifically: dividing the fabric image into a plurality of image areas; determining at least one pixel point in each image area as a target pixel point, and determining a feature vector corresponding to each target pixel point according to the pixel value of each target pixel point and the pixel value of an adjacent target pixel point; and obtaining a characteristic value corresponding to the fabric characteristic in the fabric image according to the characteristic vector corresponding to each target pixel point.
The parameter determining module 93 is configured to determine a current working parameter according to a corresponding relationship between the category of the target fabric and the working parameter, and specifically includes: and determining the working mode corresponding to the type of the target fabric according to the corresponding relation between the type of the fabric and the working mode, and determining the current working parameters according to the working mode.
The embodiment of the invention also provides a computer scale storage medium, wherein a fabric mite removing program is stored on the computer readable storage medium, and when being executed by a processor, the fabric mite removing program realizes the fabric mite removing method provided by any embodiment of the application.
The scheme of the fabric mite removing method provided by the embodiment of the invention is further illustrated by a specific embodiment, so that the specific implementation process of the fabric mite removing method of the embodiment of the invention becomes clearer.
Example (b):
referring to fig. 10, the fabric mite removing method is applied to a mite removing instrument, and comprises the following steps:
step 101, starting illumination by a mite killing instrument; specifically, the mite killing instrument comprises an LED surface light source, wherein the LED surface light source can be a light source formed by arranging a plurality of LED lamps on one surface, and light rays illuminated by the LEDs are enabled to uniformly irradiate a target fabric such as silk by starting the LED surface light source;
102, acquiring an image of a target fabric in an illumination range by a mite removing instrument; the mite killing instrument comprises a wide-angle CCD camera, wherein the wide-angle CCD camera can be arranged in the center of the LED area light source and is used for shooting fabric images of the LED area light source in an irradiation range;
103, detecting whether the definition of the fabric image reaches a set condition by the mite removing instrument, returning to the step 102 when the definition of the fabric image does not reach the set condition, and continuing to execute the step of acquiring the fabric image of the target fabric, otherwise, executing the step 104; specifically, the method for calculating the definition of the fabric image may adopt a Laplace algorithm in the field of image processing, and the method for detecting whether the definition reaches the setting condition may be comparing whether the definition of the currently detected fabric image is within a numerical range of a preset definition;
104, outputting prompt information for finishing the acquisition of the fabric image by the mite removing instrument; specifically, the mite removing instrument can comprise a buzzer, and when the acquired fabric image meets the definition setting requirement, the mite removing instrument gives out a click sound through the buzzer to prompt a user;
105, storing the fabric image in a memory by the mite killing instrument;
106, extracting fabric texture structure information in the fabric image by the mite removing instrument;
step 107, the mite removing instrument determines whether the fabric image meets the feature extraction requirement according to the fabric texture structure information, when the quantity of the fabric texture structure information does not meet the requirement, the step 102 is returned, the step of obtaining the fabric image of the fabric is continuously executed, and otherwise, the step 108 is executed;
step 108, determining a characteristic value corresponding to the fabric texture structure information by the mite removing instrument according to the fabric texture structure information; specifically, the calculation of the feature value may be implemented by using gray processing and an LBP algorithm in the image processing, and the step of extracting the feature vector by using the LBP algorithm mainly includes: dividing the fabric gray image into a plurality of image areas, specifically, 16 × 16 small areas (cells), and arbitrarily selecting one of the pixels included in each cell as a target pixel corresponding to the cell. Here, the feature vector corresponding to each target pixel point is determined according to the pixel value (i.e., the gray value) of each target pixel point and the pixel value of the adjacent target pixel point, and may be that, for each target pixel point as a center, the target pixel point is clockwise compared with 8 target pixel points in an annular neighborhood, if the pixel value of the central pixel point is greater than the pixel value of the adjacent target pixel point, the central pixel point is assigned to 1, otherwise, the central pixel point is assigned to 0, and thus, each target pixel point can obtain an 8-bit binary number as the corresponding feature vector. The mite removing instrument obtains a characteristic value corresponding to fabric texture structure information in the fabric image according to the characteristic vector corresponding to each target pixel point, can calculate a histogram of each cell according to the characteristic vector corresponding to each target pixel point, namely the frequency of occurrence of each number, then carries out normalization processing on the histogram, and connects the obtained statistical histograms of each cell to obtain the characteristic value corresponding to the fabric characteristic of the target image;
step 109, comparing the characteristic value with a set standard threshold range of the fabric by the mite removing instrument;
step 110, determining whether the characteristic value is within the standard threshold range of the fabric by the mite removing instrument; if the characteristic value is not within the standard threshold range of the fabric, returning to the step 102, and continuing to execute the step of acquiring the fabric image of the fabric, otherwise, executing the step 111;
step 111, determining the category of the fabric by the mite removing instrument according to the corresponding relation between the characteristic value and the standard threshold range, selecting a working mode corresponding to the category of the fabric, and removing mites on the fabric by adopting the working mode; specifically, the mite killing instrument comprises a dust collection motor, a beater and a UV-C ultraviolet lamp, if the determined category is silk, a working mode corresponding to the silk is selected, working parameters of the dust collection motor, the beater and the UV-C ultraviolet lamp are correspondingly contained in each working mode, for example, in the working mode corresponding to the silk, the dust collection power of the dust collection motor is set to be 50% of the maximum dust collection power, the beating function of the beater is closed, and the output power of the UV-C ultraviolet lamp is set to be 80% of the maximum output power, so that the dust collection motor, the beater and the UV-C ultraviolet lamp are correspondingly controlled to kill mites by adopting the working parameters.
In the fabric mite removing method provided by the embodiment of the invention, the mite removing instrument obtains the fabric image of the target fabric in the illumination range by starting illumination and the CCD camera, determines the category of the target fabric after analyzing the fabric image, determines the current working parameters according to the category of the target fabric to remove mites on the target fabric, and can determine the corresponding working parameters for removing mites according to the categories of different target fabrics by adopting automatic identification of the category of the target fabric, so that the fabric is prevented from being damaged, the mite removing effect is good, and the operation is convenient; and the mite removing instrument can provide uniform illumination conditions, the quality of the obtained fabric image can be improved, and in the process of analyzing the fabric image, the characteristic value corresponding to the fabric image is calculated after whether the definition of the fabric image meets the setting conditions or not and whether the fabric image meets the characteristic extraction requirements or not is determined according to the fabric texture structure information, so that the calculated amount can be effectively reduced, and the working efficiency of the mite removing instrument is improved.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. A fabric mite removing method is applied to a mite removing instrument and is characterized by comprising the following steps:
acquiring a fabric image of a target fabric;
determining a characteristic value corresponding to a fabric characteristic in the fabric image, comparing the characteristic value with a corresponding threshold value, and determining the category of the target fabric according to a comparison result, wherein the corresponding threshold values of different categories of fabrics are not overlapped with each other; the corresponding threshold values are standard characteristic values corresponding to various fabrics;
determining a current working parameter according to the corresponding relation between the category of the target fabric and the working parameter, wherein the current working parameter comprises: vibration frequency, output power of the ultraviolet lamp and power of the dust collection motor;
and removing the mites according to the current working parameters.
2. The fabric acarus killing method of claim 1, wherein said obtaining a fabric image of a target fabric comprises:
starting illumination;
acquiring a fabric image of the target fabric within an illumination range.
3. The fabric acarus killing method of claim 1, wherein said obtaining a fabric image of a target fabric comprises:
detecting the definition of the fabric image;
and when the definition of the fabric image does not reach the set condition, acquiring the fabric image of the target fabric again.
4. The fabric acarus killing method of claim 1, wherein: the determining a characteristic value corresponding to a fabric characteristic in the fabric image includes:
extracting fabric characteristic information in the fabric image, and determining whether the fabric image meets the characteristic extraction requirement according to the fabric characteristic information;
when the fabric image does not meet the feature extraction requirement, returning to the step of obtaining the fabric image of the target fabric;
and when the fabric image meets the feature extraction requirement, determining a feature value corresponding to the fabric feature according to the fabric feature information.
5. The fabric acarus killing method of claim 1, wherein: the determining the characteristic value corresponding to the fabric characteristic in the fabric image comprises:
and extracting fabric texture structure information in the fabric image, and calculating a characteristic value according to the fabric texture structure information.
6. The fabric acarus killing method of claim 1, wherein: the determining a characteristic value corresponding to a fabric characteristic in the fabric image includes:
dividing the fabric image into a plurality of image areas;
determining at least one pixel point in each image area as a target pixel point, and determining a feature vector corresponding to each target pixel point according to the pixel value of each target pixel point and the pixel value of an adjacent target pixel point;
and obtaining a characteristic value corresponding to the fabric characteristic in the fabric image according to the characteristic vector corresponding to each target pixel point.
7. The fabric acarus killing method of claim 1, wherein: determining the current working parameters according to the corresponding relation between the type of the target fabric and the working parameters comprises the following steps:
and determining the working mode corresponding to the type of the target fabric according to the corresponding relation between the type of the fabric and the working mode, and determining the current working parameters according to the working mode.
8. A mite killing apparatus comprising a memory, a processor and a computer program stored for execution on said memory, wherein: the processor, when executing the computer program, implements the fabric de-acarid method according to any of claims 1 to 7.
9. The mite killing apparatus of claim 8, further comprising an LED surface light source and an image collector, wherein the LED surface light source and the image collector are respectively connected to the processor.
10. The acarus killing apparatus of claim 8 further comprising a beater, an ultraviolet lamp, and a suction motor, wherein the current operating parameters include vibration frequency, output power of the ultraviolet lamp, and power of the suction motor.
11. A mite killing instrument comprises an image acquisition module, an image processing module, a parameter determination module and a control module; the image acquisition module is used for acquiring a fabric image of a target fabric; the image processing module is used for determining a characteristic value corresponding to the fabric characteristic in the fabric image, comparing the characteristic value with a corresponding threshold value, and determining the category of the target fabric according to a comparison result, wherein the corresponding threshold values of different categories of fabrics are not overlapped with each other; the corresponding threshold values are standard characteristic values corresponding to various fabrics; a parameter determining module, configured to determine a current working parameter according to a correspondence between the category of the target fabric and the working parameter, where the current working parameter includes: vibration frequency, output power of the ultraviolet lamp and power of the dust collection motor; and the control module is used for removing the mites according to the current working parameters.
12. A computer readable storage medium having stored thereon a fabric de-mite program which, when executed by a processor, implements a fabric de-mite method according to any of claims 1 to 7.
CN201810252625.5A 2018-03-26 2018-03-26 Fabric mite removing method and mite removing instrument Active CN108464297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810252625.5A CN108464297B (en) 2018-03-26 2018-03-26 Fabric mite removing method and mite removing instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810252625.5A CN108464297B (en) 2018-03-26 2018-03-26 Fabric mite removing method and mite removing instrument

Publications (2)

Publication Number Publication Date
CN108464297A CN108464297A (en) 2018-08-31
CN108464297B true CN108464297B (en) 2021-05-25

Family

ID=63264774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810252625.5A Active CN108464297B (en) 2018-03-26 2018-03-26 Fabric mite removing method and mite removing instrument

Country Status (1)

Country Link
CN (1) CN108464297B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060247B (en) * 2019-04-18 2022-11-25 深圳市深视创新科技有限公司 Robust deep neural network learning method for dealing with sample labeling errors

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004014252A1 (en) * 2003-12-06 2005-06-30 Vorwerk & Co. Interholding Gmbh Vacuum cleaner operating method, involves measuring force acting as load and occurring during pull/push operation, where force is felt by user as resistance to operation, and automatically applying counterforce against resistance
CN104242791B (en) * 2014-10-10 2016-08-17 无锡同春新能源科技有限公司 A kind of indoor cotton-wadded quilt dehumidifying acaricide system using wind and solar hybrid generating system to power
JP6560921B2 (en) * 2015-07-14 2019-08-14 東芝ライフスタイル株式会社 Electric vacuum cleaner
JP6052828B2 (en) * 2015-07-20 2016-12-27 レイコップ・コリア株式会社 Cleaning efficiency control device for cleaning machine according to type of cleaning object and control method thereof
CN106951843A (en) * 2017-03-09 2017-07-14 深圳创维-Rgb电子有限公司 Dust mite detection method and device
CN107358243A (en) * 2017-07-14 2017-11-17 深圳码隆科技有限公司 A kind of method and apparatus of cloth identification

Also Published As

Publication number Publication date
CN108464297A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
US10579853B2 (en) Method and apparatus for acquiring fingerprint image and terminal device
CN108411565A (en) Control method for washing machine and device
CN106137175B (en) Physiological parameter estimation
CN108464297B (en) Fabric mite removing method and mite removing instrument
CN110924052A (en) Washing machine control method and device
US11222207B2 (en) Intelligent sweeping robot
CN110735283A (en) Washing machine and clothes washing control method thereof
CN111876963A (en) Laundry stain washing method, laundry device and storage medium
CN110398344B (en) Method, device and equipment for detecting backlight lamp panel of display equipment and storage medium
CN110735281A (en) Washing machine and clothes washing control method thereof
CN111861928A (en) Method and device for determining endoscope image brightness and related equipment
CN113463327B (en) Clothing display method and device, electronic equipment and computer readable storage medium
CN110287807A (en) A kind of human body information acquisition method, apparatus and system
CN110060252B (en) Method and device for processing target prompt in picture and endoscope system
US20210290055A1 (en) Dynamic Adjustment of Flash Intensity Based on Retinal Pigmentation
CN111192332B (en) Smoke detection-based smoke machine control method and smoke machine
CN105839332A (en) Pulsator washing machine
CN112337861A (en) Cleaning control method for cooking equipment and cooking equipment applying cleaning control method
CN110488708B (en) Airing control method and device based on Internet of things operating system
CN113089253B (en) Washing machine-based automatic mite killing control method, server, system and storage medium
CN112890734A (en) Control method of shoe processing equipment
CN212160689U (en) Self-adaptive plane type vein collection equipment
CN103034867B (en) insect image detection method and insect classification method
Caetano et al. Identification and segmentation of cells in images of donated corneas using mathematical morphology
CN109409391A (en) A kind of Medical use screw recognition methods and Medical use screw identifying system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant