CN105477859B - A kind of game control method and device based on user's face value - Google Patents

A kind of game control method and device based on user's face value Download PDF

Info

Publication number
CN105477859B
CN105477859B CN201510837405.5A CN201510837405A CN105477859B CN 105477859 B CN105477859 B CN 105477859B CN 201510837405 A CN201510837405 A CN 201510837405A CN 105477859 B CN105477859 B CN 105477859B
Authority
CN
China
Prior art keywords
game
game user
face
user
data
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
CN201510837405.5A
Other languages
Chinese (zh)
Other versions
CN105477859A (en
Inventor
沈益哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Pixel Software Technology Co Ltd
Original Assignee
Beijing Pixel Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pixel Software Technology Co Ltd filed Critical Beijing Pixel Software Technology Co Ltd
Priority to CN201510837405.5A priority Critical patent/CN105477859B/en
Publication of CN105477859A publication Critical patent/CN105477859A/en
Application granted granted Critical
Publication of CN105477859B publication Critical patent/CN105477859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/61Score computation

Abstract

The invention discloses a kind of game control methods and device based on user's face value, wherein this method comprises: obtaining the data of the human face photo of at least one game user;The symmetric information for obtaining game user face in the luminance information and human face photo of the human face photo of game user, determines the sample photo of game user;Sample photo is pre-processed, the five features data of game user in sample photo are extracted;The five features data of game user are compared with the data in standard face library, obtain the face value of game user;According to the face value of the game user of acquisition, judge whether the game parameter for changing game user.The present invention can change the game parameter of game user according to the face value of game user, and attract the game user of high face value.

Description

A kind of game control method and device based on user's face value
Technical field
The present invention relates to field of computer technology more particularly to a kind of game control methods and dress based on user's face value It sets.
Background technique
Currently, often the relatively high game user rank of game skill is higher in the epoch that game industry flourishes, and It is very big to the influence power of game.In gaming, the preferential treatment for giving the higher game user of game skill is relatively high.
But with the development of society, what some basic game play users or the lower game user of technical ability loosened in amusement When, in gaming since rank is lower, tactics of the game fixation is more dull, and is not easy to be promoted to higher rank, is easy It loses interest to game.Therefore for the developer of game, in design games, can according to game user others because Element change tactics of the game or change preferential treatment method are extremely urgent.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of game control method and device based on user's face value, Neng Gougen According to the game parameter of the face value change game user of game user, and attract the game user of high face value.
In a first aspect, the embodiment of the invention provides a kind of game control methods based on user's face value, comprising:
Obtain the data of the human face photo of at least one game user;
The symmetric information of game user face in the luminance information and human face photo of the human face photo of game user is obtained, Determine the sample photo of game user;
Sample photo is pre-processed, the five features data of game user in sample photo are extracted;
The five features data of game user are compared with the data in standard face library, obtain the face of game user Value;
According to the face value of the game user of acquisition, judge whether the game parameter for changing game user
Second aspect, the embodiment of the invention also provides a kind of game control devices based on user's face value, comprising:
Human face data obtains module, the data of the human face photo for obtaining at least one game user;
Sample photo determining module, for obtaining luminance information and the human face photo middle reaches of the human face photo of game user The symmetric information of play user's face, determines the sample photo of game user;
Five features data extraction module extracts game user in sample photo for pre-processing to sample photo Five features data;
Face value obtains module, for comparing the five features data of game user and the data in standard face library It is right, obtain the face value of game user;
Game parameter changes module, for the face value according to the game user of acquisition, judges whether to change game user Game parameter.
A kind of game control method and device based on user's face value provided in an embodiment of the present invention, it is true by sample photo Determine the face value of game user, and change the game parameter of game user by the face value of game user, more Gao Yan can be attracted The game user of value.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart for game control method based on user's face value that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural block diagram of game control device based on user's face value provided by Embodiment 2 of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just In description, only some but not all contents related to the present invention are shown in the drawings.
Embodiment one
Fig. 1 is that the embodiment of the present invention one provides a kind of flow chart of game control method based on user's face value;This method It can be by being executed based on the game control device of user's face value, wherein the device is realized by software and/or hardware, described Device be set to the inside of computer or intelligent terminal, as shown in Figure 1, this method comprises:
S110: the data of the human face photo of at least one game user are obtained.
In the present embodiment, the face that game user is constantly shot by the photographic device of computer or intelligent terminal shines Piece, and human face photo is the positive face photo of game user, obtains the data of the human face photo of at least one game user.Shoot people The number of face photo depends on the data of the human face photo obtained, if the data fit of the human face photo of the game user obtained Preset requirement then no longer carries out the human face photo of shooting game user.
S120: the symmetrical of game user face in the luminance information and human face photo of the human face photo of game user is obtained Information determines the sample photo of game user.
It in the present embodiment, include luminance information and face in the data of the game user human face photo of acquisition Symmetric information, wherein the symmetric information of face is by obtaining face progress skin color segmentation.
Illustratively, game user face in the luminance information and human face photo of the human face photo of game user is obtained Symmetric information determines the sample photo of game user, comprising: the human face photo luminance information of game user is reached first threshold And game user facial symmetry ratio reaches sample photo of the photo as game user of second threshold.Wherein first threshold It can be preset with second threshold, first threshold can be preset according to the environment of application.Second threshold is preferably 95%, That is the ratio of facial symmetry reaches 95% and brightness reaches the photo of first threshold and just can be used as sample photo.
If the game user place more dim in environment, the photo of shooting is easy to appear unclear situation, by counting The luminance information for the human face photo that calculation machine or intelligent terminal obtain can be smaller, is easy to appear the situation for not meeting preset requirement;Such as There are the situations such as bow, new line or side are clapped, it is easy to the face obtained be caused to shine when shooting human face photo in fruit game user The symmetric proportional of piece is also undesirable.At this time, it may be necessary to constantly shoot photo, bring inconvenience to game user.
On the basis of the above embodiments, the sample photo of game user can be the certificate photograph of oneself, therefore, game User can upload the certificate photograph of oneself, e.g., the photos such as identity card picture, driver's license.
S130: pre-processing sample photo, extracts the five features data of game user in sample photo.
In the present embodiment, using open source computer vision library (Open Source Computer Vision Library, OpenCV) extraction to game user five features data.Five features data are respectively: the spacing of eyes, double The length of eye;The height of nose, the width of nose;The width of the height of upper lip and lower lip, upper lip and lower lip;The length of double eyebrows, The spacing of eyebrow;Position where ear;The distance between eyes, nose, mouth, eyebrow, ear.
S140: the five features data of game user are compared with the data in standard face library, are obtained game and are used The face value at family.
In the present embodiment, the five features data of game user are compared with the data in standard face library, are obtained It takes the face value of game user to preferably include: the five features data of game user and the data in standard face library is compared It is right, obtain the highest normal data of five features data similarity with game user;With the five features data of game user On the basis of the highest normal data of similarity, calculation method corresponding with reference data is chosen, according to the five features of user The face value of data acquisition game user.
Data in standard face library are classified with the gender of game user, in different genders again with shape of face etc. because Element is classified.Such as, in women game user or male's game user, round face, oval face, elongated face etc. have the five of standard The score of the face data of the standards such as round face, oval face, elongated face, other shapes of face can be disposed as 100 by the data of official. Gender, the shape of face of game user are different, different from the benchmark compared in standard face library, and the method for calculating face value also can be different.
For example, shape of face is that round face, computer or intelligent terminal shine in face if the gender of game user is male The five features data extracted in sheet data are compared with the data in standard face library.The comparison of gender first, than Pair process in, can obtain with the highest information of male user data similarity in standard face library, then by the five of game user Official's characteristic is compared with the data of male user in standard face library, obtains similar to game user five features data Spend it is highest be round face normal data, i.e., highest with game user five features data similarity is male's round face criterion numeral According to.Then, calculation method corresponding with male's round face normal data is chosen, is calculated according to the face data of game user Face value.Wherein, calculating similarity based method is: extracting game user eyes, nose, the respective size such as mouth and their difference The comparison of spatial position and face size where data carry out face respectively in the spatial position at place, with standard face library, The similarity of face spatial position similarity and face size is obtained, then by face spatial position similarity and face size phase It is integrated like degree, obtains similarity to the end.
S150: according to the face value of the game user of acquisition, judge whether the game parameter for changing game user.
In the present embodiment, the face value of the game user according to acquisition judges whether the game for changing game user Parameter, comprising: if the face value of the game user obtained reaches third threshold value, to corresponding game user change game ginseng Number.Wherein, third threshold value can be configured, if the face value of standard, using the mechanism of score, the face value of standard is 100, the Three threshold values can be 80,60 isodisperses.The game parameter includes the privilege data of game, the lot probability in game, game The bonus data and game user of user good friend to cube or third-party data.For example, when third threshold value is 80 timesharing, it is existing The entitled Zhang San of the account of one game user is now the naive user of target game.If the face value of Zhang San reaches 80 points, open The treatment of three VIP that can be enjoyed, possesses the privilege of target game;Lot probability of the Zhang San in target game can also mention It is high;The good friend of Zhang San can also have reward, e.g., lot probability raising, rank promotion etc.;Zhang San to cube or third party's attack Speed become compared with before more slowly and Zhang San to cube or third party personnel quantity reduce etc..Therefore, root Game parameter is changed according to the face value of game user, the game user of high face value can be attracted, improve the entertainment and multiplicity of game Property.
It on the basis of the above embodiments, can also be by the face of user when the face value of game user reaches third threshold value Value is classified, and changes game parameter according to the information of classification.For example, third threshold value is preferably 80 points, when the face value of user reaches To 80 timesharing, in 80-100/be divided into two ranks, wherein face value 80-90 points are a rank, and 91-100 points are another A rank.When game parameter is arranged, if the face value 80-90 of game user/, game user lot probability improves 10%;If the face value of game user, between 91-100, game user lot probability improves 20% etc..In addition, being swum in setting When parameter of playing, other parameters can also be arranged according to the rank of face value.
A kind of game control method based on user's face value is present embodiments provided, game user is determined by sample photo Face value, and change by the face value of game user the game parameter of game user, the game of more high face values can be attracted to use Family.
Embodiment two
Fig. 2 is a kind of structural block diagram of game control device based on user's face value provided by Embodiment 2 of the present invention;Such as Shown in Fig. 2, described device includes:
Human face data obtains module 210, the data of the human face photo for obtaining at least one game user;
Sample photo determining module 220, for obtaining the luminance information and human face photo of the human face photo of game user The symmetric information of middle game user face determines the sample photo of game user;
Five features data extraction module 230 is extracted game in sample photo and is used for pre-processing to sample photo The five features data at family;
Face value obtains module 240, for carrying out the data in the five features data of game user and standard face library It compares, obtains the face value of game user;
Game parameter changes module 250, for the face value according to the game user of acquisition, judges whether to change game user Game parameter.
Further, sample photo determining module 220 is specifically used for: the human face photo luminance information of game user is reached First threshold and game user facial symmetry ratio reach sample photo of the photo as game user of second threshold.
Further, the game parameter includes the privilege data of game, the lot probability in game, game user good friend Bonus data and game user to cube or third-party data.
Further, face value obtains module 240 and is specifically used for:
The five features data of game user are compared with the data in standard face library, are obtained and game user The highest normal data of characteristic similarity;
On the basis of the highest normal data of five features data similarity of game user, choose opposite with reference data The calculation method answered, according to the face value of the five features data acquisition game user of user.
Further, game parameter change module 250 is specifically used for:
If the face value of the game user obtained reaches third threshold value, game parameter is changed to corresponding game user.
The game control method based on user's face value provided by the embodiment of the present invention can be performed in above-mentioned device, has and holds The corresponding functional module of row method and beneficial effect.
A kind of game control device based on user's face value provided in an embodiment of the present invention, determines game by sample photo The face value of user, and by the game parameter of the face value of game user change game user, the trip of more high face values can be attracted Play user.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of game control method based on user's face value characterized by comprising
Obtain the data of the human face photo of at least one game user;
The symmetric information of game user face in the luminance information and human face photo of the human face photo of game user is obtained, is determined The sample photo of game user;
Sample photo is pre-processed, the five features data of game user in sample photo are extracted;
The five features data of game user are compared with the data in standard face library, obtain the face value of game user;
According to the face value of the game user of acquisition, judge whether the game parameter for changing game user.
2. the method according to claim 1, wherein the luminance information of the human face photo for obtaining game user And in human face photo game user face symmetric information, determine the sample photo of game user, comprising:
The human face photo luminance information of game user is reached into first threshold and game user facial symmetry ratio reaches second Sample photo of the photo of threshold value as game user.
3. the method according to claim 1, wherein the game parameter includes the privilege data of game, game In lot probability, game user good friend bonus data and game user to cube or third-party data.
4. the method according to claim 1, wherein the five features data by game user and standard five Data in official library are compared, and obtain the face value of game user, comprising:
The five features data of game user are compared with the data in standard face library, obtain the face with game user The highest normal data of characteristic similarity;
On the basis of the highest normal data of five features data similarity of game user, choose corresponding with reference data Calculation method, according to the face value of the five features data acquisition game user of user.
5. the method according to claim 1, wherein the face value of the game user according to acquisition, judgement are The game parameter of no change game user, comprising:
If the face value of the game user obtained reaches third threshold value, game parameter is changed to corresponding game user.
6. a kind of game control device based on user's face value characterized by comprising
Human face data obtains module, the data of the human face photo for obtaining at least one game user;
Sample photo determining module, game is used in the luminance information and human face photo for obtaining the human face photo of game user The symmetric information of family face determines the sample photo of game user;
Five features data extraction module extracts five of game user in sample photo for pre-processing to sample photo Official's characteristic;
Face value obtains module and obtains for the five features data of game user to be compared with the data in standard face library Take the face value of game user;
Game parameter changes module, for the face value according to the game user of acquisition, judges whether the game for changing game user Parameter.
7. device according to claim 6, which is characterized in that sample photo determining module is specifically used for:
The human face photo luminance information of game user is reached into first threshold and game user facial symmetry ratio reaches second Sample photo of the photo of threshold value as game user.
8. device according to claim 6, which is characterized in that the game parameter includes the privilege data of game, game In lot probability, game user good friend bonus data and game user to cube or third-party data.
9. device according to claim 6, which is characterized in that face value obtains module and is specifically used for:
The five features data of game user are compared with the data in standard face library, obtain the face with game user The highest normal data of characteristic similarity;
On the basis of the highest normal data of five features data similarity of game user, choose corresponding with reference data Calculation method, according to the face value of the five features data acquisition game user of user.
10. device according to claim 6, which is characterized in that game parameter change module is specifically used for:
If the face value of the game user obtained reaches third threshold value, game parameter is changed to corresponding game user.
CN201510837405.5A 2015-11-26 2015-11-26 A kind of game control method and device based on user's face value Active CN105477859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510837405.5A CN105477859B (en) 2015-11-26 2015-11-26 A kind of game control method and device based on user's face value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510837405.5A CN105477859B (en) 2015-11-26 2015-11-26 A kind of game control method and device based on user's face value

Publications (2)

Publication Number Publication Date
CN105477859A CN105477859A (en) 2016-04-13
CN105477859B true CN105477859B (en) 2019-02-19

Family

ID=55665352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510837405.5A Active CN105477859B (en) 2015-11-26 2015-11-26 A kind of game control method and device based on user's face value

Country Status (1)

Country Link
CN (1) CN105477859B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107657472A (en) * 2017-02-16 2018-02-02 平安科技(深圳)有限公司 One kind promotes official documents and correspondence display methods and device
CN115999156B (en) * 2023-03-24 2023-06-30 深圳游禧科技有限公司 Role control method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101305913A (en) * 2008-07-11 2008-11-19 华南理工大学 Face beauty assessment method based on video
CN101964064A (en) * 2010-07-27 2011-02-02 上海摩比源软件技术有限公司 Human face comparison method
CN102722246A (en) * 2012-05-30 2012-10-10 南京邮电大学 Human face information recognition-based virtual pet emotion expression method
US8605958B2 (en) * 2006-10-27 2013-12-10 Samsung Electronics Co., Ltd. Method and apparatus for generating meta data of content
CN104378688A (en) * 2014-10-27 2015-02-25 小米科技有限责任公司 Mode switching method and device
CN104573619A (en) * 2014-07-25 2015-04-29 北京智膜科技有限公司 Method and system for analyzing big data of intelligent advertisements based on face identification
CN104637035A (en) * 2015-02-15 2015-05-20 百度在线网络技术(北京)有限公司 Method, device and system for generating cartoon face picture
CN104850825A (en) * 2015-04-18 2015-08-19 中国计量学院 Facial image face score calculating method based on convolutional neural network
CN105050673A (en) * 2013-04-02 2015-11-11 日本电气方案创新株式会社 Facial-expression assessment device, dance assessment device, karaoke device, and game device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030007700A1 (en) * 2001-07-03 2003-01-09 Koninklijke Philips Electronics N.V. Method and apparatus for interleaving a user image in an original image sequence

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8605958B2 (en) * 2006-10-27 2013-12-10 Samsung Electronics Co., Ltd. Method and apparatus for generating meta data of content
CN101305913A (en) * 2008-07-11 2008-11-19 华南理工大学 Face beauty assessment method based on video
CN101964064A (en) * 2010-07-27 2011-02-02 上海摩比源软件技术有限公司 Human face comparison method
CN102722246A (en) * 2012-05-30 2012-10-10 南京邮电大学 Human face information recognition-based virtual pet emotion expression method
CN105050673A (en) * 2013-04-02 2015-11-11 日本电气方案创新株式会社 Facial-expression assessment device, dance assessment device, karaoke device, and game device
CN104573619A (en) * 2014-07-25 2015-04-29 北京智膜科技有限公司 Method and system for analyzing big data of intelligent advertisements based on face identification
CN104378688A (en) * 2014-10-27 2015-02-25 小米科技有限责任公司 Mode switching method and device
CN104637035A (en) * 2015-02-15 2015-05-20 百度在线网络技术(北京)有限公司 Method, device and system for generating cartoon face picture
CN104850825A (en) * 2015-04-18 2015-08-19 中国计量学院 Facial image face score calculating method based on convolutional neural network

Also Published As

Publication number Publication date
CN105477859A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
Borji et al. Cat2000: A large scale fixation dataset for boosting saliency research
Sell et al. The human anger face evolved to enhance cues of strength
CN109416834A (en) Attract angle value processing system and attracts angle value processing unit
Blom et al. Towards personalised gaming via facial expression recognition
CN105447432B (en) A kind of face method for anti-counterfeit based on local motion mode
CN104881642A (en) Method and device for content pushing, and equipment
EP1970859B1 (en) Detecting method and detecting system for positions of face parts
CN104834898A (en) Quality classification method for portrait photography image
CN104463216B (en) Eye movement mode data automatic obtaining method based on computer vision
CN105477859B (en) A kind of game control method and device based on user's face value
CN108596062A (en) The real-time high-intensity region method and device of face picture based on deep learning
Mourão et al. Competitive affective gaming: winning with a smile
CN110210449A (en) A kind of face identification system and method for virtual reality friend-making
JP6956986B1 (en) Judgment method, judgment device, and judgment program
Mancas et al. A rarity-based visual attention map-application to texture description
CN110598700A (en) Object display method and device, storage medium and electronic device
Farran Analysing a photograph of Marilyn Monroe
JP2008046691A (en) Face image processor and program for computer
Martinez-Conde et al. Champions of Illusion: The Science Behind Mind-boggling Images and Mystifying Brain Puzzles
Carlsson Re (con) fusion of law and sport in light of ‘seriousness’ and ‘trivialization’
JP2014183898A (en) Display device, program and display system
CN110062173A (en) Image processor and image processing method, equipment, storage medium and intelligent terminal
CN112766461A (en) Method for calculating surplus cards of field-fighting main game players based on deep learning
CN112121436B (en) Game data processing method and device
US20140045590A1 (en) Drawing game with randomized drawing prompts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant