CN109934246B - Head portrait identification method and device based on user ID - Google Patents

Head portrait identification method and device based on user ID Download PDF

Info

Publication number
CN109934246B
CN109934246B CN201811327391.2A CN201811327391A CN109934246B CN 109934246 B CN109934246 B CN 109934246B CN 201811327391 A CN201811327391 A CN 201811327391A CN 109934246 B CN109934246 B CN 109934246B
Authority
CN
China
Prior art keywords
information
user
electronic display
image information
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811327391.2A
Other languages
Chinese (zh)
Other versions
CN109934246A (en
Inventor
邵振华
李佐勇
阮志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Chengxin Zhichuang Technology Service Co ltd
Original Assignee
Minjiang University
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 Minjiang University filed Critical Minjiang University
Priority to CN201811327391.2A priority Critical patent/CN109934246B/en
Publication of CN109934246A publication Critical patent/CN109934246A/en
Application granted granted Critical
Publication of CN109934246B publication Critical patent/CN109934246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a head portrait identification method based on user ID, which is applied to an electronic display device, wherein the electronic display device comprises a first use form and a second use form, and the method comprises the following steps: judging whether the electronic display device is in a second use form; when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector; taking the image information as default head portrait information of the user; obtaining user ID information; acquiring historical image information according to the user ID information; comparing the default avatar information with the historical image information; and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information. The technical effects of identifying the similarity of the character features in the default avatar information and the historical image information and replacing the default avatar information are achieved.

Description

Head portrait identification method and device based on user ID
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for identifying a head portrait based on a user ID.
Background
Display devices, which may also be referred to as displays, or more generally as display screens, etc. A display device is a device that can output images or tactile information such as a braille display designed for the blind. If the input signal is an electronic signal, such a display device is called an electronic display device. Along with the continuous development of the artificial intelligence technology, the functions of the electronic display device are more powerful, and the design is more humanized.
However, in the process of implementing the technical solution in the embodiment of the present application, the inventor of the present application finds that the above prior art has at least the following technical problems:
in the prior art, the character characteristics of the user head portrait cannot be identified, so that the technical problem that the default head portrait information of the user cannot be automatically replaced exists.
Content of application
The embodiment of the application provides an avatar identification method and device based on a user ID, and aims to solve the technical problem that in the prior art, due to the fact that the character characteristics of an avatar of a user cannot be identified, default avatar information of the user cannot be automatically replaced. By acquiring the user ID information, the technical effects of identifying the character feature similarity in the default avatar information and the historical image information and replacing the default avatar information are achieved.
In order to solve the above problem, in a first aspect, an embodiment of the present application provides a method for identifying an avatar based on a user ID, which is applied to an electronic display device having an image collector, and is characterized in that the electronic display device includes a first usage form and a second usage form, where the first usage form is that the electronic display device stands on a usage desktop, and an included angle between a display surface of the electronic display device and the usage desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the method comprises the following steps: judging whether the electronic display device is in a second use form; when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector; taking the image information as default head portrait information of the user; obtaining user ID information; acquiring historical image information according to the user ID information; comparing the default avatar information with the historical image information; and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
Preferably, the obtaining of the historical image information according to the user ID information includes: acquiring a photo library of the user according to the user ID information; according to the photo library, acquiring a character feature set in the photo library; obtaining first human feature information of the default avatar information; obtaining second person characteristic information from the person characteristic set, wherein the second person characteristic information is the same as the first person characteristic information; and obtaining the historical image information according to the second person characteristic information.
Preferably, the obtaining a photo library of the user according to the user ID information includes: obtaining the storage access authority of the user ID information; if the storage access authority is allowed, obtaining the storage data of the user; and obtaining a photo library of the user according to the stored data of the user.
Preferably, the obtaining of the second personal characteristic information from the personal characteristic set, where the second personal characteristic information is the same as the first personal characteristic information, includes: judging whether the person feature information identical to the first person feature information exists in the person feature set or not; and if the person characteristic information identical to the first person characteristic information exists in the person characteristic set, obtaining second person characteristic information from the person characteristic set.
Preferably, the method further comprises: obtaining a team condition of the user; and replacing the default head portrait information of the users in the same team with the same image information according to the team condition of the users.
Preferably, the replacing default avatar information of a user in the same team with the same image information according to the team condition of the user includes: acquiring a historical image information set of users in the same team according to the team condition of the users; according to the historical image information set, obtaining resolution information of each piece of historical image information in the historical image information set; obtaining historical image information with the highest resolution according to the resolution information of each piece of historical image information; and uniformly replacing default head portrait information of users in the same team with the historical image information with the highest resolution.
In a second aspect, an embodiment of the present application further provides an avatar recognition apparatus based on a user ID, which is applied to an electronic display device, and the electronic display device has an image collector and a distance sensor, and is characterized in that the electronic display device includes a first usage form and a second usage form, where the first usage form is that the electronic display device stands on a usage desktop, and an included angle between a display surface of the electronic display device and the usage desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, the apparatus includes:
the first judging unit is used for judging whether the electronic display equipment is in a second use state or not;
the first obtaining unit is used for obtaining image information of a user according to the image collector when the electronic display device is in the second using state;
a first as unit for taking the image information as default avatar information of the user;
a second obtaining unit configured to obtain user ID information;
a third obtaining unit configured to obtain history image information according to the user ID information;
a first comparison unit for comparing the default avatar information with the history image information;
a first replacing unit, configured to replace the default avatar information as the history image information if both the default avatar information and the person in the history image information are the user.
Preferably, the third obtaining unit includes:
a fourth obtaining unit, configured to obtain a photo library of the user according to the user ID information;
a fifth obtaining unit, configured to obtain a character feature set in the photo library according to the photo library;
a sixth obtaining unit configured to obtain first human feature information of the default avatar information;
a seventh obtaining unit, configured to obtain second personal feature information from the personal feature set, where the second personal feature information is the same as the first personal feature information;
an eighth obtaining unit configured to obtain the history image information according to the second person feature information.
Preferably, the fourth obtaining unit includes:
a ninth obtaining unit configured to obtain a storage access right of the user ID information;
a tenth obtaining unit, configured to obtain the storage data of the user if the storage access right is allowed;
an eleventh obtaining unit, configured to obtain a photo library of the user according to the stored data of the user.
Preferably, the seventh obtaining unit includes:
a second determination unit configured to determine whether there is character feature information in the character feature set that is the same as the first character feature information;
a twelfth obtaining unit, configured to obtain second personal feature information from the personal feature set if the same personal feature information as the first personal feature information exists in the personal feature set.
Preferably, the apparatus further comprises:
a thirteenth obtaining unit configured to obtain a team situation of the user;
and the second replacing unit is used for replacing default head portrait information of the users in the same team with the same image information according to the team conditions of the users.
Preferably, the second replacement unit includes:
a fourteenth obtaining unit, configured to obtain, according to a team situation of the user, a historical image information set of the user in the same team;
a fifteenth obtaining unit, configured to obtain, according to the historical image information set, resolution information of each piece of historical image information in the historical image information set;
a sixteenth obtaining unit, configured to obtain, according to resolution information of each piece of history image information, history image information with a highest resolution;
and the third replacing unit is used for uniformly replacing default head portrait information of users in the same team with the historical image information with the highest resolution.
In a third aspect, an embodiment of the present application further provides an avatar recognition apparatus based on a user ID, which is applied to an electronic display device, and the electronic display device has an image collector and a distance sensor, and is characterized in that the electronic display device includes a first usage form and a second usage form, where the first usage form is that the electronic display device stands on a usage desktop, and an included angle between a display surface of the electronic display device and the usage desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the electronic display device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and the processor executes the program to realize the following steps:
judging whether the electronic display device is in a second use form;
when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector;
taking the image information as default head portrait information of the user;
obtaining user ID information;
acquiring historical image information according to the user ID information;
comparing the default avatar information with the historical image information;
and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the following steps:
judging whether the electronic display device is in a second use form;
when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector;
taking the image information as default head portrait information of the user;
obtaining user ID information;
acquiring historical image information according to the user ID information;
comparing the default avatar information with the historical image information;
and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
the embodiment of the application provides a head portrait identification method and device based on a user ID, which are applied to an electronic display device, wherein the electronic display device is provided with an image collector, and is characterized in that the electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, and an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the method comprises the following steps: judging whether the electronic display device is in a second use form; when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector; taking the image information as default head portrait information of the user; obtaining user ID information; acquiring historical image information according to the user ID information; comparing the default avatar information with the historical image information; and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information. The method and the device are used for solving the technical problem that the default head portrait information of the user cannot be automatically replaced due to the fact that the character characteristics of the head portrait of the user cannot be identified in the prior art. By acquiring the user ID information, the technical effects of identifying the character feature similarity in the default avatar information and the historical image information and replacing the default avatar information are achieved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for identifying a head portrait based on a user ID according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an avatar recognition apparatus based on user ID according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another avatar recognition apparatus based on user ID according to an embodiment of the present invention.
Description of reference numerals: a first judging unit 11, a first obtaining unit 12, a first acting unit 13, a second obtaining unit 14, a third obtaining unit 15, a first comparing unit 16, a first replacing unit 17, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304, and a bus interface 306.
Detailed Description
The embodiment of the application provides a method and a device for identifying an avatar based on a user ID (identity), which are used for solving the technical problem that the default avatar information of a user cannot be automatically replaced due to the fact that the character characteristics of the avatar of the user cannot be identified in the prior art.
In order to solve the technical problems, the technical scheme provided by the application has the following general idea: judging whether the electronic display device is in a second use form; when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector; taking the image information as default head portrait information of the user; obtaining user ID information; acquiring historical image information according to the user ID information; comparing the default avatar information with the historical image information; and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information. By acquiring the user ID information, the technical effects of identifying the character feature similarity in the default avatar information and the historical image information and replacing the default avatar information are achieved.
The technical solutions of the present application are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present application are detailed descriptions of the technical solutions of the present application, and are not limitations of the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
Example one
Fig. 1 is a schematic flow chart of an avatar recognition method based on a user ID in an embodiment of the present invention, and as shown in fig. 1, the avatar recognition method based on the user ID provided in the embodiment of the present invention is applied to an electronic display device, and the electronic display device has an image collector and a distance sensor, and is characterized in that the electronic display device includes a first usage form and a second usage form, where the first usage form is that the electronic display device stands on a usage desktop, and an included angle between a display surface of the electronic display device and the usage desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the method comprises the following steps:
step 110: judging whether the electronic display device is in a second use form;
step 120: when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector;
step 130: taking the image information as default head portrait information of the user;
step 140: obtaining user ID information;
step 150: acquiring historical image information according to the user ID information;
step 160: comparing the default avatar information with the historical image information;
step 170: and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
Specifically, the method for identifying the head portrait based on the user ID is applied to an electronic display device, wherein the electronic display device is provided with an image collector, and the image collector is used for collecting the head portrait of the user using the electronic display device. The electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle, the first use form is suitable for the situation that the number of users is small, one user is suitable, two to three users can use the electronic display device, when one user uses the electronic display device, the electronic display device can be obliquely stood on the use desktop, and under the condition that the display surface of the electronic display device and the use desktop form a certain angle, the user can more comfortably watch the electronic display device, and the eye fatigue is effectively relieved; the second use form does electronic display device lie in use on the desktop, just electronic display device's display surface is on a parallel with use the desktop, wherein, the second use form is applicable to the more condition of user's number, for example many people meeting, many people recreation etc. when more number the user is in use under the first use form during electronic display device, because it is a plurality of the user encloses simultaneously before electronic display device for be located edge or distance are far away the user sees clearly content on the electronic display device, and then make the meeting inefficiency, the experience when the user plays the recreation is greatly discounted. Therefore, an embodiment of the present application provides a display method for automatic identification of the electronic display device in the second usage form, where the method includes: firstly, whether the electronic display device is in a second use form needs to be judged, when the electronic display device is in the second use form, image information of the user is collected through the image collector, wherein the image information is face information of the user shot by the image collector, and then the image information is used as default head portrait information of the user. When a plurality of users use the electronic display device at the same time, the default avatar information of the users can enable other users to distinguish which default avatar information belongs to which user on the electronic display device, and the function of distinguishing the users is also achieved. If the user logs on a first control, wherein the first control can be APP such as WeChat, QQ, a landlord multiplayer game and the like, since the first control has a certain storage space after the user logs in ID information, wherein, the storage space can be a cloud space or a local space, the user can request to access the storage space and read the historical image information uploaded to the storage space, then comparing the default avatar information with the historical image information, identifying whether the person in the default avatar information and the person in the historical image information are the same user through a person feature identification technology, and the characters in the default avatar information and the custom avatar information are both the user himself, and at the moment, the default avatar information can be replaced by the historical image information. Further, by acquiring the user ID information, the technical effects of identifying the similarity of the character characteristics in the default avatar information and the historical image information and replacing the default avatar information are achieved.
Further, the obtaining of the historical image information according to the user ID information includes: acquiring a photo library of the user according to the user ID information; according to the photo library, acquiring a character feature set in the photo library; obtaining first human feature information of the default avatar information; obtaining second person characteristic information from the person characteristic set, wherein the second person characteristic information is the same as the first person characteristic information; and obtaining the historical image information according to the second person characteristic information.
Further, the obtaining a photo library of the user according to the user ID information includes: obtaining the storage access authority of the user ID information; if the storage access authority is allowed, obtaining the storage data of the user; and obtaining a photo library of the user according to the stored data of the user.
Further, the obtaining second person feature information from the person feature set, where the second person feature information is the same as the first person feature information, includes: judging whether the person feature information identical to the first person feature information exists in the person feature set or not; and if the person characteristic information identical to the first person characteristic information exists in the person characteristic set, obtaining second person characteristic information from the person characteristic set.
Specifically, after the user ID information is acquired, a storage access request may be issued to the storage space, and if the storage access authority is allowed, the storage data in the storage space may be accessed, so as to obtain the photo library of the user. According to the obtained photo library, a person feature recognition technology is used for obtaining a person feature set in the photo library, wherein the person feature recognition technology is called face recognition, or called face recognition, and is a biological recognition technology for carrying out identity recognition based on face feature information of a person, a camera or a camera is used for collecting images or video streams containing faces, the faces are automatically detected and tracked in the images, a series of related technologies of the faces are further carried out on the detected faces, the related technologies comprise face image collection, face positioning, face recognition preprocessing, memory storage and comparison recognition, the purpose of recognizing different person identities is achieved, then first person feature information of the default head portrait information is obtained through the person feature recognition technology, namely local components of eyes, a nose, a mouth, a chin and the like of the person in the default head portrait information are extracted, and the geometric features of the parts and the structural relationship between the parts are taken as the first person feature information, then whether person feature information which is the same as the first person feature information exists in the person feature set is judged, namely whether a user with the first person feature information exists is searched and searched in the person feature set, if the person feature information which is the same as the first person feature information exists in the person feature set, second person feature information is extracted from the person feature set, wherein the second person feature information which is the same as the first person feature information is matched with the second person feature information which is the same as the first person feature information in the person feature set, namely, the user which is the same as the person in the default head portrait information is obtained in the photo library, and finally, according to the second person characteristic information, obtaining the photos of the same user as the persons in the default avatar information from the photo library, and taking the photos as the historical image information of the user, namely the photos of the user. The technical effect of acquiring the historical image information of the user is further achieved.
Further, the method further comprises: obtaining a team condition of the user; and replacing the default head portrait information of the users in the same team with the same image information according to the team condition of the users.
Further, the replacing the default avatar information of the user in the same team with the same image information according to the team condition of the user includes: acquiring a historical image information set of users in the same team according to the team condition of the users; according to the historical image information set, obtaining resolution information of each piece of historical image information in the historical image information set; obtaining historical image information with the highest resolution according to the resolution information of each piece of historical image information; and uniformly replacing default head portrait information of users in the same team with the historical image information with the highest resolution.
Specifically, in addition to the aforementioned replacement of default avatar information of a single user, the embodiment of the present invention further provides a method for replacing default avatar information of a user in groups, which first needs to obtain a team situation of the user, that is, a grouping situation of users in a multiplayer game, and then replaces default avatar information of users in the same team with the same image information according to the team situation of the user, so as to facilitate identification and differentiation of teams, thereby preventing confusion of users and confusion of teammates and opponents of the users. For example, in a three-person fighting landowner game, two users are required to serve as a farmer role in a group, default avatar information of the two users is replaced by the farmer avatar, the remaining users serve as a lander role in a group, the default avatar information is replaced by the lander avatar, two groups play against each other, and the winning group wins the game after the cards in the hands of the group are all played. When replacing default head portrait information for a team, firstly, according to the team condition of the user, respectively obtaining historical image information of each user in the same team according to the method in step 150, collecting the historical image information of each user as a historical image information set of the team, further obtaining resolution information of each historical image information in the historical image information set, comparing the resolution information of each historical image information to obtain historical image information with the highest resolution, finally, uniformly replacing the default head portrait information of each user in the team with the historical image information with the highest resolution, further uniformly replacing the default head portrait information by the team, and achieving the technical effects of team identification, clear, convenience and quickness.
Example two
Based on the same inventive concept as the head portrait identification method based on the user ID in the foregoing embodiment, the invention further provides a head portrait identification device based on the user ID, which is applied to an electronic display device, and the electronic display device is provided with an image collector and a distance sensor, and is characterized in that the electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, and an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle; the second usage form is that the electronic display device lies on the usage desktop, and the display surface of the electronic display device is parallel to the usage desktop, as shown in fig. 2, the apparatus includes:
a first judging unit 11, wherein the first judging unit 11 is used for judging whether the electronic display device is in a second use mode;
a first obtaining unit 12, where the first obtaining unit 12 is configured to obtain image information of a user according to the image collector when the electronic display device is in the second usage form;
a first acting unit 13, the first acting unit 13 being configured to act as default avatar information of the user for the image information;
a second obtaining unit 14, the second obtaining unit 14 being configured to obtain user ID information;
a third obtaining unit 15, the third obtaining unit 15 being configured to obtain history image information according to the user ID information;
a first comparing unit 16, wherein the first comparing unit 16 is used for comparing the default head portrait information with the historical image information;
a first replacing unit 17, where the first replacing unit 17 is configured to replace the default avatar information as the history image information if both the default avatar information and the person in the history image information are the user.
Preferably, the third obtaining unit 15 includes:
a fourth obtaining unit, configured to obtain a photo library of the user according to the user ID information;
a fifth obtaining unit, configured to obtain a character feature set in the photo library according to the photo library;
a sixth obtaining unit configured to obtain first human feature information of the default avatar information;
a seventh obtaining unit, configured to obtain second personal feature information from the personal feature set, where the second personal feature information is the same as the first personal feature information;
an eighth obtaining unit configured to obtain the history image information according to the second person feature information.
Preferably, the fourth obtaining unit includes:
a ninth obtaining unit configured to obtain a storage access right of the user ID information;
a tenth obtaining unit, configured to obtain the storage data of the user if the storage access right is allowed;
an eleventh obtaining unit, configured to obtain a photo library of the user according to the stored data of the user.
Preferably, the seventh obtaining unit includes:
a second determination unit configured to determine whether there is character feature information in the character feature set that is the same as the first character feature information;
a twelfth obtaining unit, configured to obtain second personal feature information from the personal feature set if the same personal feature information as the first personal feature information exists in the personal feature set.
Preferably, the apparatus further comprises:
a thirteenth obtaining unit configured to obtain a team situation of the user;
and the second replacing unit is used for replacing default head portrait information of the users in the same team with the same image information according to the team conditions of the users.
Preferably, the second replacement unit includes:
a fourteenth obtaining unit, configured to obtain, according to a team situation of the user, a historical image information set of the user in the same team;
a fifteenth obtaining unit, configured to obtain, according to the historical image information set, resolution information of each piece of historical image information in the historical image information set;
a sixteenth obtaining unit, configured to obtain, according to resolution information of each piece of history image information, history image information with a highest resolution;
and the third replacing unit is used for uniformly replacing default head portrait information of users in the same team with the historical image information with the highest resolution.
Various changes and specific examples of the method for identifying an avatar based on a user ID in the first embodiment of fig. 1 are also applicable to the apparatus for identifying an avatar based on a user ID in the present embodiment, and those skilled in the art can clearly know the method for implementing the apparatus for identifying an avatar based on a user ID in the present embodiment through the foregoing detailed description of the method for identifying an avatar based on a user ID, so for the sake of brevity of the description, detailed descriptions thereof are omitted here.
EXAMPLE III
Based on the same inventive concept as the method for identifying the avatar based on the user ID in the foregoing embodiments, the present invention further provides an apparatus for identifying the avatar based on the user ID, on which a computer program is stored, which when executed by a processor implements the steps of any one of the methods for identifying the avatar based on the user ID described above.
Where in fig. 3 a bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 linking together various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 306 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
Example four
Based on the same inventive concept as the avatar identification method based on user ID in the foregoing embodiments, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of:
judging whether the electronic display device is in a second use form; when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector; taking the image information as default head portrait information of the user; obtaining user ID information; acquiring historical image information according to the user ID information; comparing the default avatar information with the historical image information; and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
In a specific implementation, when the program is executed by a processor, any method step in the first embodiment may be further implemented.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
the embodiment of the application provides a head portrait identification method and device based on a user ID, which are applied to an electronic display device, wherein the electronic display device is provided with an image collector, and is characterized in that the electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, and an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the method comprises the following steps: judging whether the electronic display device is in a second use form; when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector; taking the image information as default head portrait information of the user; obtaining user ID information; acquiring historical image information according to the user ID information; comparing the default avatar information with the historical image information; and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information. The method and the device are used for solving the technical problem that the default head portrait information of the user cannot be automatically replaced due to the fact that the character characteristics of the head portrait of the user cannot be identified in the prior art. By acquiring the user ID information, the technical effects of identifying the character feature similarity in the default avatar information and the historical image information and replacing the default avatar information are achieved.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (9)

1. A head portrait recognition method based on user ID is applied to an electronic display device, and the electronic display device is provided with an image collector, and is characterized in that the electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, and an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the method comprises the following steps:
judging whether the electronic display device is in a second use form;
when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector;
taking the image information as default head portrait information of the user;
obtaining user ID information;
acquiring historical image information according to the user ID information;
comparing the default avatar information with the historical image information;
and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
2. The method of claim 1, wherein the obtaining historical image information based on the user ID information comprises:
acquiring a photo library of the user according to the user ID information;
according to the photo library, acquiring a character feature set in the photo library;
obtaining first human feature information of the default avatar information;
obtaining second person characteristic information from the person characteristic set, wherein the second person characteristic information is the same as the first person characteristic information;
and obtaining the historical image information according to the second person characteristic information.
3. The method of claim 2, wherein said obtaining a photo library of said user based on said user ID information comprises:
obtaining the storage access authority of the user ID information;
if the storage access authority is allowed, obtaining the storage data of the user;
and obtaining a photo library of the user according to the stored data of the user.
4. The method of claim 2, wherein the obtaining second personal characteristic information from the set of personal characteristics, wherein the second personal characteristic information is the same as the first personal characteristic information, comprises:
judging whether the person feature information identical to the first person feature information exists in the person feature set or not;
and if the person characteristic information identical to the first person characteristic information exists in the person characteristic set, obtaining second person characteristic information from the person characteristic set.
5. The method of claim 1, wherein the method further comprises:
obtaining a team condition of the user;
and replacing the default head portrait information of the users in the same team with the same image information according to the team condition of the users.
6. The method of claim 5, wherein the replacing default avatar information for a user in the same team with the same image information based on the team situation of the user comprises:
acquiring a historical image information set of users in the same team according to the team condition of the users;
according to the historical image information set, obtaining resolution information of each piece of historical image information in the historical image information set;
obtaining historical image information with the highest resolution according to the resolution information of each piece of historical image information;
and uniformly replacing default head portrait information of users in the same team with the historical image information with the highest resolution.
7. A head portrait recognition device based on user ID is applied to an electronic display device, and the electronic display device is provided with an image collector and a distance sensor, and is characterized in that the electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, and an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle; the second use form is that the electronic display device lies on the use desktop, and the display surface of the electronic display device is parallel to the use desktop, and the device is characterized by comprising:
the first judging unit is used for judging whether the electronic display equipment is in a second use state or not;
the first obtaining unit is used for obtaining image information of a user according to the image collector when the electronic display device is in the second using state;
a first as unit for taking the image information as default avatar information of the user;
a second obtaining unit configured to obtain user ID information;
a third obtaining unit configured to obtain history image information according to the user ID information;
a first comparison unit for comparing the default avatar information with the history image information;
a first replacing unit, configured to replace the default avatar information as the history image information if both the default avatar information and the person in the history image information are the user.
8. A head portrait recognition device based on user ID is applied to an electronic display device, and the electronic display device is provided with an image collector and a distance sensor, and is characterized in that the electronic display device comprises a first use form and a second use form, wherein the first use form is that the electronic display device stands on a use desktop, and an included angle between a display surface of the electronic display device and the use desktop is an obtuse angle; the second usage form is that the electronic display device lies on the usage desktop, and the display surface of the electronic display device is parallel to the usage desktop, and the electronic display device comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the following steps when executing the program:
judging whether the electronic display device is in a second use form;
when the electronic display equipment is in the second use state, obtaining image information of a user according to the image collector;
taking the image information as default head portrait information of the user;
obtaining user ID information;
acquiring historical image information according to the user ID information;
comparing the default avatar information with the historical image information;
and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
9. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
judging whether the electronic display equipment is in a second use state, wherein the second use state is that the electronic display equipment is laid on the use desktop horizontally, and the display surface of the electronic display equipment is parallel to the use desktop;
when the electronic display equipment is in the second use state, obtaining image information of a user according to an image collector;
taking the image information as default head portrait information of the user;
obtaining user ID information;
acquiring historical image information according to the user ID information;
comparing the default avatar information with the historical image information;
and if the default avatar information and the characters in the historical image information are both the users, replacing the default avatar information with the historical image information.
CN201811327391.2A 2018-11-08 2018-11-08 Head portrait identification method and device based on user ID Active CN109934246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811327391.2A CN109934246B (en) 2018-11-08 2018-11-08 Head portrait identification method and device based on user ID

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811327391.2A CN109934246B (en) 2018-11-08 2018-11-08 Head portrait identification method and device based on user ID

Publications (2)

Publication Number Publication Date
CN109934246A CN109934246A (en) 2019-06-25
CN109934246B true CN109934246B (en) 2021-03-02

Family

ID=66984581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811327391.2A Active CN109934246B (en) 2018-11-08 2018-11-08 Head portrait identification method and device based on user ID

Country Status (1)

Country Link
CN (1) CN109934246B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103189112A (en) * 2010-07-01 2013-07-03 环球网络游戏服务公司 Online gaming with real-world data
CN103826711A (en) * 2011-07-22 2014-05-28 格里奇索弗特公司 Game enhancement system for gaming environment
CN104765520A (en) * 2014-01-06 2015-07-08 腾讯科技(深圳)有限公司 Information processing method and device
CN105554064A (en) * 2015-12-03 2016-05-04 小米科技有限责任公司 Method and device for setting head portrait
CN105681175A (en) * 2016-03-22 2016-06-15 浙江翼信科技有限公司 Method and device of modifying contact person head portrait in instant messaging application
CN106095472A (en) * 2016-08-23 2016-11-09 上海卓易科技股份有限公司 A kind of head portrait setting method and device
CN106612358A (en) * 2016-11-30 2017-05-03 依偎科技(南昌)有限公司 Terminal and method for setting contact head portrait
CN107203306A (en) * 2017-05-03 2017-09-26 北京小米移动软件有限公司 Head portrait processing method and processing device
CN107659611A (en) * 2017-08-14 2018-02-02 北京五八信息技术有限公司 User's head portrait generation method, device and system based on big data
CN107948387A (en) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal and readable storage medium storing program for executing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9244513B2 (en) * 2008-10-28 2016-01-26 International Business Machines Corporation Reduction of computer resource use in a virtual universe

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103189112A (en) * 2010-07-01 2013-07-03 环球网络游戏服务公司 Online gaming with real-world data
CN103826711A (en) * 2011-07-22 2014-05-28 格里奇索弗特公司 Game enhancement system for gaming environment
CN104765520A (en) * 2014-01-06 2015-07-08 腾讯科技(深圳)有限公司 Information processing method and device
CN105554064A (en) * 2015-12-03 2016-05-04 小米科技有限责任公司 Method and device for setting head portrait
CN105681175A (en) * 2016-03-22 2016-06-15 浙江翼信科技有限公司 Method and device of modifying contact person head portrait in instant messaging application
CN106095472A (en) * 2016-08-23 2016-11-09 上海卓易科技股份有限公司 A kind of head portrait setting method and device
CN106612358A (en) * 2016-11-30 2017-05-03 依偎科技(南昌)有限公司 Terminal and method for setting contact head portrait
CN107203306A (en) * 2017-05-03 2017-09-26 北京小米移动软件有限公司 Head portrait processing method and processing device
CN107659611A (en) * 2017-08-14 2018-02-02 北京五八信息技术有限公司 User's head portrait generation method, device and system based on big data
CN107948387A (en) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于WIFI的移动社交通讯平台设计与实现;翟建伟;《中国优秀硕士学位论文全文数据库 信息科技辑》;20121015;全文 *

Also Published As

Publication number Publication date
CN109934246A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
Chen et al. Schelling points on 3D surface meshes
CN106295591A (en) Gender identification method based on facial image and device
WO2021232985A1 (en) Facial recognition method and apparatus, computer device, and storage medium
CN108875452A (en) Face identification method, device, system and computer-readable medium
CN110381369A (en) Determination method, apparatus, equipment and the storage medium of recommendation information implantation position
CN106462725A (en) Systems and methods of monitoring activities at a gaming venue
CN109284784A (en) A kind of content auditing model training method and device for live scene video
CN110390303B (en) Tumble alarm method, electronic device, and computer-readable storage medium
CN112419326B (en) Image segmentation data processing method, device, equipment and storage medium
CN112101123B (en) Attention detection method and device
CN110472582B (en) 3D face recognition method and device based on eye recognition and terminal
CN108229535A (en) Relate to yellow image audit method, apparatus, computer equipment and storage medium
CN110287767A (en) Can attack protection biopsy method, device, computer equipment and storage medium
CN111783593A (en) Human face recognition method and device based on artificial intelligence, electronic equipment and medium
CN108846343A (en) Multi-task collaborative analysis method based on three-dimensional video
CN105096335B (en) A kind of method and device for transmitting evaluation information
CN112925412A (en) Control method and device of intelligent mirror and storage medium
CN105959768A (en) Video playing parameter configuration method and device
CN111738080A (en) Face detection and alignment method and device
CN112613471B (en) Face living body detection method, device and computer readable storage medium
CN109934082B (en) Grouping method and device based on head portrait recognition
CN109934246B (en) Head portrait identification method and device based on user ID
CN109933265B (en) Display method and device for automatic identification
CN110175522A (en) Work attendance method, system and Related product
CN113723310B (en) Image recognition method and related device based on neural network

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

Effective date of registration: 20210526

Address after: 350400 No. 20 station C, No. 31, Taiwan Pioneer Park, Jin Jing two road, Pingtan comprehensive experimentation area, Fuzhou, Fujian.

Patentee after: PINGTAN CHENGXIN ZHICHUANG TECHNOLOGY Co.,Ltd.

Address before: 350108 No. 200 Xiyuan Gong Road, Minhou County, Fuzhou City, Fujian Province

Patentee before: MINJIANG University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231208

Address after: Unit 703, No. 199-1 Fengqi Road, Software Park Phase III, Xiamen City, Fujian Province, 361000

Patentee after: XIAMEN CHENGXIN ZHICHUANG TECHNOLOGY SERVICE CO.,LTD.

Address before: 350400 No. 20 station C, No. 31, Taiwan Pioneer Park, Jin Jing two road, Pingtan comprehensive experimentation area, Fuzhou, Fujian.

Patentee before: PINGTAN CHENGXIN ZHICHUANG TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right