CN109460511B - Method and device for acquiring user portrait, electronic equipment and storage medium - Google Patents
Method and device for acquiring user portrait, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109460511B CN109460511B CN201811248816.0A CN201811248816A CN109460511B CN 109460511 B CN109460511 B CN 109460511B CN 201811248816 A CN201811248816 A CN 201811248816A CN 109460511 B CN109460511 B CN 109460511B
- Authority
- CN
- China
- Prior art keywords
- current user
- user
- application system
- feature information
- portrait
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 210000004709 eyebrow Anatomy 0.000 claims description 23
- 210000004209 hair Anatomy 0.000 claims description 23
- 230000001815 facial effect Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000012512 characterization method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a method and a device for acquiring a user portrait, electronic equipment and a storage medium. The method comprises the following steps: acquiring face feature information of a current user in each application system; acquiring a current user portrait of the current user in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. The user picture can be more comprehensively obtained, and the user characteristics can be more accurately described.
Description
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a method and a device for acquiring a user portrait, electronic equipment and a storage medium.
Background
The user portrait is a means for outlining the characteristics of a target user, and can be expressed by acquiring descriptive tag attributes for the user, so that real personal characteristics of the user in multiple aspects are outlined by utilizing the tag attributes, user demands can be mined by utilizing the user portrait, user preferences are analyzed, more efficient and more targeted information transmission is provided for the user by matching the user portrait, and user experience more close to personal habits is achieved.
In the prior art, there are various methods for obtaining a user portrait, and a tag attribute describing a user can be extracted from information associated with the user, so as to obtain the user portrait. However, factors such as the type, source and data form of the user tag attribute are too complicated, and for example, static information such as: name, gender, and also dynamic information such as: location, purchasing habits, etc. Some are expressed by words, and some are expressed by numerical values. The more the label attributes, the more accurate the characterization of the user features. However, in the conventional method for acquiring the user portrait, the user portrait of the user in the system can be acquired only for one application system, and the acquired user portrait is not comprehensive enough, so that the user characteristic is not accurately depicted.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for obtaining a user portrait, so that the user portrait can be obtained more comprehensively, and further user characteristics can be described more accurately.
In a first aspect, an embodiment of the present invention provides a method for obtaining a user portrait, where the method includes:
acquiring face feature information of a current user in each application system;
acquiring a current user portrait of the current user in each application system according to the face feature information of the current user in each application system;
and determining a target user portrait of the current user according to the current user portrait of the current user in each application system.
In the above embodiment, the obtaining of the face feature information of the current user in each application system includes:
acquiring at least one face image of the current user in each application system;
and determining the face feature information of the current user in each application system in at least one face image of the current user in each application system.
In the above embodiment, the obtaining, in each application system, a current user portrait of the current user according to the face feature information of the current user in each application system includes:
determining the user identification of the current user according to the face feature information of the current user in each application system;
and acquiring the current user portrait of the current user in each application system according to the user identification of the current user.
In the above embodiment, the obtaining, in each application system, the current user representation of the current user according to the user identifier of the current user includes:
searching a user portrait corresponding to a user identification in each application system according to the user identification of the current user;
if the user portrait corresponding to the user identifier is found in each application system, determining the user portrait corresponding to the user identifier as the current user portrait of the current user;
and if the user portrait corresponding to the user identifier is not found in each application system, determining a predetermined user portrait as the current user portrait of the current user.
In the above embodiment, the determining a target user representation of the current user according to the current user representation of the current user in each application system includes:
performing feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user;
and determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user. .
In a second aspect, an embodiment of the present invention provides an apparatus for obtaining a user representation, the apparatus including: the device comprises an acquisition module and a determination module; wherein,
the acquisition module is used for acquiring the face feature information of the current user in each application system; acquiring a current user portrait of the current user in each application system according to the face feature information of the current user in each application system;
and the determining module is used for determining the target user portrait of the current user according to the current user portrait of the current user in each application system.
In the above embodiment, the obtaining module includes: obtaining a submodule and determining a submodule; wherein,
the acquisition submodule is used for acquiring at least one face image of the current user in each application system;
the determining submodule is used for determining the face feature information of the current user in each application system in at least one face image of the current user in each application system.
In the above embodiment, the determining sub-module is further configured to determine the user identifier of the current user according to the facial feature information of the current user in each application system;
the obtaining submodule is further used for obtaining the current user portrait of the current user in each application system according to the user identification of the current user.
In the above embodiment, the obtaining sub-module is specifically configured to search, in each application system, a user portrait corresponding to a user identifier according to the user identifier of a current user; if the user portrait corresponding to the user identifier is found in each application system, determining the user portrait corresponding to the user identifier as the current user portrait of the current user; and if the user portrait corresponding to the user identifier is not found in each application system, determining a predetermined user portrait as the current user portrait of the current user.
In the above embodiment, the determining module is specifically configured to perform feature clustering on the current user portrait of the current user in each application system, and obtain a feature clustering result corresponding to the current user; and determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of capturing a representation of a user as described in any of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for capturing a user representation according to any embodiment of the present invention.
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for acquiring a user portrait, which are characterized by firstly acquiring face feature information of a current user in each application system; then, acquiring the current user portrait of the current user in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. That is to say, in the technical scheme of the present invention, the current user portrait of the current user can be obtained in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. In the existing method for acquiring the user portrait, the user portrait of the user in the system can be acquired only by aiming at one application system, and the acquired user portrait is not comprehensive enough, so that the characterization of the user characteristic is not accurate enough. Therefore, compared with the prior art, the method, the device, the electronic equipment and the storage medium for acquiring the user portrait provided by the embodiment of the invention can acquire the user portrait more comprehensively, and further can accurately depict the user characteristics; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Drawings
FIG. 1 is a flowchart illustrating a method for obtaining a user representation according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for obtaining a user portrait according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for obtaining a user portrait according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a first structure of an apparatus for obtaining a user representation according to a fourth embodiment of the present invention;
FIG. 5 is a schematic diagram of a second structure of an apparatus for obtaining a user representation according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart illustrating a method for obtaining a user representation according to an embodiment of the present invention, where the method may be performed by an apparatus or an electronic device for obtaining a user representation, where the apparatus or the electronic device may be implemented by software and/or hardware, and the apparatus or the electronic device may be integrated in any intelligent device with a network communication function. As shown in FIG. 1, a method of obtaining a user representation may include the steps of:
s101, obtaining face feature information of a current user in each application system.
In the specific embodiment of the present invention, the electronic device may obtain face feature information of a current user in each application system. Specifically, the electronic device may first obtain at least one facial image of the current user in each application system; and then determining the face feature information of the current user in each application system in at least one face image of the current user in each application system. In an embodiment of the present invention, the face image may include: a nose region image, an eye region image, an eyebrow region image, a mouth region image, an ear region image, and a hair region image; therefore, the electronic device may determine the nose feature information of the current user in the nose region image; the eye feature information of the current user can be determined in the eye area image; the eyebrow feature information of the current user can be determined in the eyebrow area image; the mouth characteristic information of the current user can be determined in the mouth area image; the ear feature information of the current user can also be determined in the ear region image; the hair characteristic information of the current user can also be determined in the hair region image. Then, the electronic device can perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in each application system, and obtain face feature information of the current user in each application system.
And S102, acquiring the current user portrait of the current user in each application system according to the face feature information of the current user in each application system.
In a specific embodiment of the present invention, the electronic device may obtain a current user portrait of the current user in each application system according to the face feature information of the current user in each application system. Specifically, the electronic device may perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information, and hair feature information of the current user in the application system 1, and obtain face feature information 1 of the current user in the application system 1; then, acquiring a current user portrait 1 of the current user in the application system 1 according to the face feature information 1 of the current user in the application system 1; the electronic equipment can also perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in the application system 2, and acquire face feature information 2 of the current user in the application system 2; then, acquiring a current user portrait 2 of the current user in the application system 2 according to the face feature information 1 of the current user in the application system 2; …, respectively; the electronic equipment can also perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in the application system M, and acquire face feature information M of the current user in the application system M; then, acquiring a current user portrait M of the current user in the application system M according to the face feature information M of the current user in the application system M; wherein M is a natural number greater than 1.
S103, determining a target user portrait of the current user according to the current user portrait of the current user in each application system.
In particular embodiments of the present invention, the electronic device may determine a target user representation for a current user based on a current user representation of the current user in various application systems. Specifically, the electronic device can perform feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user; and then determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user.
The method for acquiring the user portrait provided by the embodiment of the invention comprises the steps of firstly acquiring face feature information of a current user in each application system; then, acquiring the current user portrait of the current user in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. That is to say, in the technical scheme of the present invention, the current user portrait of the current user can be obtained in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. In the existing method for acquiring the user portrait, the user portrait of the user in the system can be acquired only by aiming at one application system, and the acquired user portrait is not comprehensive enough, so that the characterization of the user characteristic is not accurate enough. Therefore, compared with the prior art, the method for acquiring the user portrait provided by the embodiment of the invention can acquire the user portrait more comprehensively, and further can accurately depict the user characteristics; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example two
FIG. 2 is a flowchart illustrating a method for obtaining a user portrait according to a second embodiment of the present invention. As shown in FIG. 2, a method of obtaining a user representation may include the steps of:
s201, at least one face image of the current user in each application system is obtained.
In a specific embodiment of the present invention, the electronic device may acquire at least one face image of a current user in each application system. Specifically, the electronic device may acquire at least one face image of a current user in the application system 1; at least one face image of the current user in the application system 2 can be obtained; …, respectively; at least one face image of the current user in the application system M can be obtained; wherein M is a natural number greater than 1.
S202, determining face feature information of the current user in each application system in at least one face image of the current user in each application system.
In a specific embodiment of the present invention, the electronic device may determine, in at least one facial image of the current user in each application system, facial feature information of the current user in each application system. Specifically, the electronic device may determine, in at least one face image in the application system 1, face feature information 1 of a current user in the application system 1; the face feature information 2 of the current user in the application system 2 can also be determined in at least one face image in the application system 2; …, respectively; the face feature information M of the current user in the application system M may also be determined in at least one face image in the application system M. In an embodiment of the present invention, the face image may include: a nose region image, an eye region image, an eyebrow region image, a mouth region image, an ear region image, and a hair region image; therefore, the electronic device may determine the nose feature information of the current user in the nose region image; the eye feature information of the current user can be determined in the eye area image; the eyebrow feature information of the current user can be determined in the eyebrow area image; the mouth characteristic information of the current user can be determined in the mouth area image; the ear feature information of the current user can also be determined in the ear region image; the hair characteristic information of the current user can also be determined in the hair region image. Then, the electronic device can perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in each application system, and obtain face feature information of the current user in each application system.
S203, obtaining the current user portrait of the current user in each application system according to the face feature information of the current user in each application system.
In a specific embodiment of the present invention, the electronic device may obtain a current user portrait of the current user in each application system according to the face feature information of the current user in each application system. Specifically, the electronic device may determine a user identifier of the current user according to face feature information of the current user in each application system; and then, acquiring the current user portrait of the current user in each application system according to the user identification of the current user. Specifically, the electronic device may perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information, and hair feature information of the current user in the application system 1, to obtain face feature information 1 of the current user in the application system 1; then, determining the user identification of the current user according to the face feature information 1 of the current user in the application system 1; then, acquiring a current user portrait 1 of the current user in the application system 1 according to the user identification of the current user; the electronic equipment can also perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in the application system 2 to obtain face feature information 2 of the current user in the application system 2; then, determining the user identification of the current user according to the face feature information 1 of the current user in the application system 2; then, acquiring a current user portrait 2 of the current user in the application system 2 according to the user identification of the current user; …, respectively; the electronic equipment can also perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in the application system M to acquire face feature information M of the current user in the application system M; then, determining the user identification of the current user according to the face feature information M of the current user in the application system M; then, acquiring a current user portrait M of the current user in the application system M according to the user identification of the current user; wherein M is a natural number greater than 1.
Preferably, in the embodiment of the present invention, the electronic device may search, in each application system, a user representation corresponding to the user identifier according to the user identifier of the current user; if the user portrait corresponding to the user identifier is found in each application system, the electronic equipment can determine the user portrait corresponding to the user identifier as the current user portrait of the current user; if a user representation corresponding to the user identifier is not found in each application system, the electronic device may determine the predetermined user representation as a current user representation of the current user.
And S204, determining a target user portrait of the current user according to the current user portrait of the current user in each application system.
In particular embodiments of the present invention, the electronic device may determine a target user representation for a current user based on a current user representation of the current user in various application systems. Specifically, the electronic device can perform feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user; and then determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user.
The method for acquiring the user portrait provided by the embodiment of the invention comprises the steps of firstly acquiring face feature information of a current user in each application system; then, acquiring the current user portrait of the current user in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. That is to say, in the technical scheme of the present invention, the current user portrait of the current user can be obtained in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. In the existing method for acquiring the user portrait, the user portrait of the user in the system can be acquired only by aiming at one application system, and the acquired user portrait is not comprehensive enough, so that the characterization of the user characteristic is not accurate enough. Therefore, compared with the prior art, the method for acquiring the user portrait provided by the embodiment of the invention can acquire the user portrait more comprehensively, and further can accurately depict the user characteristics; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
EXAMPLE III
FIG. 3 is a flowchart illustrating a method for obtaining a user portrait according to a third embodiment of the present invention. As shown in FIG. 3, a method of obtaining a user representation may include the steps of:
s301, at least one face image of the current user in each application system is obtained.
In a specific embodiment of the present invention, the electronic device may acquire at least one face image of a current user in each application system. Specifically, the electronic device may acquire at least one face image of a current user in the application system 1; at least one face image of the current user in the application system 2 can be obtained; …, respectively; at least one face image of the current user in the application system M can be obtained; wherein M is a natural number greater than 1.
S302, determining face feature information of the current user in each application system in at least one face image of the current user in each application system.
In a specific embodiment of the present invention, the electronic device may determine, in at least one facial image of the current user in each application system, facial feature information of the current user in each application system. Specifically, the electronic device may determine, in at least one face image in the application system 1, face feature information 1 of a current user in the application system 1; the face feature information 2 of the current user in the application system 2 can also be determined in at least one face image in the application system 2; …, respectively; the face feature information M of the current user in the application system M may also be determined in at least one face image in the application system M. In an embodiment of the present invention, the face image may include: a nose region image, an eye region image, an eyebrow region image, a mouth region image, an ear region image, and a hair region image; therefore, the electronic device may determine the nose feature information of the current user in the nose region image; the eye feature information of the current user can be determined in the eye area image; the eyebrow feature information of the current user can be determined in the eyebrow area image; the mouth characteristic information of the current user can be determined in the mouth area image; the ear feature information of the current user can also be determined in the ear region image; the hair characteristic information of the current user can also be determined in the hair region image. Then, the electronic device can perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in each application system, and obtain face feature information of the current user in each application system.
And S303, acquiring the current user portrait of the current user in each application system according to the face feature information of the current user in each application system.
In a specific embodiment of the present invention, the electronic device may obtain a current user portrait of the current user in each application system according to the face feature information of the current user in each application system. Specifically, the electronic device may determine a user identifier of the current user according to face feature information of the current user in each application system; and then, acquiring the current user portrait of the current user in each application system according to the user identification of the current user. Specifically, the electronic device may perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information, and hair feature information of the current user in the application system 1, to obtain face feature information 1 of the current user in the application system 1; then, determining the user identification of the current user according to the face feature information 1 of the current user in the application system 1; then, acquiring a current user portrait 1 of the current user in the application system 1 according to the user identification of the current user; the electronic equipment can also perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in the application system 2 to obtain face feature information 2 of the current user in the application system 2; then, determining the user identification of the current user according to the face feature information 1 of the current user in the application system 2; then, acquiring a current user portrait 2 of the current user in the application system 2 according to the user identification of the current user; …, respectively; the electronic equipment can also perform special clustering on nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information and hair feature information of the current user in the application system M to acquire face feature information M of the current user in the application system M; then, determining the user identification of the current user according to the face feature information M of the current user in the application system M; then, acquiring a current user portrait M of the current user in the application system M according to the user identification of the current user; wherein M is a natural number greater than 1.
Preferably, in the embodiment of the present invention, the electronic device may search, in each application system, a user representation corresponding to the user identifier according to the user identifier of the current user; if the user portrait corresponding to the user identifier is found in each application system, the electronic equipment can determine the user portrait corresponding to the user identifier as the current user portrait of the current user; if a user representation corresponding to the user identifier is not found in each application system, the electronic device may determine the predetermined user representation as a current user representation of the current user.
S304, performing feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user.
In the specific embodiment of the invention, the electronic device can perform feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user. Specifically, the electronic device may perform feature clustering on the current user representation 1 of the current user in the application system 1, the current user representation 2 and … of the current user in the application system 2, and the current user representation M of the current user in the application system M, to obtain a feature clustering result corresponding to the current user.
S305, determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user.
In a specific embodiment of the present invention, the electronic device may determine the feature clustering result corresponding to the current user as the target user portrait of the current user. In particular, the electronic device may determine the feature clustering results for current user representation 1, current user representation 2, …, and current user representation M as the target user representation for the current user.
The method for acquiring the user portrait provided by the embodiment of the invention comprises the steps of firstly acquiring face feature information of a current user in each application system; then, acquiring the current user portrait of the current user in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. That is to say, in the technical scheme of the present invention, the current user portrait of the current user can be obtained in each application system according to the face feature information of the current user in each application system; and determining a target user portrait of the current user according to the current user portrait of the current user in each application system. In the existing method for acquiring the user portrait, the user portrait of the user in the system can be acquired only by aiming at one application system, and the acquired user portrait is not comprehensive enough, so that the characterization of the user characteristic is not accurate enough. Therefore, compared with the prior art, the method for acquiring the user portrait provided by the embodiment of the invention can acquire the user portrait more comprehensively, and further can accurately depict the user characteristics; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example four
FIG. 4 is a schematic diagram of a first structure of an apparatus for obtaining a user portrait according to a fourth embodiment of the present invention. As shown in fig. 4, the apparatus for obtaining a user representation according to an embodiment of the present invention may include: an acquisition module 401 and a determination module 402; wherein,
the obtaining module 401 is configured to obtain face feature information of a current user in each application system; acquiring a current user portrait of the current user in each application system according to the face feature information of the current user in each application system;
the determining module 402 is configured to determine a target user representation of the current user according to the current user representation of the current user in each application system.
FIG. 5 is a second schematic structural diagram of an apparatus for obtaining a user portrait according to a fourth embodiment of the present invention. As shown in fig. 5, the obtaining module 401 includes: an obtaining sub-module 4011 and a determining sub-module 4012; wherein,
the obtaining sub-module 4011 is configured to obtain at least one facial image of the current user in each application system;
the determining sub-module 4012 is configured to determine, in at least one facial image of the current user in each application system, facial feature information of the current user in each application system.
Further, the determining sub-module 4012 is further configured to determine a user identifier of the current user according to the facial feature information of the current user in each application system;
the obtaining sub-module 4011 is further configured to obtain, in each application system, a current user representation of the current user according to the user identifier of the current user.
Further, the obtaining sub-module 4011 is specifically configured to search, in each application system, a user portrait corresponding to a user identifier according to the user identifier of the current user; if the user portrait corresponding to the user identifier is found in each application system, determining the user portrait corresponding to the user identifier as the current user portrait of the current user; and if the user portrait corresponding to the user identifier is not found in each application system, determining a predetermined user portrait as the current user portrait of the current user.
Further, the determining module 402 is specifically configured to perform feature clustering on the current user portrait of the current user in each application system, and obtain a feature clustering result corresponding to the current user; and determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user.
The device for acquiring the user portrait can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the technique not described in detail in this embodiment, reference may be made to a method for obtaining a user portrait according to any embodiment of the present invention.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 6 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 6, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Processing unit 16 executes various functional applications and data processing, such as implementing the method of capturing a user representation provided by embodiments of the present invention, by executing programs stored in system memory 28.
EXAMPLE six
The sixth embodiment of the invention provides a computer storage medium.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (12)
1. A method of capturing an image of a user, the method comprising:
acquiring face feature information of a current user in each application system of M application systems; wherein the face feature information comprises at least one of the following: nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information, and hair feature information; m is a natural number greater than 1;
acquiring a current user portrait of the current user in each application system according to the face feature information of the current user in each application system;
performing feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user; and obtaining the target user portrait of the current user based on the feature clustering result corresponding to the current user.
2. The method according to claim 1, wherein the obtaining of the face feature information of the current user in each application system comprises:
acquiring at least one face image of the current user in each application system;
and determining the face feature information of the current user in each application system in at least one face image of the current user in each application system.
3. The method of claim 2, wherein the obtaining a current user representation of the current user in each application system according to the face feature information of the current user in each application system comprises:
determining the user identification of the current user according to the face feature information of the current user in each application system;
and acquiring the current user portrait of the current user in each application system according to the user identification of the current user.
4. The method of claim 3, wherein obtaining the current user representation of the current user in each application system according to the user identification of the current user comprises:
searching a user portrait corresponding to a user identification in each application system according to the user identification of the current user;
if the user portrait corresponding to the user identifier is found in each application system, determining the user portrait corresponding to the user identifier as the current user portrait of the current user;
and if the user portrait corresponding to the user identifier is not found in each application system, determining a predetermined user portrait as the current user portrait of the current user.
5. The method of claim 1, wherein the obtaining the target user representation of the current user based on the feature clustering result corresponding to the current user comprises:
and determining the characteristic clustering result corresponding to the current user as the target user portrait of the current user.
6. An apparatus for capturing a representation of a user, the apparatus comprising: the device comprises an acquisition module and a determination module; wherein,
the acquisition module is used for acquiring the face feature information of the current user in each application system of the M application systems; wherein the face feature information comprises at least one of the following: nose feature information, eye feature information, eyebrow feature information, mouth feature information, ear feature information, and hair feature information; acquiring a current user portrait of the current user in each application system according to the face feature information of the current user in each application system; m is a natural number greater than 1;
the determining module is used for carrying out feature clustering on the current user portrait of the current user in each application system to obtain a feature clustering result corresponding to the current user; and obtaining the target user portrait of the current user based on the feature clustering result corresponding to the current user.
7. The apparatus of claim 6, wherein the obtaining module comprises: obtaining a submodule and determining a submodule; wherein,
the acquisition submodule is used for acquiring at least one face image of the current user in each application system;
the determining submodule is used for determining the face feature information of the current user in each application system in at least one face image of the current user in each application system.
8. The apparatus according to claim 7, wherein the determining sub-module is further configured to determine a user identifier of the current user according to facial feature information of the current user in each application system;
the obtaining submodule is further used for obtaining the current user portrait of the current user in each application system according to the user identification of the current user.
9. The apparatus of claim 8, wherein:
the obtaining submodule is specifically used for searching a user portrait corresponding to a user identification in each application system according to the user identification of the current user; if the user portrait corresponding to the user identifier is found in each application system, determining the user portrait corresponding to the user identifier as the current user portrait of the current user; and if the user portrait corresponding to the user identifier is not found in each application system, determining a predetermined user portrait as the current user portrait of the current user.
10. The apparatus of claim 6, wherein:
the determining module is specifically configured to determine the feature clustering result corresponding to the current user as the target user portrait of the current user.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of capturing a representation of a user as recited in any of claims 1-5.
12. A storage medium having stored thereon a computer program, characterized in that the program, when being executed by a processor, implements a method of capturing a representation of a user as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811248816.0A CN109460511B (en) | 2018-10-25 | 2018-10-25 | Method and device for acquiring user portrait, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811248816.0A CN109460511B (en) | 2018-10-25 | 2018-10-25 | Method and device for acquiring user portrait, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109460511A CN109460511A (en) | 2019-03-12 |
CN109460511B true CN109460511B (en) | 2021-10-26 |
Family
ID=65608465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811248816.0A Active CN109460511B (en) | 2018-10-25 | 2018-10-25 | Method and device for acquiring user portrait, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460511B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110246280B (en) * | 2019-05-30 | 2022-03-25 | 北京百度网讯科技有限公司 | Human-cargo binding method and device, computer equipment and readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104933049A (en) * | 2014-03-17 | 2015-09-23 | 华为技术有限公司 | Method and system for generating digital human |
CN107301578A (en) * | 2016-04-15 | 2017-10-27 | 上海新飞凡电子商务有限公司 | Obtain and recognize the method and its device of customer information |
CN107341206A (en) * | 2017-06-23 | 2017-11-10 | 南京甄视智能科技有限公司 | Accurately user's portrait system and method is built based on multiple data sources |
CN108628980A (en) * | 2018-04-27 | 2018-10-09 | 四川斐讯信息技术有限公司 | A kind of user's portrait method and system based on user network behavior |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956051A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Information finding method, device and system |
CN106844511A (en) * | 2016-12-28 | 2017-06-13 | 广州联客信息科技有限公司 | Syndication search method and system |
CN107256495A (en) * | 2017-05-27 | 2017-10-17 | 上海非码网络科技有限公司 | Method and system, the server of customer base are divided by label based on multi-platform data |
CN107423385A (en) * | 2017-07-19 | 2017-12-01 | 安徽拓通信科技集团股份有限公司 | User's deep layer label method for digging based on big data |
CN107659611B (en) * | 2017-08-14 | 2020-11-06 | 北京五八信息技术有限公司 | Big data-based user head portrait generation method, device and system |
CN107798118A (en) * | 2017-11-08 | 2018-03-13 | 北京奇虎科技有限公司 | User's portrait building method, device and computing device based on big data |
-
2018
- 2018-10-25 CN CN201811248816.0A patent/CN109460511B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104933049A (en) * | 2014-03-17 | 2015-09-23 | 华为技术有限公司 | Method and system for generating digital human |
CN107301578A (en) * | 2016-04-15 | 2017-10-27 | 上海新飞凡电子商务有限公司 | Obtain and recognize the method and its device of customer information |
CN107341206A (en) * | 2017-06-23 | 2017-11-10 | 南京甄视智能科技有限公司 | Accurately user's portrait system and method is built based on multiple data sources |
CN108628980A (en) * | 2018-04-27 | 2018-10-09 | 四川斐讯信息技术有限公司 | A kind of user's portrait method and system based on user network behavior |
Also Published As
Publication number | Publication date |
---|---|
CN109460511A (en) | 2019-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10970334B2 (en) | Navigating video scenes using cognitive insights | |
US11475588B2 (en) | Image processing method and device for processing image, server and storage medium | |
CN109558604B (en) | Machine translation method and device, electronic equipment and storage medium | |
CN107909088B (en) | Method, apparatus, device and computer storage medium for obtaining training samples | |
CN107133263B (en) | POI recommendation method, device, equipment and computer readable storage medium | |
CN107895019A (en) | A kind of information recommendation method, device, server and storage medium | |
CN109684566B (en) | Label engine implementation method and device, computer equipment and storage medium | |
CN107729944A (en) | A kind of recognition methods, device, server and the storage medium of vulgar picture | |
CN109086097B (en) | Method and device for starting small program, server and storage medium | |
CN109460511B (en) | Method and device for acquiring user portrait, electronic equipment and storage medium | |
US11120074B2 (en) | Streamlining citations and references | |
CN108399128A (en) | A kind of generation method of user data, device, server and storage medium | |
CN107729347A (en) | Acquisition methods, device, equipment and the computer-readable recording medium of synonymous label | |
CN113378025B (en) | Data processing method, device, electronic equipment and storage medium | |
CN109857838B (en) | Method and apparatus for generating information | |
CN109190048B (en) | Wearing object recommendation method and device, electronic equipment and storage medium | |
CN108280139B (en) | POI data processing method, device, equipment and computer readable storage medium | |
US10970533B2 (en) | Methods and systems for finding elements in optical character recognition documents | |
CN109218771A (en) | A kind of recommended method of video program, device, electronic equipment and storage medium | |
CN111428544B (en) | Scene recognition method and device, electronic equipment and storage medium | |
CN111124862A (en) | Intelligent equipment performance testing method and device and intelligent equipment | |
CN109919121B (en) | Human body model projection method and device, electronic equipment and storage medium | |
CN111383040B (en) | Identity attribute identification method and device, electronic equipment and storage medium | |
CN109377315A (en) | A kind of information recommendation method, device, electronic equipment and storage medium | |
CN111061854B (en) | Interaction method and device of intelligent conversation and electronic equipment |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240520 Address after: 200092 Siping Road 1239, Shanghai, Yangpu District Patentee after: Zhou Xianghong Country or region after: China Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd. Country or region before: China |