CN113584839A - Fan control method, mobile terminal and computer readable storage medium - Google Patents
Fan control method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN113584839A CN113584839A CN202010366677.2A CN202010366677A CN113584839A CN 113584839 A CN113584839 A CN 113584839A CN 202010366677 A CN202010366677 A CN 202010366677A CN 113584839 A CN113584839 A CN 113584839A
- Authority
- CN
- China
- Prior art keywords
- clothes
- fan
- image
- laundry
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000001035 drying Methods 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 6
- 238000007664 blowing Methods 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 5
- 230000005484 gravity Effects 0.000 description 5
- 238000009736 wetting Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 229920000742 Cotton Polymers 0.000 description 1
- 238000007605 air drying Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F58/00—Domestic laundry dryers
- D06F58/32—Control of operations performed in domestic laundry dryers
- D06F58/34—Control of operations performed in domestic laundry dryers characterised by the purpose or target of the control
- D06F58/36—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry
- D06F58/38—Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry of drying, e.g. to achieve the target humidity
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F34/00—Details of control systems for washing machines, washer-dryers or laundry dryers
- D06F34/04—Signal transfer or data transmission arrangements
- D06F34/05—Signal transfer or data transmission arrangements for wireless communication between components, e.g. for remote monitoring or control
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2103/00—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
- D06F2103/02—Characteristics of laundry or load
- D06F2103/04—Quantity, e.g. weight or variation of weight
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2103/00—Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
- D06F2103/02—Characteristics of laundry or load
- D06F2103/08—Humidity
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F2105/00—Systems or parameters controlled or affected by the control systems of washing machines, washer-dryers or laundry dryers
- D06F2105/30—Blowers
Landscapes
- Engineering & Computer Science (AREA)
- Textile Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Drying Of Solid Materials (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the application discloses a fan control method, a mobile terminal and a computer readable storage medium, and the embodiment of the application can acquire an image containing clothes; identifying a wet area of the garment from the image; generating a trajectory interface according to the moisture area; receiving a sliding operation input by a user based on the track interface; determining the operating parameters of the fan according to the sliding operation; and controlling the fan to operate according to the operation parameters. According to the scheme, the input sliding operation is received to determine the operation parameters of the fan in the track interface generated based on the wet area of the clothes, so that the fan is controlled to operate based on the operation parameters, and convenience and accuracy of fan control are improved.
Description
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a fan control method, a mobile terminal, and a computer-readable storage medium.
Background
Along with the improvement of people's standard of living, people also greatly increased to the demand of clothes, but the clothes is under different sunning conditions, when meetting overcast and rainy weather or weather humidity in particular, the time that the clothes dried is very long, and the clothes dries even the clothes does not dry by the sun, and people can generally adopt naked light to dry the clothes or weather with electric blowing to weather the clothes at this moment, so not only consume a large amount of time, and careless will scorch the clothes moreover. Or, people can use a dryer to dry clothes, but the dried clothes are easy to shrink, and particularly for cotton clothes, the clothes shrink more seriously, and the service life of the clothes is influenced. Or, people can blow clothes dry by using the fan, but the fan can only supply air according to a fixed mode in the operation process, so that the clothes cannot be blown dry as soon as possible, the time for blowing the clothes dry is long, the energy is wasted, and the requirements of people cannot be met.
Disclosure of Invention
The embodiment of the application provides a fan control method, a mobile terminal and a computer readable storage medium, which can improve convenience and accuracy of fan control.
In a first aspect, an embodiment of the present application provides a fan control method, including:
acquiring an image containing clothes;
identifying a wet area of the garment from the image;
generating a trajectory interface according to the moisture area;
receiving a sliding operation input by a user based on the track interface;
determining the operating parameters of the fan according to the sliding operation;
and controlling the fan to operate according to the operation parameters.
In a second aspect, an embodiment of the present application further provides a mobile terminal, including a memory and a processor, where the memory stores a computer program, and the processor executes any one of the fan control methods provided in the embodiment of the present application when calling the computer program in the memory.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and the computer program is loaded by a processor to execute any one of the fan control methods provided in the embodiment of the present application.
The method and the device for detecting the moisture area of the clothes can acquire the image containing the clothes, identify the moisture area of the clothes according to the image, and generate a track interface according to the moisture area; and then, receiving sliding operation input by a user based on the track interface, determining the operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters. According to the scheme, the input sliding operation is received to determine the operation parameters of the fan in the track interface generated based on the wet area of the clothes, so that the fan is controlled to operate based on the operation parameters, and convenience and accuracy of fan control are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a fan control method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an image of a garment provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of determining a blowing air trajectory based on a sliding operation according to an embodiment of the present disclosure;
FIG. 4 is another schematic diagram of determining a blowing air trajectory based on a sliding operation according to an embodiment of the present disclosure;
FIG. 5 is a schematic illustration of determining an operating parameter based on a sliding operation as provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of natural wind detection provided by embodiments of the present application;
FIG. 7 is a schematic diagram showing a time period required for drying the laundry according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Embodiments of the present application provide a fan control method, a mobile terminal and a computer-readable storage medium. The fan control method may be applied to a mobile terminal, and the mobile terminal may include a mobile terminal such as a smart phone, a tablet computer, a palm computer, or a notebook computer, and is used for controlling a fan, which will be described in detail below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a fan control method according to an embodiment of the present disclosure. The fan control method may include steps S101 to S106, and the like, and specifically may be as follows:
s101, acquiring an image containing clothes.
The clothing may include clothing, socks, towels or other objects to be aired, images of the clothing may be acquired by an image acquisition device such as a camera or a camera preset in the clothing airing area, the clothing may include one or more pieces of clothing, the setting position, type, shooting angle, or the like of the image acquisition device may be flexibly set according to actual needs, specific content is not limited herein, for example, the image including the clothing may be as shown in fig. 2.
In some embodiments, acquiring an image containing clothing may include: detecting whether the clothes are dry or not after the clothes are aired for a preset time; and if the clothes are not dry, acquiring an image containing the clothes through the camera.
In order to achieve that the fan is started to assist the clothes to be dried as soon as possible under the condition that the clothes are not dried after the clothes are aired for the preset time, so as to improve convenience and flexibility of fan control, specifically, a timer can be started to start timing when the clothes are aired, and after the timer times the preset time, the clothes are aired for the preset time, and whether the clothes are dried or not can be detected. The preset time can be flexibly set according to actual needs, for example, the preset time can be set by a user or a default time.
In some embodiments, detecting whether the laundry is dry may include: acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried; if the current weight is greater than the reference weight, determining that the clothes are not dried; and if the current weight is less than or equal to the reference weight, determining that the laundry is dried.
In order to improve the accuracy of the laundry drying detection, whether the laundry is dried may be determined by the weight of the laundry. Specifically, when the laundry is in a dry state, the weight of the laundry may be detected in advance by an electronic scale or gravity sensing or the like, a reference weight may be obtained, and the reference weight may be stored. And acquiring the current weight of the clothes aired currently through a preset gravity sensor on the clothes airing rod or the clothes hanger, comparing the current weight with a pre-stored reference weight, and judging whether the current weight of the clothes is greater than the reference weight. If the current weight is greater than the reference weight, determining that the clothes are not dried; and if the current weight is less than or equal to the reference weight, determining that the laundry is dried.
It should be noted that when a plurality of pieces of clothes are included, the current weight of each piece of clothes may be compared with the corresponding reference weight, or the current weight of each piece of clothes is summed to obtain the total weight, and the reference weight of each piece of clothes is summed to obtain the total reference weight, and then the total weight is compared with the total reference weight, and if the total weight is greater than the total reference weight, it is determined that the clothes are not dried; if the total weight is less than or equal to the total reference weight, it is determined that the laundry is dried.
In some embodiments, detecting whether the laundry is dry may include: acquiring current images containing all surfaces of clothes and corresponding reference images when the clothes are dried; if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried; and if the pixels of the current image and the reference image are matched, determining that the clothes are dry.
In order to improve the convenience of the clothes drying detection, whether the clothes are dried or not can be determined through pixel comparison of the image. Specifically, when the clothes are in a dry state, images including respective surfaces of the clothes may be captured in advance from different shooting angles by an image capturing apparatus such as a camera or a camera, a reference image may be obtained, and the reference image may be stored.
Then, images including the surfaces of the clothes can be acquired from different shooting angles through one or more image acquisition devices preset in the clothes drying area, so that a plurality of current images are obtained, and the current images at the corresponding shooting angles are compared with the reference image, for example, the current image of the front of the clothes a is compared with the reference image of the front of the clothes a. And judging whether the pixels of the current image and the reference image are matched, wherein the color of the clothes in a wet state is different from the color of the clothes in a dry state, if the pixels of the current image and the reference image are not matched, the clothes are determined not to be dry, and if the pixels of the current image and the reference image are matched, the clothes are determined to be dry. The pixel matching can be the pixel value of the clothes in the current image, the difference value between the pixel value of the clothes in the current image and the pixel value of the clothes in the reference image is smaller than a preset threshold value, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, acquiring an image containing clothing may include: when detecting that clothes exist in the clothes airing area, acquiring images containing the clothes through the camera.
In order to realize that when the clothes start to be dried, the fan is started to assist the clothes to be dried as soon as possible, so that the reliability of fan control is improved. Specifically, images in a clothes drying area can be acquired through image acquisition equipment such as a preset camera in the clothes drying area to obtain an initial image, whether clothes exist in the clothes drying area is detected based on the initial image, when the clothes exist in the clothes drying area is detected, images containing the clothes are acquired through the camera, and when the clothes do not exist in the clothes drying area, the images containing the clothes cannot be acquired.
And S102, identifying a wet area of the clothes according to the image.
In some embodiments, identifying the wet area of the garment from the image may include: acquiring a corresponding reference image when the clothes are dry; comparing the pixel value of the image with that of the reference image to obtain pixel difference; and determining the moisture area of the clothes according to the pixel difference.
In order to improve the accuracy of the identification of the moisture area of the laundry, the moisture area of the laundry may be determined based on a pixel difference of the laundry in the image. For example, a pre-stored reference image corresponding to the drying of the clothes may be acquired, and then the acquired image of the clothes is compared with the reference image by using the pixel value, that is, the pixel value of the area where the clothes are located in the image of the clothes is compared with the pixel value of the area where the clothes are located in the reference image, so as to obtain the pixel difference. Since the pixel value of the laundry in the wet state is different from the pixel value of the laundry in the dry state, the wet area of the laundry may be determined according to the pixel difference of the laundry between the image of the laundry and the reference image.
In some embodiments, identifying the wet area of the garment from the image may include: and identifying the image through a preset identification model to obtain a wet area.
In order to improve the accuracy of identifying the wet area of the clothes, the wet area of the clothes in the image can be identified through the identification model, for example, the wet area of the clothes in the image can be identified through a preset identification model to obtain the wet area. The type of the recognition model can be flexibly set according to actual needs, the recognition model can be a target detection model SSD or YOLOv3, and the recognition model can also be a convolutional neural network CNN or R-CNN. The recognition model can be trained through a plurality of sample images containing clothes of different damp types to obtain a trained recognition model, and the preset recognition model is the trained recognition model.
And S103, generating a track interface according to the wet area.
The style of the track interface can be flexibly set according to actual needs, for example, clothes, marked multiple wet areas, candidate air supply tracks and the like can be included in the track interface.
In some embodiments, generating a trajectory interface from the wet area comprises: determining the humidity level of the clothes according to the humidity area, and acquiring the position of the clothes; a trace interface is generated based on the moisture level and the location of the laundry.
In order to improve the display effect of the trace interface and the flexibility of generating the trace interface, the moisture level of the laundry may be determined according to the moisture area of the laundry, for example, since the pixel values of the laundry under different moisture levels are different, the pixel value of the laundry may be detected based on the image of the laundry, and the moisture level of the laundry may be determined according to the pixel value. For another example, since the weights of the laundry under different moisture levels are different, the weight of the laundry may be detected, and the moisture level of the laundry may be determined according to the weight of the laundry. And acquiring the position of the clothes in the image, and generating a track interface according to the humidity level and the position of the clothes. For example, the clothes may be displayed in the trajectory interface based on the position of the clothes, the position of the wet area on the clothes may be determined, and then different wet areas may be marked on the clothes with different colors based on the moisture level, the position of the wet area on the clothes, and the like, so that the user may visually see the wet position of the clothes, the moisture levels corresponding to the different wet positions, and the like.
And S104, receiving sliding operation input by a user based on the track interface.
After the track interface is obtained, the track interface can be displayed, and the sliding operation input by the user is received based on the displayed track interface.
And S105, determining the operating parameters of the fan according to the sliding operation.
In some embodiments, determining the operating parameter of the fan according to the sliding operation may include: and determining the track passed by the sliding operation to obtain an air supply track, and setting the air supply track as the running parameters of the fan.
In order to improve the flexibility of determining the operation parameters, for example, as shown in fig. 3, a sliding operation may be performed in the trajectory interface, and a trajectory through which the sliding operation passes may be determined, so as to obtain an air supply trajectory (as shown by a black line in fig. 3), which is the operation parameter of the fan. For another example, as shown in fig. 4, a sliding operation may be performed on the track interface, and a track that the sliding operation passes through may be determined, so as to obtain an air supply track (as shown by a black line in fig. 4), which is an operation parameter of the fan.
In some embodiments, determining the operating parameter of the fan according to the sliding operation may include: and determining the area through which the sliding operation passes, and determining the air supply range, the air volume and/or the air temperature of the fan according to the corresponding parameters determined by the area to obtain the operation parameters.
In order to improve the convenience of determining the operation parameters, the trajectory interface may include, in addition to the clothes, operation parameters such as an air supply range, an air supply trajectory, an air volume, and a temperature of the fan for the user to select, for example, as shown in fig. 5, a sliding operation input by the user may be received in the trajectory interface, and a region where the sliding operation passes may be determined, for example, a region where the sliding operation passes through the air volume 1, the air supply range 2, and the temperature 3 in fig. 5, and the operation parameters of the fan may be determined to be the air supply range 2, the air volume 1, and the temperature 3 of the air according to parameters corresponding to the regions, so that the operation parameters of the fan may be obtained.
And S106, controlling the fan to operate according to the operation parameters.
After determining the operating parameters of the fan, the fan may be controlled to operate in accordance with the operating parameters. When the number of the fans is multiple, the multiple fans can be controlled to operate according to the operating parameters, or the operating parameters corresponding to each fan are respectively determined, so that each fan is controlled to operate according to the operating parameters corresponding to the fan.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method may further include: whether the laundry is dried is detected, and when the laundry is dried, the fan is turned off.
In order to improve the intelligence and convenience of the fan control, whether the clothes are dry or not may be detected in real time or at preset time intervals during the operation of the fan, for example, whether the clothes are dry or not may be determined by comparing pixels of an image of the clothes, or whether the clothes are dry or not may be determined by the weight of the clothes, etc. When the clothes are not dried, the opening state of the fan is maintained; when the laundry has been dried, the fan is turned off.
In some embodiments, detecting whether the laundry is dried may include: the method comprises the steps of obtaining a current target weight of the clothes and a corresponding reference weight when the clothes are dry, and determining that the clothes are dry when the target weight is less than or equal to the reference weight.
In order to improve the accuracy of the laundry drying detection, whether the laundry is dried may be determined by the weight of the laundry. Specifically, when the laundry is in a dry state, the weight of the laundry may be detected in advance by an electronic scale or gravity sensing or the like, a reference weight may be obtained, and the reference weight may be stored. And acquiring the current target weight of the clothes aired currently through a preset gravity sensor on the clothes airing rod or the clothes hanger, comparing the target weight with a pre-stored reference weight, and judging whether the target weight of the clothes is greater than the reference weight. If the target weight is greater than the reference weight, determining that the laundry is not dried; if the target weight is less than or equal to the reference weight, it is determined that the laundry is dried.
In some embodiments, detecting whether the laundry is dried may include: images containing respective surfaces of the laundry and a reference image corresponding to when the laundry is dried are acquired, and when the images match pixels of the reference image, it is determined that the laundry is dried.
In order to improve the convenience of the clothes drying detection, whether the clothes are dried or not can be determined through pixel comparison of the image. Specifically, when the clothes are in a dry state, images including respective surfaces of the clothes may be captured in advance from different shooting angles by an image capturing apparatus such as a camera or a camera, a reference image may be obtained, and the reference image may be stored. Then, images including the surfaces of the clothes can be acquired from different shooting angles through one or more image acquisition devices preset in the clothes drying area, so that a plurality of images are obtained, and the images of the corresponding shooting angles are compared with a reference image, for example, the image of the front face of the clothes a is compared with the reference image of the front face of the clothes a. And judging whether the acquired image of the clothes is matched with the pixels of the reference image, wherein the clothes are determined not to be dried if the image of the clothes is not matched with the pixels of the reference image because the color of the clothes in a wet state is different from the color of the clothes in a dry state, and the clothes are determined to be dried if the image of the clothes is matched with the pixels of the reference image. The pixel matching can be the pixel value of the clothes in the image, the difference value between the pixel value of the clothes in the image and the pixel value of the clothes in the reference image is smaller than a preset threshold value, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method may further include: and detecting whether the fan supplies air against natural wind or not, and closing the fan when the fan supplies air against the natural wind.
In order to avoid the problem that the fan cannot supply air to clothes when supplying air against natural wind and waste energy, in the running process of the fan, whether the fan supplies air against the natural wind or not can be detected in real time or at preset intervals, for example, whether fan blades of the fan are subjected to natural wind resistance or the wind direction of the natural wind or the like can be detected. When the fan is not blowing against the natural wind, the opening state of the fan is maintained; when the fan is blown against the natural wind, the fan is turned off.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method may further include: and detecting the air volume of the natural wind, and turning off the fan when the air volume of the natural wind is larger than a preset threshold value.
For example, as shown in fig. 6, in order to avoid that the fan cannot supply air to the clothes when a large natural wind exists, and waste energy, during the operation of the fan, the air volume of the natural wind in the environment where the clothes are located may be detected in real time or at preset time intervals, for example, the air volume of the natural wind may be detected by an air speed detector or the like. When the air volume of the natural wind is smaller than a preset threshold value, the opening state of the fan is maintained; when the air quantity of the natural wind is larger than a preset threshold value, the effect of the fan on accelerating the drying of the clothes is small, the fan is turned off, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, the fan control method may further include: and acquiring the time length required by drying the clothes and outputting the time length.
In the running process of the fan, the time required by drying the clothes can be acquired in real time, the time is dynamically output in a voice broadcasting or display screen displaying mode, or the time is sent to a terminal such as an intelligent television or an intelligent sound box, so that the terminal dynamically outputs the time in a voice broadcasting or display screen displaying mode, and the user can check the time conveniently. For example, as shown in fig. 7, the time period required for drying the laundry may be displayed through the display screen.
Wherein obtaining the time period required for drying the laundry may include: detecting the weight of the laundry during the operation of the fan; acquiring current environmental parameters of an environment where clothes are aired, and acquiring a reference weight of the clothes when the clothes are dried; acquiring a difference between the weight of the laundry and a reference weight; and determining the time length required by the air drying of the clothes according to the difference value and the current environmental parameter.
Specifically, in order to improve the accuracy of determining the time length required by the clothes drying, the current weight of the clothes can be detected through a gravity sensor preset on the clothes hanger or the clothes rod, current environmental parameters such as the air volume, the air temperature and the air humidity of natural air of the environment where the clothes are aired can be obtained, and the reference weight of the clothes during drying can be obtained. The difference between the weight of the laundry and the reference weight, which represents the degree of wetness of the laundry (i.e., the wetness level), may then be obtained, at which point the length of time required for the laundry to dry may be determined based on the difference and the current environmental parameters.
It should be noted that the time period required for drying the clothes may also be determined by combining the operation parameters of the fan and the type of the clothes, for example, the humidity level of the clothes may be determined according to the difference between the weight of the clothes and the reference weight, the type of the clothes may be obtained (for example, an image of the clothes is collected to determine the type of the clothes), the air quantity, the operation range, the operation track of the fan and the temperature of the air may be obtained, and the time period required for drying the clothes may be determined according to the humidity level of the clothes, the current environmental parameters, the operation parameters of the fan and the type of the clothes.
The method and the device for detecting the moisture area of the clothes can acquire the image containing the clothes, identify the moisture area of the clothes according to the image, and generate a track interface according to the moisture area; and then, receiving sliding operation input by a user based on the track interface, determining the operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters. According to the scheme, the input sliding operation is received to determine the operation parameters of the fan in the track interface generated based on the wet area of the clothes, so that the fan is controlled to operate based on the operation parameters, and convenience and accuracy of fan control are improved.
Referring to fig. 8, fig. 8 is a schematic block diagram of a structure of a mobile terminal according to an embodiment of the present application.
As shown in fig. 8, the mobile terminal 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a non-volatile computer-readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the fan control methods.
The processor 302 is configured to provide computing and control capabilities that support the operation of the overall mobile terminal.
The memory 303 provides an environment for the execution of a computer program in a non-transitory computer readable storage medium, which when executed by the processor 302, causes the processor 302 to perform any of the fan control methods.
The communication interface 304 is used for communication. Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the mobile terminal 300 to which the present application is applied, and that a particular mobile terminal 300 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It should be understood that the bus 301 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 302 may be a Central Processing Unit (CPU), the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, the processor 302 is configured to run a computer program stored in the memory 303 to perform the following steps:
acquiring an image containing clothes, identifying a wetting area of the clothes according to the image, and generating a track interface according to the wetting area; and receiving sliding operation input by a user based on the track interface, determining the operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters.
In some embodiments, generating a trajectory interface from the wet area comprises: determining the humidity level of the clothes according to the humidity area, and acquiring the position of the clothes; a trace interface is generated based on the moisture level and the location of the laundry.
In some embodiments, identifying a wet area of the garment from the image comprises: acquiring a corresponding reference image when the clothes are dry; comparing the pixel value of the image with that of the reference image to obtain pixel difference; determining a wet area of the clothes according to the pixel difference; or, the image is identified through a preset identification model, and a wetting area is obtained.
In some embodiments, acquiring an image containing clothing includes: detecting whether the clothes are dry or not after the clothes are aired for a preset time; if the clothes are not dry, acquiring images containing the clothes through a camera; or when detecting that clothes exist in the clothes airing area, acquiring an image containing the clothes through the camera.
In some embodiments, detecting whether the laundry is dry comprises: acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried; if the current weight is greater than the reference weight, determining that the clothes are not dried; if the current weight is less than or equal to the reference weight, determining that the laundry is dry; or acquiring current images containing all surfaces of the clothes and corresponding reference images when the clothes are dried; if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried; and if the pixels of the current image and the reference image are matched, determining that the clothes are dry.
In some embodiments, determining the operational parameter of the fan based on the sliding operation comprises: determining the track of the sliding operation to obtain an air supply track, and setting the air supply track as the running parameters of the fan; or determining the area through which the sliding operation passes, and determining the air supply range, the air volume and/or the air temperature of the fan according to the corresponding parameters determined by the area to obtain the operation parameters.
In some embodiments, the fan control method further comprises: and acquiring the time length required by drying the clothes and outputting the time length.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method further includes: detecting whether the laundry is dried, and turning off the fan when the laundry is dried; or detecting whether the fan supplies air against natural wind, and closing the fan when the fan supplies air against natural wind; or detecting the air volume of the natural wind, and closing the fan when the air volume of the natural wind is larger than a preset threshold value.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the fan control method, and are not described herein again.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize any fan control method provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
acquiring an image containing clothes, identifying a wetting area of the clothes according to the image, and generating a track interface according to the wetting area; and receiving sliding operation input by a user based on the track interface, determining the operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer-readable storage medium may be an internal storage unit of the mobile terminal of the foregoing embodiment, for example, a hard disk or a memory of the mobile terminal. The computer readable storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk provided on the mobile terminal, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
Since the computer program stored in the computer-readable storage medium can execute any fan control method provided in the embodiments of the present application, beneficial effects that can be achieved by any fan control method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the sake of detail in the foregoing embodiments.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A fan control method, comprising:
acquiring an image containing clothes;
identifying a wet area of the garment from the image;
generating a trajectory interface according to the moisture area;
receiving a sliding operation input by a user based on the track interface;
determining the operating parameters of the fan according to the sliding operation;
and controlling the fan to operate according to the operation parameters.
2. The fan control method of claim 1, wherein the generating a trajectory interface from the wet area comprises:
determining a moisture level of the laundry according to the moisture area, and acquiring a position of the laundry;
generating a trajectory interface based on the moisture level and the location of the laundry.
3. The fan control method according to claim 1, wherein the identifying the wet area of the laundry according to the image comprises:
acquiring a corresponding reference image when the clothes are dry;
comparing the pixel value of the image with the pixel value of the reference image to obtain pixel difference;
determining a wet area of the clothing according to the pixel difference; or,
and identifying the image through a preset identification model to obtain a wet area.
4. The fan control method according to claim 1, wherein the acquiring an image containing laundry includes:
after the clothes are aired for a preset time, detecting whether the clothes are dry or not;
if the clothes are not dry, acquiring an image containing the clothes through a camera; or,
when detecting that clothes exist in a clothes airing area, acquiring an image containing the clothes through a camera.
5. The fan control method according to claim 4, wherein the detecting whether the laundry is dry includes:
acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried;
if the current weight is greater than the reference weight, determining that the laundry is not dried;
determining that the laundry is dried if the current weight is less than or equal to the reference weight; or,
acquiring current images containing all surfaces of the clothes and corresponding reference images when the clothes are dried;
if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried;
and if the pixels of the current image and the reference image are matched, determining that the clothes are dry.
6. The fan control method according to claim 1, wherein the determining an operation parameter of the fan according to the sliding operation includes:
determining the track passed by the sliding operation to obtain an air supply track, and setting the air supply track as the running parameters of the fan; or,
and determining the area through which the sliding operation passes, and determining the air supply range, the air volume and/or the air temperature of the fan according to the corresponding parameters determined by the area to obtain the operating parameters.
7. The fan control method according to any one of claims 1 to 6, further comprising:
and acquiring the time length required by drying the clothes, and outputting the time length.
8. The fan control method according to any one of claims 1 to 6, wherein after the controlling of the operation of the fan according to the operation parameter, the fan control method further comprises:
detecting whether the laundry is dried, and turning off the fan when the laundry is dried; or,
detecting whether the fan supplies air against natural wind or not, and turning off the fan when the fan supplies air against natural wind; or,
and detecting the air volume of the natural wind, and closing the fan when the air volume of the natural wind is larger than a preset threshold value.
9. A mobile terminal, characterized by comprising a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the fan control method according to any one of claims 1 to 8 when calling the computer program in the memory.
10. A computer-readable storage medium for storing a computer program which is loaded by a processor to execute the fan control method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010366677.2A CN113584839B (en) | 2020-04-30 | 2020-04-30 | Fan control method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010366677.2A CN113584839B (en) | 2020-04-30 | 2020-04-30 | Fan control method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113584839A true CN113584839A (en) | 2021-11-02 |
CN113584839B CN113584839B (en) | 2023-12-05 |
Family
ID=78237644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010366677.2A Active CN113584839B (en) | 2020-04-30 | 2020-04-30 | Fan control method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113584839B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008061733A (en) * | 2006-09-06 | 2008-03-21 | Matsushita Electric Ind Co Ltd | Clothes drying system |
CN105373001A (en) * | 2015-10-29 | 2016-03-02 | 小米科技有限责任公司 | Control method and device for electronic equipment |
CN106802574A (en) * | 2017-03-28 | 2017-06-06 | 北京小米移动软件有限公司 | Clothes drying method and apparatus |
CN107604618A (en) * | 2017-09-12 | 2018-01-19 | 美的集团武汉制冷设备有限公司 | Airhandling equipment control method, equipment and readable storage medium storing program for executing |
CN108914511A (en) * | 2018-05-21 | 2018-11-30 | 珠海格力电器股份有限公司 | dehumidifying device |
CN110740181A (en) * | 2019-10-17 | 2020-01-31 | 北京小米移动软件有限公司 | Monitoring method and device for aired clothes and clothes hanger |
-
2020
- 2020-04-30 CN CN202010366677.2A patent/CN113584839B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008061733A (en) * | 2006-09-06 | 2008-03-21 | Matsushita Electric Ind Co Ltd | Clothes drying system |
CN105373001A (en) * | 2015-10-29 | 2016-03-02 | 小米科技有限责任公司 | Control method and device for electronic equipment |
CN106802574A (en) * | 2017-03-28 | 2017-06-06 | 北京小米移动软件有限公司 | Clothes drying method and apparatus |
CN107604618A (en) * | 2017-09-12 | 2018-01-19 | 美的集团武汉制冷设备有限公司 | Airhandling equipment control method, equipment and readable storage medium storing program for executing |
CN108914511A (en) * | 2018-05-21 | 2018-11-30 | 珠海格力电器股份有限公司 | dehumidifying device |
CN110740181A (en) * | 2019-10-17 | 2020-01-31 | 北京小米移动软件有限公司 | Monitoring method and device for aired clothes and clothes hanger |
Also Published As
Publication number | Publication date |
---|---|
CN113584839B (en) | 2023-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107904860B (en) | Method and device for treating clothes in washing machine | |
US9412038B1 (en) | Determining a color value of an article of fabric | |
CN110512402A (en) | Intelligent clothes hanger and method for monitoring clothes drying degree | |
CN107904856B (en) | Washing machine starting method and device | |
CN110528233B (en) | Method and device for testing drying of articles and intelligent clothes hanger | |
CN110387722A (en) | Method and device for controlling intelligent clothes hanger and intelligent clothes hanger | |
CN106258009B (en) | A kind of method, fingerprint capturer and terminal acquiring fingerprint | |
WO2016155632A1 (en) | Clothes dryer and control method therefor | |
CN109541984A (en) | Clothing exposure extent control algorithm suitable for Intellective airer | |
CN110363348A (en) | A kind of clothes drying time prediction and based reminding method and system | |
CN113584836B (en) | Fan blowing method, fan and computer readable storage medium | |
CN113584843B (en) | Circulating fan control method, circulating fan and storage medium | |
CN113584846A (en) | Fan control method, fan and computer readable storage medium | |
CN112859629B (en) | Clothes hanger control method and device, electronic equipment and storage medium | |
CN113584839B (en) | Fan control method, mobile terminal and computer readable storage medium | |
CN113584851B (en) | Fan operation method, fan and computer readable storage medium | |
CN113584835B (en) | Fan control method, fan and computer readable storage medium | |
CN113584842B (en) | Fan control method, control terminal and computer readable storage medium | |
CN113047018A (en) | Clothes hanger and drying control method, server, system and storage medium thereof | |
CN113584840B (en) | Fan control method, fan and computer readable storage medium | |
CN113668201B (en) | Circulating fan control method, circulating fan control system and storage medium | |
CN112989870A (en) | Fan control method, fan and computer readable storage medium | |
CN113584845A (en) | Blowing control method, system, circulating fan and computer readable storage medium | |
CN111225040A (en) | Clothes airing monitoring method and device, storage medium and electronic equipment | |
CN112983872B (en) | Fan control method, fan and computer readable storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |