CN108875638A - Face matching test method and device and system - Google Patents

Face matching test method and device and system Download PDF

Info

Publication number
CN108875638A
CN108875638A CN201810634640.6A CN201810634640A CN108875638A CN 108875638 A CN108875638 A CN 108875638A CN 201810634640 A CN201810634640 A CN 201810634640A CN 108875638 A CN108875638 A CN 108875638A
Authority
CN
China
Prior art keywords
face
facial image
failure
execution state
state information
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.)
Granted
Application number
CN201810634640.6A
Other languages
Chinese (zh)
Other versions
CN108875638B (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.)
JD Digital Technology Holdings Co Ltd
Jingdong Technology Holding Co Ltd
Original Assignee
Beijing Jingdong Financial Technology Holding 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 Jingdong Financial Technology Holding Co Ltd filed Critical Beijing Jingdong Financial Technology Holding Co Ltd
Priority to CN201810634640.6A priority Critical patent/CN108875638B/en
Publication of CN108875638A publication Critical patent/CN108875638A/en
Application granted granted Critical
Publication of CN108875638B publication Critical patent/CN108875638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the present application discloses information processing method, device and system.One specific embodiment of this method includes:Obtain the characteristic information of facial image and the included face of the facial image;Execute following face matching step:Based on this feature information, the default facial image to match with the facial image is searched from default face image set;The default facial image to match with the facial image is found in response to determination, which is merged with the default facial image that this matches;This method further includes:The execution state information of the face matching step is written to journal file, which is used to indicate whether the face matching step runs succeeded.The embodiment of the present application can determine the execution state of face matching step by journal file, improve the accuracy being monitored to step.

Description

Face matching test method and device and system
Technical field
The invention relates to field of computer technology, and in particular to Internet technical field more particularly to face With test method, device and system.
Background technique
Before the fusion for carrying out facial image, generally require to carry out face acquisition, face matching etc. multiple stages.? In the related technology, it in order to which the fusion to facial image is tested, generally requires to carry out more wheel test process.
Summary of the invention
The embodiment of the present application proposes face matching test methods, devices and systems.
In a first aspect, the embodiment of the present application provides a kind of face matching test method, including:Obtain facial image and institute State the characteristic information of the included face of facial image;Execute following face matching step:Based on characteristic information, from default face The default facial image to match with facial image is searched in image collection;Match in response to determining to find with facial image Default facial image, facial image is merged with the default facial image to match;Method further includes:To journal file The execution state information of face matching step is written, execution state information is used to indicate whether face matching step runs succeeded; In response to determining that face matching step is not carried out success based on execution state information.
In some embodiments, after the execution state information to journal file write-in face matching step, method is also Including:In response to determining that face matching step is not carried out success, based on the failure identification that execution state information is included, people is determined Position occurs for the failure of face matching step.
In some embodiments, the characteristic information of facial image and the included face of the facial image is obtained, including:It connects Receive the characteristic information of the facial image that terminal device is sent and the face that terminal device detects in facial image;And to Journal file is written after the execution state information of face matching step, and method further includes:In response to being based on execution state information It determines that face matching step is not carried out success, face detection instruction is sent to terminal device, so that terminal device re-starts people Face detection.
In some embodiments, after the execution state information to journal file write-in face matching step, method is also Including:Generate and send warning message corresponding with failure identification.
In some embodiments, this method further includes:It is merged successfully in response to determining, sends facial image exhibition to display Show instruction, so that display shows facial image to the camera for carrying out face acquisition.
In some embodiments, this method further includes:Execution state information in the journal file is synchronized to described Terminal device.
In some embodiments, this method further includes:The people in the facial image is detected in response to the terminal device Face failure obtains the characteristic information failure, and the execution state letter of the face datection step is written to the journal file Breath.
In some embodiments, this method further includes:The failure frequency and failure for determining face matching step occur Position;Position is occurred for one of failure, which to that the failure frequency and total failare frequency of position occur Ratio be determined as the failure occur position rate of breakdown.
Second aspect, the embodiment of the present application provide a kind of face matching test device, including:Acquiring unit, configuration are used In the characteristic information for obtaining facial image and the included face of the facial image;Face matching unit, be configured to carry out as Under face matching step:Based on characteristic information, searches from default face image set and preset with what facial image matched Facial image;Find the default facial image to match with facial image in response to determination, by facial image with match Default facial image is merged;Device further includes:Writing unit is configured to that face matching step is written to journal file Execution state information, execution state information are used to indicate whether face matching step runs succeeded.
In some embodiments, which further includes:Failure determination unit is configured in response to determining face matching step Suddenly it is not carried out success, based on the failure identification that execution state information is included, determines that position occurs for the failure of face matching step.
In some embodiments, acquiring unit is further configured to the facial image and terminal of receiving terminal apparatus transmission The characteristic information for the face that equipment detects in facial image;And device further includes:Transmission unit, be configured in response to It determines that face matching step is not carried out success based on execution state information, sends face detection instruction to terminal device, so that eventually End equipment re-starts Face datection.
In some embodiments, which further includes:Generation unit is configured to generate and send corresponding with failure identification Warning message.
In some embodiments, which further includes:Command unit is sent, is configured to merge successfully in response to determination, Facial image is sent to display and shows instruction, so that display shows facial image to the camera for carrying out face acquisition.
In some embodiments, which further includes:Synchronization unit is configured to the execution shape in the journal file State synchronizing information is to the terminal device.
In some embodiments, which further includes:Information writing unit is configured to examine in response to the terminal device The face failure surveyed in the facial image obtains characteristic information failure, and the face inspection is written to the journal file Survey the execution state information of step.
In some embodiments, device further includes:Statistic unit is configured to determine that the failure of face matching step occurs Position occurs for number and failure;For one of failure occur position, by the failure occur position failure frequency with The ratio of total failare frequency is determined as the rate of breakdown that position occurs for the failure.
The third aspect, the embodiment of the present application provide a kind of face matching test system, and system includes terminal device kimonos Business device;The terminal device, for executing following face datection step:Obtain the facial image shown on display;Extract institute The characteristic information for stating facial image sends the facial image and the characteristic information to the server;The server is used In execution face fusion step below:Receive the characteristic information of facial image and the facial image;Believed based on the feature Breath searches the default facial image to match with the facial image from default face image set;It is searched in response to determining To the default facial image to match with the facial image, by the facial image and the default facial image to match It is merged;The server is also used to:The execution state information of the face fusion step is written to journal file.
In some embodiments, the server is also used in response to based on the execution state letter in the journal file Breath determines that the face fusion step is not carried out success, sends face detection instruction to the terminal device.
In some embodiments, the terminal device is also used to that the Face datection step is written to local journal file Rapid execution state information, the execution state information are used to indicate whether the face datection step runs succeeded;In response to It determines that the face datection step is not carried out success based on the execution state information, re-executes the face datection step.
In some embodiments, the server is also used to for the execution state information in journal file being synchronized to described Terminal device;The terminal device is also used to the execution state information in local journal file being synchronized to the clothes Business device.
In some embodiments, the system also includes displays;The display is used for timing carousel facial image.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including:One or more processors;Storage dress It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more A processor realizes the method such as any embodiment in face matching test method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the method such as any embodiment in face matching test method when the program is executed by processor.
Face matching test scheme provided by the embodiments of the present application, firstly, obtaining facial image and facial image institute Characteristic information comprising face.Then, face matching step is executed, finally to the execution of journal file write-in face matching step Status information, execution state information are used to indicate whether face matching step runs succeeded.The embodiment of the present application can pass through day Will file determines the execution state of face matching step, improves the accuracy being monitored to face matching step.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the face matching test method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the face matching test method of the application;
Fig. 4 is the flow chart according to another embodiment of the face matching test method of the application;
Fig. 5 is the flow chart according to another embodiment of the face matching test method of the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the face matching test device of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application 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 related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the embodiment of the face matching test method or face matching test device of the application Exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102, display 103, network 104 and service Device 105.Network 104 is to provide Jie of communication link in terminal device 101,102 between display 103 and server 105 Matter.Network 104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102 and be interacted by network 104 with server 105, be disappeared with receiving or sending Breath etc..Various telecommunication customer end applications, such as web browser applications, shopping class can be installed on terminal device 101,102 Using, searching class application, instant messaging tools, mailbox client, social platform software etc..
Here terminal device 101,102 can be hardware, be also possible to software.When terminal device 101,102 is hardware When, can be the various electronic equipments with display screen, including but not limited to smart phone, tablet computer, E-book reader, Pocket computer on knee and desktop computer etc..
Display 103 can be the display device that image is shown to the camera of terminal device 101,102.Specifically, this In camera can be installed on terminal device 101,102, be also possible in system architecture 100 independent electronics and set It is standby.When camera is the independent electronic equipment in system architecture 100, camera can acquire the figure shown on display Picture, and acquired image is transmitted to terminal device 101,102.
Server 104 can be to provide the server of various services, such as the face uploaded using terminal device 101,102 The characteristic information of image and face carries out face matching, the fusion for pedestrian's face image of going forward side by side, and processing result is fed back to terminal Equipment.
It should be noted that face matching test method provided by the embodiment of the present application is generally executed by server 105, Correspondingly, face matching test device is generally positioned in server 105.It should be noted that in application scenes, this Face matching test method provided by application embodiment can also be executed by terminal device 101,102, correspondingly, face matching Test device also can be set in terminal device 101,102.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process 200 of one embodiment of the face matching test method according to the application is shown. The face matching test method, includes the following steps:
Step 201, the characteristic information of facial image and the included face of facial image is obtained.
In the present embodiment, executing subject (such as the service shown in FIG. 1 of face matching test method operation thereon Device) facial image can be obtained from local or other electronic equipments.Facial image is the image for presenting face.On in addition, The characteristic information for the face that above-mentioned facial image is included can also be obtained by stating executing subject.Specifically, characteristic information is to embody The information of the characteristics of face in image, generally indicates in vector form.
Execute following face matching step 202- step 203:
Step 202, it is based on characteristic information, the default people to match with facial image is searched from default face image set Face image.
In the present embodiment, above-mentioned executing subject can based on the characteristic information of acquisition, from default face image set, Search the default facial image to match with above-mentioned facial image.
Default face image set may include multiple default facial images.In addition, default face image set can be with Characteristic information including each default facial image.
In practice, above-mentioned executing subject can determine the default facial image to match using various ways.Citing comes It says, above-mentioned executing subject can pass through the figure in the characteristic information and default face image set of acquired above-mentioned facial image The characteristic information of picture, to search the default facial image to match.
Specifically, above-mentioned executing subject can will be in the characteristic information of above-mentioned facial image and default face image set The characteristic information of image is compared, and is believed with the feature of the image in the characteristic information of the above-mentioned facial image of determination and above-mentioned set The similarity of breath.And from the characteristic information of the image in above-mentioned set, determine and the characteristic information of above-mentioned facial image Similarity is higher than the characteristic information of preset similarity threshold.And it is identified characteristic information is corresponding in above-mentioned set Image is as the default facial image to match.In addition it is also possible to be determined from the characteristic information of image each in above-mentioned set It, and will be corresponding to this feature information in above-mentioned set with the highest characteristic information of similarity of the characteristic information of above-mentioned facial image Image as the default facial image to match.
Above-mentioned executing subject can carry out traversal lookup to the image in default face image set.In addition, above-mentioned execution Main body can add label to the image after comparing each image in default face image set, to avoid repeating It searches.
Step 203, the default facial image to match with facial image is found in response to determination, by facial image and phase Matched default facial image is merged.
In the present embodiment, above-mentioned executing subject finds the default face figure to match with facial image in response to determination Picture merges facial image with the above-mentioned default facial image to match.
In practice, above-mentioned executing subject can be merged using various ways.For example, above-mentioned executing subject can First to obtain the key point of face.Later, above-mentioned executing subject can carry out the alignment of key point.Then, above-mentioned executing subject It can use affine transformation, the face mask and crucial point deformation to an image in two images to coincide are transformed into separately Face mask and key point in one image, form the image of fusion.
Step 204, to the execution state information of journal file write-in face matching step, execution state information is used to indicate Whether face matching step runs succeeded.
In the present embodiment, the execution shape of above-mentioned face matching step can be written in above-mentioned executing subject to journal file State information.Execution state information is to indicate the information of the execution state of face matching step.For example, the state of execution can be execution Success can also execute failure.In face matching step any position (such as in step 202- step 203 any one walk Suddenly it all may run succeeded or execute) failure.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the face matching test method of the present embodiment Figure.In the application scenarios of Fig. 3, electronic equipment 301 obtains facial image 303 and face figure from other electronic equipments 302 first As the characteristic information 304 for the face for being included;Based on characteristic information 304, searched and face figure from default face image set As the default facial image 305 to match;The default facial image to match with facial image is found in response to determination, by people Face image carries out merging 306 with the default facial image to match;Method further includes:Face matching step is written to journal file Execution state information 307, execution state information is used to indicate whether face matching step runs succeeded.
The present embodiment can determine the execution state of face matching step by journal file, improve and match step to face Suddenly the accuracy being monitored.Meanwhile by execution state information, the accuracy of test face matching step can be improved.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of face matching test method.The face The process 400 of matching test method, includes the following steps:
Step 401, the face that the facial image and terminal device that receiving terminal apparatus is sent detect in facial image Characteristic information.
In the present embodiment, executing subject (such as the service shown in FIG. 1 of face matching test method operation thereon Device) it can receive the facial image of terminal device transmission, and the face that is detected in facial image of receiving terminal apparatus Characteristic information.Terminal device can detecte whether above-mentioned facial image includes face, and obtain the characteristic information of the face.Feature Information is information the characteristics of embodying the face in image, is generally indicated in vector form.
Execute following face matching step 402- step 403:
Step 402, it is based on characteristic information, the default people to match with facial image is searched from default face image set Face image.
In the present embodiment, above-mentioned executing subject can based on the characteristic information of acquisition, from default face image set, Search the default facial image to match with above-mentioned facial image.
Default face image set may include multiple default facial images.In addition, default face image set can be with Characteristic information including each default facial image.
Step 403, the default facial image to match with facial image is found in response to determination, by facial image and phase Matched default facial image is merged.
In the present embodiment, above-mentioned executing subject finds the default face figure to match with facial image in response to determination Picture merges facial image with the above-mentioned default facial image to match.
Step 404, to the execution state information of journal file write-in face matching step, execution state information is used to indicate Whether face matching step runs succeeded.
In the present embodiment, the execution shape of above-mentioned face matching step can be written in above-mentioned executing subject to journal file State information.Execution state information is to indicate the information of the execution state of face matching step.Execution state, which can be, to run succeeded Failure can also be executed.
Step 405, it in response to determining that face matching step is not carried out success based on execution state information, is sent out to terminal device It makes a gift to someone face detection instruction, so that terminal device re-starts Face datection.
In the present embodiment, above-mentioned executing subject can be in response to determining that face matching step be not carried out success, and to end End equipment sends face detection instruction, so that the terminal device re-starts Face datection.Specifically, executing subject can be based on Execution state information determines whether face matching step runs succeeded.In this way, any position of face matching step executes Failure may be returned to terminal device and execute face datection step.
Step 406, in response to determining that face matching step is not carried out success, the failure for being included based on execution state information Mark determines that position occurs for the failure of face matching step.
In the present embodiment, above-mentioned executing subject is in response to determining that face matching step is not carried out success, based on execution shape The failure identification that state information is included determines that position occurs for the failure of face matching step.Different failure identifications can indicate Position occurs for different failures.Position occur for failure refer to have executed but be not carried out in face matching step successfully (to execute failure) Specific part.For example, failure generation position can be in above-mentioned steps 402, i.e., " the default facial image that lookup matches " is not held It goes successfully.
In practice, because each failure occurs position and corresponds to a failure identification, it is possible to pass through journal file It determines that the execution state of position occurs for each failure, the accuracy of monitoring face matching step can be further increased with this.
In some optional implementations of the present embodiment, the present embodiment can also include:
Generate and send warning message corresponding with failure identification.
In this implementation, warning message corresponding with failure identification can be generated in above-mentioned executing subject, and sending should Warning message.In this way, passing through warning message, it will be able to which judgement, which is out of order, occurs position.Later, position can be occurred to different faults The number to break down set is counted.In practice, warning message can be sent to specified end by above-mentioned executing subject End equipment.The user of the specified terminal device can be technical staff, in this way, technical staff can know that face matched Failure has occurred in journey, and accurately recognizes that position occurs for failure.
Each failure in the present embodiment occurs position and corresponds to a failure identification, it is possible to true by journal file The execution state of position occurs for fixed each failure, can further increase the accuracy being monitored to face matching step.And And when determining that face matching step is not carried out successfully, terminal device can be detected in time, avoid face matching step It interrupts, has further prevented the interruption of testing procedure.In addition, warning message can be generated to alarm in the present embodiment, and alarm Information is corresponding with failure identification, so warning message is just more targeted.Technical staff can by warning message It quickly determines failure and position occurs.
With further reference to Fig. 5, it illustrates the processes 500 of another embodiment of face matching test method.The face The process 500 of matching test method, includes the following steps:
Step 501, the characteristic information of facial image and the included face of the facial image is obtained.
In the present embodiment, executing subject (such as the service shown in FIG. 1 of face matching test method operation thereon Device) facial image can be obtained from local or other electronic equipments.Facial image is the image for presenting face.On in addition, The characteristic information for the face that above-mentioned facial image is included can also be obtained by stating executing subject.Specifically, characteristic information is to embody The information of the characteristics of face in image, generally indicates in vector form.
Step 502, it is based on characteristic information, the default people to match with facial image is searched from default face image set Face image.
In the present embodiment, above-mentioned executing subject can based on the characteristic information of acquisition, from default face image set, Search the default facial image to match with above-mentioned facial image.
Default face image set may include multiple default facial images.In addition, default face image set can be with Characteristic information including each default facial image.
Above-mentioned executing subject can carry out traversal lookup to the image in default face image set.Above-mentioned executing subject can Kept away with ensuring search speed image addition label after comparing each image in default face image set Exempt to repeat to search.
Step 503, the default facial image to match with facial image is found in response to determination, by facial image and phase Matched default facial image is merged.
In the present embodiment, above-mentioned executing subject finds the default face figure to match with facial image in response to determination Picture merges facial image with the above-mentioned default facial image to match.
Step 504, to the execution state information of journal file write-in face matching step, execution state information is used to indicate Whether face matching step runs succeeded.
In the present embodiment, the execution shape of above-mentioned face matching step can be written in above-mentioned executing subject to journal file State information.Execution state information is to indicate the information of the execution state of face matching step.Execution state, which can be, to run succeeded Failure can also be executed.Any position in face matching step all may run succeeded or execute failure (such as step Any one step in 501- step 503) state.
Step 505, in response to determine merge successfully, to display send facial image displaying instruct so that display to The camera for carrying out face acquisition shows facial image.
In the present embodiment, above-mentioned executing subject is if it is determined that in step 503 by facial image and the default people to match Face image merges successfully, sends facial image to display and shows instruction.In this way, display can show facial image, with It is acquired camera.Here camera is to be installed on the camera of terminal device or carry out communication link with terminal device The camera connect.Executing subject can give camera to send information, terminal device is made to continue to obtain after determining merge successfully Camera acquisition image and detection.The facial image of detection can be the facial image replaced.Facial image shows instruction Display can be made to carry out the timely replacement of image, so that camera collects richer sample.In addition, display can also be with Shown facial image is replaced in timing.
Step 506, position occurs for the failure frequency and failure for determining face matching step.
In the present embodiment, above-mentioned executing subject can determine that failure during executing face matching step occurs Position, and the number to break down.Here the data of the face matching step of the preset quantity time of execution can be taken, for example, It can take failure frequency and failure during 100 face matching steps of execution that position occurs.
Step 507, position is occurred for one of failure, the failure frequency which is occurred into position and always event The ratio of barrier frequency is determined as the rate of breakdown that position occurs for the failure.
In the present embodiment, for one of failure position can occur for above-mentioned executing subject, determine failure hair After number and total failare frequency that raw position is broken down, the ratio of the two amounts is determined.Later, above-mentioned executing subject The fault rate of position occurs using ratio as the failure.It breaks down in this way, position occurs for available each failure Probability, determine Frequent Troubles position.Here total failare frequency is to own during executing face matching step Failure the sum of the number that breaks down of position occurs.
In some optional implementations of the present embodiment, the present embodiment can also include:
Execution state information in the journal file is synchronized to the terminal device.
It in this implementation, can be by the execution in the journal file of server as the above-mentioned executing subject of server Status information is synchronized to terminal device.It is held in this way, technical staff can obtain in any end in terminal device and server Row status information determines that position and failure frequency etc. occur for failure.
In some optional implementations of the present embodiment, the present embodiment can also include:
The failure of the face in the facial image is detected in response to the terminal device or obtains the characteristic information failure, The execution state information of the face datection step is written to the journal file.
In this implementation, above-mentioned executing subject may also respond to terminal device and detect people in the facial image Face failure or terminal device obtain the characteristic information failure, and the face datection step is written to the journal file Execution state information.Herein, it can determine in terminal device as the executing subject of server and not detected in facial image In the case where face, the message that receiving terminal apparatus is sent, the information shows that Face datection fails.Or it is true in terminal device Surely in the case where extracting characteristic information failure, above-mentioned executing subject receives the message that above-mentioned terminal device is sent, which shows Feature information extraction failure.
In practice, the face failure in the either above-mentioned detection facial image, or obtain the feature letter Journal file can be written in execution state information by breath failure, terminal device.And terminal device can be by as clothes Business device sends message, and execution state information is synchronized to server.
Also, it if terminal device detects the failure of the face in the facial image, or obtains the characteristic information and loses The step of losing, can returning to Face datection detects whether facial image includes face again.
The present embodiment facial image shows the timely replacement that instruction can make display carry out image, so that camera acquires To richer image pattern.Meanwhile the probability that position is broken down occurs by obtaining each failure, determine Frequent Troubles position It sets.In addition, by the way that the execution state information in journal file is synchronized to terminal device, technical staff can in terminal device and Any end in server obtains execution state information, determines that position and failure frequency etc. occur for failure.
Disclosed herein as well is one embodiment of face matching test system.The face matching test system includes terminal Equipment and server;
The terminal device, for executing following face datection step:Obtain the facial image shown on display;It extracts The characteristic information of the facial image sends the facial image and the characteristic information to the server;The server, For executing face fusion step below:Receive the characteristic information of facial image and the facial image;Based on the feature Information searches the default facial image to match with the facial image from default face image set;It is looked into response to determination The default facial image to match with the facial image is found, by the facial image and the default face figure to match As being merged;The server is also used to:The execution state information of the face fusion step is written to journal file.
In some embodiments, the server is also used in response to based on the execution state letter in the journal file Breath determines that the face fusion step is not carried out success, sends face detection instruction to the terminal device.
In some embodiments, the terminal device is also used to that the Face datection step is written to local journal file Rapid execution state information, the execution state information are used to indicate whether the face datection step runs succeeded;In response to It determines that the face datection step is not carried out success based on the execution state information, re-executes the face datection step.
In some embodiments, the server is also used to for the execution state information in journal file being synchronized to described Terminal device;The terminal device is also used to the execution state information in local journal file being synchronized to the clothes Business device.
In some embodiments, the system also includes displays;The display is used for timing carousel facial image.
The present embodiment can determine the execution state of face matching step by journal file, improve and match step to face Suddenly the accuracy being monitored.Meanwhile by execution state information, the accuracy of test face matching step can be improved.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides a kind of matchings of face to survey One embodiment that trial assembly is set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically apply In various electronic equipments.
As shown in fig. 6, the face matching test device 600 of the present embodiment includes:Acquiring unit 601, face matching unit 602 and writing unit 603.Wherein, acquiring unit 601 are configured to obtain facial image, obtain the included face of facial image Characteristic information;Face matching unit 602 is configured to carry out following face matching step:Based on characteristic information, from default The default facial image to match with facial image is searched in face image set;It is found and facial image phase in response to determination Matched default facial image merges facial image with the default facial image to match;Device further includes:Write-in is single Member 603 is configured to that the execution state information of face matching step is written to journal file, and execution state information is used to indicate people Whether face matching step runs succeeded.
In some embodiments, acquiring unit 601 can obtain facial image from local or other electronic equipments.Face Image is the image for presenting face.In addition, above-mentioned executing subject can also obtain the face that above-mentioned facial image is included Characteristic information.Specifically, characteristic information is information the characteristics of embodying the face in image, is generally indicated in vector form.
In some embodiments, face matching unit 602 can be based on the characteristic information of acquisition, from default face image set In conjunction, the default facial image to match with above-mentioned facial image is searched.Face matching unit 602 can be searched in response to determining To the default facial image to match with facial image, facial image and the above-mentioned default facial image to match are melted It closes.
In some embodiments, the execution of above-mentioned face matching step can be written in writing unit 603 to journal file Status information.Execution state information is to indicate the information of the execution state of face matching step.
In some optional implementations of the present embodiment, which further includes:Failure determination unit is configured to ring It should be not carried out success in determining face matching step, based on the failure identification that execution state information is included, determine that face matches Position occurs for the failure of step.
In some optional implementations of the present embodiment, acquiring unit is further configured to receiving terminal apparatus hair The characteristic information for the face that the facial image and terminal device sent detects in facial image;And device further includes:It sends Unit is configured to send in response to determining that face matching step is not carried out success based on execution state information to terminal device Face datection instruction, so that terminal device re-starts Face datection.
In some optional implementations of the present embodiment, which further includes:Generation unit is configured to generate simultaneously Send warning message corresponding with failure identification.
In some optional implementations of the present embodiment, which further includes:Command unit is sent, is configured to ring It should be merged successfully in determining, send facial image to display and show instruction, so that camera shooting of the display to progress face acquisition Head shows facial image.
In some optional implementations of the present embodiment, which further includes:Synchronization unit, being configured to will be described Execution state information in journal file is synchronized to the terminal device.
In some optional implementations of the present embodiment, which further includes:Information writing unit is configured to ring In the face failure detected in the facial image or the characteristic information failure should be obtained, to described in journal file write-in The execution state information of face matching step.
In some optional implementations of the present embodiment, which further includes:Statistic unit is configured to determine people Position occurs for the failure frequency and failure of face matching step;Position is occurred for one of failure, which is occurred The failure frequency of position and the ratio of total failare frequency are determined as the rate of breakdown that position occurs for the failure.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the electronic equipment for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 7 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
I/O interface 705 is connected to lower component:Importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.; And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to:It is electrical connection with one or more conducting wires, portable Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet Include face matching unit, writing unit and transmission unit.Wherein, the title of these units is not constituted to this under certain conditions The restriction of unit itself, for example, writing unit is also described as " to the execution shape of journal file write-in face matching step The unit of state information ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device:Execute following face matching step:Facial image is obtained, the characteristic information for the face that facial image is included is obtained; Based on characteristic information, the default facial image to match with facial image is searched from default face image set;In response to true Surely the default facial image to match with facial image is found, facial image is melted with the default facial image to match It closes;Method further includes:To the execution state information of journal file write-in face matching step, execution state information is used to indicate people Whether face matching step runs succeeded;In response to determining that face matching step is not carried out success based on execution state information, send Face datection instruction.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (23)

1. a kind of face matching test method, including:
Obtain the characteristic information of facial image and the included face of the facial image;
Execute following face matching step:
Based on the characteristic information, the default face figure to match with the facial image is searched from default face image set Picture;
The default facial image to match with the facial image is found in response to determination, by the facial image and the phase Matched default facial image is merged;
The method also includes:
The execution state information of the face matching step is written to journal file, the execution state information is used to indicate described Whether face matching step runs succeeded.
2. according to the method described in claim 1, wherein, in the execution that the face matching step is written to journal file After status information, the method also includes:
In response to determining that face matching step is not carried out success, based on the failure identification that the execution state information is included, really Position occurs for the failure of the fixed face matching step.
3. according to the method described in claim 1, wherein, facial image and the included face of the facial image of obtaining Characteristic information, including:
The spy for the face that the facial image and the terminal device that receiving terminal apparatus is sent detect in the facial image Reference breath;And
After the execution state information that the face matching step is written to journal file, the method also includes:
In response to determining that the face matching step is not carried out success based on the execution state information, to terminal device sender Face detection instruction, so that the terminal device re-starts Face datection.
4. according to the method described in claim 2, wherein, in the execution that the face matching step is written to journal file After status information, the method also includes:
Generate and send warning message corresponding with the failure identification.
5. according to the method described in claim 1, wherein, the method also includes:
In response to determine merge successfully, to display send facial image show instruct so that the display to progress face The camera of acquisition shows facial image.
6. according to the method described in claim 3, wherein, the method also includes:
Execution state information in the journal file is synchronized to the terminal device.
7. according to the method described in claim 2, wherein, the method also includes:
The failure of the face in the facial image is detected in response to the terminal device or obtains the characteristic information failure, to institute State the execution state information that the face datection step is written in journal file.
8. according to the method described in claim 2, wherein, the method also includes:
Position occurs for the failure frequency and failure for determining the face matching step;
Position is occurred for one of failure, which to that the failure frequency and total failare frequency of position occur Ratio is determined as the rate of breakdown that position occurs for the failure.
9. a kind of face matching test device, including:
Acquiring unit is configured to obtain the characteristic information of facial image and the included face of the facial image;
Face matching unit is configured to carry out following face matching step:
Based on the characteristic information, the default face figure to match with the facial image is searched from default face image set Picture;
The default facial image to match with the facial image is found in response to determination, by the facial image and the phase Matched default facial image is merged;
Described device further includes:
Writing unit is configured to that the execution state information of the face matching step, the execution shape are written to journal file State information is used to indicate whether the face matching step runs succeeded.
10. device according to claim 9, wherein described device further includes:
Failure determination unit is configured to believe in response to determining that face matching step is not carried out success based on the execution state Included failure identification is ceased, determines that position occurs for the failure of the face matching step.
11. device according to claim 9, wherein
The acquiring unit is further configured to:The facial image and the terminal device that receiving terminal apparatus is sent are described The characteristic information of the face detected in facial image;And
Described device further includes:
Transmission unit is configured in response to determining that the face matching step is not carried out into based on the execution state information Function sends face detection instruction to terminal device, so that the terminal device re-starts Face datection.
12. device according to claim 10, wherein described device further includes:
Generation unit is configured to generate and send warning message corresponding with the failure identification.
13. device according to claim 9, wherein described device further includes:
Command unit is sent, is configured to merge successfully in response to determining, sends facial image to display and show instruction, so that The display shows facial image to the camera for carrying out face acquisition.
14. device according to claim 11, wherein described device further includes:
Synchronization unit is configured to the execution state information in the journal file being synchronized to the terminal device.
15. device according to claim 9, wherein described device further includes:
Information writing unit is configured to detect face failure or acquisition in the facial image in response to the terminal device The characteristic information failure, the execution state information of the face datection step is written to the journal file.
16. device according to claim 10, wherein described device further includes:
Statistic unit is configured to determine that position occurs for the failure frequency of the face matching step and failure;For it In failure position occurs, which is occurred into the failure frequency of position and the ratio of total failare frequency is determined as The rate of breakdown of failure generation position.
17. a kind of face matching test system, the system comprises terminal devices and server;
The terminal device, for executing following face datection step:Obtain the facial image shown on display;Described in extraction The characteristic information of facial image sends the facial image and the characteristic information to the server;
The server, for executing face fusion step below:Receive the feature letter of facial image and the facial image Breath;Based on the characteristic information, the default face figure to match with the facial image is searched from default face image set Picture;The default facial image to match with the facial image is found in response to determination, by the facial image and the phase Matched default facial image is merged;
The server is also used to:The execution state information of the face fusion step is written to journal file.
18. system according to claim 17, wherein
The server is also used in response to determining that the face fusion walks based on the execution state information in the journal file Suddenly it is not carried out success, sends face detection instruction to the terminal device.
19. system according to claim 17, wherein
The terminal device is also used to be written the execution state information of the face datection step, institute to local journal file It states execution state information and is used to indicate whether the face datection step runs succeeded;In response to being based on the execution state information It determines that the face datection step is not carried out success, re-executes the face datection step.
20. system according to claim 17, wherein
The server is also used to the execution state information in journal file being synchronized to the terminal device;
The terminal device is also used to the execution state information in local journal file being synchronized to the server.
21. system according to claim 17, wherein the system also includes displays;
The display is used for timing carousel facial image.
22. a kind of electronic equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method described in any one of claims 1-8.
23. a kind of computer readable storage medium, is stored thereon with computer program, wherein when the program is executed by processor Realize such as method described in any one of claims 1-8.
CN201810634640.6A 2018-06-20 2018-06-20 Face matching test method, device and system Active CN108875638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810634640.6A CN108875638B (en) 2018-06-20 2018-06-20 Face matching test method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810634640.6A CN108875638B (en) 2018-06-20 2018-06-20 Face matching test method, device and system

Publications (2)

Publication Number Publication Date
CN108875638A true CN108875638A (en) 2018-11-23
CN108875638B CN108875638B (en) 2020-07-31

Family

ID=64339753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810634640.6A Active CN108875638B (en) 2018-06-20 2018-06-20 Face matching test method, device and system

Country Status (1)

Country Link
CN (1) CN108875638B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259698A (en) * 2018-11-30 2020-06-09 百度在线网络技术(北京)有限公司 Method and device for acquiring image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510257A (en) * 2009-03-31 2009-08-19 华为技术有限公司 Human face similarity degree matching method and device
CN103310415A (en) * 2013-03-15 2013-09-18 清华大学 Face-based defected image inpainting method and system
US20130304683A1 (en) * 2010-01-19 2013-11-14 James Ting-Ho Lo Artificial Neural Networks based on a Low-Order Model of Biological Neural Networks
CN103701926A (en) * 2013-12-31 2014-04-02 小米科技有限责任公司 Method, device and system for obtaining fault reason information
CN105205482A (en) * 2015-11-03 2015-12-30 北京英梅吉科技有限公司 Quick facial feature recognition and posture estimation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510257A (en) * 2009-03-31 2009-08-19 华为技术有限公司 Human face similarity degree matching method and device
US20130304683A1 (en) * 2010-01-19 2013-11-14 James Ting-Ho Lo Artificial Neural Networks based on a Low-Order Model of Biological Neural Networks
CN103310415A (en) * 2013-03-15 2013-09-18 清华大学 Face-based defected image inpainting method and system
CN103701926A (en) * 2013-12-31 2014-04-02 小米科技有限责任公司 Method, device and system for obtaining fault reason information
CN105205482A (en) * 2015-11-03 2015-12-30 北京英梅吉科技有限公司 Quick facial feature recognition and posture estimation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259698A (en) * 2018-11-30 2020-06-09 百度在线网络技术(北京)有限公司 Method and device for acquiring image
CN111259698B (en) * 2018-11-30 2023-10-13 百度在线网络技术(北京)有限公司 Method and device for acquiring image

Also Published As

Publication number Publication date
CN108875638B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
US8866847B2 (en) Providing augmented reality information
CN109410218A (en) Method and apparatus for generating vehicle damage information
CN110162670A (en) Method and apparatus for generating expression packet
CN109308490A (en) Method and apparatus for generating information
CN109063653A (en) Image processing method and device
CN108235004B (en) Video playing performance test method, device and system
CN108335390A (en) Method and apparatus for handling information
CN109086780A (en) Method and apparatus for detecting electrode piece burr
CN109034069A (en) Method and apparatus for generating information
CN107038784B (en) Safe verification method and device
CN109033464A (en) Method and apparatus for handling information
CN108984399A (en) Detect method, electronic equipment and the computer-readable medium of interface difference
US11210563B2 (en) Method and apparatus for processing image
CN109409364A (en) Image labeling method and device
US20210264198A1 (en) Positioning method and apparatus
CN108228887A (en) For generating the method and apparatus of information
CN110060441A (en) Method and apparatus for terminal anti-theft
CN109977839A (en) Information processing method and device
CN109934191A (en) Information processing method and device
CN109582873A (en) Method and apparatus for pushed information
CN110336781A (en) A kind of method and apparatus based on browser identification terminal uniqueness
CN110059624A (en) Method and apparatus for detecting living body
CN110399253A (en) Delay machine treating method and apparatus
CN108470179A (en) Method and apparatus for detecting object
CN108038172A (en) Searching method and device based on artificial intelligence

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Applicant after: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Applicant before: BEIJING JINGDONG FINANCIAL TECHNOLOGY HOLDING Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee before: Jingdong Digital Technology Holding Co.,Ltd.

Address after: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee after: Jingdong Digital Technology Holding Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee before: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.