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

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

Info

Publication number
CN112922888B
CN112922888B CN201911244462.7A CN201911244462A CN112922888B CN 112922888 B CN112922888 B CN 112922888B CN 201911244462 A CN201911244462 A CN 201911244462A CN 112922888 B CN112922888 B CN 112922888B
Authority
CN
China
Prior art keywords
fan
height
preset
user
preset range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911244462.7A
Other languages
Chinese (zh)
Other versions
CN112922888A (en
Inventor
陈小平
司徒伟贤
唐清生
陈伟健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201911244462.7A priority Critical patent/CN112922888B/en
Publication of CN112922888A publication Critical patent/CN112922888A/en
Application granted granted Critical
Publication of CN112922888B publication Critical patent/CN112922888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Structures Of Non-Positive Displacement Pumps (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The application provides a fan safety control method, a fan and a computer readable storage medium, wherein the method comprises the following steps: acquiring an environment image within a preset range of the fan through a camera, and determining the height of each user within the preset range of the fan according to the environment image; then determining the number of children and the number of adults in the preset range of the fan according to the height of each user in the preset range of the fan and a preset height threshold value; and then if the number of the children and the number of the adults meet the preset condition, adjusting the height of the fan so that the difference value between the height of the fan and the preset height threshold value is larger than the preset difference value. Through adjustment fan height, prevent that children from stretching into the fan of being worked with the finger and being hit by the fan, improve the security that the fan used.

Description

Fan safety control method, fan and computer readable storage medium
Technical Field
The present disclosure relates to the field of smart fans, and in particular, to a fan safety control method, a fan, and a computer-readable storage medium.
Background
With the development of times, the living standard of people is greatly improved by the artificial intelligent home which is visible everywhere in life, but the household intelligent home also has some safety problems. For example, a family with children paying special attention to fan safety because children full of curiosity about fans play the fan as a toy, and thus children may insert fingers into the rotating blades of the operating fan, which may be injured by the rapidly rotating fan blades, resulting in a safety hazard. Therefore, how to improve the safety of the fan is a problem to be solved urgently.
Disclosure of Invention
The present disclosure provides a fan safety control method, a fan and a computer readable storage medium, which are used to improve the safety of the fan.
In a first aspect, the present application provides a method for safely controlling a fan, where the fan is provided with a camera, the method including:
acquiring an environment image within a preset range of the fan through the camera, and determining the height of each user within the preset range of the fan according to the environment image;
determining the number of children and the number of adults within the fan preset range according to the height of each user within the fan preset range and a preset height threshold value;
and if the number of the children and the number of the adults meet the preset condition, adjusting the height of the fan so that the difference value between the height of the fan and a preset height threshold value is larger than a preset difference value.
In a second aspect, the present application further provides a fan, which includes a camera, 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 safety 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 safety control method as described above.
The application provides a fan safety control method, a fan and a computer readable storage medium, wherein a camera is used for collecting an environment image of the fan within a preset range, and the height of each user within the preset range of the fan is determined according to the environment image; then determining the number of children and the number of adults within the fan preset range according to the height of each user within the fan preset range and a preset height threshold value; and then if the number of the children and the number of the adults meet the preset condition, adjusting the height of the fan so that the difference value between the height of the fan and the preset height threshold value is larger than the preset difference value. The fan prevents children from extending fingers into the working fan and being injured by the fan, and improves the safety of the fan in use.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a fan embodying embodiments of the present application;
fig. 2 is a schematic flow chart illustrating a fan safety control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a camera capturing an environmental image within a preset range of a fan;
fig. 4 is a schematic flowchart of another fan safety control method according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating 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 order 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 implemented 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, and cameras 104 and 105.
One end of the fan column 102 is connected with the fan head 105, the other end of the fan column 102 is connected with the base 103, and the camera 104 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 is used for fixing the camera; 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 104 comprises a camera and an infrared distance meter, the infrared distance meter is installed on the camera, the camera is used for shooting an environment image within a preset range of the fan, and the infrared distance meter is used for measuring the distance between a user and the camera; the fan head 105 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 104 can shoot 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 infrared sensor 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 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, discrete Gate or transistor logic device, 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.
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 fan safety control method provided by the embodiment of the present application will be described in detail below based on the fan in fig. 1.
Referring to fig. 2, fig. 2 is a flowchart illustrating a fan safety control method according to an embodiment of the present disclosure.
As shown in fig. 2, the fan safety control method includes steps S101 to S103.
S101, collecting an environment image within a preset range of the fan through the camera, and determining the height of each user within the preset range of the fan according to the environment image.
Specifically, when a user touches a control button of the fan, a camera installed at the center of a fan cover of the fan is started, and an environment image in a preset range of the fan is collected through the camera. Or when detecting that a user is close to the fan through the infrared sensor on the fan, the control module of the fan controls the camera to be started, the infrared sensor determines the position of the user, the control module of the fan controls the fan head to rotate, the fan cover faces the user, the camera can shoot the user, and images of the user are collected. The energy consumption of the fan can be reduced by controlling the starting state of the camera.
Referring to fig. 3, fig. 3 is a schematic view of a camera capturing an environmental image within a preset range of a fan. As shown in fig. 3, when it is detected that a user exists in the preset range of the fan, the camera is started to shoot a user image in the preset range, and the focal length and the pixel height of the shot user image are sent to the control module of the fan.
In an embodiment, in a mode that the fan is supplying air, the infrared sensor detects that a user is close to the fan, information that the user is close to the fan is sent to the camera, the camera is started to collect images in a lens range and send the images to the fan control module, the fan control module detects that the images of the user are incomplete, and the fan is controlled to rotate by a corresponding angle according to the position of the user detected by the infrared sensor, so that the camera can collect the complete images of the user.
In one embodiment, a focal length of the camera when focusing and an object distance of each user within a preset range of the fan are obtained, wherein the object distance is a distance between the infrared distance meter and the user; based on a Gaussian imaging formula, calculating the image distance of each user according to the focal distance and the object distance of each user, and acquiring the pixel height of each user; and determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user, wherein the pixel height refers to the length of pixel points which are vertically divided by the acquired picture.
Specifically, when the camera collects a user in a fan preset range, the distance from the camera to the user is measured through an infrared distance meter, the distance is recorded as an object distance u when the user is shot, and the object distance is sent to a control module; acquiring a focal length of a camera when the camera shoots the user, recording the focal length as f, and sending the focal length to a control module; calculating the image distance of an imaging negative film when the user image is acquired based on a Gaussian imaging formula 1/v-1/u-1/f according to the received object distance and focal length, and recording the image distance as v; and calculating the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height when the user image is collected based on a preset height calculation formula. The preset height calculation formula is H ═ H/v, u is the distance between a user and the camera, v is the image distance of an image formed when the camera collects the user, and H is the pixel height of the image formed by the user on the rubber bottom when the camera collects the image of the user. The position and the height of each user in the fan preset range are different, the focal length and the object distance of each shooting are different, and the image distance calculated through a Gaussian imaging formula is different.
It should be noted that, when the camera shoots the user, the camera collects each user by adjusting a proper focal length, so that the height of the pixel imaged by the camera can be more conveniently obtained.
In one embodiment, after a camera collects a user image, a fan control module processes the collected user image to judge whether the user is in a standing state or not, if the user is not in the standing state, the camera collects the image of the user again in a focusing mode, and the real height of the user is recalculated based on a preset height calculation formula. The image processing operation is to compare the user image with a preset person standing figure image and determine whether the user stands straight according to the similarity of the image contrast.
And S102, determining the number of children and the number of adults within the fan preset range according to the height of each user within the fan preset range and a preset height threshold value.
Comparing the height of each user with a preset height threshold value, if the height of the user is greater than or equal to the preset height threshold value, determining that the user is an adult, and counting the number of adult users; and if the height of the user is smaller than the preset height threshold value, the user is a child, and the number of the child users is counted. Wherein, predetermine the height threshold value and can adjust according to children's in the family height, for example, certain family has two children, and every children's height is 1 meter and 0.8 meter respectively, then predetermine the height threshold value and can set up to 1 meter.
In one embodiment, when the infrared sensor detects that a plurality of users approach the fan, the camera is started; the infrared distance meter detects the distance between a user and the fan, the camera firstly collects the image of the user nearest to the fan, the height of the user is calculated to determine whether the user is a child, if the user is a child, the height of the fan is adjusted, then the image of other users is shot to determine whether the other users are children or adults, and the number of the children and the number of the adults are counted.
And step S103, if the number of children and the number of adults meet preset conditions, adjusting the height of the fan so that the difference value between the height of the fan and a preset height threshold value is larger than a preset difference value.
The preset condition is that the number of children and the number of adults in the preset range of the fan are not zero. When the number of children and the number of adults meet the preset conditions, the height of the fan is adjusted by adjusting the height of the fan column of the fan, so that the difference value between the height of the fan and the preset height threshold value is larger than the preset difference value.
In an embodiment, if the number of children and the number of adults meet a preset condition, the current height of the fan is obtained, and the adjusted height of the fan is determined according to the current height of the fan and a preset height threshold value. It can be understood that if the difference between the current height of the fan and the preset height threshold is greater than the preset difference, the fan has reached the safe height, and therefore the height of the fan does not need to be adjusted.
When the difference value between the height of the fan and the preset height threshold value is larger than the preset difference value, the child cannot touch the lowest end of the fan cover of the fan, the fingers of the child cannot reach the positions of the fan blades, a safety distance can be kept, and the height of the fan meets the requirement of safety height. Wherein the preset difference is determined according to the diameter of the fan cover of the fan.
In an embodiment, when the number of children and the number of adults satisfy the preset condition and the difference between the current height of the fan and the preset height threshold is smaller than or equal to the preset difference, the fan column of the fan is raised to raise the height of the fan, so that the difference between the height of the fan and the preset height threshold is larger than the preset difference. Wherein, the fan column of the fan comprises a motor, an inner fan column and an outer fan column; the control module sends the fan column lifting height information to the motor, the motor drives the gear to rotate, and the gear drives the inner fan column to lift, so that the purpose of lifting the fan height is achieved.
According to the fan safety control method provided by the embodiment, the camera is used for collecting the environment image of the fan within the preset range, and the height of each user within the preset range of the fan is determined according to the environment image; then determining the number of children and the number of adults in the preset range of the fan according to the height of each user in the preset range of the fan and a preset height threshold value; and then if the number of the children and the number of the adults meet the preset condition, adjusting the height of the fan so that the difference value between the height of the fan and the preset height threshold value is larger than the preset difference value. Whether children exist in the fan preset range is determined through the height, if the children exist, the height of the fan is adjusted, the children cannot touch the fan cover, fingers of the children are prevented from extending into the working fan and being injured by the rotating fan blades, and the use safety of the fan is improved.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating another fan safety control method according to an embodiment of the present application.
As shown in fig. 4, the fan safety control method includes steps S201 to S203.
Step S201, collecting an environment image of the fan within a preset range through the camera, and determining the height of each user within the preset range of the fan according to the environment image.
If the fact that a user touches a control button of the fan or the user approaches the fan is detected, starting a camera and shooting an environment image within a preset range of the fan; acquiring a focal length when a camera is focused and an object distance of each user within a preset range of a fan; based on a Gaussian imaging formula, calculating the image distance of each user according to the focal distance and the object distance of each user, and acquiring the pixel height of each user; determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user; and determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user based on a preset height calculation formula.
And S202, determining the number of children and the number of adults within the fan preset range according to the height of each user within the fan preset range and a preset height threshold value.
Comparing the height of each user with a preset height threshold value, if the height of the user is greater than or equal to the preset height threshold value, determining that the user is an adult, and counting the number of adult users; and if the height of the user is smaller than the preset height threshold value, the user is a child, and the number of the child users is counted. Wherein, predetermine the height threshold value and can adjust according to children's in the family height, for example, certain family has two children, and every children's height is 1 meter and 0.8 meter respectively, then predetermine the height threshold value and can set up to 1 meter.
And S203, if the number of the children is not zero and the number of the adults is zero, locking a control button of the fan and turning off the fan.
If the number of children is not zero and the number of adults is zero, it can be determined that only children are in the preset range of the fan, and in order to improve the safety of the fan, a control button of the fan is locked and the fan is turned off.
According to the fan safety control method provided by the embodiment, the camera is used for collecting the environment image in the fan preset range, the height of each user in the fan preset range is determined according to the environment image, then the number of children and adults in the fan preset range is counted according to the rise of the user, when only children exist in the fan preset range, the control button of the fan is locked, the fan is turned off, and the use safety of the fan is 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.
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 a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any one of the fan safety 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 security 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:
acquiring an environment image within a preset range of the fan through the camera, and determining the height of each user within the preset range of the fan according to the environment image;
determining the number of children and the number of adults within the fan preset range according to the height of each user within the fan preset range and a preset height threshold value;
and if the number of the children and the number of the adults meet a preset condition, adjusting the height of the fan so that the difference value between the height of the fan and a preset height threshold value is larger than a preset difference value.
In one embodiment, the processor, in effecting determining the height of each user within the preset range of fans from the environmental image, is operative to effect:
acquiring a focal length when the camera is focused and an object distance of each user in a preset range of the fan, wherein the object distance is a distance between an infrared distance meter of the fan and the user;
based on a Gaussian imaging formula, calculating the image distance of each user according to the focal distance and the object distance of each user, and acquiring the pixel height of each user;
and determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user.
In one embodiment, before the capturing of the environmental image within the preset range of the fan by the camera is implemented, the processor is further configured to:
and if the situation that a user touches a control button of the fan or the user approaches the fan is detected, starting the camera.
In one embodiment, the processor, in effecting determining the height of each user within the preset range of fans based on the object distance, image distance and pixel height of each user, is adapted to effect:
and determining the height of each user within the fan preset range according to the object distance, the image distance and the pixel height of each user based on a preset height calculation formula.
In one embodiment, the processor, in effecting determining the number of children and the number of adults within the fan preset range from the height of each user within the fan preset range and a preset height threshold, is configured to effect:
counting the number of the height which is larger than or equal to a preset height threshold value, and taking the number of the height which is larger than or equal to the preset height threshold value as the number of adults; and
counting the number of the height smaller than a preset height threshold value, and taking the number of the height smaller than the preset height threshold value as the number of children
In one embodiment, the processor, when enabled to determine the number of children and the number of adults within the preset range of the fan, is configured to enable:
and if the number of the children is not zero and the number of the adults is zero, locking a control button of the fan and turning off the fan.
In one embodiment, the processor, when implementing the preset condition, is configured to implement:
the number of children is not zero and the number of adults is not zero.
In one embodiment, the processor, in effecting adjusting the height of the fan such that the difference between the height of the fan and a preset height threshold is greater than a preset difference, is configured to effect:
acquiring the current height of the fan, and determining a height adjustment value of the fan according to the current height and a preset height threshold value;
adjusting the height of the fan according to the height adjustment value so that the difference value between the height of the fan and a preset height threshold value is larger than a preset difference value
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 the various embodiments of the fan safety control method in 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 advantages and disadvantages 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 (9)

1. A safety control method for a fan is characterized in that the fan is provided with a camera, and the method comprises the following steps:
acquiring an environment image within a preset range of the fan through the camera, and determining the height of each user within the preset range of the fan according to the environment image;
determining the number of children and the number of adults within the fan preset range according to the height of each user within the fan preset range and a preset height threshold value;
if the number of children and the number of adults meet a preset condition, adjusting the height of the fan so that the difference value between the height of the fan and a preset height threshold value is larger than a preset difference value;
wherein said determining a height of each user within said fan preset range from said environmental image comprises:
acquiring a focal length when the camera is focused and an object distance of each user in a preset range of the fan, wherein the object distance is a distance between an infrared distance meter of the fan and the user;
based on a Gaussian imaging formula, calculating the image distance of each user according to the focal distance and the object distance of each user, and acquiring the pixel height of each user;
and determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user.
2. The fan safety control method according to claim 1, wherein before the capturing of the environmental image within the preset range of the fan by the camera, the method further comprises:
and if the situation that a user touches a control button of the fan or the user approaches the fan is detected, starting the camera.
3. The fan safety control method as claimed in claim 1, wherein the determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user comprises:
and determining the height of each user within the preset range of the fan according to the object distance, the image distance and the pixel height of each user based on a preset height calculation formula.
4. The fan safety control method according to claim 1 or 2, wherein the determining the number of children and the number of adults within the preset range of the fan according to the height of each user within the preset range of the fan and a preset height threshold comprises:
counting the number of the height which is larger than or equal to a preset height threshold value, and taking the number of the height which is larger than or equal to the preset height threshold value as the number of adults; and
and counting the number of the height smaller than the preset height threshold value, and taking the number of the height smaller than the preset height threshold value as the number of the children.
5. The fan safety control method as claimed in claim 1, wherein the determining the number of children and the number of adults within the preset range of the fan comprises:
and if the number of the children is not zero and the number of the adults is zero, locking a control button of the fan and turning off the fan.
6. The fan safety control method as claimed in claim 1, wherein the preset conditions are that the number of children is not zero and the number of adults is not zero.
7. The fan safety control method of claim 1, wherein the adjusting the height of the fan such that the difference between the height of the fan and the preset height threshold is greater than a preset difference comprises:
acquiring the current height of the fan, and determining a height adjustment value of the fan according to the current height and a preset height threshold value;
and adjusting the height of the fan according to the height adjustment value so that the difference value between the height of the fan and a preset height threshold value is larger than a preset difference value.
8. A fan, characterized in that the fan comprises a camera, 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 safety control method according to any one of claims 1 to 7.
9. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, carries out the steps of a fan safety control method according to any one of claims 1 to 7.
CN201911244462.7A 2019-12-06 2019-12-06 Fan safety control method, fan and computer readable storage medium Active CN112922888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911244462.7A CN112922888B (en) 2019-12-06 2019-12-06 Fan safety control method, fan and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911244462.7A CN112922888B (en) 2019-12-06 2019-12-06 Fan safety control method, fan and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112922888A CN112922888A (en) 2021-06-08
CN112922888B true CN112922888B (en) 2022-09-30

Family

ID=76161929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911244462.7A Active CN112922888B (en) 2019-12-06 2019-12-06 Fan safety control method, fan and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112922888B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107280118A (en) * 2016-03-30 2017-10-24 深圳市祈飞科技有限公司 A kind of Human Height information acquisition method and the fitting cabinet system using this method
CN107473030A (en) * 2017-10-16 2017-12-15 济南浪潮高新科技投资发展有限公司 Children's recognition methods in a kind of elevator based on machine learning
CN108547786A (en) * 2018-04-14 2018-09-18 佛山市粤知中创科技有限公司 A kind of fan and control method
CN208059164U (en) * 2018-02-01 2018-11-06 姚泓宇 A kind of automatic raised air cooler
CN109539467A (en) * 2018-11-30 2019-03-29 美的集团武汉制冷设备有限公司 Control method, device, cabinet air conditioner and the storage medium of cabinet air conditioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107280118A (en) * 2016-03-30 2017-10-24 深圳市祈飞科技有限公司 A kind of Human Height information acquisition method and the fitting cabinet system using this method
CN107473030A (en) * 2017-10-16 2017-12-15 济南浪潮高新科技投资发展有限公司 Children's recognition methods in a kind of elevator based on machine learning
CN208059164U (en) * 2018-02-01 2018-11-06 姚泓宇 A kind of automatic raised air cooler
CN108547786A (en) * 2018-04-14 2018-09-18 佛山市粤知中创科技有限公司 A kind of fan and control method
CN109539467A (en) * 2018-11-30 2019-03-29 美的集团武汉制冷设备有限公司 Control method, device, cabinet air conditioner and the storage medium of cabinet air conditioner

Also Published As

Publication number Publication date
CN112922888A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
US10169671B2 (en) Face detection with temperature and distance validation
US9171230B2 (en) Object detection method, object detection apparatus and image pickup apparatus
JP5976198B2 (en) Number counting device and number counting method
TWI438725B (en) Child assistance system and child assistance method
JP2009223580A (en) Priority target determination device, electronic apparatus, priority target determination method, program, and recording medium
CA2794659A1 (en) Apparatus and method for iris recognition using multiple iris templates
CN102196176A (en) Information processing apparatus, information processing method, and program
KR101639502B1 (en) Clustering method and device related to the same
CN105654040B (en) Distance measurement method based on iris and mobile terminal
US20130235227A1 (en) Image capturing device and method thereof and human recognition photograph system
CN103368135A (en) Children auxiliary system and method thereof
JP6657024B2 (en) Gesture judgment device
CN109594880A (en) Control method and apparatus, storage medium and the vehicle of vehicle trunk
WO2017049967A1 (en) Alarm method and apparatus
CN112602319A (en) Focusing device, method and related equipment
JP2015041323A (en) Processor
CN112922888B (en) Fan safety control method, fan and computer readable storage medium
EP3942526B1 (en) Electronic apparatus for identifying object through warped image and control method thereof
JP6253397B2 (en) Object detection device
KR102254157B1 (en) Warped image based ground object recognition electronic apparatus and controlling method thereof
CN112696372A (en) Fan adjusting method, fan and storage medium
CN104883501A (en) Method and device for photographing in top-view angle
TW201620468A (en) Mobile electronic device, early warning method and early warning system
CN112922881A (en) Fan safety control method, system, fan and computer readable storage medium
JP2022048077A (en) Image processing apparatus and control method for the same

Legal Events

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