CN107479710B - Intelligent mirror and control method, device, equipment and storage medium thereof - Google Patents

Intelligent mirror and control method, device, equipment and storage medium thereof Download PDF

Info

Publication number
CN107479710B
CN107479710B CN201710701728.0A CN201710701728A CN107479710B CN 107479710 B CN107479710 B CN 107479710B CN 201710701728 A CN201710701728 A CN 201710701728A CN 107479710 B CN107479710 B CN 107479710B
Authority
CN
China
Prior art keywords
mirror
mode
distance
intelligent mirror
target image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710701728.0A
Other languages
Chinese (zh)
Other versions
CN107479710A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710701728.0A priority Critical patent/CN107479710B/en
Publication of CN107479710A publication Critical patent/CN107479710A/en
Application granted granted Critical
Publication of CN107479710B publication Critical patent/CN107479710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation

Abstract

The invention discloses an intelligent mirror, a control method, a control device, control equipment and a storage medium of the intelligent mirror. The method comprises the following steps: monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror; if the distance is greater than the preset distance and the current mode of the intelligent mirror is a mirror mode, shooting the shielding object and acquiring a target image; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode. The method provided by the invention solves the problem of inconvenient operation caused by switching the mode of the intelligent mirror through manual operation, realizes automatic switching of the mode of the intelligent mirror, and is simpler and more convenient.

Description

Intelligent mirror and control method, device, equipment and storage medium thereof
Technical Field
The invention relates to an intelligent device application technology, in particular to an intelligent mirror, a control method, a control device, an intelligent mirror device and a storage medium.
Background
With the continuous development of scientific technology, more and more intelligent devices are widely used in various fields in life, such as intelligent mirrors.
The intelligent mirror mainly comprises a common mirror surface and an intelligent terminal arranged on the inner layer of the mirror surface, wherein a coating film with certain transmittance is plated on the mirror surface, for example, the transmittance of the coating film can be 50%, and a display screen of the intelligent terminal is arranged below the mirror surface. The user can touch the intelligent terminal through the mirror surface in the display mode (the display screen is turned on), and view the display content of the intelligent terminal, such as the display content of videos or documents, and meanwhile, in the mirror surface mode (the display screen is turned off), the user can view the imaging in the mirror surface through the mirror surface, so that the user can view own clothes, hairstyles, makeup and the like at any time.
In the prior art, switching between the mirror mode and the display mode of the intelligent mirror is generally achieved through manual operation, for example, the mode switching is achieved through double-click operation performed on the mirror by a user. However, when it is inconvenient for both hands of the user to touch the mirror surface, if the user holds or sticks cosmetics to both hands during makeup, it is inconvenient to switch the modes. Therefore, the mode switching by the manual operation is often inconvenient for the user.
Disclosure of Invention
The invention provides an intelligent mirror, a control method, a control device, control equipment and a storage medium of the intelligent mirror, so that the mode of the intelligent mirror can be automatically switched, and the intelligent mirror is simpler and more convenient.
In a first aspect, an embodiment of the present invention provides a control method for an intelligent mirror, where the method includes:
monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror;
if the distance is greater than the preset distance and the current mode of the intelligent mirror is a mirror mode, shooting the shielding object and acquiring a target image; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode.
In a second aspect, an embodiment of the present invention further provides a control apparatus for an intelligent mirror, where the apparatus includes:
the distance detection module is used for monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror;
the display mode switching module is used for shooting the shielding object and acquiring a target image if the distance is greater than a preset distance and the current mode of the intelligent mirror is a mirror mode; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode.
In a third aspect, an embodiment of the present invention further provides an intelligent mirror, where the intelligent mirror includes: the intelligent mirror comprises a body, a distance sensor installed in the body and a controller in communication connection with the distance sensor, wherein the controller is provided with a control device for the intelligent mirror provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the control method for the intelligent mirror provided by any embodiment of the present invention.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the control method for an intelligent mirror provided in any embodiment of the present invention.
The distance between the shielding object and the mirror surface of the intelligent mirror is detected by the distance sensor; if the distance is greater than the preset distance and the current mode of the intelligent mirror is the mirror mode, shooting a shielding object and acquiring a target image; if the human face is detected in the target image, the current mode of the intelligent mirror is controlled to be switched to the display mode, the problem of inconvenience in operation caused by switching the mode of the intelligent mirror through manual operation is solved, the mode of the intelligent mirror is automatically switched, and the intelligent mirror is simpler and more convenient to use.
Drawings
Fig. 1 is a flowchart of a control method for an intelligent mirror according to a first embodiment of the present invention;
fig. 2 is a flowchart of a control method for an intelligent mirror according to a second embodiment of the present invention;
fig. 3 is a block diagram of a control device for an intelligent mirror according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an intelligent mirror in the fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a control method for an intelligent mirror according to an embodiment of the present invention, where the present embodiment is applicable to a situation where a mode of the intelligent mirror needs to be switched, and the method may be executed by a control device for the intelligent mirror, where the control device may be composed of software and/or hardware, and is generally integrated in the intelligent mirror. The method provided by the embodiment specifically comprises the following steps:
and step 110, monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror.
The distance sensor in this embodiment may be any sensor for measuring distance, such as an infrared distance sensor or an ultrasonic distance sensor, which is not limited in this disclosure.
Taking a distance sensor as an infrared distance sensor as an example, the infrared distance sensor is provided with a pair of infrared signal emitting diodes and receiving diodes, the emitting diodes emit infrared signals with specific frequencies, when an infrared detection direction meets a shielding object, the infrared signals with the specific frequencies are reflected back to be received by the receiving diodes, and then the distance between the shielding object and the infrared distance sensor can be determined according to the intensity of the infrared signals received by the receiving diodes.
Preferably, the distance sensor is installed on the front surface of the smart mirror, and the distance detected by the distance sensor is the distance between the shielding object and the mirror surface of the smart mirror.
And 120, if the distance is greater than the preset distance and the current mode of the intelligent mirror is a mirror mode, shooting the shielding object and acquiring a target image.
After the distance between the shielding object and the mirror surface of the intelligent mirror is acquired, if the acquired distance is larger than the preset distance, determining whether the current mode of the intelligent mirror is the mirror surface mode, if the current mode of the intelligent mirror is the mirror surface mode, shooting the shielding object, acquiring a target image, and further determining whether the mode of the intelligent mirror is switched or not through the target image; if the current mode of the intelligent mirror is not the mirror mode, the current mode of the intelligent mirror is kept unchanged, and the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror is continuously monitored.
For example, a camera may be installed on the front surface of the smart mirror, and when it is determined that the distance between the shielding object and the mirror surface of the smart mirror is greater than the preset distance and the current mode of the smart mirror is the mirror surface mode, the camera is turned on and an image is captured, so that a target image may be obtained.
Specifically, the preset distance may be a default preset distance set before the intelligent mirror leaves a factory, or the default preset distance may be modified by a user according to an actual situation.
Preferably, the predetermined distance is 10 cm or more and 100 cm or less.
And step 130, if the human face is detected in the target image, controlling to switch the current mode of the intelligent mirror into the display mode.
After the target image is acquired, whether a human face exists in the target image is detected, if the human face is detected in the target image, the current mode of the intelligent mirror is controlled to be switched to the display mode, the mode of the intelligent mirror is further switched automatically, if the human face is not detected in the target image, the current mode of the intelligent mirror is kept unchanged, and the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror is continuously monitored.
It should be noted that there are many ways to confirm whether or not a human face is detected in a target image, and this embodiment is not limited to this. If a certain target image is acquired, performing face detection on the target image through a preset detection method, and storing position information of a detected face in the target image into a preset list, after the face detection on the target image is completed, determining whether the position information is stored in the preset list, if it is determined that the position information is stored in the preset list, determining that the face is detected in the target image, and if it is determined that the position information is not stored in the preset list, determining that the face is not detected in the target image, wherein the position information stored in the preset list is deleted when the next target image is acquired, and the position information can be an upper left corner coordinate and a lower right corner coordinate of a rectangular frame corresponding to the face.
Specifically, the preset detection method may be a human face detection method based on an adaboost algorithm, a human face detection method based on an Eigenface (Eigenface), a human face detection method based on a neural network, or the like, or may be a human face detection method that is openly used for some platforms, such as a human face detection method that is openly used for ***.
In some cases, if the intelligent mirror is moved, the mode of the intelligent mirror does not need to be switched, but in the process, the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror may be larger than the preset distance, so that in order to avoid switching the mode of the intelligent mirror by mistake under the circumstances, when the distance is determined to be larger than the preset distance and the current mode of the intelligent mirror is the mirror surface mode, the target image is further acquired, and the mode of the intelligent mirror is switched under the condition that the face is detected in the target image, and the accuracy of the mode switching of the intelligent mirror is ensured.
Exemplarily, after the camera is started, the current shooting picture of the camera can be viewed through the intelligent mirror, and the image is shot after the camera is started for a preset time, so that when a user needs to switch the mode of the intelligent mirror, the human face in the target image shot and acquired by the camera can be ensured through the shooting picture, and the reliability of the mode switching of the intelligent mirror is further improved.
For example, after the camera is turned on, the user may be prompted by voice or text to align the face with the camera, so as to ensure that the face exists in the acquired target image.
For example, the preset time may be 2 seconds or 3 seconds.
Therefore, when a user uses the intelligent mirror to make up or look up makeup and the like in the mirror surface mode, if the mode of the intelligent mirror needs to be switched, the user only needs to shield an infrared signal emitted by a distance sensor in the intelligent mirror and enables the distance between the user and the mirror surface of the intelligent mirror to be larger than a preset distance, when the distance between a shielding object detected by the distance sensor and the mirror surface of the intelligent mirror is confirmed to be larger than the preset distance and the current mode of the intelligent mirror is determined to be the mirror surface mode, the shielding object is further shot to obtain a target image, whether a human face exists in the target image is detected, if the human face is detected in the target image, the current mode of the intelligent mirror is switched to the display mode, the mode of the intelligent mirror is automatically switched, and the situations that the user holds cosmetics with both hands or sticks with cosmetics with hands and the like are avoided, the mode of the intelligent mirror is inconvenient to switch through manual operation, and the mode of the intelligent mirror can be switched through manual operation only after cosmetics in hands are put down or both hands are cleaned, so that the operation is complicated, the mode of the intelligent mirror cannot be switched in time, a user cannot check the display content of the intelligent terminal in time, the mode of the intelligent mirror is automatically switched, the intelligent mirror is simpler and more convenient, and the user can check the display content of the intelligent terminal in time through the mirror surface of the intelligent mirror; if the face is not detected in the target image, the current mode of the intelligent mirror is kept unchanged, so that the situation that when a user uses the intelligent mirror to make up in the mirror surface mode and the like and moves the face, the shielding object of the distance sensor is not the user any more, the situation that the distance between the shielding object and the mirror surface of the intelligent mirror is larger than the preset distance and the current mode of the intelligent mirror is the mirror surface mode is detected, if the current mode of the intelligent mirror is switched to the display mode through direct control, the current mode of the intelligent mirror is switched under the condition that the mode of the intelligent mirror does not need to be switched is caused, the user experience is reduced, the mode switching of the intelligent mirror is realized under the condition that the face is further detected in the target image, and the accuracy of the mode switching of the intelligent mirror is improved.
In the embodiment, the distance between the shielding object and the mirror surface of the intelligent mirror is detected by monitoring the distance sensor; if the distance is greater than the preset distance and the current mode of the intelligent mirror is the mirror mode, shooting a shielding object and acquiring a target image; if the human face is detected in the target image, the current mode of the intelligent mirror is controlled to be switched to the display mode, the problem of inconvenience in operation caused by switching the mode of the intelligent mirror through manual operation is solved, the mode of the intelligent mirror is automatically switched, and the intelligent mirror is simpler and more convenient to use.
Example two
Fig. 2 is a flowchart of a control method for an intelligent mirror according to a second embodiment of the present invention. The embodiment is further optimized on the basis of the embodiment. The method provided by the embodiment specifically comprises the following steps:
and step 210, monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror.
Preferably, when the user needs to switch the mode of the intelligent mirror, the user can shield the infrared signal emitted by the distance sensor in the intelligent mirror, and the distance between the shielding object (user) and the mirror surface of the intelligent mirror can be detected through the distance sensor installed on the intelligent mirror.
Step 220, determining whether the distance is greater than a preset distance, if so, executing step 230, and if not, executing step 270.
And after the distance between the shielding object and the mirror surface of the intelligent mirror is acquired, determining whether the acquired distance is greater than a preset distance.
Step 230, determining whether the current mode of the intelligent mirror is a mirror mode, if so, executing step 240, and if not, executing step 210.
It will be appreciated by those skilled in the art that in another embodiment, step 230 may also be: and determining whether the current mode of the intelligent mirror is the display mode, if so, executing the step 210, and if not, executing the step 240.
And 240, shooting the shielding object to acquire a target image.
Step 250, detecting whether a human face exists in the target image, if so, executing step 260, and if not, executing step 210.
And step 260, controlling to switch the current mode of the intelligent mirror into a display mode.
If the acquired distance is larger than the preset distance, determining whether the current mode of the intelligent mirror is a mirror mode, if the current mode of the intelligent mirror is determined to be the mirror mode, further shooting an occlusion object, acquiring a target image, detecting whether a human face exists in the target image, if the human face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode, if the human face is not detected in the target image, keeping the current mode of the intelligent mirror unchanged, and continuously monitoring the distance between the occlusion object detected by the distance sensor and the mirror of the intelligent mirror; and if the current mode of the intelligent mirror is not determined to be the mirror mode, keeping the current mode of the intelligent mirror unchanged, and continuously monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror.
Therefore, when a user makes up or looks up makeup, dressing and the like through the intelligent mirror in the mirror surface mode, if the mode of the intelligent mirror needs to be switched, the user only needs to shield the infrared signal emitted by the distance sensor in the intelligent mirror and the distance between the user and the mirror surface of the intelligent mirror is larger than the preset distance, the distance between the user and the mirror surface of the smart mirror can be detected through the distance sensor and it is determined that the distance is greater than the preset distance, and the current mode of the smart mirror is the mirror surface mode, further shooting the user, acquiring a target image, automatically controlling to switch the current mode of the intelligent mirror into the display mode if the face is detected in the target image, therefore, the user can operate the intelligent terminal or check the display content of the intelligent terminal in the display mode without manual operation, and the intelligent terminal is convenient and quick.
And 270, determining whether the current mode of the intelligent mirror is the display mode, if so, executing the step 280, and if not, executing the step 210.
Those skilled in the art will appreciate that in another embodiment, step 270 may also be: and determining whether the current mode of the intelligent mirror is a mirror mode, if so, executing step 210, and if not, executing step 280.
Step 280, shooting the shielding object to acquire a target image.
Step 290, detecting whether a human face exists in the target image, if so, executing step 2100, otherwise, executing step 210.
Step 2100, control switches the current mode of the smart mirror to a mirror mode.
If the acquired distance is not larger than the preset distance, determining whether the current mode of the intelligent mirror is a display mode, if the current mode of the intelligent mirror is determined to be the display mode, further shooting an occlusion object, acquiring a target image, detecting whether a human face exists in the target image, if the human face is detected in the target image, controlling to switch the current mode of the intelligent mirror to a mirror mode, if the human face is not detected in the target image, keeping the current mode of the intelligent mirror unchanged, and continuously monitoring the distance between the occlusion object detected by the distance sensor and the mirror surface of the intelligent mirror; and if the current mode of the intelligent mirror is determined not to be the display mode, keeping the current mode of the intelligent mirror unchanged, and continuously monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror.
Therefore, when a user views the display content of the intelligent terminal through the intelligent mirror in the display mode, if the mode of the intelligent mirror needs to be switched, the user only needs to shield the infrared signal emitted by the distance sensor in the intelligent mirror and the distance between the user and the mirror surface of the intelligent mirror is not more than the preset distance, the distance between the user and the mirror surface of the smart mirror can be detected through the distance sensor and it is determined that the distance is not greater than the preset distance, and the current mode of the smart mirror is the display mode, further shooting the user, acquiring a target image, automatically controlling to switch the current mode of the intelligent mirror into a mirror mode if a human face is detected in the target image, therefore, a user can use the intelligent mirror to make up or check the makeup, dressing and the like in the mirror mode without manual operation, and the intelligent mirror is convenient and quick.
In the embodiment, if the distance is not greater than the preset distance and the current mode of the intelligent mirror is the display mode, the shielding object is shot to obtain the target image; if the face is detected in the target image, the current mode of the intelligent mirror is controlled to be switched to the mirror mode, the display mode is automatically switched to the mirror mode, manual operation of a user is not needed, and the intelligent mirror is convenient and quick.
EXAMPLE III
Fig. 3 is a block diagram of a control device for an intelligent mirror according to a third embodiment of the present invention. The device can be composed of software and/or hardware and is generally integrated in the intelligent mirror. The device provided by the embodiment comprises: a distance detection module 310 and a display mode switching module 320, wherein,
a distance detection module 310, configured to monitor a distance between the blocking object detected by the distance sensor and the mirror surface of the smart mirror;
the display mode switching module 320 is configured to, if the distance is greater than a preset distance and the current mode of the smart mirror is a mirror mode, shoot the occlusion object and obtain a target image; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode.
In the embodiment, the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror is monitored by the distance detection module, and if the distance is greater than the preset distance and the current mode of the intelligent mirror is the mirror surface mode, the shielding object is shot and a target image is acquired by the display mode switching module; if the human face is detected in the target image, the current mode of the intelligent mirror is controlled to be switched to the display mode, the problem of inconvenience in operation caused by switching the mode of the intelligent mirror through manual operation is solved, the mode of the intelligent mirror is automatically switched, and the intelligent mirror is simpler and more convenient to use.
In the foregoing scheme, optionally, the method further includes:
the mirror surface mode switching module is used for shooting the shielding object and acquiring a target image if the distance is not greater than a preset distance and the current mode of the intelligent mirror is a display mode; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a mirror mode.
In the foregoing scheme, optionally, the preset distance is greater than or equal to 10 cm and less than or equal to 100 cm.
Example four
Fig. 4 is a schematic structural diagram of an intelligent mirror according to an embodiment of the present invention. The intelligent mirror that this embodiment provided includes: the intelligent mirror comprises a body 410, a distance sensor 420 installed in the body and a controller 430 connected with the distance sensor in a communication mode, wherein a control device 440 for the intelligent mirror provided by any embodiment of the invention is arranged in the controller 430.
The intelligent mirror that this embodiment provided can solve through the inconvenient problem of the mode of manual operation switching intelligent mirror, realizes the mode of automatic switch intelligent mirror, and is simple more convenient.
In the foregoing solution, optionally, the distance sensor is an infrared distance sensor or an ultrasonic distance sensor.
In the above scheme, optionally, the device further comprises a camera, the camera is connected with the controller, and the camera is used for collecting images and transmitting the images to the controller.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, as shown in fig. 5, the electronic device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the electronic device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 520, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the control method for the intelligent mirror in any embodiment of the present invention (e.g., the distance detection module 310 and the display mode switching module 320 in the control apparatus for the intelligent mirror). The processor 510 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 520, that is, implements the operations for the electronic device described above.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to an electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 540 may include a display device such as a display screen.
EXAMPLE six
The sixth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the control method for an intelligent mirror provided in any embodiment of the present invention is implemented.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the method according to any embodiment of the present invention.
It should be noted that, in the embodiment of the control device for an intelligent mirror, the units and modules included in the control device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The device can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, reference may be made to the method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A control method for a smart mirror, comprising:
monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror;
if the distance is greater than the preset distance and the current mode of the intelligent mirror is a mirror mode, shooting the shielding object and acquiring a target image;
carrying out face detection on the target image by a preset detection method, and if a face is detected, storing the position information of the detected face in the target image into a preset list;
accessing the preset list to inquire whether the position information exists in the preset list or not; if so, confirming that the face is detected in the target image, and if not, confirming that the face is not detected in the target image;
if a face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode; and if the current mode of the intelligent mirror is not the mirror mode, keeping the current mode of the intelligent mirror unchanged.
2. The method of claim 1, further comprising:
if the distance is not greater than the preset distance and the current mode of the intelligent mirror is the display mode, shooting the shielding object and acquiring a target image; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a mirror mode.
3. The method of claim 1, wherein the predetermined distance is greater than or equal to 10 centimeters and less than or equal to 100 centimeters.
4. A control device for a smart mirror, comprising:
the distance detection module is used for monitoring the distance between the shielding object detected by the distance sensor and the mirror surface of the intelligent mirror;
the display mode switching module is used for shooting the shielding object and acquiring a target image if the distance is greater than a preset distance and the current mode of the intelligent mirror is a mirror mode; carrying out face detection on the target image by a preset detection method, and if a face is detected, storing the position information of the detected face in the target image into a preset list; accessing the preset list to inquire whether the position information exists in the preset list or not; if so, confirming that the face is detected in the target image, and if not, confirming that the face is not detected in the target image; if a face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a display mode; and if the current mode of the intelligent mirror is not the mirror mode, keeping the current mode of the intelligent mirror unchanged.
5. The apparatus of claim 4, further comprising:
the mirror surface mode switching module is used for shooting the shielding object and acquiring a target image if the distance is not greater than a preset distance and the current mode of the intelligent mirror is a display mode; and if the face is detected in the target image, controlling to switch the current mode of the intelligent mirror into a mirror mode.
6. An intelligent mirror, comprising: a body, a distance sensor mounted in the body, and a controller communicatively connected to the distance sensor, the controller having the control device for a smart mirror as claimed in any one of claims 4-5 disposed therein.
7. The smart mirror of claim 6, wherein the distance sensor is an infrared distance sensor or an ultrasonic distance sensor.
8. The intelligent mirror of claim 6, further comprising a camera, wherein the camera is connected to the controller, and the camera is configured to collect an image and transmit the image to the controller.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the control method for a smart mirror as claimed in any one of claims 1-3.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the control method for an intelligent mirror according to any one of claims 1 to 3.
CN201710701728.0A 2017-08-16 2017-08-16 Intelligent mirror and control method, device, equipment and storage medium thereof Active CN107479710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710701728.0A CN107479710B (en) 2017-08-16 2017-08-16 Intelligent mirror and control method, device, equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710701728.0A CN107479710B (en) 2017-08-16 2017-08-16 Intelligent mirror and control method, device, equipment and storage medium thereof

Publications (2)

Publication Number Publication Date
CN107479710A CN107479710A (en) 2017-12-15
CN107479710B true CN107479710B (en) 2021-04-13

Family

ID=60599805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710701728.0A Active CN107479710B (en) 2017-08-16 2017-08-16 Intelligent mirror and control method, device, equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN107479710B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108962190B (en) * 2018-07-11 2020-10-02 广州视源电子科技股份有限公司 Bright screen control method and device, storage medium and intelligent mirror
CN111522447B (en) * 2020-06-17 2024-04-16 宁波视睿迪光电有限公司 Display switching method, display terminal, electronic device and storage medium
CN113126768A (en) * 2021-04-25 2021-07-16 百度在线网络技术(北京)有限公司 Display control method, device, system, equipment and storage medium
CN113705392B (en) * 2021-08-16 2023-09-05 百度在线网络技术(北京)有限公司 Working state switching method, device, equipment, storage medium and program product
CN114371749A (en) * 2021-12-31 2022-04-19 广州市懒人时代信息科技有限公司 Intelligent management system for smart community

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103479140A (en) * 2013-09-10 2014-01-01 北京恒华伟业科技股份有限公司 Intelligent mirror
CN104184891A (en) * 2014-08-12 2014-12-03 上海天奕达电子科技有限公司 Screen display method and screen display device
CN106175300A (en) * 2016-08-23 2016-12-07 欧普照明股份有限公司 Intelligent mirror and control method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8982110B2 (en) * 2005-03-01 2015-03-17 Eyesmatch Ltd Method for image transformation, augmented reality, and teleperence
CN103425443A (en) * 2012-05-22 2013-12-04 联想(北京)有限公司 Control method, control system and electronic equipment
CN103514545B (en) * 2012-06-28 2017-12-29 联想(北京)有限公司 Image processing method and electronic equipment
KR102209745B1 (en) * 2014-03-18 2021-01-29 광운대학교 산학협력단 An information display device of a mirror display for advertisement and shopping by recognizing the reflected images on the mirror and method thereof
CN104199542A (en) * 2014-08-20 2014-12-10 百度在线网络技术(北京)有限公司 Intelligent mirror obtaining method and device and intelligent mirror
CN104223858B (en) * 2014-09-28 2016-04-13 广州视睿电子科技有限公司 A kind of self-identifying Intelligent mirror

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103479140A (en) * 2013-09-10 2014-01-01 北京恒华伟业科技股份有限公司 Intelligent mirror
CN104184891A (en) * 2014-08-12 2014-12-03 上海天奕达电子科技有限公司 Screen display method and screen display device
CN106175300A (en) * 2016-08-23 2016-12-07 欧普照明股份有限公司 Intelligent mirror and control method thereof

Also Published As

Publication number Publication date
CN107479710A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107479710B (en) Intelligent mirror and control method, device, equipment and storage medium thereof
EP3163498B1 (en) Alarming method and device
CN106725127B (en) Sweeping method and device of sweeping robot
KR102593824B1 (en) Method for controlling a camera and electronic device thereof
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
KR102171082B1 (en) Method for processing fingerprint and an electronic device thereof
US11321575B2 (en) Method, apparatus and system for liveness detection, electronic device, and storage medium
KR102488563B1 (en) Apparatus and Method for Processing Differential Beauty Effect
EP3105919B1 (en) Photographing method of an electronic device and the electronic device thereof
CN105488464A (en) Fingerprint identification method and fingerprint identification apparatus
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
CN111866392B (en) Shooting prompting method and device, storage medium and electronic equipment
WO2022110614A1 (en) Gesture recognition method and apparatus, electronic device, and storage medium
EP3979065A1 (en) Screen projection method and system
US20140176430A1 (en) Intelligent switching system, electronic device thereof, and method thereof
CN112291473B (en) Focusing method and device and electronic equipment
KR20150117820A (en) Method For Displaying Image and An Electronic Device Thereof
CN113709368A (en) Image display method, device and equipment
CN109729270A (en) A kind of control method, device and electronic equipment
CN113268211A (en) Image acquisition method and device, electronic equipment and storage medium
CN112291630B (en) Electronic equipment screen sharing method and device
CN112153291B (en) Photographing method and electronic equipment
CN115086561A (en) Automatic zooming method and device, self-timer and storage medium
RU2631268C1 (en) Method and device for requesting information
CN113705392A (en) Working state switching method, device, equipment, storage medium and program product

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
TA01 Transfer of patent application right

Effective date of registration: 20200403

Address after: 510530 Guangdong city of Guangzhou province YUNPU Whampoa district four Road No. 6

Applicant after: GUANGZHOU SHIYUAN ELECTRONICS Co.,Ltd.

Address before: 510530, No. four, 6, Po Po Road, Yun Po Industrial Zone, Whampoa District, Guangzhou, Guangdong

Applicant before: GUANGZHOU SHIYUAN ELECTRONICS Co.,Ltd.

Applicant before: GUANGZHOU RUIXIN ELECTRONICS Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant