CN114021022A - Dressing information acquisition method and device, vehicle and storage medium - Google Patents

Dressing information acquisition method and device, vehicle and storage medium Download PDF

Info

Publication number
CN114021022A
CN114021022A CN202111422055.8A CN202111422055A CN114021022A CN 114021022 A CN114021022 A CN 114021022A CN 202111422055 A CN202111422055 A CN 202111422055A CN 114021022 A CN114021022 A CN 114021022A
Authority
CN
China
Prior art keywords
makeup
information
navigation destination
obtaining
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111422055.8A
Other languages
Chinese (zh)
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 Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN202111422055.8A priority Critical patent/CN114021022A/en
Publication of CN114021022A publication Critical patent/CN114021022A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the application discloses a dressing information acquisition method and device, a vehicle and a storage medium. The method comprises the following steps: acquiring a navigation destination; obtaining a makeup type matched with the navigation destination according to the navigation destination; and obtaining makeup recommendation information corresponding to the makeup type. The method and the device recommend the makeup type suitable for the environment condition of the destination for the user by acquiring the navigation destination, so that the user can have the suitable makeup type at different destinations while saving the time of the user.

Description

Dressing information acquisition method and device, vehicle and storage medium
Technical Field
The present application relates to the field of information processing technologies, and more particularly, to a method and an apparatus for obtaining makeup information, a vehicle, and a storage medium.
Background
Constantly maintaining beauty is one of important parts in the life of women of all ages, and the makeup of women has different requirements on conditions such as ambient light, temperature, social scenes and the like. Because people often change suddenly to reach an appointment destination in life, or people often have no time to make up at home when going out, or the original make-up is not done for too long time in the journey, so that the make-up is removed, and the like, women sometimes need to spend a large amount of time to search for the make-up type suitable for the destination to make up or make up.
Disclosure of Invention
The invention provides a makeup information acquisition method, a makeup information acquisition device, a vehicle and a storage medium, which aim to solve the problems.
In a first aspect, an embodiment of the present application provides a method for obtaining makeup information, including: acquiring a navigation destination; obtaining a makeup type matched with the navigation destination according to the navigation destination; and obtaining makeup recommendation information corresponding to the makeup type.
In a second aspect, embodiments of the present application also provide a makeup information obtaining apparatus, including: a destination acquiring unit, a makeup type acquiring unit, and a makeup course acquiring unit. The destination acquisition unit is used for acquiring a navigation destination; the makeup type obtaining unit is used for obtaining a makeup type matched with the navigation destination according to the navigation destination; the makeup course acquisition unit is used for acquiring makeup recommendation information corresponding to the makeup type.
In a third aspect, an embodiment of the present application further provides a vehicle, including: a display, a camera, one or more processors, memory, and one or more applications. The camera is used for shooting an image of a designated area in the vehicle; the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to execute to implement the method of the first aspect as described above.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, in which a program code is stored, where the program code is called by a processor to execute the method according to the first aspect.
According to the technical scheme provided by the invention, the navigation destination is obtained; obtaining a makeup type matched with the navigation destination according to the navigation destination; and obtaining makeup recommendation information corresponding to the makeup type. Therefore, by adopting the method of the application, the makeup type suitable for the environment condition of the navigation destination is recommended for the user according to the navigation destination of the user, so that the user can save time and have the suitable makeup type in different places, and the user can shape good images conveniently.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a method for obtaining makeup information according to an embodiment of the present application;
fig. 2 is a schematic flow chart showing a makeup information obtaining method according to another embodiment of the present application;
fig. 3 is a schematic flow chart showing a makeup information obtaining method according to another embodiment of the present application;
fig. 4 is a schematic structural view showing a makeup information obtaining apparatus according to an embodiment of the present application;
fig. 5 is a block diagram showing a structure of a vehicle according to an embodiment of the present application;
fig. 6 shows a block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the pursuit of people for fashion and beauty, more people desire to customize a makeup scheme required by meeting the quality of image, social scenes and clothes matching aiming at the people, in the related art, a method for recommending a makeup color system for a user according to the color characteristics of the user clothes appears, the color characteristics of the user clothes are obtained by collecting the photos of the user, processing the collected photos, the makeup color system is determined according to the color characteristics of the user clothes, and the makeup matching suggestion is shown to the user based on the makeup color system. However, in real life, due to wide social contact, people often need to go to a certain place for appointment, and due to the fact that the time for going out is short, users do not have enough time to search for makeup suitable for the appointment occasion for dressing, and the image shaped by the users in front of other people is sometimes influenced.
In order to alleviate the above problems, the inventors of the present application have proposed a makeup information acquisition method, apparatus, electronic device, and storage medium provided by the present application. By obtaining a navigation destination; obtaining a makeup type matched with the navigation destination according to the navigation destination; and obtaining makeup recommendation information corresponding to the makeup type. Therefore, by adopting the method, the makeup type suitable for the social scene of the navigation destination is recommended for the user according to the navigation destination of the user, so that the user can save time and have suitable makeup in different places, and the user can shape a good image in front of other people.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings. Referring to fig. 1, an embodiment of the present application provides a method for obtaining makeup information, which may be applied to a terminal device equipped with a camera, a display and a navigation function, for example, the terminal device may be a vehicle, a ship, an aircraft, a mobile phone, a tablet device, etc., but is not limited thereto, and may be specifically controlled by an application installed in the terminal to be executed. This embodiment describes the flow of steps on the terminal device side, and the makeup information acquisition method may include steps S110 to S130.
Step S110: and acquiring a navigation destination.
In the embodiment of the present application, the obtained navigation destination may include a navigation destination directly input by a user, or the obtained navigation destination may be transmitted to a terminal device having a navigation function to which the method for obtaining makeup information provided in the embodiment of the present application is applied through a wireless communication technology or an SPI (serial peripheral interface) after the user inputs the navigation destination into another device, and finally the terminal device obtains the navigation destination. The navigation destination may be a place such as a school, an office building, a bar, an art area, a scenic spot, an amusement park, and the like, which is not limited herein.
Step S120: and obtaining the makeup type matched with the navigation destination according to the navigation destination.
In this embodiment, before the step S120, the method further includes: and opening an intelligent makeup recommending mode.
In some embodiments, after the terminal device obtains the navigation destination, the terminal device may automatically turn on the intelligent makeup recommendation mode; the user can also be prompted to start the intelligent makeup recommending mode, and the instruction is executed after the instruction of the user for starting the intelligent makeup recommending mode is received. After the intelligent makeup recommending mode is automatically started, the terminal equipment prompts (such as voice prompt, indicator light prompt and a prompt interface for generating the intelligent makeup recommending mode) that the user starts the intelligent makeup recommending mode; the mode for prompting the user to start the intelligent makeup recommending mode by the terminal equipment can be a voice prompt mode, an indicator light prompt mode, a prompt interface for selecting to start the intelligent makeup recommending mode and the like; after receiving the instruction of opening the intelligent makeup recommending mode by the user and executing the instruction, the terminal equipment can prompt the user that the intelligent makeup recommending mode is successfully opened through the modes of voice, an indicator lamp, a display prompting interface and the like.
When the dressing information acquisition method provided by the embodiment of the application is applied to a vehicle and an atmosphere lamp is arranged in the vehicle, after a user starts an intelligent dressing recommending mode and the vehicle acquires a navigation destination, parameters of the atmosphere lamp matched with the navigation destination can be acquired according to the navigation destination; and controlling the work of the atmosphere lamp according to the parameters of the atmosphere lamp.
The parameter of the atmosphere lamp matched with the navigation destination can be obtained according to the corresponding relation between the navigation destination and the atmosphere light effect matched with the navigation destination, so that the parameter of the atmosphere lamp corresponding to the atmosphere light effect is obtained. The correspondence between the navigation destination and the atmosphere lighting effect can be obtained through third-party experimental data and stored in a storage unit of the vehicle in advance, and can also be obtained through a wireless communication technology from an associated cloud or an electronic device.
For example, after a vehicle acquires a navigation destination bar, an atmosphere lighting effect (darkness) corresponding to the navigation destination is obtained according to the navigation destination (bar), a parameter of a corresponding atmosphere lamp is obtained according to the atmosphere lighting effect, and finally the atmosphere lamp of the vehicle is controlled to work under the parameter according to the parameter of the atmosphere lamp.
In some embodiments, after the user starts the intelligent recommended makeup mode, the terminal device may obtain different types of makeup tutorial videos from an associated cloud or electronic device by using a wireless communication technology to be stored in a makeup database, and at the same time, the user may autonomously upload different types of makeup, such as daily makeup, korean makeup, or created makeup, to the makeup database, so that the makeup database stores different types of makeup for the user to use. Specifically, the contents of the makeup database may include makeup effect maps and makeup step videos for makeup types such as a clear makeup type, a beautifully embellished makeup type, a sweat-proof makeup type, a daily makeup type, a Korean makeup type, and a self-makeup type.
In the embodiment of the application, the obtaining of the makeup type matched with the navigation destination according to the navigation destination may be obtaining the travel purpose of the user according to the navigation destination; and obtaining the makeup type matched with the travel purpose according to the preset matching relation between the travel purpose and the makeup type.
The obtaining of the user travel purpose according to the navigation destination may be a correspondence between the navigation destination and the travel purpose obtained through third-party experimental data, so that the user travel purpose can be obtained from the navigation destination. For example, when the navigation destination is a relatively formal place such as a school or an office building, a relatively serious thing such as work, study and the like can be obtained for the trip purpose of the user; when the navigation destination is a place for entertainment such as a bar or an art area, the purpose that the user goes out for relaxation for entertainment can be obtained; when the navigation destination is an outdoor and open place such as a scenic spot or an amusement park, the purpose of the user's trip can be obtained and the user can play the game generally; when the navigation destination types are difficult to classify, the travel purpose is also difficult to determine.
In some embodiments, the preset matching relationship between the travel purpose and the makeup type may be obtained through third-party experimental data, and specifically, the preset matching relationship may be that when the travel purpose is for relatively serious matters such as work, study and the like, the matching makeup type is pure makeup; the purpose of going out is for entertainment and relaxation, the matched makeup type is beautifully beautified; the travel purpose is that when the user plays the game, the matched makeup type is sweat-proof and lovely makeup; when the travel purpose is difficult to determine, the matched makeup types are all types of makeup stored in the makeup database. The preset matching relationship may be pre-stored in the terminal device storage unit, may be obtained from the associated cloud/device through a wireless communication technology, may be obtained from the associated device through the SPI, may be a default matching makeup type for the purpose of user's own addition, and may be a beautifully attractive makeup type if the user's addition purpose is working.
It should be noted that, in some embodiments, the method may further include obtaining a makeup type matching the navigation destination according to a preset correspondence between the navigation destination and the makeup type. Specifically, the preset corresponding relationship may be that when the destination is a relatively formal place such as a school or an office building, the corresponding makeup type is pure makeup; when the traveling destination is a recreation place such as a bar or an art area, the corresponding makeup type is beautifully beautiful and strong; when the travel destination is outdoor playing places such as a scenic spot or an amusement park, the corresponding makeup type is sweat-proof and lovely makeup; when the travel destination is difficult to judge, the corresponding makeup type is all types of makeup stored in the makeup database. The preset corresponding relationship may be pre-stored in the terminal device storage unit, obtained from an associated cloud/device through a wireless communication technology, obtained from an associated device through the SPI, or a default corresponding makeup type for a destination to which the user adds the makeup by himself/herself, and may be a beautifully attractive makeup type when the user adds the destination to a writing building.
It should be understood that, in the makeup information acquisition method provided in the embodiment of the present application, the makeup type that matches the navigation destination may be one type or may be multiple types.
Step S130: and obtaining makeup recommendation information corresponding to the makeup type.
In the embodiment of the application, if the makeup type corresponding to the navigation destination is one, the obtaining of the makeup recommendation information corresponding to the makeup type may be directly obtaining the makeup recommendation information corresponding to the makeup type stored in the makeup database.
If the makeup types matched with the navigation destination are at least two, the obtaining of the makeup recommendation information corresponding to the makeup types may be to generate prompt information including the at least two makeup types; receiving a makeup selection instruction based on the prompt information feedback; and selecting a target makeup type from the at least two makeup types in response to the makeup selection instruction, and acquiring makeup recommendation information corresponding to the target makeup type.
In the embodiment of the present application, the generating of the prompt information including the at least two makeup types may be that the terminal device generates the prompt information including the at least two makeup types for the user to select according to the at least two makeup types corresponding to the navigation destination. The prompt information can be voice information prompt, or prompt interface for the user to select at least two makeup types, or indicator light prompt. If the obtained navigation destination is an office building, two types of makeup types matched with the navigation destination are obtained according to the navigation destination, namely pure light makeup and beautifully beautiful makeup respectively, and the terminal equipment generates a prompt interface for selecting the makeup type comprising the pure light makeup and beautifully beautiful makeup according to the two types of makeup types matched with the navigation destination for the user to select.
In some embodiments, a makeup selection instruction fed back based on the prompt information is received, wherein the makeup selection instruction can be fed back by sending a voice instruction, or by sending a makeup selection instruction fed back by touching a display screen, or by operating the terminal device with keys, or by sending a makeup selection instruction fed back by other devices to the terminal device through a wireless communication technology/SPI; the manner of receiving the instruction may be that the terminal device receives a makeup selection instruction of a voice type fed back by the user based on the prompt information, or the terminal device receives a makeup selection instruction of a user based on interface prompt information, or the terminal device receives a makeup selection instruction of a user at an associated cloud or device through a wireless communication technology, or receives a makeup selection instruction of a user at an associated device through an SPI, and the makeup selection instruction is fed back based on the prompt information.
In the embodiment of the application, in response to the makeup selection instruction, the terminal device may select a target makeup type from the at least two makeup types from the makeup database, and obtain makeup recommendation information corresponding to the target makeup type.
In some embodiments, the terminal device, while responding to the selection instruction, may prompt the user that the terminal device has successfully received the makeup selection instruction based on the prompt information feedback, where the prompt may include: voice, interface display, indicator lights, and the like.
In the embodiment of the application, the makeup recommendation information corresponding to the target makeup type is obtained, where the makeup recommendation information corresponding to the target makeup type may be one or more, the makeup recommendation information includes makeup guide information for makeup, and the makeup guide information may guide makeup and makeup in a video tutorial manner, may also guide makeup and makeup in a text content manner, and may also guide makeup and makeup in a text plus video tutorial manner.
If the makeup recommendation information corresponding to the makeup type is one, the cosmetic recommendation information corresponding to the makeup type is obtained, that is, the cosmetic guide information included in the cosmetic recommendation information is obtained.
In some embodiments, the obtaining of the makeup recommendation information corresponding to the target makeup type may be directly obtaining the makeup recommendation information corresponding to the target makeup type stored in the makeup database for playing. Wherein the makeup recommendation information may include a makeup tutorial video. It should be understood that, after selecting a target makeup type from the at least two makeup types in response to the makeup selection instruction and acquiring makeup recommendation information corresponding to the target makeup type, the terminal device will present a makeup effect drawing corresponding to the makeup recommendation information.
The makeup information acquisition method provided by the embodiment of the application acquires the navigation destination; obtaining a makeup type matched with the navigation destination according to the navigation destination; and obtaining makeup recommendation information corresponding to the makeup type. By adopting the method, when the user goes to different destinations and needs to search for appropriate makeup for makeup or make up, the corresponding makeup recommendation information of the makeup type matched with the navigation destination is obtained according to the navigation destination, so that the time for the user to search for the makeup suitable for the navigation destination for makeup or make up is saved, the user can conveniently have the appropriate makeup in different occasions, and the user is helped to shape good personal images.
Referring to fig. 2, another embodiment of the present application provides a method for obtaining makeup information, which includes steps S210 to S250.
Step S210: and acquiring a navigation destination.
Step S220: and acquiring a face image acquired by the camera.
In the embodiment of the application, after the navigation destination is obtained and the intelligent makeup recommending mode is started, the camera collects the whole face of the user, the terminal equipment obtains the basic facial information of the user, collected by the camera and recorded by the camera sensor, and therefore the face image collected by the camera is obtained. The camera shooting range of the camera can guarantee that the full-face image of the user is collected.
Step S230: and detecting whether the face image is a female face image.
In some embodiments, the detecting whether the face image is a female face image may be detecting whether the face image is a female face image by scanning a full image of the face image using a model such as EigenFace algorithm, FisherFace algorithm, LBPH algorithm, CNN (convolutional neural network), RNN (recurrent neural network), GAN (antagonistic generating network), and the like. For example, the FisherFace algorithm mainly uses the idea of LDA (linear projection analysis), projects a male and female sample in a sample space onto a straight line passing through an origin, ensures that the projection intra-class distance of the sample on the line is minimum and the inter-class distance is maximum, so as to separate a boundary for identifying male and female, distinguishes the gender of a face image according to the boundary, obtains the face image projected onto the straight line passing through the origin when the face image is scanned by using the FisherFace algorithm, and detects whether the face image is a female face image according to the relationship between the straight line and the boundary.
Step S240: and if so, obtaining the makeup type matched with the navigation destination according to the navigation destination.
In the embodiment of the application, if the face image is detected to be a female face image, the makeup type matched with the navigation destination is obtained according to the navigation destination. For a specific implementation process, reference may be made to the foregoing specific description of step S120, which is not described herein in detail.
If the face image is detected not to be the female face image, the intelligent makeup recommending mode is automatically closed, and when the navigation destination is obtained next time, the step S220 and the subsequent steps are executed.
Step S250: and obtaining makeup recommendation information corresponding to the makeup type.
For the specific implementation process of step S250, reference may be made to the foregoing specific description of step S130, which is not described herein in detail.
The makeup information acquisition method provided by the embodiment of the application acquires the navigation destination; acquiring a face image acquired by a camera; detecting whether the face image is a female face image; if yes, obtaining a makeup type matched with the navigation destination according to the navigation destination; and obtaining makeup recommendation information corresponding to the makeup type. By adopting the method, when the user goes to different destinations and needs to search for appropriate makeup for makeup or make-up, the makeup recommendation information corresponding to the makeup type matched with the navigation destination is obtained according to the obtained navigation destination and when the user is detected to be female, so that the time of the user is saved, and meanwhile, the user can conveniently have appropriate makeup in different occasions to shape good personal images.
Referring to fig. 3, another embodiment of the present application provides a method for obtaining makeup information, which includes steps S310 to S360.
Step S310: and acquiring a navigation destination.
Step S320: and obtaining the makeup type matched with the navigation destination according to the navigation destination.
Step S330: and obtaining makeup recommendation information corresponding to the makeup type.
For the specific implementation process of step S310 to step S330, reference may be made to the specific description of step S110 to step S130, which is not described herein in detail.
Step S340: and if the number of the makeup recommendation information corresponding to the makeup type is at least two, generating a selection interface comprising at least two pieces of makeup recommendation information.
The selection interface comprises at least two pieces of makeup recommendation information, and the selection interface can comprise an effect diagram of makeup corresponding to the at least two pieces of makeup recommendation information and a way of finishing makeup guided by the makeup recommendation information. For example, the makeup recommendation information corresponding to the pure and light makeup type includes two, a selection interface including the two pieces of makeup recommendation information is generated, the interface includes an effect diagram of the makeup corresponding to the two pieces of makeup recommendation information, and the two pieces of makeup recommendation information guide ways of finishing the makeup (one is a video way and one is a text display way).
Step S350: and in response to a selection instruction of the makeup recommendation information, selecting target makeup recommendation information from the at least two pieces of makeup recommendation information, and playing the makeup guide information in the target makeup recommendation information.
Wherein, the selection instruction of the makeup recommendation information can be a voice instruction, an instruction sent by a touch screen or an instruction sent by key operation; and in response to a selection instruction of the makeup recommendation information, selecting target makeup recommendation information from the at least two pieces of makeup recommendation information, and playing the makeup guide information in the target makeup recommendation information. And if the makeup guidance information in the target makeup recommendation information is a makeup video course, playing a makeup course video, and if the makeup guidance information in the target makeup recommendation information is a text content, playing a text content.
In some embodiments, when in response to a selection instruction of the makeup recommendation information, target makeup recommendation information is selected from the at least two pieces of makeup recommendation information, and when the makeup guide information in the target makeup recommendation information is played, the terminal device displays a makeup effect drawing corresponding to the makeup guide information in the target makeup recommendation information.
Step S360: and acquiring the current face image of the user after the guide flow contained in the makeup guide information is finished.
In the embodiment of the present application, the completion of the guidance procedure included in the makeup guidance information may be the completion of the playing of the makeup video tutorial included in the makeup guidance information, or the completion of the playing of the makeup guidance text information included in the makeup guidance information. And when the guide process contained in the makeup guide information is finished, the terminal equipment acquires the current face image of the user through a camera and acquires the face image through a camera sensor.
Step S370: and determining whether the makeup of the user reaches a preset condition according to the current face image.
In the embodiment of the application, determining whether the makeup of the user reaches a predetermined condition according to the current face image may be that the current face image is input to a preset makeup detection model corresponding to the makeup type to obtain makeup information corresponding to the makeup type, wherein the preset makeup detection model is used for representing a corresponding relationship between the face image and the makeup information; determining whether the makeup of the user reaches a predetermined condition according to the makeup information.
The preset makeup detection model can be stored in the makeup database in advance, can be obtained from a cloud or a device associated with the terminal device through a wireless communication technology, and can be obtained from the associated device by using the SPI. The preset makeup detection model is used for representing the corresponding relation between a face image and makeup information, the preset makeup detection model is obtained through third party experimental data training, and the preset makeup detection model can be an AlexNet model, a VGG19 (FAST neural network) model, a ResNet _152 (residual error network) model, an Inception V4 model, a Densenet model, an OverFeat model, an R-CNN model, an SPP-net model, a FAST R-CNN model, an R-FCN model, a YOLO model and other models capable of carrying out image detection. For example, a Fast R-CNN model is used as a preset makeup detection model to detect a face image, and the detection mainly comprises the following steps: inputting the whole face image into the model, and obtaining a characteristic layer of the image by using a CNN (convolutional neural network); extracting candidate frames from an original image by using a Selective Search method and the like, and projecting the candidate frames to a final feature layer one by one; carrying out RoI Pooling operation on each candidate region candidate frame on the feature layer to obtain feature representation with fixed size; then, through two full-connection layers, multi-classification is respectively carried out by using a Softmax (logistic regression model) for target recognition, and fine adjustment of the position and the size of a frame is carried out by using the regression model, so that the corresponding relation between the face image and the makeup information is obtained.
In the embodiment of the application, the predetermined condition may be stored in the makeup database in advance, may be obtained from a cloud or a device associated with the terminal device through a wireless communication technology, or may be obtained from an associated device by using an SPI. The predetermined conditions are obtained through third-party experimental data training, and the predetermined conditions may include eyebrow and eyebrow similarity, color density of eye shadow, color depth of lipstick, color density of blush, and the like.
The determining whether the makeup of the user reaches the predetermined condition according to the makeup information may be that the current face image is input to a preset makeup detection model corresponding to the makeup type to obtain makeup information corresponding to the makeup type, the makeup information is compared with a makeup effect map corresponding to the makeup type obtained according to the navigation destination, and if the makeup information of the face image meets the predetermined condition, it is determined that the makeup of the user reaches the predetermined condition; otherwise the makeup of the user does not meet the predetermined condition. If, the predetermined conditions are: similarity between eyelashes in the correspondence relationship between the face image and the makeup information and eyelashes in a makeup effect diagram corresponding to a makeup type obtained according to the navigation destination, similarity between eyebrows in the correspondence relationship between the face image and the makeup information and eyebrows in a makeup effect diagram corresponding to a makeup type obtained according to the navigation destination, similarity between eye shadows in the correspondence relationship between the face image and the makeup information and eye shadows in a makeup effect diagram corresponding to a makeup type obtained according to the navigation destination, similarity between lip color in the correspondence relationship between the face image and the makeup information and lip color in a makeup effect diagram corresponding to a makeup type obtained according to the navigation destination, and similarity between cheek red in the correspondence relationship between the face image and the makeup information and cheek red in a makeup effect diagram corresponding to a makeup type obtained according to the navigation destination are all equal to or greater than 70%, it is determined that the makeup of the user reaches a predetermined condition, otherwise the makeup of the user does not reach the predetermined condition. When the similarity between the eyelashes in the corresponding relationship between the face image and the makeup information and the eyelashes in the makeup effect chart corresponding to the makeup type obtained according to the navigation destination is 80% (more than 70%), the similarity between the eyebrows in the corresponding relationship between the face image and the makeup information and the eyebrows in the makeup effect chart corresponding to the makeup type obtained according to the navigation destination is 78% (more than 70%), the similarity between the eyeshadow in the corresponding relationship between the face image and the makeup information and the eyeshadow in the makeup effect chart corresponding to the makeup type obtained according to the navigation destination is 70% (equal to 70%), and the similarity between the lip color in the corresponding relationship between the face image and the makeup information and the lip color in the makeup effect chart corresponding to the makeup type obtained according to the navigation destination is 76% (more than 70%) And when the similarity between the blush in the corresponding relation between the face image and the makeup information and the blush in the makeup effect diagram corresponding to the makeup type obtained according to the navigation destination is 82% (more than 70%), determining that the makeup of the user reaches a preset condition.
Step S380: and if the makeup does not meet the preset condition, outputting information for prompting the user to make up.
In this embodiment of the application, the outputting of the information for prompting the user to make up may be that the terminal device directly outputs a voice prompt, plays a video, displays a generated text interface, and the like to prompt the user to make up, or that the terminal device outputs prompt information such as a voice prompt, a video play, a generated text display interface, and the like through a wireless communication technology to be transmitted to an associated device, and the associated device outputs the information for prompting the user to make up.
In an embodiment of the application, the information for prompting the user to make up includes at least one of a name of a part to be made up and a color of a cosmetic required for making up. Wherein, the name of the part to be made up can be eyebrow, eyelash, lip, eye make-up and other parts; the color of the makeup cosmetic may be eyebrow pencil color, blush color, lipstick color, eye shadow color, etc. If, the information for prompting the user to make up is voice information: lip, lipstick, bright red.
The makeup information acquisition method provided by the embodiment of the application acquires the navigation destination; obtaining a makeup type matched with the navigation destination according to the navigation destination; obtaining makeup recommendation information corresponding to the makeup type; if the number of the makeup recommendation information corresponding to the makeup type is at least two, generating a selection interface comprising at least two pieces of makeup recommendation information; in response to a selection instruction of the makeup recommendation information, selecting target makeup recommendation information from the at least two pieces of makeup recommendation information, and playing makeup guide information in the target makeup recommendation information; after the guide process contained in the makeup guide information is finished, acquiring a current face image of the user; determining whether the makeup of the user reaches a preset condition according to the current face image; and if the makeup does not meet the preset condition, outputting information for prompting the user to make up. By adopting the method, when a user goes to different destinations and needs to search for appropriate makeup for makeup or make up, the makeup recommendation information of the makeup type matched with the navigation destination is obtained according to the navigation destination, after a guide flow contained in the makeup recommendation information is completed, whether the current face makeup of the user reaches a preset condition is detected, and when the makeup does not reach the preset condition, the user is prompted to make up, so that the time of the user is saved, and the user can conveniently have appropriate and perfect makeup in different occasions to shape good personal images of the user.
Referring to fig. 4, which shows a makeup information obtaining apparatus according to an embodiment of the present application, the makeup information obtaining apparatus 400 includes: a destination obtaining unit 410, a makeup type obtaining unit 420, and a makeup course obtaining unit 430. Specifically, the destination acquisition unit 410 is configured to acquire a navigation destination; a makeup type obtaining unit 420 for obtaining a makeup type matching the navigation destination according to the navigation destination; the makeup tutorial acquisition unit 430 is used for acquiring makeup recommendation information corresponding to the makeup type.
In some embodiments, the destination obtaining unit 410 has a navigation function, and automatically starts the intelligent makeup recommendation mode when the user inputs a destination to be navigated. The makeup type obtaining unit 420 includes a makeup database, which may include makeup effect diagrams and makeup step videos of makeup types such as a clear makeup type, a beautifully embellished makeup type, a sweat-proof makeup type, a day makeup type, a korean makeup type, a self-wound makeup type, and the like, may further include a preset correspondence between a travel purpose and a makeup type, and may further include a preset matching relationship between a travel destination and a makeup type. The makeup type obtaining unit 420 is configured to obtain a face image collected by the camera, detect whether the face image is a female face image, and obtain a makeup type matched with the navigation destination according to the navigation destination if the face image is the female face image. Specifically, the obtaining of the makeup type matched with the navigation destination according to the navigation destination may be obtaining a user travel purpose according to the navigation destination; and obtaining the makeup type corresponding to the travel purpose according to the preset corresponding relation between the travel purpose and the makeup type. The makeup tutor obtaining unit 430 includes a display, which may be configured to display an interface including generated prompt information of at least two makeup types if the makeup types matched with the navigation destination are at least two, and may be configured to receive a makeup selection instruction fed back based on the prompt information, and transmit the makeup selection instruction to a terminal device, so that the terminal device selects a target makeup type from the at least two makeup types in response to the makeup selection instruction, and finally obtains the makeup recommendation information corresponding to the target makeup type.
It should be noted that, the embodiments of the present disclosure are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For any processing manner described in the method embodiment, all the processing manners may be implemented by corresponding processing modules in the apparatus embodiment, and details in the apparatus embodiment are not described again.
Referring to fig. 5, based on the aforementioned method for obtaining makeup information, the present application further provides another vehicle 500 including a processor capable of executing the aforementioned method for obtaining makeup information, where the vehicle 500 further includes: a display 510, a camera 520, one or more processors 530, memory 540, and one or more applications. The display 510 is used for playing video, displaying an interface of prompt information, receiving a makeup selection instruction fed back by a user based on the prompt information, and displaying a certain electronic file on the screen through a specific transmission device and reflecting the electronic file to human eyes; the camera 520 is used for shooting an image of a designated area in the vehicle, and can acquire a face image in the foregoing embodiment; the processor 530 may execute the program stored in the memory 540, and the memory 540 stores the program that can execute the contents of the foregoing embodiments.
The display 510 may be composed of a display circuit, a display device, and a power supply, and is used for displaying images, playing videos, displaying interfaces of generated prompt messages, and the like. The display may receive touch screen information.
The camera 520 may include a lens portion, an LED portion, a chip portion, a PCB and a component portion, where an optical image generated by a user's face through the lens is projected onto the surface of the image sensor, then converted into an electrical signal, converted into a digital image signal through a/D conversion, and then sent to a digital signal processing chip for processing, and then transmitted to a processor such as a computer through a USB interface to generate a face image.
Processor 530 may include one or more cores to process data and a message matrix unit. The processor 530 interfaces with various components throughout the electronic device 500 using various interfaces and circuitry to perform various functions of the electronic device 500 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 540 and invoking data stored in the memory 540. Alternatively, the processor 530 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 530 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 530, but may be implemented by a communication chip.
The Memory 540 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 540 may be used to store instructions, programs, code sets, or instruction sets. The memory 540 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as obtaining a navigation destination, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal in use (such as effect maps of different makeup types, different makeup tutorial videos, predetermined conditions, etc.).
In some embodiments, the vehicle 500 may include a central processor for performing various functions and data processing of the vehicle, such as navigation, whether the face image collected by the camera is a female face image, generating information prompting the user to make up, and the like; the display 510 installed in the vehicle 500 may be used to display time, play video, navigate, display different interfaces generated by the central control processor, such as playing a cosmetic tutorial video; the camera 520 is disposed on the vehicle and is configured to capture an image of a designated area in the vehicle. For example, when the camera 520 is installed in the a pillar of the vehicle 500 for capturing images of the driver's seat and the passenger seat area in the vehicle 500, the camera 520 may capture a full-face image of a user when the user is present in the driver's seat/passenger seat area of the vehicle 500; when the camera 520 is installed in the B-pillar of the vehicle 500 for photographing an image of a rear seat area in the vehicle 500, the camera 520 may capture a full-face image of a user when the user is present in the rear seat area of the vehicle 500. It should be appreciated that the camera 520 is mounted in a position that ensures that the camera 520 can detect the full face of the user.
Referring to fig. 6, a block diagram of a computer-readable storage medium 600 according to an embodiment of the present application is shown. The computer-readable storage medium 600 has stored therein a program code 610, said program code 610 being invokable by the processor for performing the method described in the above-described method embodiments.
The computer-readable storage medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 600 includes a non-volatile computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 for performing any of the method steps of the method described above. The program code 610 can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. A method for obtaining makeup information, comprising:
acquiring a navigation destination;
obtaining a makeup type matched with the navigation destination according to the navigation destination;
and obtaining makeup recommendation information corresponding to the makeup type.
2. The makeup information obtaining method according to claim 1, wherein before obtaining the makeup type matching the navigation destination according to the navigation destination, the method further comprises:
acquiring a face image acquired by a camera;
detecting whether the face image is a female face image;
if yes, a step of obtaining the makeup type matched with the navigation destination according to the navigation destination is executed.
3. The makeup information obtaining method according to claim 1, wherein obtaining a makeup type matching the navigation destination according to the navigation destination includes:
obtaining a user travel purpose according to the navigation destination;
and obtaining the makeup type matched with the travel purpose according to the preset matching relation between the travel purpose and the makeup type.
4. The makeup information obtaining method according to claim 1, wherein if the makeup types matched with the navigation destination are at least two, said obtaining makeup recommendation information corresponding to the makeup types includes:
generating a reminder message including the at least two makeup types;
receiving a makeup selection instruction based on the prompt information feedback;
and selecting a target makeup type from the at least two makeup types in response to the makeup selection instruction, and acquiring makeup recommendation information corresponding to the target makeup type.
5. The makeup information acquiring method according to claim 1, wherein if there are at least two makeup recommendation information corresponding to the makeup type, the method further comprises:
generating a selection interface comprising at least two pieces of makeup recommendation information;
and in response to a selection instruction of the makeup recommendation information, selecting target makeup recommendation information from the at least two pieces of makeup recommendation information, and playing the makeup guide information in the target makeup recommendation information.
6. The dressing information acquiring method according to claim 5, characterized by further comprising:
after the guide process contained in the makeup guide information is finished, acquiring a current face image of the user;
determining whether the makeup of the user reaches a preset condition according to the current face image;
and if the makeup does not meet the preset condition, outputting information for prompting the user to make up.
7. The makeup information obtaining method according to claim 6, wherein said determining whether the makeup of the user reaches a predetermined condition based on the current face image includes:
inputting the current face image into a preset makeup detection model corresponding to the makeup type to obtain makeup information corresponding to the makeup type, wherein the preset makeup detection model is used for representing the corresponding relation between the face image and the makeup information;
determining whether the makeup of the user reaches a predetermined condition according to the makeup information.
8. The makeup information obtaining method according to claim 7, wherein said information for prompting the user to make up includes at least one of a name of a part to be made up and a color of a cosmetic required for makeup.
9. The makeup information acquisition method according to claim 1, wherein the makeup information acquisition method is applied to a vehicle in which an atmosphere lamp is provided, the method further comprising:
obtaining atmosphere lamp parameters matched with the navigation destination according to the navigation destination;
and controlling the work of the atmosphere lamp according to the atmosphere lamp parameters.
10. A makeup information acquiring apparatus characterized by comprising:
a destination acquisition unit for acquiring a navigation destination;
a makeup type obtaining unit for obtaining a makeup type matching the navigation destination according to the navigation destination;
a makeup tutorial acquisition unit for acquiring makeup recommendation information corresponding to the makeup type.
11. A vehicle, characterized by comprising:
a camera for capturing an image of a designated area within the vehicle;
a display;
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-9.
12. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 9.
CN202111422055.8A 2021-11-26 2021-11-26 Dressing information acquisition method and device, vehicle and storage medium Pending CN114021022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111422055.8A CN114021022A (en) 2021-11-26 2021-11-26 Dressing information acquisition method and device, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111422055.8A CN114021022A (en) 2021-11-26 2021-11-26 Dressing information acquisition method and device, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN114021022A true CN114021022A (en) 2022-02-08

Family

ID=80066676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111422055.8A Pending CN114021022A (en) 2021-11-26 2021-11-26 Dressing information acquisition method and device, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN114021022A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473110A (en) * 2023-12-27 2024-01-30 成都白泽智汇科技有限公司 Dressing matching method combined with regional environment characteristic assistance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473110A (en) * 2023-12-27 2024-01-30 成都白泽智汇科技有限公司 Dressing matching method combined with regional environment characteristic assistance
CN117473110B (en) * 2023-12-27 2024-03-12 成都白泽智汇科技有限公司 Dressing matching method combined with regional environment characteristic assistance

Similar Documents

Publication Publication Date Title
US20210192858A1 (en) Electronic device for generating image including 3d avatar reflecting face motion through 3d avatar corresponding to face and method of operating same
CN107894833B (en) Multi-modal interaction processing method and system based on virtual human
US20200402304A1 (en) Electronic device and method for managing custom object on basis of avatar
CN112396679B (en) Virtual object display method and device, electronic equipment and medium
WO2022227393A1 (en) Image photographing method and apparatus, electronic device, and computer readable storage medium
CN111432267B (en) Video adjusting method and device, electronic equipment and storage medium
US11776187B2 (en) Digital makeup artist
US20220202168A1 (en) Digital makeup palette
US11961169B2 (en) Digital makeup artist
CN114007099A (en) Video processing method and device for video processing
KR20180118669A (en) Intelligent chat based on digital communication network
CN112000221A (en) Method for automatically detecting skin, method for automatically guiding skin care and makeup and terminal
CN114021022A (en) Dressing information acquisition method and device, vehicle and storage medium
CN112083863A (en) Image processing method and device, electronic equipment and readable storage medium
US11321882B1 (en) Digital makeup palette
CN111506184A (en) Avatar presenting method and electronic equipment
CN114022651A (en) Vehicle interior makeup detection method and device, vehicle and storage medium
KR20220004156A (en) Car cabin interaction method, device and vehicle based on digital human
JP2024505359A (en) digital makeup artist
JP2024506454A (en) digital makeup palette
CN114758037A (en) Image generation method and device, terminal equipment and storage medium
CN117351105A (en) Image editing method, terminal and electronic equipment
KR20200092207A (en) Electronic device and method for providing graphic object corresponding to emotion information thereof

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