ELECTRONIC MAKE-UP MIRROR DEVICE AND BACKGROUND SWITCHING METHOD THEREOF
20180324366 ยท 2018-11-08
Assignee
Inventors
- Shyh-Yong Shen (New Taipei City, TW)
- Min-Chang Chi (NEW TAIPEI CITY, TW)
- Yi-Feng Huang (New Taipei City, TW)
Cpc classification
G06F3/017
PHYSICS
G06F3/048
PHYSICS
A45D44/00
HUMAN NECESSITIES
H04N5/272
ELECTRICITY
International classification
H04N5/272
ELECTRICITY
Abstract
An electronic make-up mirror device and a background switching method thereof are provided. The electronic make-up mirror device includes a screen, an image capturing device and a gesture sensor. The method includes following steps. An initial image is captured by using the image capturing device, and an initial frame including the initial image is displayed through the screen. The initial image is analyzed to obtain a foreground object and a background image, where the foreground object includes a face image. A background selection frame is displayed through the screen in response to a first operation according to whether the first operation performed to the initial frame is received. The foreground object and a predetermined background image are integrated in response to reception of a second operation performed to the background selection frame, so as to generate an integrated image, and a switched result frame including the integrated image is displayed.
Claims
1. A background switching method, adapted to an electronic make-up mirror device, wherein the electronic make-up mirror device comprises a screen, an image capturing device and a gesture sensor, the background switching method comprising: capturing an initial image by using the image capturing device, and displaying an initial frame including the initial image through the screen; analyzing the initial image to obtain a foreground object and a background image, wherein the foreground object comprises a face image; displaying a background selection frame through the screen in response to a first operation according to whether the first operation performed to the initial frame is received; and integrating the foreground object and a predetermined background image in response to reception of a second operation performed to the background selection frame, so as to generate an integrated image, and displaying a switched result frame comprising the integrated image through the screen.
2. The background switching method as claimed in claim 1, wherein the first operation comprises: identifying first gesture information according to whether the gesture sensor acquires the first gesture information; and generating a first input instruction when the first gesture information is complied with a first predetermined gesture, such that the screen displays the background selection frame.
3. The background switching method as claimed in claim 1, wherein the second operation comprises: identifying second gesture information according to whether the gesture sensor acquires the second gesture information; and generating a second input instruction when the second gesture information is complied with a second predetermined gesture, so as to execute a background selection function.
4. The background switching method as claimed in claim 3, wherein the second operation further comprises: identifying third gesture information according to whether the gesture sensor acquires the third gesture information; and generating a third input instruction when the third gesture information is complied with a third predetermined gesture, and confirming a selection result of the background selection function to determine the predetermined background image.
5. The background switching method as claimed in claim 4, wherein the second operation further comprises: identifying fourth gesture information according to whether the gesture sensor acquires the fourth gesture information; and generating a fourth input instruction when the fourth gesture information is complied with a fourth predetermined gesture, ending the background selection function, and displaying the switched result frame through the screen.
6. The background switching method as claimed in claim 1, wherein the step of analyzing the initial image to obtain the foreground object and the background image comprises: analyzing the initial image according to a Gaussian mixture model, so as to obtain the foreground object and the background image.
7. The background switching method as claimed in claim 1, wherein the step of analyzing the initial image to obtain the foreground object and the background image comprises: determining a position of the face image in the initial image to determine a contour, and distinguishing the foreground object and the background image in the initial image according to the contour.
8. An electronic make-up mirror device, comprising: a screen; a processor, coupled to the screen; and an image capturing device, coupled to the processor, configured to capture an initial image, and displaying an initial frame comprising the initial image through the screen, wherein the processor analyzes the initial image to obtain a foreground object and a background image, and the foreground object comprises a face image, wherein the processor displays a background selection frame through the screen in response to a first operation according to whether the first operation performed to the initial frame is received, wherein the processor integrates the foreground object and a predetermined background image in response to reception of a second operation performed to the background selection frame, so as to generate an integrated image, and displays a switched result frame comprising the integrated image through the screen.
9. The electronic make-up mirror device as claimed in claim 8, further comprising: a gesture sensor, wherein the first operation refers to that the processor identifies first gesture information according to whether the gesture sensor acquires the first gesture information, and generates a first input instruction when the first gesture information is complied with a first predetermined gesture, such that the screen displays the background selection frame.
10. The electronic make-up mirror device as claimed in claim 8, wherein the second operation refers to that the processor identifies second gesture information according to whether the gesture sensor acquires the second gesture information, and generates a second input instruction when the second gesture information is complied with a second predetermined gesture, so as to execute a background selection function.
11. The electronic make-up mirror device as claimed in claim 10, wherein the second operation further refers to that the processor identifies third gesture information according to whether the gesture sensor acquires the third gesture information, and generates a third input instruction when the third gesture information is complied with a third predetermined gesture, so as to confirm a selection result of the background selection function, and determine the predetermined background image.
12. The electronic make-up mirror device as claimed in claim 11, wherein the second operation further refers to that the processor identifies fourth gesture information according to whether the gesture sensor acquires the fourth gesture information, and generates a fourth input instruction when the fourth gesture information is complied with a fourth predetermined gesture, so as to ends the background selection function, and display the switched result frame through the screen.
13. The electronic make-up mirror device as claimed in claim 8, wherein the processor analyzes the initial image according to a Gaussian mixture model, so as to obtain the foreground object and the background image.
14. The electronic make-up mirror device as claimed in claim 8, wherein the processor determines a position of the face image in the initial image to determine a contour, and distinguishes the foreground object and the background image in the initial image according to the contour.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
DESCRIPTION OF EMBODIMENTS
[0028] Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
[0029]
[0030] In the present embodiment, the processing unit 110 can be a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor, a digital signal processor (DSP), a programmable controller, an application specific integrated circuits (ASIC), a programmable logic device (PLD), other similar processing devices or a combination of the aforementioned devices. In an embodiment, the processor 110 may further include a graphics processing unit (GPU), or a vision processing unit (VPU) to execute operation functions of various embodiments of the invention such as image processing, identifying and analyzing.
[0031] In the present embodiment, the screen 120 can be a display device used for providing a display function and disposed in a display area of the electronic make-up mirror device 100. The screen 120 can be a display screen device used for providing the display function, such as a liquid crystal display (LCD), a light-emitting diode (LED), a field emission display (FED), etc. In the present embodiment, the image capturing device 130 can be a camera or a video camera, and is used for capturing a face image of the user, where the face image is picture data.
[0032] In the present embodiment, the storage unit 140 can be any type of a fixed or movable random access memory (RAM), a read-only memory (ROM), a flash memory or other similar devices, or a combination of the devices, and is used for recording a plurality of instructions or a plurality of modules adapted to be executed by the processor 110, where the instructions or the modules can be loaded into the processor 110. The storage unit 140 can also be used for storing a plurality of background images in advance. The processor 110 may implement an image processing method and a background switching method mentioned in the embodiments of the invention by executing the instructions or the modules. Namely, various steps of the background switching method of the embodiments of the invention can be implemented by chip hardware or firmware in the electronic make-up mirror device 100, and can be implemented by software or application programs stored in the storage unit 140, and executed by the processor 110 in the electronic make-up mirror device 100.
[0033] In the present embodiment, the gesture sensor 150 can be an image sensor, an infrared sensor or an acoustic wave sensor, etc., which is adapted to sense a gesture of the user. Moreover, in an embodiment, the gesture sensor 150 can also be a motion sensor or a proximity sensor, etc., which is not limited by the invention. Therefore, gesture information mentioned in various embodiments of the invention can be an image signal, an infrared signal, a sound signal, etc.
[0034] Moreover, in the invention, a touch screen 120 can be adopted to input data and select icons, or an input device (not shown) such as a mouse, a keyboard, a joystick or a touch panel, etc., can be externally connected to input data and select icons, or the gesture sensor 150 is adopted to identify gestures to input data and select icons, or even voice control can be adopted to input data and select icons, which is not limited by the invention.
[0035]
[0036]
[0037] It should be noted that the method for analyzing the foreground object and the background image mentioned in the embodiment of the invention can be implemented by using any proper image processing technique of the related technical field. For example, in the present embodiment, the processor 110 may analyze the initial image according to a Gaussian mixture model (GMM) to detect the foreground object 420. The processor 110 may take an image except the foreground object 420 as the background image 410, and separate the foreground object 420 and the background image 410. Alternatively, in an embodiment, the processor 110 may also determine positions of facial landmarks in the initial image according to an ensemble of regression trees model, so as to determine a contour of the facial landmarks. The processor 110 may distinguish the foreground object 420 and the background image 410 in the initial image according to the contour C. However, enough instructions, recommendations for the method for analyzing the foreground object and the background image mentioned in the embodiment of the invention can be learned according to common knowledge of the technical field, and details thereof are not repeated.
[0038] In step S330, the processor 110 displays a background selection frame (the frame shown in
[0039]
[0040] In the present embodiment, the second operation may further refer to that the processor 110 identifies third gesture information according to whether the gesture sensor 150 acquires the third gesture information. When the third gesture information is complied with a third predetermined gesture, the processor 110 generates a third input instruction. Moreover, the processor 110 confirms a selection result of the background selection function to determine the predetermined background image, for example, to select the icon 502 to serve as the background image. The third gesture information may refer to that the hand of the user moves forward, though the invention is not limited thereto. Namely, the foreground object 520 of the background selection frame 500 is still the same face image, and the background image 510 can be switched to one of a plurality of background images represented by the icons 502-505 according to the selection result of the user. However, in an embodiment, the second operation may also refer to that the user touches or clicks a position of other icon on the screen 120, such that the screen 120 generates a third touch signal, and the processor 110 controls the screen 120 to display the selection result of the background image according to the third touch signal.
[0041]
[0042] In summary, according to the electronic make-up mirror device and the background switching method thereof, the user may dynamically switch the background image through a touch manner or a gesture operation during a make-up process. In this way, during the make-up process, the user may feel a comfortable background image, or determine a proper method for putting on the make-up according to the selected background image, so as to achieve a good user experience.
[0043] It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.