CN114092924A - Clothes stain recognition method, device, equipment and storage medium - Google Patents

Clothes stain recognition method, device, equipment and storage medium Download PDF

Info

Publication number
CN114092924A
CN114092924A CN202010854939.XA CN202010854939A CN114092924A CN 114092924 A CN114092924 A CN 114092924A CN 202010854939 A CN202010854939 A CN 202010854939A CN 114092924 A CN114092924 A CN 114092924A
Authority
CN
China
Prior art keywords
image data
stain
clothes
data
target image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010854939.XA
Other languages
Chinese (zh)
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.)
Wuxi Little Swan Electric Co Ltd
Original Assignee
Wuxi Little Swan Electric 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 Wuxi Little Swan Electric Co Ltd filed Critical Wuxi Little Swan Electric Co Ltd
Priority to CN202010854939.XA priority Critical patent/CN114092924A/en
Publication of CN114092924A publication Critical patent/CN114092924A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/001Model-based coding, e.g. wire frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a clothes stain identification method, a device, equipment and a storage medium. The clothes stain recognition method comprises the following steps: acquiring initial image data of clothes to be treated; preprocessing the initial image data, and converting the initial image data into target image data with a preset data size; sending the target image data to a server for stain recognition; receiving a stain recognition result sent by the server; wherein the preset data amount ranges from 10 kilobytes to 2 megabytes. The embodiment of the invention can reduce the size of the image data for identifying the stains, can improve the identification efficiency of the stains, is particularly suitable for an application scene of the stains identification by a server, can reduce the size of the uploaded image data and the size of the data volume in the feature library, and can improve the identification efficiency of the stains identification.

Description

Clothes stain recognition method, device, equipment and storage medium
Technical Field
The invention relates to the field of clothes treatment, in particular to a clothes stain recognition method, a device, equipment and a storage medium.
Background
With the development of scientific technology, the degree of intelligence of the clothes treatment equipment is higher and higher, and in the related technology, there is a technology for identifying clothes stains through image acquisition, but the stains are often identified by comparing the currently acquired image with the image in the feature library with the label acquired in advance, so that the data volume of the feature library is large, and the identification efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device and a storage medium for identifying stains on clothes, which aim to improve the efficiency of stain identification.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for identifying a stain on clothes, including:
acquiring initial image data of clothes to be treated;
preprocessing the initial image data, and converting the initial image data into target image data with a preset data size;
sending the target image data to a server for stain recognition;
receiving a stain recognition result sent by the server;
wherein the preset data amount ranges from 10 kilobytes to 2 megabytes.
In some embodiments, the preprocessing the initial image data and converting the initial image data into target image data with a preset data size includes:
and performing data compression and/or pixel adjustment on the initial image data to generate the target image data.
In some embodiments, the preset amount of data ranges from 40 kilobytes to 150 kilobytes.
In a second aspect, an embodiment of the present invention further provides a method for identifying a stain on clothes, which is applied to a server, and the method includes:
receiving target image data of laundry to be treated;
performing image enhancement processing on the target image data;
performing region segmentation on the image data subjected to the image enhancement processing;
performing feature extraction based on the image data after the region segmentation;
comparing the extracted features with a preset feature library, and identifying the stain type of the clothes to be treated;
wherein a data amount of the target image data ranges from 10 kilobytes to 2 megabytes.
In some embodiments, the image enhancement processing on the target image data includes:
and performing image enhancement processing on the target image data based on at least one of brightness, texture and noise.
In some embodiments, the performing region segmentation on the image data after the image enhancement processing includes:
segmenting the image data after the image enhancement processing into at least the following areas: the first area corresponds to the visual characteristic of the stain and the second area corresponds to the attachment morphological characteristic of the stain.
In some embodiments, the performing feature extraction based on the image data after the region segmentation includes:
extracting, for the first region, at least one of the following features: color, gray scale, and brightness;
extracting at least one of the following features for the second region: texture and orientation angle.
In some embodiments, the identifying the stain type of the laundry to be treated based on the comparison of the extracted features with a preset feature library includes:
and comparing the extracted features with corresponding features of different stain types in a preset feature library to determine the stain type of the clothes to be treated.
In some embodiments, the method further comprises:
and sending the recognition result of the stain type of the clothes to be treated to the clothes treatment equipment.
In a third aspect, an embodiment of the present invention further provides a method for identifying stains on clothes, which is applied to a clothes processing apparatus, and the method includes:
acquiring initial image data of clothes to be treated;
preprocessing the initial image data, and converting the initial image data into target image data with a preset data size;
performing image enhancement processing on the target image data;
performing region segmentation on the image data subjected to the image enhancement processing;
performing feature extraction based on the image data after the region segmentation;
comparing the extracted features with a preset feature library, and identifying the stain type of the clothes to be treated;
wherein the preset data amount ranges from 10 kilobytes to 2 megabytes.
In a fourth aspect, embodiments of the present invention also provide a laundry treating apparatus, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor, when executing the computer program, is configured to perform the steps of the method according to any of the first or third aspects of the embodiments of the present invention.
In a fifth aspect, an embodiment of the present invention further provides a server, where the server includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor, when executing the computer program, is adapted to perform the steps of the method according to the second aspect of the embodiment of the present invention.
In a sixth aspect, the present invention further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method in any one of the first to third aspects of the present invention are implemented.
According to the technical scheme provided by the embodiment of the invention, the initial image data of the clothes to be processed is preprocessed, the initial image data is converted into the target image data with the preset data size, the size of the image data for stain identification can be reduced, the identification efficiency of the stain identification can be improved, the method and the device are particularly suitable for an application scene of the stain identification by a server, the size of the uploaded image data and the size of the data size in a feature library can be reduced, and the identification efficiency of the stain identification can be improved.
Drawings
FIG. 1 is a schematic flow chart of a method for recognizing stains on laundry according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for recognizing stains on laundry according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart of a method for recognizing stains on laundry according to another embodiment of the present invention;
FIG. 4 is a schematic structural view of a laundry treating apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
In the related art, different stain types of clothes often affect the treatment process of the clothes treatment equipment, however, identification of the stain types often requires certain professional knowledge, which causes difficulty in effectively distinguishing the stain types by related personnel, thereby affecting the washing effect of the clothes treatment equipment.
Based on this, an embodiment of the present invention provides a method for identifying stains in clothes, which can be applied to a clothes processing device or an image capturing terminal, as shown in fig. 1, and includes:
step 101, acquiring initial image data of clothes to be processed;
in some embodiments, the clothes to be processed in the processing cavity can be photographed by a camera on the clothes processing equipment, so as to acquire initial image data. In other embodiments, the initial image data of the clothes to be processed may be acquired by the user through a handheld image acquisition terminal, for example, the clothes to be processed is photographed by a camera of a mobile phone to acquire the initial image data of the clothes to be processed.
Step 102, preprocessing the initial image data, and converting the initial image data into target image data with a preset data size;
here, the preset data amount ranges from 10 Kilobytes (KB) to 2 Megabytes (MB). It is understood that the size of the data amount of the target image data may affect the accuracy and recognition efficiency of stain recognition. In the embodiment of the invention, the initial image data is converted into the target image data through preprocessing, so that the accuracy and the recognition efficiency of stain recognition can be considered, and the recognition result is fast and good. Preferably, the predetermined data amount ranges from 20KB to 500 KB. More preferably, the preset data amount ranges from 40KB to 150 KB.
103, sending the target image data to a server for stain identification;
for example, the target image data may be transmitted to the server for stain recognition by the laundry treating apparatus or the image capturing terminal. After receiving the target image data, the server performs stain recognition on the target image data, and a specific stain recognition process is described in detail below.
And 104, receiving the identification result of the stain identification sent by the server.
Illustratively, the clothes treatment device or the image acquisition terminal receives the identification result of the stain identification sent by the server.
Therefore, the embodiment of the invention can reduce the size of the image data for stain identification, can improve the identification efficiency of the stain identification, is particularly suitable for an application scene of the stain identification by a server, can reduce the size of the uploaded image data and the size of the data quantity in the feature library, and can improve the identification efficiency of the stain identification.
In some embodiments, the preprocessing the initial image data and converting the initial image data into target image data with a preset data size includes:
and performing data compression and/or pixel adjustment on the initial image data to generate the target image data.
For example, the compression processing may be performed on the original image data based on a general data compression technique to reduce the amount of redundant data, or the pixel adjustment may be performed on the original image data based on image normalization or the like to adjust the image pixels to reduce the data amount of the image data. In some embodiments, the data size of the initial image data may be reduced by combining data compression and pixel adjustment, so as to obtain target image data meeting the preset data size.
The embodiment of the invention also provides a clothes stain identification method which is applied to a server and comprises the following steps as shown in figure 2:
step 201, receiving target image data of clothes to be treated;
the server receives target image data uploaded by the clothes processing equipment or the image acquisition terminal. It is understood that the data amount of the target image data ranges from 10KB to 2 MB. Preferably, the amount of data ranges from 20KB to 500 KB. More preferably, the amount of data ranges from 40KB to 150 KB.
Step 202, performing image enhancement processing on the target image data;
in some embodiments, the image enhancement processing on the target image data includes:
and performing image enhancement processing on the target image data based on at least one of brightness, texture and noise.
Here, in order to meet the requirement of the accuracy of the stain recognition in consideration of the fact that the data amount of the target image data is smaller than that of the initial image data, the server optimizes the image parameters of the target image data so that the image is clearer. Illustratively, the server performs image enhancement processing on the target image data based on at least one of brightness, texture, and noise, so that important information in the image data is enhanced. The image enhancement (image enhancement) processing is used for enhancing target information in an image, expanding differences between different features in the image, suppressing uninteresting features, improving image quality and enriching information quantity, enhancing image interpretation and recognition effects, and meeting the need of stain recognition in the embodiment of the present invention.
Step 203, performing region segmentation on the image data after the image enhancement processing;
in some embodiments, the performing region segmentation on the image data after the image enhancement processing includes:
segmenting the image data after the image enhancement processing into at least the following areas: the first area corresponds to the visual characteristic of the stain and the second area corresponds to the attachment morphological characteristic of the stain.
In the embodiment of the invention, the image data after the image enhancement processing is divided into the first area corresponding to the visual feature of the stain and the second area corresponding to the attachment form feature of the stain by considering the characteristic of the stain, so that the identification efficiency of stain identification is improved conveniently. Here, the visual characteristics of the stain may include at least one of: color, gray scale, and brightness; the stain attachment morphology characteristics may include at least one of: texture and orientation angle. The texture includes features such as height and undulation formed by the stain pattern, and the direction angle includes a direction of a diffusion shape formed by the stain pattern.
Step 204, extracting features based on the image data after the region segmentation;
in some embodiments, the performing feature extraction based on the image data after the region segmentation includes:
extracting, for the first region, at least one of the following features: color, gray scale, and brightness;
extracting at least one of the following features for the second region: texture and orientation angle.
Therefore, the accuracy of the stain identification can be improved by extracting the multi-dimensional features corresponding to the stains, and the identification efficiency of the stain identification can be improved because the partial features of the image data are extracted.
Step 205, comparing the extracted features with a preset feature library, and identifying the stain type of the clothes to be processed.
In some embodiments, the identifying the stain type of the laundry to be treated based on the comparison of the extracted features with a preset feature library includes:
and comparing the extracted features with corresponding features of different stain types in a preset feature library to determine the stain type of the clothes to be treated.
Exemplary stain types may include: solid stains, liquid stains, oily stains, solid-liquid stains, solid-oil stains and the like.
In practical application, image training can be performed based on a training image set with labels to generate a preset feature library, the preset feature library comprises the various features corresponding to various stain types, so that a feature library is formed, and the feature library is established based on the extracted features, so that the size of the data volume of the feature library can be effectively reduced, and the feature library is convenient to update and maintain.
For example, the server compares the extracted features with features in a feature library, calculates a probability of a stain type to which each extracted feature belongs, obtains a final stain type recognition result based on a probability situation of each feature, for example, performs a weighted calculation based on probabilities of a plurality of features, and determines a stain type with the highest comprehensive probability as the final stain type, that is, a stain recognition result.
In some embodiments, the method further comprises:
and sending the recognition result of the stain type of the clothes to be treated to the clothes treatment equipment.
Therefore, after the clothes treatment equipment receives the identification result of the stain type sent by the server, the clothes can be correspondingly treated based on the stain type, and the washing effect of the clothes is improved.
An embodiment of the present invention further provides a method for identifying stains on clothes, which is applied to a clothes processing apparatus, and as shown in fig. 3, the method includes:
301, acquiring initial image data of clothes to be treated;
step 302, preprocessing the initial image data, and converting the initial image data into target image data with a preset data size;
step 303, performing image enhancement processing on the target image data;
step 304, performing region segmentation on the image data after the image enhancement processing;
step 305, extracting features based on the image data after the region segmentation;
and step 306, comparing the extracted features with a preset feature library, and identifying the stain type of the clothes to be processed.
It is understood that the laundry treating apparatus can perform stain recognition by itself without interaction with the server. Because the data volume of the feature library is small, and the processing amount of the image data in the stain identification process is small, the resource consumption of the clothes processing equipment can be greatly reduced. Here, step 301 to step 302 may refer to step 101 to step 102, and step 303 to step 306 may refer to step 202 to step 205, which are not described herein again.
In order to realize the clothes stain recognition method on the side of the clothes treatment equipment in the embodiment of the invention, the embodiment of the invention also provides the clothes treatment equipment. Fig. 4 shows only an exemplary structure of the laundry treating apparatus, not the entire structure, and a part of or the entire structure shown in fig. 4 may be implemented as necessary.
As shown in fig. 4, the laundry treating apparatus 400 according to the embodiment of the present invention includes: at least one processor 401, memory 402, a user interface 403, and at least one network interface 404. The various components in the laundry treating apparatus 400 are coupled together by a bus system 405. It will be appreciated that the bus system 405 is used to enable communications among the components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4.
It is understood that the clothes treating apparatus 400 may be provided with an image collecting device such as a camera for photographing the clothes to be treated in the treating chamber.
The user interface 403 in embodiments of the present invention may include a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, touch screen, or the like.
The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the laundry treating apparatus. Examples of such data include: any computer program for operating on a laundry treatment apparatus.
The method for recognizing stains on clothes disclosed by the embodiment of the invention can be applied to the processor 401, or can be realized by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the laundry stain recognition method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 described above may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 401 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the memory 402, and the processor 401 reads the information in the memory 402, and completes the steps of the laundry stain recognition method provided by the embodiment of the present invention in combination with the hardware thereof.
In an exemplary embodiment, the laundry treating apparatus may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned method of the laundry treating apparatus side.
It is understood that the laundry treating apparatus according to the embodiment of the present invention may be a washing machine, a dryer, or a washer-dryer.
In order to realize the clothes stain identification method of the server in the embodiment of the invention, the embodiment of the invention also provides the server. Fig. 5 shows only an exemplary structure of the server, not the entire structure, and a part or the entire structure shown in fig. 5 may be implemented as necessary.
As shown in fig. 5, a server 500 provided in an embodiment of the present invention includes: at least one processor 501, memory 502, a user interface 503, and at least one network interface 504. The various components in the server 500 are coupled together by a bus system 505. It will be appreciated that the bus system 505 is used to enable communications among the components of the connection. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 in embodiments of the present invention may include a display, a keyboard, a mouse, a trackball, a click wheel, a button, a touch pad, a touch screen, or the like.
The memory 502 in embodiments of the present invention is used to store various types of data to support the operation of the server. Examples of such data include: any computer program for operating on a server.
The method for recognizing stains on clothes disclosed by the embodiment of the invention can be applied to the processor 501, or can be implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the laundry stain recognition method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 501 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the memory 502, and the processor 501 reads the information in the memory 502, and completes the steps of the laundry stain recognition method provided by the embodiment of the present invention in combination with the hardware thereof.
In an exemplary embodiment, the server may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, microprocessors, or other electronic components for performing the aforementioned server-side methods.
It will be appreciated that the memory 402, 502 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, specifically a computer storage medium, which may be a computer readable storage medium, for example, a memory 402 storing a computer program, which is executable by a processor 401 of a clothes treatment apparatus to perform the steps of the clothes stain recognition method of the clothes treatment apparatus side according to the embodiment of the present invention; as another example, the apparatus includes a memory 502 storing a computer program, which can be executed by the processor 501 of the server to perform the steps of the method for identifying stains on clothes on the server side according to the embodiment of the present invention. The computer readable storage medium may be a ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM, among others.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.
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 claims.

Claims (13)

1. A method for recognizing a stain on clothes, comprising:
acquiring initial image data of clothes to be treated;
preprocessing the initial image data, and converting the initial image data into target image data with a preset data size;
sending the target image data to a server for stain recognition;
receiving a stain recognition result sent by the server;
wherein the preset data amount ranges from 10 kilobytes to 2 megabytes.
2. The method according to claim 1, wherein the preprocessing the initial image data to convert the initial image data into target image data with a preset data size comprises:
and performing data compression and/or pixel adjustment on the initial image data to generate the target image data.
3. The method of claim 1,
the preset data amount ranges from 40 kilobytes to 150 kilobytes.
4. A clothes stain recognition method is applied to a server and comprises the following steps:
receiving target image data of laundry to be treated;
performing image enhancement processing on the target image data;
performing region segmentation on the image data subjected to the image enhancement processing;
performing feature extraction based on the image data after the region segmentation;
comparing the extracted features with a preset feature library, and identifying the stain type of the clothes to be treated;
wherein a data amount of the target image data ranges from 10 kilobytes to 2 megabytes.
5. The method of claim 4, wherein the image enhancement processing of the target image data comprises:
and performing image enhancement processing on the target image data based on at least one of brightness, texture and noise.
6. The method according to claim 4, wherein the performing region segmentation on the image data after the image enhancement processing comprises:
segmenting the image data after the image enhancement processing into at least the following areas: the first area corresponds to the visual characteristic of the stain and the second area corresponds to the attachment morphological characteristic of the stain.
7. The method of claim 6, wherein the performing feature extraction based on the region-segmented image data comprises:
extracting, for the first region, at least one of the following features: color, gray scale, and brightness;
extracting at least one of the following features for the second region: texture and orientation angle.
8. The method according to claim 4, wherein the identifying the stain type of the laundry to be treated based on the comparison of the extracted features with a preset feature library comprises:
and comparing the extracted features with corresponding features of different stain types in a preset feature library to determine the stain type of the clothes to be treated.
9. The method of claim 4, further comprising:
and sending the recognition result of the stain type of the clothes to be treated to the clothes treatment equipment.
10. A method for recognizing stains on clothes, which is applied to a clothes treatment device, the method comprising:
acquiring initial image data of clothes to be treated;
preprocessing the initial image data, and converting the initial image data into target image data with a preset data size;
performing image enhancement processing on the target image data;
performing region segmentation on the image data subjected to the image enhancement processing;
performing feature extraction based on the image data after the region segmentation;
comparing the extracted features with a preset feature library, and identifying the stain type of the clothes to be treated;
wherein the preset data amount ranges from 10 kilobytes to 2 megabytes.
11. A laundry treating apparatus, characterized in that the laundry treating apparatus comprises: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor, when executing the computer program, performs the steps of the method of any of claims 1 to 3 or 10.
12. A server, characterized in that the server comprises: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 4 to 9.
13. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one of claims 1 to 3, 4 to 9 or 10.
CN202010854939.XA 2020-08-24 2020-08-24 Clothes stain recognition method, device, equipment and storage medium Pending CN114092924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010854939.XA CN114092924A (en) 2020-08-24 2020-08-24 Clothes stain recognition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010854939.XA CN114092924A (en) 2020-08-24 2020-08-24 Clothes stain recognition method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114092924A true CN114092924A (en) 2022-02-25

Family

ID=80295339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010854939.XA Pending CN114092924A (en) 2020-08-24 2020-08-24 Clothes stain recognition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114092924A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116116775A (en) * 2023-04-14 2023-05-16 辽宁省智果数字科技有限公司 Internet-based monitoring self-cleaning system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622117A (en) * 2017-09-15 2018-01-23 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium
CN107729816A (en) * 2017-09-15 2018-02-23 珠海格力电器股份有限公司 Method and device for determining washing mode, storage medium, processor and dish washing machine
CN107893309A (en) * 2017-10-31 2018-04-10 珠海格力电器股份有限公司 Washing method and device and washing method and device
CN110004664A (en) * 2019-04-28 2019-07-12 深圳和而泰家居在线网络科技有限公司 Clothes stains recognition methods, device, washing machine and storage medium
WO2020093917A1 (en) * 2018-11-09 2020-05-14 青岛海尔滚筒洗衣机有限公司 Control method for clothing treatment apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622117A (en) * 2017-09-15 2018-01-23 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium
CN107729816A (en) * 2017-09-15 2018-02-23 珠海格力电器股份有限公司 Method and device for determining washing mode, storage medium, processor and dish washing machine
CN107893309A (en) * 2017-10-31 2018-04-10 珠海格力电器股份有限公司 Washing method and device and washing method and device
WO2020093917A1 (en) * 2018-11-09 2020-05-14 青岛海尔滚筒洗衣机有限公司 Control method for clothing treatment apparatus
CN110004664A (en) * 2019-04-28 2019-07-12 深圳和而泰家居在线网络科技有限公司 Clothes stains recognition methods, device, washing machine and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116116775A (en) * 2023-04-14 2023-05-16 辽宁省智果数字科技有限公司 Internet-based monitoring self-cleaning system and method

Similar Documents

Publication Publication Date Title
WO2017202196A1 (en) Method and device for fingerprint unlocking and user terminal
CN108337551B (en) Screen recording method, storage medium and terminal equipment
CN110826418B (en) Facial feature extraction method and device
US20110311100A1 (en) Method, Apparatus and Computer Program Product for Providing Object Tracking Using Template Switching and Feature Adaptation
JP2003030672A (en) Document recognition device, method, program and storage medium
CN108494996A (en) Image processing method, device, storage medium and mobile terminal
CN112529939A (en) Target track matching method and device, machine readable medium and equipment
CN111080665B (en) Image frame recognition method, device, equipment and computer storage medium
CN112034981A (en) Display terminal control method, display terminal, and computer-readable storage medium
CN113228105A (en) Image processing method and device and electronic equipment
CN108683845A (en) Image processing method, device, storage medium and mobile terminal
CN109711287B (en) Face acquisition method and related product
CN114092924A (en) Clothes stain recognition method, device, equipment and storage medium
CN111062868A (en) Image processing method, device, machine readable medium and equipment
CN113225451B (en) Image processing method and device and electronic equipment
CN111080683A (en) Image processing method, image processing device, storage medium and electronic equipment
EP2659429B1 (en) Methods, apparatuses and computer program products for efficiently recognizing faces of images associated with various illumination conditions
CN112532884B (en) Identification method and device and electronic equipment
CN111241951B (en) Iris image processing method and device
CN114550173A (en) Image preprocessing method and device, electronic equipment and readable storage medium
CN110390353B (en) Biological identification method and system based on image processing
CN111179301A (en) Motion trend analysis method based on computer video
TW202117591A (en) Image processing method, chip, and electronic device
CN112037814A (en) Audio fingerprint extraction method and device, electronic equipment and storage medium
CN112183526A (en) Visible light positioning method, device, equipment and medium

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