CN107563395B - Method and device for dressing management through intelligent mirror - Google Patents

Method and device for dressing management through intelligent mirror Download PDF

Info

Publication number
CN107563395B
CN107563395B CN201710865591.2A CN201710865591A CN107563395B CN 107563395 B CN107563395 B CN 107563395B CN 201710865591 A CN201710865591 A CN 201710865591A CN 107563395 B CN107563395 B CN 107563395B
Authority
CN
China
Prior art keywords
dressing
intelligent mirror
information
dressing information
score
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
CN201710865591.2A
Other languages
Chinese (zh)
Other versions
CN107563395A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710865591.2A priority Critical patent/CN107563395B/en
Publication of CN107563395A publication Critical patent/CN107563395A/en
Application granted granted Critical
Publication of CN107563395B publication Critical patent/CN107563395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for dressing management through an intelligent mirror, and belongs to the technical field of computers. The method comprises the following steps: acquiring first dressing information extracted from an image shot by the intelligent mirror; and if the first dressing information meets the preset dressing change condition, controlling the intelligent mirror to send a dressing change prompt. By adopting the invention, the functions of the intelligent mirror can be diversified.

Description

Method and device for dressing management through intelligent mirror
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for dressing management through an intelligent mirror.
Background
With the development of computer technology, smart homes gradually enter the lives of people, and the smart mirror is one of the smart homes. The intelligent mirror can be changed the outfit intelligently, for example, the user stands in front of the intelligent mirror, the camera of the intelligent mirror can shoot the image information of the user, the user informs all the clothes numbers that the user wants to wear to the intelligent mirror, the intelligent mirror acquires the image information of the clothes stored in advance from the server through the numbers, then the image information of the user and the image information of the clothes are synthesized, and finally the synthesized image is displayed on the intelligent mirror, so that the user can see the matching effect of the clothes worn on the user.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the existing intelligent mirror only has the intelligent reloading function and is single in function.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for dressing management through an intelligent mirror. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method of dressing management by a smart mirror, the method comprising:
acquiring first dressing information extracted from an image shot by the intelligent mirror;
and if the first dressing information meets the preset dressing change condition, controlling the intelligent mirror to send a dressing change prompt.
Optionally, if the first dressing information meets a preset dressing change condition, controlling the intelligent mirror to send a dressing change prompt includes:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts except the current login account of the intelligent mirror, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
and if second dressing information with the similarity exceeding a preset threshold value with the first dressing information exists in the at least one piece of dressing information, controlling the intelligent mirror to send out a dressing change prompt.
Optionally, if the first dressing information meets a preset dressing change condition, controlling the intelligent mirror to send a dressing change prompt includes:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
acquiring a first score corresponding to the first dressing information and scores corresponding to the at least one piece of dressing information respectively;
and if a second score exceeding the first score exists in the scores respectively corresponding to the at least one dressing information, controlling the intelligent mirror to send out a dressing change prompt.
Optionally, if the first dressing information meets a preset dressing change condition, controlling the intelligent mirror to send a dressing change prompt includes:
and acquiring a first score corresponding to the first dressing information, and controlling the intelligent mirror to send a dressing change prompt if the first score is lower than a preset score threshold.
Optionally, the method further comprises:
acquiring corresponding third dressing information with the highest score from the historical dressing information of the current login account of the intelligent mirror;
and controlling the intelligent mirror to display the third dressing information.
Optionally, the method further comprises:
extracting a first facial image from the image;
and determining an account corresponding to the second face image with the highest matching degree with the first face image according to the corresponding relation between the pre-stored face image and the account, and taking the account as the current login account of the intelligent mirror.
According to a second aspect of embodiments of the present disclosure, there is provided a dressing management apparatus by an intelligent mirror, the apparatus including:
the first acquiring module is used for acquiring first dressing information extracted from an image shot by the intelligent mirror;
and the first control module is used for controlling the intelligent mirror to send out a change-over prompt if the first dressing information meets a preset change-over condition.
Optionally, the first control module is configured to:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts except the current login account of the intelligent mirror, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
and if second dressing information with the similarity exceeding a preset threshold value with the first dressing information exists in the at least one piece of dressing information, controlling the intelligent mirror to send out a dressing change prompt.
Optionally, the first control module is configured to:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
acquiring a first score corresponding to the first dressing information and scores corresponding to the at least one piece of dressing information respectively;
and if a second score exceeding the first score exists in the scores respectively corresponding to the at least one dressing information, controlling the intelligent mirror to send out a dressing change prompt.
Optionally, the first control module is configured to:
and acquiring a first score corresponding to the first dressing information, and controlling the intelligent mirror to send a dressing change prompt if the first score is lower than a preset score threshold.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring corresponding third dressing information with the highest score from the historical dressing information of the current login account of the intelligent mirror;
and the second control module is used for controlling the intelligent mirror to display the third dressing information.
Optionally, the apparatus further comprises:
an extraction module for extracting a first facial image in the image;
and the determining module is used for determining an account corresponding to the second face image with the highest matching degree with the first face image according to the corresponding relation between the face image and the account stored in advance, and the account is used as the current login account of the intelligent mirror.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, the server comprising a processor and a memory, the memory storing therein at least one instruction, the instruction being loaded and executed by the processor to implement the method for dressing management by intelligent mirror according to any one of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having at least one instruction stored therein, the instruction being loaded and executed by a processor to implement the method for dressing management by intelligent mirror according to the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, first dressing information extracted from an image shot by the intelligent mirror is acquired, and if the first dressing information meets the preset dressing change condition, the intelligent mirror is controlled to send out a dressing change prompt, so that the intelligent mirror sends out the dressing change prompt. Thus, the function of the intelligent mirror can be diversified.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for dressing management by an intelligent mirror according to an embodiment of the present invention;
FIG. 2(a) is a view of a scene with an intelligent mirror activated according to an embodiment of the present invention;
FIG. 2(b) is a view of a scene with an intelligent mirror activated according to an embodiment of the present invention;
FIG. 3(a) is a scene diagram of an intelligent mirror change prompt provided by an embodiment of the present invention;
FIG. 3(b) is a diagram of a scene with an intelligent mirror change prompt according to an embodiment of the present invention;
FIG. 3(c) is a diagram of a scene with an intelligent mirror change prompt according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a device for dressing management by an intelligent mirror according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a device for dressing management by an intelligent mirror according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a device for dressing management by an intelligent mirror according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an intelligent mirror according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a method for dressing management through an intelligent mirror, which can be realized by a server and the intelligent mirror together. The intelligent mirror can be placed at home or in a clothing store, can have a network communication function, and can log in an account of a user. The server may be a back-office management server for the intelligent mirror.
The server may include a processor, memory, transceiver, etc. The processor, which may be a CPU (Central Processing Unit), may be configured to determine whether the dressing information satisfies a predetermined dressing condition. The Memory may be a RAM (Random Access Memory), a Flash Memory, and the like, and may be configured to store received data, data required by the processing procedure, data generated in the processing procedure, and the like, such as an image captured by the intelligent mirror, first dressing information, and the like. And the transceiver can be used for carrying out data transmission with the intelligent mirror, for example, the intelligent mirror is controlled to send out a reloading prompt and the like, and the transceiver can comprise an antenna, a matching circuit, a modem and the like.
The smart mirror may include a processor, memory, screen, transceiver, image detection components, and the like. The processor, which may be a CPU (Central Processing Unit), may be used to receive instructions and control the display to perform Processing such as displaying. The Memory may be a RAM (Random Access Memory), a Flash (Flash Memory), or the like, and may be configured to store received data, data required by a processing procedure, data generated in the processing procedure, or the like, such as a captured image, a change prompt, or the like. The screen can be a touch screen, can be used for displaying a change prompt and a control page, and can also be used for detecting a touch signal and the like. The transceiver can be used for data transmission with other equipment, for example, a change prompt sent by the server is received, and the image detection component can be a camera and the like. The smart mirror may also include audio output components and audio input components, among others. May include an antenna, matching circuitry, modem, etc. The audio output component may be a speaker, headphones, or the like. The audio input means may be a microphone or the like.
In order to make the objects, technical solutions and advantages of the present invention more clear, the following will describe the process flow shown in fig. 1 in detail with reference to the embodiments, and the contents may be as follows:
in step 101, first dressing information extracted from an image taken by a smart mirror is acquired.
In practice, the smart mirror may be activated when the user wants to look into the mirror after reloading. The activation method of the intelligent mirror may be various. One method may be that an on-off key (which may be a touch key or a mechanical key, etc.) is provided on the intelligent mirror, and when the user presses the on-off key, the intelligent mirror is started, as shown in fig. 2 (a). Alternatively, an infrared proximity sensor may be installed on the front surface of the intelligent mirror, and when a user stands on the front surface of the intelligent mirror, the infrared proximity sensor may send out a detection signal to control the intelligent mirror to start, as shown in fig. 2 (b).
After the intelligent mirror is started, a camera arranged on the front face of the intelligent mirror shoots a user, and first dressing information is extracted according to the shot image. The first dressing information can be extracted through the intelligent mirror, and in the mode, after the intelligent mirror shoots the image, the first dressing information is directly extracted for subsequent processing. The first dressing information can also be extracted by the server, in this way, the intelligent mirror shoots the image and sends the image to the server, and the server receives the image and extracts the first dressing information from the image. The method for extracting the first dressing information in the image may be: detecting an image area of a user and a dress in an image through an edge detection algorithm, and extracting image information in the image area of the dress as first dress information; alternatively, the image is input to the trained dressing image extraction algorithm model, and the dressing image included in the image is output as the first dressing information.
Alternatively, the server may log in the account of the current user by means of facial recognition, and the corresponding processing may be as follows: extracting a first face image from the image; and determining the account corresponding to the second face image with the highest matching degree with the first face image according to the pre-stored corresponding relation between the face image and the account, and taking the account as the current login account of the intelligent mirror.
In implementation, when a user wants to register an account, the user can click an option of account registration in a main interface of the intelligent mirror, the intelligent mirror displays a registration interface in the interface, the registration interface comprises an account name input field and a password input field, the user can input an account name and a password, the registration interface further comprises an option of facial image entry, the user clicks the option, and the intelligent mirror prompts the user to face the intelligent mirror, further shoots an image, performs facial recognition in the image and determines a facial image contained in the image. When a user clicks a determination key in a registration interface, the intelligent mirror sends the account name, the password and the facial image to the server, and the server adds the account name, the password and the facial image uploaded by the intelligent mirror to a pre-established corresponding relation among the account name, the password and the facial image.
When a user uses the intelligent mirror, the intelligent mirror shoots an image of the user and sends the image to the server, and after the server receives the image, a face image (namely a first face image) is extracted from the image. The server acquires the pre-stored corresponding relation, compares each face image in the corresponding relation with the first face image, selects a face image (namely a second face image) with the maximum similarity with the first face image, searches an account corresponding to the second face image in the corresponding relation, and takes the account as a current login account of the intelligent mirror to perform login processing.
In addition to the above-described account login method, an account login method of fingerprint recognition, an account login method of inputting an account name password, or the like may be employed.
In step 102, if the first dressing information meets the preset dressing condition, the intelligent mirror is controlled to send out a dressing prompt.
In practice, after the first dressing information is extracted, the processing apparatus acquires a dressing change condition stored in advance to verify whether the first dressing condition satisfies the dressing change condition. If the first dressing information meets the preset dressing change condition, the dressing corresponding to the first dressing information is not suitable for the user, the dressing change is needed to enable the dressing of the user to achieve a better effect, and therefore the intelligent mirror sends a dressing change prompt. If the first dressing information does not meet the preset dressing change condition, the dressing corresponding to the first dressing information is suitable for the user, the current dressing of the user achieves a good effect, and therefore the intelligent mirror does not need to send a dressing change prompt. The processing equipment can be an intelligent mirror, under the condition, the intelligent mirror judges whether the first dressing information meets the preset dressing change condition, if the preset dressing change condition is met, the intelligent mirror sends a dressing change prompt to the user, and if the preset dressing change condition is not met, the intelligent mirror sends a dressing change-free prompt to the user. The processing device may also be a server, in which case the server determines whether the first dressing information satisfies a preset dressing change condition, and if the dressing change condition is satisfied, the server sends a dressing change notification message to the intelligent mirror, the intelligent mirror sends a dressing change prompt to the user after receiving the dressing change notification message sent by the server, and if the dressing change condition is not satisfied, the server sends a dressing change-free notification message to the intelligent mirror, and the intelligent mirror sends a dressing change-free prompt to the user after receiving a dressing change-free notification message sent by the server.
Optionally, the preset reloading conditions may be various according to different actual requirements, and there are various corresponding manners for the processing in step 102, and several possible manners are given below:
in a first mode, if a crash is found, the user is notified to replace the garment, and the corresponding process may be as follows: and acquiring a first time period and a first attendance point corresponding to the first dressing information, and determining at least one piece of dressing information, which has intersection with the first time period and has the same attendance point as the first attendance point, in the dressing information of other accounts except the current login account of the intelligent mirror. And if second dressing information with the similarity exceeding a preset threshold value with the first dressing information exists in the at least one piece of dressing information, controlling the intelligent mirror to send out a dressing change prompt.
The first time period is a time period when the user wears the garment currently, and the specific time period may be set by the user, or may be a time period (for example, 24 hours) after the current time by a preset time length. The first attendance place is a place where the user is attending wearing the current dress, and the specific place can be set by the user.
In implementation, after the image is shot, the intelligent mirror can prompt a user to manually input a first time period and a first attendance point, after the user inputs related contents, the processing device can search the time period and the attendance point corresponding to the dressing information uploaded by other accounts except the current login account of the intelligent mirror after receiving the first time period and the first attendance point, compare the time period and the attendance point corresponding to the dressing information of other accounts with the first time period and the first attendance point, select the dressing information of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point, and perform similarity detection with the first dressing information one by one. The similarity detection can adopt a pixel point matching mode, and the similarity of pixel points between the images is compared through a pixel point matching algorithm to determine the similarity between the taken-out dressing information and the first dressing information. If the similarity between the taken-out dressing information and the first dressing information exceeds a preset threshold value, the processing equipment controls the intelligent mirror to send a dressing change prompt, and if the similarity between the taken-out dressing information and the first dressing information does not exceed the preset threshold value, the processing equipment controls the intelligent mirror to send a dressing change-free prompt.
For example, after the intelligent mirror takes an image, the user manually inputs a first time period of 14:00-16:00 on the intelligent mirror, the first attendance point is S place, the processing device screens out A, B, C by comparing the time period and the attendance point after receiving the first time period and the first attendance point input by the user, wherein the time period input by A is 15:00-18:30, the attendance point is S place, the time period input by B is 12:00-14:00, the attendance point is S place, the time period input by C is 13:30-14:30, and the attendance point is S place. The processing device calls the clothing information corresponding to the time slot and the attendance point from the clothing information of A, B, C, detects the similarity with the first clothing information of the user, the detected similarities are 40%, 85% and 56%, respectively, and the threshold set by the user is 80%, because the similarity between B and the user is 85%, which exceeds the threshold set by the user, the processing device sends a change prompt to the intelligent mirror.
In a second mode, if the rating of the dress of the current user is found to be lower than the rating of the dress of other users who will appear in the same place, the user is informed to change the dress, and the corresponding processing can be as follows: acquiring a first time period and a first attendance point corresponding to the first dressing information, and determining at least one piece of dressing information, in the dressing information of other accounts, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point. And if a second score exceeding the first score exists in the scores respectively corresponding to the at least one piece of dressing information, the intelligent mirror is controlled to send out a dressing change prompt.
In an implementation, after the image is captured, the smart mirror may prompt the user to manually enter the first time period and the first attendance location, and after the user enters the relevant content, the processing device receives the first time period and the first attendance location. After receiving the first time period and the first attendance point, the processing device can search the time period and the attendance point corresponding to the dressing information uploaded by other accounts, select corresponding dressing information which is intersected with the first time period and has the same attendance point as the first attendance point through comparison between the time period and the attendance point corresponding to the dressing information of other accounts and the first time period and the first attendance point, call scores of the dressing information, and then score the first dressing information of the user through a scoring model (namely, a first score). And comparing the first scores of the users with the retrieved scores one by one, if the retrieved scores have scores higher than the first scores of the users, controlling the intelligent mirror to send a reloading prompt by the processing equipment, and if the retrieved scores do not have scores higher than the first scores of the users, controlling the intelligent mirror to send a no reloading prompt by the processing equipment.
For example, after the intelligent mirror takes an image, the user manually inputs a first time period of 14:00-16:00 on the intelligent mirror, the first attendance point is S place, the processing device screens out A, B, C by comparing the time period and the attendance point after receiving the first time period and the first attendance point input by the user, wherein the input time period of A is 15:00-18:30, the attendance point is S place, the input time period of B is 12:00-14:00, the attendance point is S place, the input time period of C is 13:30-14:30, and the attendance point is S place. The processing device calls out scores of the dressing information corresponding to the time slot and the attendance point in the dressing information of A, B, C, wherein the scores are respectively 8.7, 6.2 and 7.0, and the processing device scores the first dressing information to obtain a first score of 8.4, and the score of A is higher than the first score of the user, so the processing device controls the intelligent mirror to give a dressing change prompt.
The scoring model can score through the corresponding relation between the body characteristics, the dressing characteristics and the scores, which are pre-stored by technicians. For example, table 1 shows the correspondence between the skin color number and the clothing color of the user and the single item score, when the processing device extracts the first clothing information, the processing device extracts the skin color information of the user from the image, determines the skin color number corresponding to the skin color information, then extracts the clothing color from the first clothing information, and finally obtains a single item score according to the correspondence shown in table 1. In addition, the processing device can also extract the stature information and the dress style of the user, and then obtain another single score according to the corresponding relation shown in the table 2. The individual scores obtained in tables 1 and 2 are only two examples of the individual scores, and the processing device may calculate more individual scores based on other parameters, such as the shoulder width height ratio, the corresponding relationship between the clothing style and the individual score, or the waist height ratio, the corresponding relationship between the clothing style and the individual score, and the like.
And finally, obtaining a first score according to all the obtained single scores by a preset calculation method. The preset calculation method may be to take an average value of all the individual scores as a final score of the clothing information, or may be to calculate a weighted average value of each individual score based on a preset weight corresponding to each individual score as a final score of the clothing information.
TABLE 1
Skin color number Dressing color Single item scoring
01 Black colour 9.0
02 White colour (Bai) 8.0
03 Red wine 7.0
04 Green 6.0
TABLE 2
Stature Dress style Single item scoring
Is normal A 9.0
Thin and thin B 8.0
Is very thin C 7.0
Obesity with partial fat D 6.0
In a third mode, if the score of the clothing of the current user is found to be lower than the preset score threshold, the user is informed to change the clothing, and the corresponding processing can be as follows: and acquiring a first score corresponding to the first dressing information, and if the first score is lower than a preset score threshold, sending a dressing change prompt to the intelligent mirror.
In implementation, after first dressing information is obtained, the processing equipment scores the first dressing information, the obtained score is the first score, then a preset score threshold value is obtained, the first score is compared with the score threshold value, if the first score is lower than the score threshold value, the processing equipment controls the intelligent mirror to send a dressing change prompt, and if the first score is not lower than the score threshold value, the processing equipment controls the intelligent mirror to send a dressing change prompt.
In the above embodiment, the change prompt sent by the intelligent mirror to the user can be in various forms, for example, as shown in fig. 3(a), a text prompt such as "this clothes is not suitable for you, and it is recommended to change the clothes" can be displayed on the intelligent mirror, as shown in fig. 3(b), the intelligent mirror can send a voice prompt to the user to change the clothes, as shown in fig. 3(c), and the intelligent mirror can also send a prompt in a flashing manner.
Optionally, the processing device may also suggest to the user a higher scoring outfit before donning, and the corresponding processing may be as follows: acquiring corresponding third dressing information with the highest score from the historical dressing information of the current login account of the intelligent mirror; and controlling the intelligent mirror to display the third dressing information.
And the third dressing information is the dressing information corresponding to the highest score in the historical dressing information of the current login account of the intelligent mirror.
In implementation, after determining that the intelligent mirror needs to be controlled to send a change-over prompt, the processing device may search historical dressing information of a current login account of the intelligent mirror, determine the dressing information with the highest score (i.e., the third dressing information), and then generate a change-over prompt carrying the third dressing information, so that the intelligent mirror sends the change-over prompt, and a reasonable change-over suggestion is given to a user.
The third clothing information may be an image of clothing, the intelligent mirror may display a thumbnail of the image of clothing in a preset area of the screen, or the intelligent mirror may synthesize the image of clothing with an image of the user currently photographed to obtain an image of the user wearing the clothing, and display the image.
In the embodiment of the invention, first dressing information extracted from an image shot by the intelligent mirror is acquired, and if the first dressing information meets the preset dressing change condition, a dressing change prompt is sent to the intelligent mirror, so that the intelligent mirror sends the dressing change prompt. Like this, increased the function that the intelligence of intelligent mirror changed outfit, made the function diversified.
Based on the same technical concept, an embodiment of the present invention further provides an apparatus for dressing management through an intelligent mirror, as shown in fig. 4, the apparatus includes: a first acquisition module 410, a first control module 420.
The first acquiring module 410 is configured to acquire first dressing information extracted from an image taken by the smart mirror;
the first control module 420 is configured to control the intelligent mirror to issue a change prompt if the first dressing information satisfies a preset change condition.
Optionally, the first control module 420 is configured to:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts except the current login account of the intelligent mirror, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
and if second dressing information with the similarity exceeding a preset threshold value with the first dressing information exists in the at least one piece of dressing information, controlling the intelligent mirror to send out a dressing change prompt.
Optionally, the first control module 420 is configured to:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
acquiring a first score corresponding to the first dressing information and scores corresponding to the at least one piece of dressing information respectively;
and if a second score exceeding the first score exists in the scores respectively corresponding to the at least one dressing information, controlling the intelligent mirror to send out a dressing change prompt.
Optionally, the first control module 420 is configured to obtain a first score corresponding to the first dressing information, and control the intelligent mirror to send a dressing change prompt if the first score is lower than a preset score threshold.
Optionally, the apparatus further comprises:
a second obtaining module 510, configured to obtain third dressing information with the highest corresponding score from the historical dressing information of the current login account of the intelligent mirror;
a second control module 520 configured to control the smart mirror to display the third dressing information.
Optionally, the apparatus further comprises:
an extraction module 610 configured to extract a first facial image in the image;
the determining module 620 is configured to determine, according to a pre-stored correspondence between the face image and the account, the account corresponding to the second face image with the highest matching degree with the first face image as a current login account of the intelligent mirror.
It should be noted that: in the device for managing dressing by using an intelligent mirror according to the above embodiments, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. In addition, the device for dressing management by using the intelligent mirror and the method for dressing management by using the intelligent mirror provided by the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, and is not described herein again.
Based on the same technical concept, the embodiment of the invention also provides a structural schematic diagram of the server.
Referring to fig. 7, apparatus 700 includes a processing component 722 that further includes one or more processors and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processing component 722 is configured to execute instructions to perform the above-described method of network connection management.
The apparatus 700 may also include a power component 726 configured to perform power management of the apparatus 700, a wired or wireless network interface 750 configured to connect the apparatus 700 to a network, and an input output (I/O) interface 758.
Apparatus 700 may include memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the above-described method embodiments.
Based on the same technical concept, the embodiment of the invention also provides a structural schematic diagram of the intelligent mirror.
Referring to fig. 8, the smart mirror 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls the overall operation of the smart mirror 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the intelligent mirror 800. Examples of such data include instructions for any application or method operating on the smart mirror 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 806 provides power to the various components of the intelligent mirror 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for audio output device 800.
The multimedia component 808 includes a screen between the intelligent mirror 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the smart mirror 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the audio output device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the intelligent mirror 800. For example, the sensor assembly 814 may detect the open/closed state of the intelligent mirror 800, the relative positioning of the components, such as the display and keypad of the intelligent mirror 800, the sensor assembly 814 may also detect a change in position of the intelligent mirror 800 or a component of the intelligent mirror 800, the presence or absence of user contact with the intelligent mirror 800, the orientation or acceleration/deceleration of the intelligent mirror 800, and a change in temperature of the intelligent mirror 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the smart mirror 800 and other devices. The smart mirror 800 may have access to a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the smart mirror 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 804 including instructions executable by the processor 820 of the intelligent mirror 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In the embodiment of the invention, first dressing information extracted from an image shot by the intelligent mirror is acquired, and if the first dressing information meets the preset dressing change condition, the intelligent mirror is controlled to send out a dressing change prompt, so that the intelligent mirror sends out the dressing change prompt. Thus, the function of the intelligent mirror can be diversified.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for garment management via smart mirrors, the method comprising:
acquiring first dressing information extracted from an image shot by the intelligent mirror;
if the first dressing information meets a preset dressing change condition, controlling the intelligent mirror to send a dressing change prompt;
if first dress information satisfies preset change dress condition, then control intelligence mirror sends and changes dress suggestion, include:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
acquiring a first score corresponding to the first dressing information and scores corresponding to the at least one piece of dressing information respectively;
if a second score exceeding the first score exists in the scores respectively corresponding to the at least one dressing information, controlling the intelligent mirror to send out a dressing change prompt;
the method further comprises the following steps:
acquiring corresponding third dressing information with the highest score from the historical dressing information of the current login account of the intelligent mirror;
and controlling the intelligent mirror to display the third dressing information.
2. The method of claim 1, wherein controlling the intelligent mirror to issue a change prompt if the first dressing information satisfies a preset change condition further comprises:
determining at least one piece of dressing information, in the dressing information of other accounts except the current login account of the intelligent mirror, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
and if second dressing information with the similarity exceeding a preset threshold value with the first dressing information exists in the at least one piece of dressing information, controlling the intelligent mirror to send out a dressing change prompt.
3. The method of claim 1, wherein controlling the intelligent mirror to issue a change prompt if the first dressing information satisfies a preset change condition further comprises:
and acquiring a first score corresponding to the first dressing information, and controlling the intelligent mirror to send a dressing change prompt if the first score is lower than a preset score threshold.
4. The method of claim 1, further comprising:
extracting a first facial image from the image;
and determining an account corresponding to the second face image with the highest matching degree with the first face image according to the corresponding relation between the pre-stored face image and the account, and taking the account as the current login account of the intelligent mirror.
5. An apparatus for dressing management via smart mirrors, the apparatus comprising:
the first acquiring module is used for acquiring first dressing information extracted from an image shot by the intelligent mirror;
the first control module is used for controlling the intelligent mirror to send a reloading prompt if the first reloading information meets a preset reloading condition;
the first control module is configured to:
acquiring a first time period and a first attendance point corresponding to the first dress information;
determining at least one piece of dressing information, in the dressing information of other accounts, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
acquiring a first score corresponding to the first dressing information and scores corresponding to the at least one piece of dressing information respectively;
if a second score exceeding the first score exists in the scores respectively corresponding to the at least one dressing information, controlling the intelligent mirror to send out a dressing change prompt;
the second acquisition module is used for acquiring corresponding third dressing information with the highest score from the historical dressing information of the current login account of the intelligent mirror;
and the second control module is used for controlling the intelligent mirror to display the third dressing information.
6. The apparatus of claim 5, wherein the first control module is further configured to:
determining at least one piece of dressing information, in the dressing information of other accounts except the current login account of the intelligent mirror, of which the corresponding time period and the first time period have intersection and the corresponding attendance point is the same as the first attendance point;
and if second dressing information with the similarity exceeding a preset threshold value with the first dressing information exists in the at least one piece of dressing information, controlling the intelligent mirror to send out a dressing change prompt.
7. The apparatus of claim 5, wherein the first control module is further configured to:
and acquiring a first score corresponding to the first dressing information, and controlling the intelligent mirror to send a dressing change prompt if the first score is lower than a preset score threshold.
8. The apparatus of claim 5, further comprising:
an extraction module for extracting a first facial image in the image;
and the determining module is used for determining an account corresponding to the second face image with the highest matching degree with the first face image according to the corresponding relation between the face image and the account stored in advance, and the account is used as the current login account of the intelligent mirror.
9. A server, characterized in that it comprises a processor and a memory, in which at least one instruction is stored, which is loaded and executed by said processor to implement a method for dressing management by means of intelligent mirrors according to any one of claims 1 to 4.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a method of dress management by intelligent mirrors as claimed in any one of claims 1 to 4.
CN201710865591.2A 2017-09-22 2017-09-22 Method and device for dressing management through intelligent mirror Active CN107563395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710865591.2A CN107563395B (en) 2017-09-22 2017-09-22 Method and device for dressing management through intelligent mirror

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710865591.2A CN107563395B (en) 2017-09-22 2017-09-22 Method and device for dressing management through intelligent mirror

Publications (2)

Publication Number Publication Date
CN107563395A CN107563395A (en) 2018-01-09
CN107563395B true CN107563395B (en) 2021-11-30

Family

ID=60982165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710865591.2A Active CN107563395B (en) 2017-09-22 2017-09-22 Method and device for dressing management through intelligent mirror

Country Status (1)

Country Link
CN (1) CN107563395B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257091B (en) * 2018-01-16 2022-08-05 北京小米移动软件有限公司 Imaging processing method for intelligent mirror and intelligent mirror
CN108771315A (en) * 2018-05-30 2018-11-09 深圳市赛亿科技开发有限公司 A kind of control method and system of intelligent cosmetic mirror
CN116382468A (en) * 2023-02-24 2023-07-04 江阴市宝虹电器有限公司 Automatic triggering method, system and storage medium for interaction function of intelligent mirror

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096335A (en) * 2015-09-17 2015-11-25 无锡天脉聚源传媒科技有限公司 Evaluation information transmission method and device
CN105955451A (en) * 2016-04-18 2016-09-21 张伟彬 Travel prompt method based on user image
CN106557753A (en) * 2016-11-14 2017-04-05 北京小米移动软件有限公司 The method and device of output prompting
CN107145217A (en) * 2016-03-01 2017-09-08 上海光巢信息技术有限公司 Intelligent interactive system and intelligent interactive method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096335A (en) * 2015-09-17 2015-11-25 无锡天脉聚源传媒科技有限公司 Evaluation information transmission method and device
CN107145217A (en) * 2016-03-01 2017-09-08 上海光巢信息技术有限公司 Intelligent interactive system and intelligent interactive method
CN105955451A (en) * 2016-04-18 2016-09-21 张伟彬 Travel prompt method based on user image
CN106557753A (en) * 2016-11-14 2017-04-05 北京小米移动软件有限公司 The method and device of output prompting

Also Published As

Publication number Publication date
CN107563395A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
EP3383022A1 (en) Method and camera device for processing image
CN106776890B (en) Method and device for adjusting video playing progress
US9924090B2 (en) Method and device for acquiring iris image
CN106527682B (en) Method and device for switching environment pictures
CN106357934B (en) Screen locking control method and device
CN106557755B (en) Fingerprint template acquisition method and device
CN106934320B (en) Fingerprint identification method and device
CN107091704B (en) Pressure detection method and device
US20170339287A1 (en) Image transmission method and apparatus
CN107563395B (en) Method and device for dressing management through intelligent mirror
CN106572268B (en) Information display method and device
CN112188091B (en) Face information identification method and device, electronic equipment and storage medium
CN111526287A (en) Image shooting method, image shooting device, electronic equipment, server, image shooting system and storage medium
CN111984347A (en) Interaction processing method, device, equipment and storage medium
CN112258605A (en) Special effect adding method and device, electronic equipment and storage medium
CN109151217B (en) Backlight mode adjusting method and device
CN109145878B (en) Image extraction method and device
CN111027812A (en) Person identification method, person identification system, and computer-readable storage medium
US20190220661A1 (en) Imaging processing method for smart mirror, and smart mirror
CN107734303B (en) Video identification method and device
CN112004020B (en) Image processing method, image processing device, electronic equipment and storage medium
CN111988522B (en) Shooting control method and device, electronic equipment and storage medium
CN111340690B (en) Image processing method, device, electronic equipment and storage medium
CN112437189A (en) Identity recognition method, device and medium
CN108307108B (en) Photographing control method and mobile terminal

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