CN112906445A - Blowing control method, system, fan and computer readable storage medium - Google Patents
Blowing control method, system, fan and computer readable storage medium Download PDFInfo
- Publication number
- CN112906445A CN112906445A CN201911229595.7A CN201911229595A CN112906445A CN 112906445 A CN112906445 A CN 112906445A CN 201911229595 A CN201911229595 A CN 201911229595A CN 112906445 A CN112906445 A CN 112906445A
- Authority
- CN
- China
- Prior art keywords
- fan
- user
- hair
- target image
- blowing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- A—HUMAN NECESSITIES
- A45—HAND OR TRAVELLING ARTICLES
- A45D—HAIRDRESSING OR SHAVING EQUIPMENT; EQUIPMENT FOR COSMETICS OR COSMETIC TREATMENTS, e.g. FOR MANICURING OR PEDICURING
- A45D20/00—Hair drying devices; Accessories therefor
- A45D20/04—Hot-air producers
- A45D20/08—Hot-air producers heated electrically
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
Abstract
The application provides a blowing control method, a blowing control system, a fan and a computer-readable storage medium, wherein the method comprises the following steps: acquiring a target image including a head of a user, and determining relative position information between the head of the user and a fan according to the target image; determining a blowing strategy of the fan according to the relative position information; inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user; determining a heating gear of the heating wire according to the hair quality information; and blowing according to the blowing strategy and the heating gear so that the fan performs hot blowing on the hair of the user. This application utilizes the fan to weather user's hair fast and intelligently.
Description
Technical Field
The present application relates to the field of intelligent control technologies, and in particular, to a method and a system for controlling air blowing, a fan, and a computer-readable storage medium.
Background
After the user has washed the hair, need use the hair-dryer to weather the hair usually, but current hair-dryer volume is less, can only be little weather the hair, to the longer user of hair, needs to spend more time just can weather the hair, and user experience is not good, and needs handheld hairdryer when using the electric blowing, and the user can only make things with the hair with one hand, and is convenient inadequately. The existing fan has a large blowing area, but can only blow out normal-temperature air, and cannot make a blowing strategy according to the specific condition of the hair of a user, so that the hair of the user can be quickly dried.
Therefore, how to dry the hair of the user quickly and intelligently by using the fan becomes a problem which needs to be solved urgently.
Disclosure of Invention
A primary object of the present application is to provide a blowing control method, system, fan and computer-readable storage medium, which aim to dry a user's hair quickly and intelligently using the fan.
In a first aspect, the present application provides a blowing control method, including:
acquiring a target image including a head of a user, and determining relative position information between the head of the user and a fan according to the target image;
determining a blowing strategy of the fan according to the relative position information; and
inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user;
determining a heating gear of the heating wire according to the hair quality information;
and blowing according to the blowing strategy and the heating gear so that the fan performs hot blowing on the hair of the user.
In a second aspect, the present application further provides a fan comprising a heater, a processor, and a memory, wherein:
the heating wire is used for heating;
the memory for storing a computer program;
the processor is configured to execute the computer program and, when executing the computer program, implement the steps of the above-described air blowing control method.
In a third aspect, the application further provides a blower control system, including:
the fan is in communication connection with the water heater;
the water heater is used for acquiring the water yield of the water heater and sending an operation instruction to the fan when the water yield reaches a preset threshold value;
and the fan is used for receiving the operation instruction and executing the steps of the air blowing control method according to the operation instruction.
In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the blowing control method as described above.
The application provides a blowing control method, a system, a fan and a computer readable storage medium, the application obtains a target image comprising the head of a user, determines the relative position information between the head of the user and the fan according to the target image, then determines a blowing strategy of the fan according to the relative position information, and simultaneously inputs the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user, determines the heating gear of a heating wire according to the hair quality information, and finally blows according to the blowing strategy and the heating gear to enable the fan to carry out hot blowing on the hair of the user.
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 provided in the present application;
fig. 2 is a schematic flow chart of a blowing control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a marking region in an embodiment of the present application;
fig. 4 is a schematic block diagram of a blowing control system according to an embodiment of the present disclosure;
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.
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 provided in the present application. The fan in the embodiment of the present application will be described below with reference to fig. 1.
As shown in fig. 1, the fan 100 includes a motor 11, a fan head 12, a vertical rod 13, and a base 14, wherein the fan head 12 is provided with fan blades 120 and a heating wire 121, the heating wire 121 is located inside the fan head 12 and located on an air supply side of the fan blades 120, and the vertical rod 13 is provided with a function control module 16.
The fan head 12 can rotate in the horizontal direction, the heating wire 121 is used for heating, and heat can be provided when the heating wire 121 is connected, so that the fan 100 can blow out hot air.
It is understood that the fan 100 may be a table fan, a floor fan, a wall fan, etc. The air supplied by the fan 100 may be normal temperature air or warm air. The heating wire 121 may be made of an electric alloy such as fe-cr-al, ni-cr, etc., and it is understood that the heating wire 121 may also be other electric heating elements capable of serving as a heat source.
As shown in fig. 1, the fan 100 may further include a camera 15, and the camera 15 is set up on the upright 13, faces the air blowing direction of the fan head 12, and is capable of capturing an image including the air blowing range of the fan 100. The camera 15 may be a 2D camera, a depth camera, or the like.
It should be noted that the function control module 16 may include a processor and a memory, and the function control module 16 may further include a network interface for performing network communication. The memory is used for storing computer programs, and the processor is respectively connected with the motor 11, the heating wire 121 and the camera 15 and is used for controlling the working states of the motor 11, the heating wire 121 and the camera 15, for example, controlling the rotating speed of the motor 11 to adjust the blowing gear of the fan 100 or controlling the heating gear of the heating wire 121.
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 the fan 100, the camera 15 captures a target image including the head of the user and transmits the captured target image to the function control module 16; the processor in the function control module 16 determines the relative position information between the head of the user and the fan according to the collected target image, and then determines the blowing strategy of the fan according to the relative position information; and, inputting the target image into a preset convolutional neural network through a processor in the function control module 16, so as to obtain the hair quality information of the hair of the user, and then determining the heating gear of the heating wire 121 according to the hair quality information; the fan 100 blows air according to the determined blowing strategy and the heating gear so that the fan 100 performs hot blowing on the user's hair. The whole process does not need the handheld fan of user, and the area of blowing of fan is great simultaneously, can be by a large scale weather user's hair, reduces the time of blowing the hair, and the user of being convenient for blows the hair, very big improvement user experience.
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.
The embodiment of the application provides a blowing control method, a blowing control system, a fan and a computer-readable storage medium. The blowing control method can be applied to a server or a fan, and the server can be a single server or a server cluster formed by a plurality of servers; the fan may be a desk fan, a floor fan, a wall fan, etc. The fan can comprise fan blades and a heating wire positioned on the air supply side of the fan blades, when the heating wire is switched on, the fan can blow out warm air, and when the heating wire is not switched on, the fan blows out room temperature air. The following explanation will be given taking the application of the blowing control method to a fan as an example.
Referring to fig. 2, fig. 2 is a schematic flow chart of a blowing control method according to an embodiment of the present application.
As shown in fig. 2, the blowing control method includes steps S101 to S105.
Step S101, obtaining a target image including the head of a user, and determining relative position information between the head of the user and a fan according to the target image.
After the fan is started, the camera arranged on the fan is used for collecting the image of the air supply range of the fan so as to obtain a target image including the head of a user. The camera can be a 2D camera or a depth camera, and also can be a monocular camera or a binocular camera and the like. It is understood that the camera carried by the monitoring system or other devices may also obtain the target image including the head of the user, and the present application is not limited thereto.
The fan can be controlled to be started according to an operation instruction sent by intelligent equipment such as a water heater and the like, and the fan can also be controlled to be started by a user through a button, a control, a remote controller or an operation page. If the fan is started, only the camera on the fan can be started, and the subsequent operation is executed based on the target image acquired by the camera. The present application is not particularly limited.
After a target image including the head of the user is acquired, relative position information between the head of the user and the fan is determined according to the target image. That is, the one or more target images are processed to obtain relative position information between the head of the user and the fan, wherein the relative position information includes distance information and deviation information between the head of the user and the fan.
In one embodiment, the specific method for determining the relative position information between the head of the user and the fan is as follows: inputting the target image into a preset head detection model to obtain a marked target image; and determining the relative position information between the head of the user and the fan according to the marked target image. It should be noted that the head detection model can mark the position of the head of the user on the target image, so as to obtain the position and size of the head of the user in the target image; according to the position and the size of the head of the user in the target image and a preset coordinate system in the target image, the relative position information between the head of the user and the fan can be determined. The preset coordinate system may be a two-dimensional coordinate system or a three-dimensional coordinate system, and is determined according to actual conditions, for example, when the camera is a 2D camera, the target image is a plan view, and the preset coordinate system is a two-dimensional coordinate system.
Specifically, the preset head detection model can be obtained by model training based on a deep learning neural network, for example, a deep learning MobileNetv2-SSD network, and certainly, can also be obtained by training using other networks such as VGG-SSD network. Illustratively, the deeply learned MobileNetv2-SSD network is iteratively trained by training samples, which are target images that include the user's head, to derive a head detection model. And performing iterative training on the head detection model through a target image comprising the head of the user until the deeply learned MobileNetv2-SSD network converges, thereby obtaining the head detection model. The target image including the head of the user is detected by the head detection model, the position of the head of the user can be marked, and the marked target image is output.
Further, the specific way of determining the relative position information between the head of the user and the fan according to the marked target image comprises: acquiring the area of a marked region in the marked target image, and determining distance information between the head of a user and the fan according to the area of the marked region; and acquiring the position information of the marked area in the marked target image, and determining the deviation information between the head of the user and the fan according to the position information and the distance information. The marked region is a region marked in the target image and including the head of the user, and the deviation information may be a deviation direction between the head of the user and the fan or a deviation angle between the head of the user and a central axis of the fan.
It should be noted that the distance between the head of the user and the fan can be calculated by the area of the mark region. The larger the area of the region of the marker including the user's head, the smaller the distance between the user's head and the fan; the smaller the area of the marker region, the greater the distance between the user's head and the fan. For example, a mapping relationship between the distance and the area may be obtained by including an image of the head of the user at different distances, and from the mapping relationship and the area of the mark region, distance information between the head of the user and the fan may be determined. In addition, in some other embodiments, a mapping table indicating a correspondence between the distance and the area may be directly obtained, and the distance information between the head of the user and the fan may be determined according to the mapping table and the area of the mark region.
In one example, as shown in fig. 3, a marker region 2 and a preset coordinate system XOY exist in a target image 1. Based on the coordinate system XOY, from the position information of the mark area 2 and the distance information OA between the user's head and the fan, the deviation information between the user's head and the fan can be determined. The coordinate system XOY is a two-dimensional coordinate system with the center point O of the fan blowing range as the origin. Specifically, a first distance OA between the center point a and the center point O of the mark region 2 is acquired; from this first distance OA, the actual deviation distance of the fan from the user's head in the Y-plane can be determined; based on the tangent formula, from the actual deviation distance and the distance information between the user's head and the fan, the deviation angle of the user's head from the central axis of the fan can be determined, i.e. the tangent of the deviation angle is equal to the actual deviation distance divided by the distance information between the user's head and the fan.
And S102, determining a blowing strategy of the fan according to the relative position information.
After determining the relative position information between the user's head and the fan, based on the relative position information, the blowing strategy of the fan can be determined. Wherein, this blowing tactics include the gear and the range of blowing of fan. It should be noted that, the blowing gear of the fan is used for adjusting the wind speed or wind power of the fan, and the blowing range of the fan is used for adjusting the coverage of the fan.
In an embodiment, the relative position information includes distance information and deviation information between the head of the user and the fan, and the blowing strategy of the fan is specifically determined by: determining a blowing gear of the fan according to the distance information; and determining the blowing range of the fan according to the distance information and the deviation information. It should be noted that, the relationship between the distance information and the blowing gear may be set according to specific situations, and it is understood that the farther the distance between the head of the user and the fan is, the larger the blowing gear of the fan is determined to be, and conversely, the closer the distance is, the smaller the blowing gear of the fan is determined to be. The blowing range of the fan may include a first blowing range and a second blowing range, wherein the first blowing range has a smaller area and the second blowing range has a larger area. When the distance information is smaller than the preset distance and the deviation angle in the deviation information is within the preset angle range, determining the blowing range of the fan as a first blowing range; when the distance information is greater than or equal to the preset distance, or the deviation angle in the deviation information is not within the preset angle range, the blowing range of the fan is determined to be the second blowing range, it needs to be explained that the preset distance and the preset angle range can be set according to actual conditions, and the blowing range of the fan can also be set according to user preference.
And S103, inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user.
And inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user. Wherein the hair quality information includes at least one of a degree of wetness, a degree of dryness, and a hair volume of the user's hair, and the convolutional neural network includes an input layer, a plurality of convolutional layers, a pooling layer, a default box layer for selecting an aspect ratio of the default box according to the plurality of convolutional layers, and an output layer.
Specifically, training samples are input into a deep learning convolutional neural network, and the deep learning convolutional neural network is trained by using a deep learning framework, so as to obtain a trained convolutional neural network, wherein the training samples are hairs of users with various characteristics, including different degrees of wetness, dryness and/or hair volume of the hairs. And detecting a target image comprising the head of the user through the trained convolutional neural network to obtain the degree of wetness, the dryness and/or the hair quantity of the hair of the user.
It will be appreciated that other suitable image recognition methods or techniques may be employed to detect hair features in the target image, for example, various different methods such as scale invariant feature transformation algorithms, corner-based image feature extraction and matching algorithms, local feature-based image matching and recognition, visual information-based image feature extraction algorithms, corner detection, feature point detection, geometric analysis, and the like may be employed.
In one embodiment, the convolutional neural network comprises a preprocessing sublayer and a feature extraction sublayer, and the target image is preprocessed through the preprocessing sublayer to obtain a preprocessed target image; and performing feature extraction on the preprocessed target image based on the feature extraction sublayer to obtain the hair quality information of the hair of the user. The preprocessing sublayer is used for preprocessing a target image, and the preprocessing process comprises smoothing denoising, corrosion, expansion and the like. Meanwhile, the target image is further processed according to detection methods, such as edge detection, gray scale change, spot detection, depth detection, and the like. The feature extraction sublayer is used for feature extraction of the preprocessed target image, wherein the extracted hair features may include whether the target image is an image of hair, the texture of hair (e.g., such as steel hair, cotton hair, oil hair, sofa texture type), the amount of hair (which can reflect the thinning or density of hair), the color of hair, the hairstyle (e.g., short hair, long hair, straight hair, curly hair, etc.), the cleanliness of hair (e.g., how much dandruff is left), the wettability of hair (e.g., whether or not there are water droplets, the amount of residual moisture or water droplets left on hair, etc.). The hair quality information of the user is identified through the convolutional neural network, and the accuracy of hair feature identification can be improved.
And step S104, determining a heating gear of the heating wire according to the hair quality information.
After the hair quality information of the user is acquired, the heating gear of the heating wire is determined according to the moisture degree, the dryness degree and/or the hair quantity of the hair in the hair quality information. The heating wire can be made of an electric alloy such as iron-chromium-aluminum, nickel-chromium and the like, and can also be other electric heating elements capable of serving as heat sources. It will be appreciated that the heating position of the heater may also be determined according to the texture of the hair, the hairstyle and/or the cleanliness of the hair.
Further, acquiring a mapping relation table between a heating gear and the degree of wetness, the degree of dryness and/or the amount of hair generation; and determining the heating gear of the heating wire according to the mapping relation table and the wettability, the dryness and/or the hair amount. The mapping relation table between the heating gear and the degree of wetness, the degree of dryness and/or the amount of hair generation can be newly set according to specific conditions, and the application is not specifically limited herein. For example, the heating gear of the heater may be first gear, second gear and third gear, and when the degree of wetness is 30% and the amount of heat is large, the heating gear of the heater is determined to be second gear. It is understood that the heating position of the heater is determined to be higher when the hair is more moisturized/less dry/more voluminous.
In one embodiment, when the humidity value in the hair quality information is in a first humidity range, the heating gear of the heating wire is determined to be a first gear; when the humidity value in the hair quality information is in a second humidity range, determining the heating gear of the heating wire as a second gear; when the humidity value in the hair quality information is in a third humidity range, determining the heating gear of the heating wire as a third gear; wherein, the humidity value in the third humidity range is greater than the humidity value in the second humidity range, and the humidity value in the second humidity range is greater than the humidity value in the first humidity range, and this first humidity range, second humidity range and third humidity range can set up according to particular case.
And S105, blowing according to the blowing strategy and the heating gear so that the fan can perform hot blowing on the hair of the user.
After the blowing strategy of the fan and the heating gear of the heating wire are determined, blowing is carried out according to the blowing strategy and the heating gear, so that the fan carries out hot blowing on the hair of a user. Specifically, the gear of blowing through the fan with the scope control fan of blowing air supply, the heating gear of control heater generates heat for the fan blows off hot-blast while in the large tracts of land, realizes that intelligence is bloied, not only can weather user's hair fast, still improves user experience.
According to the blowing control method provided by the embodiment, the target image comprising the head of the user is obtained, the relative position information between the head of the user and the fan is determined according to the target image, the blowing strategy of the fan is determined according to the relative position information, meanwhile, the target image is input into the preset convolutional neural network to obtain the hair quality information of the hair of the user, the heating gear of the heating wire is determined according to the hair quality information, and finally, the blowing is performed according to the blowing strategy and the heating gear, so that the fan performs hot blowing on the hair of the user, the fan needs to be held by the user in the whole process, the hair is quickly dried by utilizing the large wind force of the fan, and the user experience is greatly improved.
Referring to fig. 4, fig. 4 is a schematic block diagram of an air blowing control system according to an embodiment of the present disclosure.
As shown in fig. 4, the blower control system 300 includes: a fan 201 and a water heater 202.
The fan 201 includes blades and a heating wire located on the air supply side of the blades. The fan 201 and the water heater 202 are in communication connection, and the communication connection may include various wireless signal transmission modes such as a 5G/4G network, a WIFI network, bluetooth or ZigBee.
The water heater 202 is configured to obtain a water yield of the water heater 202, and send an operation instruction to the fan 201 when the water yield reaches a preset threshold.
The water yield is the water yield accumulated by the water heater 202 in a preset time period, the preset time period can be flexibly set, optionally 5 minutes, the preset threshold can be set according to the actual situation, and the application is not specifically limited, and optionally 3 liters.
In some embodiments, the water heater 202 is further configured to calculate an operation duration of the water heater 202, where the operation duration is a duration of accumulated water in a period from the start to the end of the usage period of the water heater 202; after the water heater 202 is used, judging whether the running time reaches a preset threshold value; when the operation time reaches a preset time threshold, an operation instruction is sent to the fan 201. It should be noted that the above-mentioned criterion for the water heater 202 to be opened may be that the outlet valve is opened (the water output is calculated at the beginning), and the criterion for the water heater 202 to be used is that the outlet valve is not opened within the preset time. The preset time threshold may be set according to an actual situation, which is not specifically limited in the present application, and optionally, the preset threshold is 5 minutes.
The fan 201 is configured to receive the operation instruction, and obtain a target image including a head of a user according to the operation instruction; determining relative position information between the user's head and the fan 201 according to the target image; determining a blowing strategy of the fan 201 according to the relative position information; inputting the target image into a preset convolutional neural network to obtain hair quality information of the hair of the user, and determining a heating gear of the heating wire according to the hair quality information; and blowing according to the blowing strategy and the heating gear so that the fan 201 performs hot blowing on the hair of the user.
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 above-described blowing control system may refer to the corresponding process in the foregoing embodiment of the blowing control method, and is not described herein again.
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 desk fan, a floor fan, a wall fan, etc.
As shown in fig. 5, the fan includes a heating wire for generating heat, a processor connected through a system bus, and a memory, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program comprises program instructions which, when executed, cause a processor to perform any one of the methods of controlling the air blowing.
The processor is used to provide computing and control capabilities, supporting the operation of the entire fan.
The internal memory provides an environment for running a computer program in the nonvolatile storage medium, which, when executed by the processor, causes the processor to execute any one of the blowing control methods.
The fan also includes a network interface (not shown) for performing network communications, such as sending assigned tasks, etc. Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the fans to which the present application applies, and that a particular fan may include more or fewer components than those shown, or some components may be combined, 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:
acquiring a target image including a head of a user, and determining relative position information between the head of the user and a fan according to the target image;
determining a blowing strategy of the fan according to the relative position information; and
inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user;
determining a heating gear of the heating wire according to the hair quality information;
and blowing according to the blowing strategy and the heating gear so that the fan performs hot blowing on the hair of the user.
In one embodiment, the processor, in effecting said determining relative positional information between the user's head and fan from the target image, is operative to effect:
inputting the target image into a preset head detection model to obtain a marked target image;
and determining the relative position information between the head of the user and the fan according to the marked target image.
In one embodiment, the processor, in performing the determining of the relative position information between the user's head and the fan from the marked target image, is configured to perform:
acquiring the area of a marked region in the marked target image, and determining distance information between the head of the user and the fan according to the area of the marked region;
and acquiring the position information of the marked area in the marked target image, and determining the deviation information between the head of the user and the fan according to the position information and the distance information.
In one embodiment, the processor includes distance information and deviation information between the user's head and the fan when implementing the relative position information; when determining the blowing strategy of the fan according to the relative position information, the method is used for realizing that:
determining a blowing gear of the fan according to the distance information;
and determining the blowing range of the fan according to the distance information and the deviation information.
In one embodiment, the processor, in implementing the convolutional neural network, includes a pre-processing sublayer and a feature extraction sublayer; when the target image is input into a preset convolutional neural network to obtain the hair quality information of the hair of the user, the method is used for realizing that:
preprocessing the target image through the preprocessing sublayer to obtain a preprocessed target image;
and performing feature extraction on the preprocessed target image based on the feature extraction sublayer to obtain the hair quality information of the hair of the user.
In one embodiment, the processor is used for realizing that the hair quality information is at least one of moisture, dryness and hair amount; when the heating gear of the heating wire is determined according to the hair quality information, the method is used for realizing that:
and determining a heating gear of the heating wire according to the moisture degree, the dryness degree and/or the hair amount of the hair of the user.
In one embodiment, the processor, in implementing the determining the heating gear of the heater according to the degree of wetness, the degree of dryness and/or the amount of hair of the user, is configured to implement:
acquiring a mapping relation table between a heating gear and the degree of wetness, the degree of dryness and/or the amount of hair generation;
and determining the heating gear of the heating wire according to the mapping table and the wettability, the dryness and/or the hair amount.
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 blowing control method, and details are not described herein again.
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 blowing control method of the present application.
The computer readable storage medium may be an internal storage unit of the fan described in the foregoing embodiment, for example, a hard disk or a memory of the fan. The computer readable storage medium may also be an external storage device of the fan, such as a plug-in hard disk provided on the fan, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
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 blowing control method is applied to a fan, and is characterized in that the fan comprises fan blades and a heating wire positioned on the air supply side of the fan blades, and the method comprises the following steps:
acquiring a target image including a head of a user, and determining relative position information between the head of the user and a fan according to the target image;
determining a blowing strategy of the fan according to the relative position information; and
inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user;
determining a heating gear of the heating wire according to the hair quality information;
and blowing according to the blowing strategy and the heating gear so that the fan performs hot blowing on the hair of the user.
2. The blower control method according to claim 1, wherein the determining of the relative position information between the user's head and a fan from the target image includes:
inputting the target image into a preset head detection model to obtain a marked target image;
and determining the relative position information between the head of the user and the fan according to the marked target image.
3. The blower control method according to claim 2, wherein the determining the relative position information between the user's head and the fan based on the marked target image includes:
acquiring the area of a marked region in the marked target image, and determining distance information between the head of the user and the fan according to the area of the marked region;
and acquiring the position information of the marked area in the marked target image, and determining the deviation information between the head of the user and the fan according to the position information and the distance information.
4. The blower control method according to claim 1, wherein the relative position information includes distance information and deviation information between a user's head and the fan; the determining the blowing strategy of the fan according to the relative position information comprises the following steps:
determining a blowing gear of the fan according to the distance information;
and determining the blowing range of the fan according to the distance information and the deviation information.
5. The blower control method according to claim 1, wherein the convolutional neural network includes a preprocessing sublayer and a feature extraction sublayer; the step of inputting the target image into a preset convolutional neural network to obtain the hair quality information of the hair of the user comprises the following steps:
preprocessing the target image through the preprocessing sublayer to obtain a preprocessed target image;
and performing feature extraction on the preprocessed target image based on the feature extraction sublayer to obtain the hair quality information of the hair of the user.
6. The blow control method according to any one of claims 1 to 5, wherein the hair quality information is at least one of a degree of wetness, a degree of dryness, a hair amount; the determining the heating gear of the heating wire according to the hair quality information comprises the following steps:
and determining a heating gear of the heating wire according to the moisture degree, the dryness degree and/or the hair amount of the hair of the user.
7. The hair drying control method of claim 6, wherein the determining the heating position of the heat generating wire according to the degree of wetting, the degree of drying, and/or the amount of hair of the user comprises:
acquiring a mapping relation table between a heating gear and the degree of wetness, the degree of dryness and/or the amount of hair generation;
and determining the heating gear of the heating wire according to the mapping table and the wettability, the dryness and/or the hair amount.
8. A fan, comprising a heater, a processor, and a memory, wherein:
the heating wire is used for heating;
the memory for storing a computer program;
the processor is configured to execute the computer program and, when executing the computer program, to implement the steps of the blow control method according to any of claims 1 to 7.
9. A blower control system, comprising: the fan is in communication connection with the water heater;
the water heater is used for acquiring the water yield of the water heater and sending an operation instruction to the fan when the water yield reaches a preset threshold value;
the fan is used for receiving the operation instruction and executing the steps of the air blowing control method according to any one of claims 1 to 7 according to the operation instruction.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, wherein the computer program, when being executed by a processor, realizes the steps of the blow control method according to any of the claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911229595.7A CN112906445A (en) | 2019-12-04 | 2019-12-04 | Blowing control method, system, fan and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911229595.7A CN112906445A (en) | 2019-12-04 | 2019-12-04 | Blowing control method, system, fan and computer readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112906445A true CN112906445A (en) | 2021-06-04 |
Family
ID=76111209
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911229595.7A Pending CN112906445A (en) | 2019-12-04 | 2019-12-04 | Blowing control method, system, fan and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112906445A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113891508A (en) * | 2021-09-23 | 2022-01-04 | 深圳汝原科技有限公司 | Control method of drying device, drying device and readable storage medium |
| JP2023044989A (en) * | 2021-09-21 | 2023-04-03 | 五洋建設株式会社 | Estimation method, trained model generation method, information processing device and program |
| CN119477851A (en) * | 2024-11-06 | 2025-02-18 | 绍兴市益强电器科技有限公司 | A method, system, intelligent terminal and storage medium for adjusting long and short hair blowing |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205001226U (en) * | 2015-08-07 | 2016-01-27 | 罗德川 | Multifunctional fan |
| US20180031318A1 (en) * | 2016-07-29 | 2018-02-01 | Spur Concepts Inc. | Systems and methods for delivering heat in a battery powered blow dryer |
| CN108433318A (en) * | 2018-03-27 | 2018-08-24 | 南京地平线机器人技术有限公司 | The method of hair dryer and control hair dryer |
| CN109907460A (en) * | 2019-04-24 | 2019-06-21 | 北京小米移动软件有限公司 | Blowing method, hair dryer and storage medium |
-
2019
- 2019-12-04 CN CN201911229595.7A patent/CN112906445A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205001226U (en) * | 2015-08-07 | 2016-01-27 | 罗德川 | Multifunctional fan |
| US20180031318A1 (en) * | 2016-07-29 | 2018-02-01 | Spur Concepts Inc. | Systems and methods for delivering heat in a battery powered blow dryer |
| CN108433318A (en) * | 2018-03-27 | 2018-08-24 | 南京地平线机器人技术有限公司 | The method of hair dryer and control hair dryer |
| CN109907460A (en) * | 2019-04-24 | 2019-06-21 | 北京小米移动软件有限公司 | Blowing method, hair dryer and storage medium |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2023044989A (en) * | 2021-09-21 | 2023-04-03 | 五洋建設株式会社 | Estimation method, trained model generation method, information processing device and program |
| JP7751431B2 (en) | 2021-09-21 | 2025-10-08 | 五洋建設株式会社 | Estimation method, trained model generation method, information processing device, and program |
| CN113891508A (en) * | 2021-09-23 | 2022-01-04 | 深圳汝原科技有限公司 | Control method of drying device, drying device and readable storage medium |
| CN119477851A (en) * | 2024-11-06 | 2025-02-18 | 绍兴市益强电器科技有限公司 | A method, system, intelligent terminal and storage medium for adjusting long and short hair blowing |
| CN119477851B (en) * | 2024-11-06 | 2025-10-17 | 绍兴市益强电器科技有限公司 | Long and short hair dryer adjusting method, system, intelligent terminal and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112906445A (en) | Blowing control method, system, fan and computer readable storage medium | |
| CN108433318B (en) | Electric hair drier and method for controlling electric hair drier | |
| Zhao et al. | Automatic 3D facial expression recognition based on a Bayesian belief net and a statistical facial feature model | |
| CN114424916A (en) | Cleaning mode selection method, intelligent cleaning device, computer storage medium | |
| CN106203299A (en) | The control method of a kind of controllable equipment and device | |
| CN112926358A (en) | Fan control method, device and computer readable storage medium | |
| EP2525322A1 (en) | Image matching system, image matching method, computer program | |
| WO2024179316A1 (en) | Path planning method, related device for path planning method, and robot | |
| CN113116229A (en) | Robot control method and device, sweeping robot and storage medium | |
| CN112855595B (en) | Fan control method, fan and storage medium | |
| CN112943660B (en) | Air supply control method, fan and computer readable storage medium | |
| CN116196095B (en) | Unhairing control method and system of intelligent nursing equipment | |
| CN112922864B (en) | Fan air supply adjusting method, fan and computer readable storage medium | |
| CN116098536B (en) | A robot control method and device | |
| CN112696372A (en) | Fan adjusting method, fan and storage medium | |
| CN112747427A (en) | Control method, device and equipment of air conditioner and storage medium | |
| CN113584845A (en) | Blowing control method, system, circulating fan and computer readable storage medium | |
| CN117072474B (en) | Control method of electric fan | |
| CN112901542A (en) | Fan control method, fan and storage medium | |
| CN112904745A (en) | Fan control method, fan and computer readable storage medium | |
| CN112022003A (en) | Sweeping robot, control method and device thereof, and computer-readable storage medium | |
| CN113584847B (en) | Circulating fan control method, circulating fan control system, central control equipment and storage medium | |
| CN110173866B (en) | Intelligent air supply method and device of air conditioner and air conditioner | |
| CN113404719A (en) | Control method and device of wind sweeping equipment, electric fan and readable storage medium | |
| CN113652844A (en) | Clothes hanger control method and system, central control device and 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 |
Application publication date: 20210604 |
|
| RJ01 | Rejection of invention patent application after publication |