CN112904745A - Fan control method, fan and computer readable storage medium - Google Patents

Fan control method, fan and computer readable storage medium Download PDF

Info

Publication number
CN112904745A
CN112904745A CN201911229607.6A CN201911229607A CN112904745A CN 112904745 A CN112904745 A CN 112904745A CN 201911229607 A CN201911229607 A CN 201911229607A CN 112904745 A CN112904745 A CN 112904745A
Authority
CN
China
Prior art keywords
fan
hair
user
warm air
head
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
CN201911229607.6A
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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911229607.6A priority Critical patent/CN112904745A/en
Publication of CN112904745A publication Critical patent/CN112904745A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45DHAIRDRESSING OR SHAVING EQUIPMENT; EQUIPMENT FOR COSMETICS OR COSMETIC TREATMENTS, e.g. FOR MANICURING OR PEDICURING
    • A45D20/00Hair drying devices; Accessories therefor
    • A45D20/04Hot-air producers
    • A45D20/08Hot-air producers heated electrically

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The application provides a fan control method, a fan and a computer readable storage medium, wherein the method comprises the following steps: when the fan is in an electric hair drier mode and the head of a user is positioned in the air supply range of the fan, acquiring a head image of the user through a camera; then, according to the head image and a preset hair wetness recognition model, determining the hair wetness of the user, and acquiring the running time of the current warm air gear of the fan; and then, according to the hair moisture and the running time, adjusting a warm air gear of the fan so that the fan blows out warm air according to the adjusted warm air gear. The warm air gear of the fan is adjusted according to the blowing time of the warm air gear of the fan, so that the adjustment of the warm air gear of the fan is more accurate and convenient, and the user experience is greatly improved.

Description

Fan control method, fan and computer readable storage medium
Technical Field
The present disclosure relates to the field of smart fans, and more particularly, to a fan control method, a fan, and a computer-readable storage medium.
Background
When a user blows hair by using the fan after washing the hair, the distance from the user to the fan is different when the user blows the hair because the hair length of each user is different, and therefore the gear of the warm air used by the user is different. The fan has several warm braw gears, and most fan all are manual adjustment fan or change the warm braw gear through speech control fan at present, but user's both hands are combing the hair of oneself usually, and far away from the fan, and the gear of inconvenient user adjustment fan, when the user passes through speech control fan gear, because the fan is in warm braw gear mode, can the error appear when the great change fan gear of noise. Therefore, how to accurately and conveniently adjust the warm air gear of the fan is a problem to be solved urgently at present.
Disclosure of Invention
The main purpose of the present application is to provide a fan control method, a fan, and a computer-readable storage medium, which aim to accurately and conveniently adjust a warm air gear of the fan, thereby facilitating the use of a user and improving the user experience.
In a first aspect, the present application provides a fan control method, including:
when the fan is in an electric hair drier mode and the head of a user is positioned in the air supply range of the fan, acquiring a head image of the user through a camera;
determining the hair wettability of the user according to the head image and a preset hair wettability recognition model, and acquiring the running time of the current warm air gear of the fan;
and adjusting the warm air gear of the fan according to the hair moisture and the running time so that the fan blows out warm air according to the adjusted warm air gear.
In a second aspect, the present application also provides a fan comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the fan control method as described above.
In a third aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the fan control method as described above.
The application provides a fan control method, a fan and a computer readable storage medium, and is characterized in that when the fan is in an electric hair drier mode and the head of a user is positioned in the air supply range of the fan, the head image of the user is collected through a camera; then, determining the hair wettability of the user according to the head image and a preset hair wettability recognition model, and acquiring the running time of the current warm air gear of the fan; and then, according to the hair moisture and the running time, adjusting the warm air gear of the fan so that the fan blows out warm air according to the adjusted warm air gear. The warm air gear of the fan is adjusted according to the blowing time of the warm air gear of the fan and the hair moisture degree of a user, so that the warm air gear of the fan is adjusted more accurately and conveniently, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of 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 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 schematic structural diagram of a fan in an embodiment of the present application;
fig. 2 is a schematic flowchart of a fan control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a user blowing hair with a fan according to an embodiment of the present disclosure;
FIG. 4 is a schematic view of another scenario in which a user blows hair using a fan according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a structure of a fan according to an embodiment of the present disclosure.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
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 some, but not all, embodiments of the present application. 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.
The embodiment of the application provides a fan control method, a fan and a computer readable storage medium. The fan control method can be applied to fans such as desktop fans, floor fans and wall fans.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a fan in the embodiment of the present application, and as shown in fig. 1, the fan 100 includes a fan cover 101, a fan column 102, a base 103, a fan head 104, and a camera 105.
One end of the fan column 102 is connected with the fan head 104, the other end of the fan column 102 is connected with the base 103, and the camera 105 is installed in the center of the fan cover 101. The fan cover 101 is used for preventing damage caused by the fact that foreign objects touch the fan blades and fixing the camera, and the fan cover 101 also comprises a heating wire used for heating; the fan column 102 is used for adjusting the height of the fan; the base 103 is used for fixing the fan and preventing the fan from shaking and falling down; the camera 105 comprises a camera for collecting an environment image in the fan air supply range; the fan head 104 includes a control module of the fan, the control module can control the fan head to rotate left and right, and the fan head can also rotate 360 degrees, so that the camera 105 can acquire an environmental image within a preset range of the fan. The control module may include a processor and a memory.
It should be noted that in the embodiment of the present application, the camera may be a 2D camera, and in other embodiments, the camera may be a depth camera or the like. When the fan control module, the camera and the fan transmit signals, various wireless signal transmission modes such as a 5G/4G network, a WIFI network, Bluetooth or ZigBee can be utilized.
The Processor may be a Central Processing Unit (CPU), or may be other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In order to reduce the energy consumption of the fan, the starting state of the camera needs to be controlled, namely the camera is started when a user needs to blow the head to adjust the warm gear, and the fan is used, so that the energy consumption of the camera is reduced
It is to be understood that the fan 100 of fig. 1 and the above-described nomenclature for the various components of the fan 100 are for identification purposes only and do not limit the application embodiments accordingly.
Referring to fig. 2, fig. 2 is a flowchart illustrating a fan control method according to an embodiment of the present disclosure.
As shown in fig. 2, the fan control method includes steps S101 to S103.
And S101, when the fan is in an electric hair drier mode and the head of a user is positioned in the air supply range of the fan, acquiring the head image of the user through a camera.
Specifically, a fan operation instruction sent by a water heater is received, and the fan is controlled to be in an electric hair drier mode according to the fan operation instruction; the method comprises the steps of collecting an environment image of an air supply range of a fan through a camera, determining whether the head of a user is located in the air supply range of the fan or not according to the environment image, and collecting the head image of the user through the camera if the head of the user is located in the air supply range of the fan.
In one embodiment, if the head of a user is not in the air supply range of a fan, acquiring the relative position information and the relative height of the user and the fan; and adjusting the air supply range of the fan according to the relative position information and the relative height so as to enable the head of the user to be in the air supply range of the fan.
Specifically, a yaw angle of a fan head of the fan is determined according to the relative position of a user and the fan, and specifically, a mapping relation table between prestored relative position information and the yaw angle is obtained, wherein the relative position information and the yaw angle have a corresponding relation; and determining a target yaw angle of the fan head of the fan according to the relative position information and the mapping relation table, namely inquiring the mapping relation table, acquiring the yaw angle corresponding to the relative position information, and taking the acquired yaw angle as the yaw angle of the fan head of the fan.
The specific mode of determining the pitch angle of the fan head of the fan according to the relative height of the user and the fan is as follows: acquiring a mapping relation table between pre-stored user height information and a pitch angle of the fan head, wherein the user height information and the pitch angle of the fan head have a corresponding relation; and determining the pitch angle of the fan head of the fan according to the relative height information and the mapping relation table. And inquiring the mapping relation table, acquiring the pitch angle corresponding to the relative height information of the user, and taking the acquired pitch angle as the pitch angle of the fan head of the fan.
Adjusting the air supply range of the fan according to the yaw angle of the fan head of the fan until the head of the user is positioned in the air supply direction of the fan; and adjusting the blowing height of the fan according to the pitch angle of the fan head of the fan until the head of the user is positioned in the air supply range of the fan.
And S102, determining the hair wettability of the user according to the head image and a preset hair wettability recognition model, and acquiring the running time of the current warm air gear of the fan.
And inputting the head image of the user collected by the camera into a preset hair wettability recognition model, and recognizing the hair wettability to obtain the hair wettability of the user. Wherein, the preset hair moisture recognition model is a pre-trained neural network model.
Specifically, a sample hair humidity image is obtained, and the sample hair humidity image is identified according to a preset hair humidity label table to construct sample data; and carrying out iterative training on the neural network model based on the sample data until the neural network model converges, thereby obtaining the hair wettability recognition model. It is understood that the neural network model includes a convolutional neural network model, a cyclic neural network model and a cyclic convolutional neural network model, and of course, other network models may be used to train and obtain the hair wettability model, which is not specifically limited in this application.
In one embodiment, in order to improve the accuracy of the head image recognition of the user and reduce the complexity of the operation in the image processing, the head image of the user may be pre-processed after being acquired. Specifically, the preprocessing includes resizing the image to obtain a preset size image; and performing format conversion on the preset size image to obtain a preset format image. The preset size can be adjusted according to the pixels of the camera, for example, the preset size of the image has preset sizes of 640 × 480, 1024 × 768, 1600 × 1200, and the like, and the user can adjust the preset size to 1600 × 1200 according to the requirement; the preset format image can be set in advance by a user, for example, the format of the image includes TIFF format, RAW format, JPEG format, and the like, and the user can adjust the preset format to the RAW format according to the requirement.
Specifically, the size of the collected head images of the user is adjusted, so that the collected images with different sizes are adjusted to be uniform in size; after the size of the image is adjusted, format conversion is performed on the image with the preset size, wherein different formats of the acquired head image of the user may be caused due to different sampling formats of the cameras, for example, the head image may be in a RAW format or a JPEG format, and format conversion is performed on the image with the preset size by using a conversion formula to convert the image into a uniform format, for example, the image with the preset size is converted into the RAW format. It should be noted that, when performing size adjustment and format adjustment on the acquired image, the adjustment sequence of size adjustment and format adjustment is not limited, and the size adjustment and then the format adjustment may be performed first, or the format adjustment and then the size adjustment may be performed first.
And S103, adjusting a warm air gear of the fan according to the hair moisture and the running time so that the fan blows out warm air according to the adjusted warm air gear.
If the running time of the fan is longer than the preset time, acquiring a pre-stored mapping relation table between the hair moisture range and the warm air gear, and determining a target warm air gear according to the hair moisture range and the mapping relation table; and if the target warm air gear is smaller than the current gear of the fan, adjusting the gear of the fan to be the target gear. The specific statistical mode of the running time of the current gear of the fan is as follows: when the head of a user is positioned in the air supply range of the fan, timing is started, the running time of the current warm air gear of the fan is counted, and the running time is obtained; or when the user adjusts the warm air gear of the fan, timing is started and the running time of the current warm air gear of the fan is counted to obtain running time; the preset duration can be set according to the hair volume of the user, for example, if a certain user is female, the hair is relatively long, and the hair volume is relatively large, the preset duration can be set to be 8 minutes.
Exemplarily, the warm air gear mapped by the hair wettability of the user is the second-stage warm air according to the pre-stored mapping relation table between the hair wettability range and the warm air gear; and acquiring the current gear and the running time of the fan, and if the running time is longer than the preset running time and the current gear of the fan is at the third gear, adjusting the warm air gear of the fan to be at the second gear. The higher the warm air gear of the fan is, the higher the power of the warm air is, and the higher the heat generated by the heating wire is.
It should be noted that, as the warm air gear of the fan is higher, the higher the heater power of the fan is, the more heat is generated, and at the same time, the higher the wind speed of the fan is, the more power is consumed by the fan.
In an embodiment, if the operation duration of the fan is longer than the preset operation duration, a target warm air gear is obtained according to the hair moisture degree, and if the target warm air gear is equal to the current warm air gear, the warm air gear of the fan is not adjusted. The method comprises the steps of obtaining a hair image of a user at intervals of preset time, inputting the hair image into a preset hair moisture recognition model to obtain the hair moisture of the user, and adjusting a current warm air gear of a fan to be a target warm air gear according to a mapping relation table between a hair moisture range and a warm air gear if the target warm air gear is smaller than the current warm air gear.
In one embodiment, when the fan is in the three-gear warm air mode, images within the air supply range of the fan are collected at intervals, and if a user leaves the air supply range of the fan, the warm air gear of the fan is adjusted to the lowest gear, so that the energy consumption of the fan is reduced.
Referring to fig. 3, fig. 3 is a schematic view illustrating a scene that a user blows hair by using a fan in the embodiment of the present application. As shown in fig. 3, the user has washed the hair and blows the hair using the warm wind gear of the fan. When a user blows hair by using the fan, the head image of the user is collected through the camera, the head image is input into the preset hair wettability recognition model, the hair wettability of the user is obtained, if the running time of the fan is longer than the preset running time, and the target warm air gear is smaller than the current warm air gear, the current warm air gear of the fan is adjusted to be the target warm air gear. According to the fan, the warm air gear of the fan is adjusted according to the blowing time of the warm air gear of the fan, the user can adjust the warm air gear of the fan more conveniently, and the user's experience of blowing hair is greatly improved.
In an embodiment, please refer to fig. 4, and fig. 4 is a schematic view illustrating another scenario in which a user blows hair by using a fan in the embodiment of the present application. As shown in fig. 4, the user sits on the chair to blow hair, and the head of the user is positioned in the air blowing part of the fan by adjusting the height of the fan column and the pitch angle of the fan, so as to achieve the purpose of blowing hair.
According to the fan control method provided by the embodiment, when the fan is in the electric hair drier mode and the head of a user is located in the air supply range of the fan, the head image of the user is collected through the camera; then, determining the hair wettability of the user according to the head image and a preset hair wettability recognition model, and acquiring the running time of the current warm air gear of the fan; and then, according to the hair moisture and the running time, adjusting the warm air gear of the fan so that the fan blows out warm air according to the adjusted warm air gear. The warm air gear of the fan is adjusted according to the blowing time of the warm air gear of the fan, so that the adjustment of the warm air gear of the fan is more accurate and convenient, and the user experience is greatly improved.
Referring to fig. 5, fig. 5 is a schematic block diagram of a fan according to an embodiment of the present disclosure. The fan may be a floor fan, a desk fan, or a wall fan.
As shown in fig. 5, the fan includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and 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 is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, which when executed by the processor, causes the processor to perform any of the fan control methods.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may 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.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
when the fan is in an electric hair drier mode and the head of a user is positioned in the air supply range of the fan, acquiring a head image of the user through a camera;
determining the hair wettability of the user according to the head image and a preset hair wettability recognition model, and acquiring the running time of the current warm air gear of the fan;
and adjusting the warm air gear of the fan according to the hair moisture and the running time so that the fan blows out warm air according to the adjusted warm air gear.
In one embodiment, the processor, in implementing determining the user's hair wettability from the head image and a preset hair wettability recognition model, is configured to implement:
and inputting the head image into a preset hair wettability recognition model to obtain the hair wettability of the user.
In one embodiment, the processor is further configured to implement:
acquiring a sample hair wettability image, wherein the sample hair wettability image is a plurality of acquired head images;
identifying the sample hair wettability image according to a preset hair wettability label table to construct sample data;
and based on a convolutional neural network, performing model training according to the sample data to obtain a preset hair wettability recognition model.
In one embodiment, the processor, when implementing the adjustment of the warm air gear of the fan according to the hair moisture and the running time, is configured to implement:
if the running time of the fan is longer than the preset running time, determining a target warm air gear according to the hair moisture degree, and acquiring the current warm air gear of the fan;
and if the target warm air gear is smaller than the current warm air gear, adjusting the current warm air gear of the fan to be the target warm air gear.
In one embodiment, the processor, in effecting determining a target warm air position based on the hair moistness, is configured to effect:
determining the hair moisture range where the hair moisture is located, and acquiring a pre-stored mapping relation table between the hair moisture range and a warm air gear;
and determining a target warm air gear according to the hair moisture range and the mapping relation table.
In one embodiment, the processor, when enabling acquiring the head image of the user via the camera, is further configured to enable:
receiving a fan operation instruction sent by a water heater, and controlling the fan to be in an electric hair drier mode according to the fan operation instruction;
acquiring an environment image of the air supply range of the fan through a camera, and determining whether the head of a user is in the air supply range of the fan or not according to the environment image;
if the head of the user is in the air supply range of the fan, executing the following steps: and acquiring the head image of the user through a camera.
In one embodiment, the processor, in implementing determining whether the user's head is within the blowing range of the fan based on the environment image, is further configured to implement:
if the head of the user is not in the air supply range of the fan, acquiring the relative position information and the relative height of the user and the fan;
and adjusting the air supply range of the fan according to the relative position information and the relative height so as to enable the head of the user to be in the air supply range of the fan.
In one embodiment, the processor, when implementing adjusting the air supply range of the fan according to the relative position information and the relative height, is configured to implement:
determining a yaw angle of a fan head of the fan according to the relative position of the user and the fan;
determining a pitch angle of a fan head of the fan according to the relative height of the user and the fan;
and adjusting the air supply range of the fan according to the yaw angle and the pitch angle.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the fan described above may refer to the corresponding process in the foregoing embodiment of the fan control method, and no further description is provided herein
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of the fan control method of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
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 those skilled in the art can easily conceive various equivalent modifications or substitutions 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:
when the fan is in an electric hair drier mode and the head of a user is positioned in the air supply range of the fan, acquiring a head image of the user through a camera;
determining the hair wettability of the user according to the head image and a preset hair wettability recognition model, and acquiring the running time of the current warm air gear of the fan;
and adjusting the warm air gear of the fan according to the hair moisture and the running time so that the fan blows out warm air according to the adjusted warm air gear.
2. The fan control method of claim 1, wherein the determining the user's hair moisturization degree according to the head image and a preset hair moisturization recognition model comprises:
and inputting the head image into a preset hair wettability recognition model to obtain the hair wettability of the user.
3. The fan control method according to claim 1 or 2, further comprising:
acquiring a sample hair wettability image, wherein the sample hair wettability image is a plurality of acquired head images;
identifying the sample hair wettability image according to a preset hair wettability label table to construct sample data;
and based on a convolutional neural network, performing model training according to the sample data to obtain a preset hair wettability recognition model.
4. The fan control method as claimed in claim 1, wherein said adjusting the warm air position of the fan according to the hair moistness and the operation time period comprises:
if the running time of the fan is longer than the preset running time, determining a target warm air gear according to the hair moisture degree, and acquiring the current warm air gear of the fan;
and if the target warm air gear is smaller than the current warm air gear, adjusting the current warm air gear of the fan to be the target warm air gear.
5. The fan control method as claimed in claim 4, wherein the determining a target warm air stage according to the hair wettability comprises:
determining the hair moisture range where the hair moisture is located, and acquiring a pre-stored mapping relation table between the hair moisture range and a warm air gear;
and determining a target warm air gear according to the hair moisture range and the mapping relation table.
6. The fan control method of claim 1, 2, 4, or 5, wherein before capturing the image of the user's head with the camera, further comprising:
receiving a fan operation instruction sent by a water heater, and controlling the fan to be in an electric hair drier mode according to the fan operation instruction;
acquiring an environment image of the air supply range of the fan through a camera, and determining whether the head of a user is in the air supply range of the fan or not according to the environment image;
if the head of the user is in the air supply range of the fan, executing the following steps: and acquiring the head image of the user through a camera.
7. The fan control method according to claim 6, wherein the determining whether the head of the user is within the blowing range of the fan based on the environment image further comprises:
if the head of the user is not in the air supply range of the fan, acquiring the relative position information and the relative height of the user and the fan;
and adjusting the air supply range of the fan according to the relative position information and the relative height so as to enable the head of the user to be in the air supply range of the fan.
8. The fan control method according to claim 7, wherein the adjusting the blowing range of the fan based on the relative position information and the relative height includes:
determining a yaw angle of a fan head of the fan according to the relative position of the user and the fan;
determining a pitch angle of a fan head of the fan according to the relative height of the user and the fan;
and adjusting the air supply range of the fan according to the yaw angle and the pitch angle.
9. A fan, characterized in that the fan comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the fan control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when being executed by a processor, carries out the steps of the fan control method according to any one of claims 1 to 8.
CN201911229607.6A 2019-12-04 2019-12-04 Fan control method, fan and computer readable storage medium Pending CN112904745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911229607.6A CN112904745A (en) 2019-12-04 2019-12-04 Fan control method, fan and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911229607.6A CN112904745A (en) 2019-12-04 2019-12-04 Fan control method, fan and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112904745A true CN112904745A (en) 2021-06-04

Family

ID=76111215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911229607.6A Pending CN112904745A (en) 2019-12-04 2019-12-04 Fan control method, fan and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112904745A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI823431B (en) * 2022-06-20 2023-11-21 英業達股份有限公司 Fan control method and fan control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205492920U (en) * 2016-04-14 2016-08-24 苏金月 Hair drier
CN108433318A (en) * 2018-03-27 2018-08-24 南京地平线机器人技术有限公司 The method of hair dryer and control hair dryer
US20180252226A1 (en) * 2017-03-01 2018-09-06 Beijing Xiaomi Mobile Software Co., Ltd. Fan and method and device for controlling the fan
CN109253102A (en) * 2018-08-27 2019-01-22 珠海格力电器股份有限公司 Fan control method and device, fan and readable storage medium
US20190025779A1 (en) * 2017-07-18 2019-01-24 Myung Eun SONG Electric fan capable of controlling rotation range and method of controlling the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205492920U (en) * 2016-04-14 2016-08-24 苏金月 Hair drier
US20180252226A1 (en) * 2017-03-01 2018-09-06 Beijing Xiaomi Mobile Software Co., Ltd. Fan and method and device for controlling the fan
US20190025779A1 (en) * 2017-07-18 2019-01-24 Myung Eun SONG Electric fan capable of controlling rotation range and method of controlling the same
CN108433318A (en) * 2018-03-27 2018-08-24 南京地平线机器人技术有限公司 The method of hair dryer and control hair dryer
CN109253102A (en) * 2018-08-27 2019-01-22 珠海格力电器股份有限公司 Fan control method and device, fan and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI823431B (en) * 2022-06-20 2023-11-21 英業達股份有限公司 Fan control method and fan control device

Similar Documents

Publication Publication Date Title
CN107246714B (en) Air conditioner control method and device
CN107152768B (en) Air conditioner control method and device
CN113091227B (en) Air conditioner control method, cloud server, air conditioner control system and storage medium
CN112545373A (en) Control method of sweeping robot, sweeping robot and medium
CN112926358A (en) Fan control method, device and computer readable storage medium
CN112904745A (en) Fan control method, fan and computer readable storage medium
CN112855594A (en) Air supply control method, fan and computer readable storage medium
CN112855595B (en) Fan control method, fan and storage medium
CN112902321A (en) Control method for air supply device, air supply system, and storage medium
CN112989870A (en) Fan control method, fan and computer readable storage medium
CN112747427A (en) Control method, device and equipment of air conditioner and storage medium
CN112696372A (en) Fan adjusting method, fan and storage medium
CN112855593A (en) Fan control method, fan, intelligent temperature control system and storage medium
CN114110719A (en) Shower system control method and device and computer readable storage medium
CN112861571A (en) Household appliance control method, control device and computer readable storage medium
CN112922875B (en) Method for adjusting wind speed of fan, fan and computer readable storage medium
CN110766631A (en) Face image modification method and device, electronic equipment and computer readable medium
CN112906445A (en) Blowing control method, system, fan and computer readable storage medium
CN112904998A (en) Fan control method, fan and computer readable storage medium
CN113668201B (en) Circulating fan control method, circulating fan control system and storage medium
CN114623603A (en) Water temperature adjusting method and device for water heater
CN112983871A (en) Fan control method, fan and computer readable storage medium
CN113887429A (en) Digital man video generation method and device and electronic equipment
CN112902405A (en) Air blowing control method, air blowing device, air blowing system, and storage medium
CN112922884B (en) Fan control method, system, 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210604