CN106778647B - A kind of method of recognition of face, server and system - Google Patents
A kind of method of recognition of face, server and system Download PDFInfo
- Publication number
- CN106778647B CN106778647B CN201611215206.1A CN201611215206A CN106778647B CN 106778647 B CN106778647 B CN 106778647B CN 201611215206 A CN201611215206 A CN 201611215206A CN 106778647 B CN106778647 B CN 106778647B
- Authority
- CN
- China
- Prior art keywords
- picture
- target photo
- server
- client
- matching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
- Studio Devices (AREA)
Abstract
The present invention provides a kind of method of recognition of face, server and systems.The system comprises client and servers.The client, for when detecting that user clicks predeterminable area, user being prompted to upload Target Photo;Wherein, the Target Photo is face samples pictures;The quantity of the Target Photo is at least two;The client is additionally operable to send picture detection request to server;The server, for determining Target Photo set according to the pickup area;The server is additionally operable to traverse the Target Photo set when it is intersection mode to determine the picture tupe whether there is the matching picture for being all higher than predetermined threshold value with the similarity of the Target Photo in the determination Target Photo set;The server sends the matching picture if being additionally operable to be all higher than the matching picture of default similarity in the presence of the similarity with the Target Photo to the client;The client, for showing the matching picture.
Description
Technical field
The present invention relates to field of face identification, and in particular to a kind of method of recognition of face, server and system.
Background technology
Face recognition technology refers to utilizing image processing techniques, by camera acquisition facial image, and to the figure of acquisition
As being compared to obtain a kind of technology for needing information.Currently, face recognition technology is widely used in security system, enterprise
Industry manages the fields such as system and authentication.
And in practice, it has been found that when user needs to be believed to obtain other pictures of needs according to existing face print picture
When breath, generally requires ceaselessly checking monitoring video camera or the collected pictorial information of other picture pick-up devices carrys out manual identified needs
Image information, time-consuming for identification work, and efficiency is low, and inconvenience is brought to user.
Invention content
An embodiment of the present invention provides a kind of method of recognition of face, server and systems, can be provided according to user
In picture of the picture comprising face that picture searching monitor video uploads to determine monitor video upload whether include and user
The picture that the picture of offer matches, and the picture of successful match is presented in predeterminated position;To not join manually
With in the case of, recognition of face is completed, and then greatly promote working efficiency.
The system that first aspect of the embodiment of the present invention discloses recognition of face, the system comprises client and servers;
The client, for when detecting that user clicks predeterminable area, user being prompted to upload Target Photo;Wherein,
The Target Photo is face samples pictures;The quantity of the Target Photo is at least two;
The client, when being additionally operable to detect that the Target Photo is uploaded successfully, prompt user select pickup area and
Picture tupe;
The client is additionally operable to send picture detection request to server;Wherein, the picture detection request includes institute
State Target Photo, the pickup area of user selection and the picture tupe;
The server, for determining Target Photo set according to the pickup area;
The server is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the Target Photo
Set is all higher than of predetermined threshold value whether there is in the determination Target Photo set with the similarity of the Target Photo
With picture;
The server is all higher than if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
The matching picture of default similarity, then send the matching picture to the client;
The client, for showing the matching picture according to predetermined manner in search result display area.
With reference to first aspect, in the first possible realization method of first aspect,
The client is additionally operable to prompt user's seclected time period;
The client is additionally operable to the period that the user selectes being sent to the server;
The server is additionally operable to judge whether the period meets preset rules;
The server, specifically for when the period meeting preset rules, then being adopted according to what the user selected
Collection region and selected period determine Target Photo set.
The possible realization method of with reference to first aspect the first, in second of possible realization method of first aspect,
The pickup area includes multiple regions;
The server is more than in advance if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
If the matching picture of similarity, then the server determines the region belonging to each matching picture;
The server is additionally operable to count the quantity for the matching picture that each region includes;
The server, be additionally operable to by the mark in each region and with the matching picture corresponding to each region
Quantity be sent to client;
The client, be additionally operable to show the mark in each region and with corresponding to each area identification
Match the quantity of picture.
With reference to first aspect or second of the first possible realization method of first aspect or first aspect possible
Realization method, in the third possible realization method of first aspect,
The server is additionally operable to determine that the picture tupe is and when integrated mode, traverses the Target Photo collection
It closes with the matching picture with the presence or absence of the similarity with the first picture more than predetermined threshold value in the determination Target Photo set;Its
In, first picture is any one pictures in the Target Photo;
The server is more than in advance if being additionally operable to exist in the Target Photo set with the similarity of first picture
If the matching picture of similarity, then the matching picture is sent to the client;
The client, for showing the matching picture according to predetermined manner in search result display area.
Second aspect of the present invention discloses a kind of server, which is characterized in that the server includes:
Receiving unit, the picture for receiving client transmission detect request;Wherein, the picture detection request includes institute
State the pickup area of Target Photo and user selection;The Target Photo is face samples pictures;The Target Photo
Quantity is at least two;
Determination unit, for determining Target Photo set according to the pickup area;
Traversal Unit is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the Target Photo collection
It closes whether there is the matching for being all higher than predetermined threshold value with the similarity of the Target Photo in the determination Target Photo set
Picture;
Transmission unit, if being additionally operable to exist to be more than with the similarity of the Target Photo in the Target Photo set presets
The matching picture of similarity then sends the matching picture to the client.
In conjunction with second aspect, in the first possible realization method of second aspect, the server further includes judging
Unit;
The receiving unit is additionally operable to receive the period that the client is sent;
The judging unit is additionally operable to judge whether the period meets preset rules;
The determination unit, specifically for when the period meeting preset rules, then the server is according to described
The pickup area and selected period that user selectes determine Target Photo set.
In conjunction with the first possible realization method of second aspect, in second of possible realization method of second aspect
In, the pickup area includes multiple regions;The server further includes statistic unit;
The determination unit is more than if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
The matching picture of default similarity, it is determined that the region belonging to each matching picture;
The statistic unit, the quantity for counting the matching picture that each region includes;
The transmission unit, be additionally operable to by the mark in each region and with the matching figure corresponding to each region
The quantity of piece is sent to the client.
In conjunction with the possible realization method of the first of second aspect or second aspect or the second possible reality of second aspect
Existing mode, in the third possible realization method of second aspect,
The determination unit is additionally operable to determine that the picture tupe is and when integrated mode, traverses the Target Photo
Set is with the matching picture with the presence or absence of the similarity with the first picture more than predetermined threshold value in the determination Target Photo set;
Wherein, first picture is any one pictures in the Target Photo;
The transmission unit is more than if being additionally operable to exist in the Target Photo set with the similarity of first picture
The matching picture of default similarity, then send the matching picture to the client.
Third aspect present invention discloses a kind of method of recognition of face, the method includes:
Receive the picture detection request that client is sent;Wherein, picture detection request include the Target Photo and
The pickup area of user's selection;The Target Photo is face samples pictures;The quantity of the Target Photo is at least two
;
Target Photo set is determined according to the pickup area;
When it is intersection mode to determine the picture tupe, the Target Photo set is traversed with the determination target
With the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the Target Photo in picture set;
If there is the matching figure for being more than default similarity with the similarity of the Target Photo in the Target Photo set
Piece then sends the matching picture to the client.
In conjunction with the third aspect, in the first possible realization method of the third aspect, the server is according to the use
Before the selected pickup area in family and selected period determine Target Photo set, the method further includes
Receive the period that the client is sent;
Judge whether the period meets preset rules;
The pickup area and selected period that the server is selected according to the user determine Target Photo set, wrap
It includes:
When the period meeting preset rules, then the server is selected according to the user pickup area and choosing
The fixed period determines Target Photo set.
In conjunction with the first possible realization method of the third aspect, in second of possible realization method of the third aspect
In, the pickup area includes multiple regions;The method further includes:
If there is the matching figure for being more than default similarity with the similarity of the Target Photo in the Target Photo set
Piece, it is determined that the region belonging to each matching picture;
Count the quantity for the matching picture that each region includes;
It is sent to by the mark in each region and with the quantity for matching picture corresponding to each region described
Client.
In conjunction with second of possible realization method of the third aspect, in the third possible realization method of the third aspect
In,
The pickup area includes multiple regions;The method further includes:
When it is simultaneously integrated mode to determine the picture tupe, the Target Photo set is traversed with the determination target
With the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the first picture in picture set;Wherein, first picture
For any one pictures in the Target Photo;
The server is more than in advance if being additionally operable to exist in the Target Photo set with the similarity of first picture
If the matching picture of similarity, then the matching picture is sent to the client.
Fourth aspect present invention discloses a kind of server, and the server includes:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes as described in the third aspect
Method.
As can be seen that disclosing a kind of face identification system in the scheme of the embodiment of the present invention, which includes client
And server.The client, for when detecting that user clicks predeterminable area, user being prompted to upload Target Photo;Wherein,
The Target Photo is face samples pictures;The quantity of the Target Photo is at least two;The client is additionally operable to detect
When uploading successfully to the Target Photo, user is prompted to select pickup area and picture tupe;The client, is additionally operable to
Picture detection request is sent to server;Wherein, picture detection request includes that the Target Photo, the user select
Pickup area and the picture tupe;The server, for determining Target Photo set according to the pickup area;
The server is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the Target Photo set with true
With the presence or absence of the matching picture for being all higher than predetermined threshold value with the similarity of the Target Photo in the fixed Target Photo set;Institute
Server is stated, is more than default similarity with the similarity of the Target Photo if being additionally operable to exist in the Target Photo set
Picture is matched, then sends the matching picture to the client;The client, for search result display area according to
Predetermined manner shows the matching picture.By above system, the picture searching monitor video that can be provided according to user uploads
The picture comprising face with determine in picture that monitor video uploads whether the figure to match comprising the picture that is provided with user
Piece, and the picture of successful match is presented in predeterminated position;Know in the case where not participating in manually, complete face
Not, and then working efficiency is greatly promoted.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of system schematic of recognition of face provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of another server provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of the method for recognition of face provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the method for another recognition of face provided in an embodiment of the present invention;
Fig. 6 is a kind of physical arrangement schematic diagram of server provided in an embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of method of recognition of face, server and systems, can be provided according to user
In picture of the picture comprising face that picture searching monitor video uploads to determine monitor video upload whether include and user
The picture that the picture of offer matches, and the picture of successful match is presented in predeterminated position;To not join manually
With in the case of, recognition of face is completed, and then greatly promote working efficiency.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is the present invention one
The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under the premise of creative work, should all belong to the scope of protection of the invention.
Term " first ", " second " and " third " occurred in description of the invention, claims and attached drawing etc. is to use
In the different object of difference, and it is not intended to describe specific sequence.In addition, term " comprising " and " having " and they are any
Deformation, it is intended that cover and non-exclusive include.Such as contain the process of series of steps or unit, method, system, product
Or equipment the step of being not limited to list or unit, but further include the steps that optionally not listing or unit, or it can
Selection of land further includes for the intrinsic other steps of these processes, method, product or equipment or unit.
A kind of system of recognition of face is disclosed in one embodiment of the invention, which is characterized in that the system packet
Include client and server;The client, for when detecting that user clicks predeterminable area, user being prompted to upload target figure
Piece;Wherein, the Target Photo is face samples pictures;The quantity of the Target Photo is at least two;The client, also
When for detecting that the Target Photo is uploaded successfully, user is prompted to select pickup area and picture tupe;The client
End is additionally operable to send picture detection request to server;Wherein, it includes the Target Photo that the picture detection, which is asked, described
The pickup area of user's selection and the picture tupe;The server, for determining mesh according to the pickup area
It marks on a map piece set;The server is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the target figure
Piece set with the presence or absence of the similarity with the Target Photo in the determination Target Photo set to be all higher than predetermined threshold value
Match picture;The server is more than if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
The matching picture of default similarity, then send the matching picture to the client;The client, in search result
Display area shows the matching picture according to predetermined manner.
Referring to Fig. 1, Fig. 1 is a kind of system of recognition of face provided by one embodiment of the present invention.The system comprises
Client 10 and server 20.
Wherein, it should be pointed out that client 10 can be in smart mobile phone, tablet computer, intelligent wearable equipment, calculating
It is run on the electronic equipments such as machine.
Wherein, server 20 can be distributed server, can also be cloud data center, be not limited herein.
Wherein it is possible to understand, server 20 can connect multiple cameras, and camera can be to appearing in camera lens
Personage carry out real-time grasp shoot record, when occurring face in monitoring range, camera will capture automatically and by facial image with
The mode of time flow is sent in server 20.
Client 10, for when detecting that user clicks predeterminable area, user being prompted to upload Target Photo;
Wherein, the Target Photo includes face samples pictures, and the quantity of the Target Photo is at least two.
It should be pointed out that predeterminable area can be a picture box, it can also be a button, can also be a blank
Region is not limited herein.
Wherein it is possible to understand, user can also be to pull picture to predeterminable area.
Wherein, the format of Target Photo includes but not limited to JPEG, BMP etc..
Wherein it is possible to understand, user can be used as Target Photo from picture is locally selected, can also call camera shooting
Head is shot to obtain Target Photo.
Wherein, user can be clicked with left button, be can also be that right button is clicked, can also be double-clicked, not be limited herein.
Client 10 when being additionally operable to detect that the Target Photo is uploaded successfully, prompts user to select pickup area and figure
As tupe;
It is understood that the pickup area can be divided according to administrative region.Such as the face of certain municipal police office
The local police stations the pickup area packet A pickup area of identifying system, the local police stations B pickup area, the local police stations C pickup area etc..
It is understood that can also freely define, such as certain the one layer of pickup area built, two layers of pickup area etc.
Deng.It can also be the teaching building region, dormitory region, dining room region etc. of some school.
Wherein, image processing mode include but unlimited intersection mode and and integrated mode.
Client 10 is additionally operable to send picture detection request to server 20;Wherein, the picture detection request includes institute
State Target Photo, the pickup area of user selection and the picture tupe.
It is understood that the purpose of picture detection request described in client 10 is to allow server 20 to detect described
Whether the photo that with the Target Photo matches is taken in pickup area.
Server 20, for determining Target Photo set according to the pickup area;
It is understood that such as pickup area is school dining room, then Target Photo set is exactly that the dining room is all
The camera captured photo for including face in preset time range.Wherein, which can be acquiescence,
It can also be manually to be arranged, for example can in one month, in even three days etc., be not limited herein in three months.
Server 20 is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the Target Photo collection
It closes whether there is the matching for being all higher than predetermined threshold value with the similarity of the Target Photo in the determination Target Photo set
Picture;
For example, for example Target Photo is two pictures, respectively A pictures and B pictures now, if Target Photo collection
There are a pictures C in conjunction, wherein and the similarity of C and A is more than predetermined threshold value, and the similarity of C and B is more than predetermined threshold value, that
C is exactly to match picture.
Wherein, it should be pointed out that images match refer to by certain matching algorithm between two width or multiple image
Identify same place, by comparing the related coefficient of the window of same size in target area and the field of search in being matched such as two dimensional image,
Take the window center point in the field of search corresponding to related coefficient maximum as same place.Its essence is the conditions in primitive similitude
Under, with the best search problem of matching criterior.
Wherein, images match can be divided mainly into the matching based on gray scale and the matching based on feature.
Wherein, the basic thought of Gray-scale Matching:Image is regarded as 2D signal with the viewpoint of statistics, using statistical correlation
Method find signal between relevant matches.Using the correlation function of two signals, the similitude for evaluating them is of the same name with determination
Point.Gray-scale Matching by using certain similarity measurement, such as correlation function, covariance function, poor quadratic sum, poor absolute value and
Estimate extreme value, judges the correspondence in two images.
Wherein, characteristic matching refer to by extracting the feature of two or more images (features such as point, line, surface) respectively, it is right
Feature carries out parameter description, and a kind of matched algorithm is then carried out with described parameter.Residing for feature-based matching
The feature that the image of reason generally comprises has color characteristic, textural characteristics, shape feature, spatial position feature etc..Characteristic matching is first
The matching that feature between then establishing two images to extract its high-level feature is first pre-processed to image corresponds to pass
System, usually used feature primitive have point feature, edge feature and provincial characteristics.Characteristic matching needs use many such as matrixes
Operation, gradient solution, also have the mathematical operations such as Fourier transform and Taylor expansion.Common feature extracting and matching method
Have:Statistical method, geometric method, modelling, signal processing method, boundary characteristic method, fourier shape description method, geometry parameter method, shape
Shape Moment invariants etc..
Server 20, if being additionally operable in the Target Photo set be all higher than in the presence of the similarity with the Target Photo pre-
If the matching picture of similarity then sends the matching picture to client 10;
Wherein, the default similarity can be system default, can also be and be manually arranged, do not show herein.
For example, default similarity can be 90%, 92%, 95% etc..
Client 10, for showing the matching picture according to predetermined manner in search result display area.
Wherein it is possible to understand, search result viewing area can be the position of system default, can also be that user is selected
Position.
Wherein, show that the matching picture includes according to predetermined manner:The matching is shown according to the time sequencing of shooting
Picture;
Wherein, show that the matching picture includes according to predetermined manner:According to the number of the video camera belonging to matching picture
It is shown.For example first show the matching picture of No. 1 video camera shooting, then show the matching picture of No. 2 video cameras shooting, herein
It is not limited.
Wherein it is possible to understand, if matching picture is excessive, user can be checked with page turning.
Optionally, for the system other than according to Target Photo and pickup area search matching picture, which can be with
Picture searching is carried out according to Target Photo, period and pickup area.
Client 10 is additionally operable to prompt user's seclected time period;
Wherein, which can be input by user, can also be that user selects on the calendar that system provides.
Wherein, the dimension of the period can be different, can specific to day, can also specific to hour or minute,
This is not limited.
Client 10 is additionally operable to the period that the user selectes being sent to server 20;
Server 20 is additionally operable to judge whether the period meets preset rules;
For example, the period should be the past time, if being related to following time, which does not just meet
Preset rules.
Server 20, specifically for when the period meeting preset rules, then server 20 is selected according to the user
Fixed pickup area and selected period determine Target Photo set.
Optionally, the pickup area includes multiple regions;It can also determine the number for the matching picture that each region includes
Amount;Specifically:
Server 20, if being additionally operable to exist to be more than with the similarity of the Target Photo in the Target Photo set presets
The matching picture of similarity, it is determined that the region belonging to each matching picture;
User has selected dining room region and the dormitory region of certain school, then will will match
Picture is classified, with every matched source of determination.That is, which region every matching picture belongs to.Dining room
Video camera shooting just belongs to dining room region, and what similarly dormitory video camera was shot just belongs to dormitory region.
For example, if when user has selected the local police stations A region and the local police stations B region, which will determine at this time
A little matching pictures are the camera shootings in the local police stations A region, and the matching picture of the local police stations A camera shooting just belongs to A and sends
Institute region.
Server 20 is additionally operable to count the quantity for the matching picture that each region includes;
For example, matching picture has 100 altogether.The matching picture that so local police stations A include may just have 60, the local police stations B
Including matching picture may just have 40.
Server 20, be additionally operable to by the mark in each region and with the picture that matches corresponding to each region
Quantity is sent to client;
Client 10, be additionally operable to show the mark in each region and with corresponding to each area identification
Quantity with picture.
Wherein, client 10 can be shown in the form of a list.
Optionally, each pickup area has multiple video cameras, then user can select the camera shooting of each pickup area
Machine inquires the matching picture for the shot by camera chosen.It is specific as follows:
Client 10 is additionally operable to when detecting that the user chooses the mark of first area, is sent and is believed to server 20
Breath obtains request, and described information obtains the mark that request includes the first area;Wherein, the first area is described more
Any one region in a region;
For example, showing row's area identification, such as the local police stations A, local police stations B etc. on the interface of client 10.
Server 20 for determining the corresponding target area of the mark of the first area, and obtains the target area
Inside take the mark of the video camera of matching picture;
For example, user has selected the mark in the local police stations A, then will show taking in the local police stations A region at this time
The mark of video camera with picture.Such as video camera A (3), mean that video camera A has taken 3 matching pictures.
Server 20 is additionally operable to the mark to video camera described in client feedback;
Client 10, for showing the camera identification for taking matching picture in the first area;Wherein, described
One target area is any one region in the multiple target area;
Client 10 is additionally operable to when detecting that the first camera identification is selected, and shows the ground of first video camera
Manage position, the matching picture of shooting and every shooting time for matching picture;Wherein, first camera identification is more
Any one camera identification in a camera identification.
Wherein it is possible to understand, when the user clicks the mark of video camera A, the installation position of video camera A will be shown
It sets, and the 3 matching pictures shot and every shooting times for matching picture.Other information is not enumerating herein.
Wherein, when the user clicks the mark of video camera A, the installation position of video camera A can be directly shown on map
It sets.
Server 20 is additionally operable to determine that the picture tupe is and when integrated mode, traverses the Target Photo set
With the matching picture with the presence or absence of the similarity with the picture more than predetermined threshold value in the determination Target Photo set;Its
In, first picture is any one pictures in the Target Photo;
The server 20 is more than if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
The matching picture of default similarity, then send the matching picture to the client;
The client 10, for showing the matching picture according to predetermined manner in search result display area.
Optionally, if the picture tupe is and when integrated mode, server 20 will judge Target Photo set
In with the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the first picture, the first picture is any in Target Photo
One pictures.
Specifically, server 20, it is additionally operable to determine that the picture tupe is and when integrated mode, traverses the target figure
Piece set is with the matching figure with the presence or absence of the similarity with the first picture more than predetermined threshold value in the determination Target Photo set
Piece;Wherein, first picture is any one pictures in the Target Photo;
Server 20, if being additionally operable to exist to be more than with the similarity of first picture in the Target Photo set presets
The matching picture of similarity then sends the matching picture to the client;
For example, Target Photo includes picture A and B, if there are pictures a C's, C and A in Target Photo set
Similarity is more than predetermined threshold value or the similarity of C and B is more than predetermined threshold value, then C is exactly to match picture.
Client 10, for showing the matching picture according to predetermined manner in search result display area.
As shown in Fig. 2, Fig. 2 describes the concrete structure of server 20, server 20 includes:
Receiving unit 210, the picture for receiving client transmission detect request;Wherein, the picture detects request bag
Include the pickup area of the Target Photo and user selection;The Target Photo is face samples pictures;The target figure
The quantity of piece is at least two;
Determination unit 220, for determining Target Photo set according to the pickup area;
Traversal Unit 230 is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the Target Photo
Set is all higher than of predetermined threshold value whether there is in the determination Target Photo set with the similarity of the Target Photo
With picture;
Transmission unit 240 is more than if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
The matching picture of default similarity, then send the matching picture to the client.
Based on Fig. 2, as shown in figure 3, server 20 further includes judging unit 250;
Receiving unit 210 is additionally operable to receive the period that client 10 is sent;
Judging unit 250 is additionally operable to judge whether the period meets preset rules;
Determination unit 220, specifically for when the period meeting preset rules, then server 20 is according to the user
Selected pickup area and selected period determine Target Photo set.
Optionally, the determination unit 220 is additionally operable to determine that the picture tupe is and when integrated mode, traverses institute
Target Photo set is stated to be more than predetermined threshold value with the presence or absence of with the similarity of the picture in the determination Target Photo set
Matching picture;Wherein, first picture is any one pictures in the Target Photo;
Transmission unit 240 is more than if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
The matching picture of default similarity, then send the matching picture to the client.
As shown in figure 4, Fig. 4 discloses a kind of method of recognition of face, the main body that this method executes is server, the side
Method includes:
S301, the picture detection request that client is sent is received.
Wherein, the picture detection request includes the pickup area of the Target Photo and user selection;The mesh
Piece of marking on a map is face samples pictures;The quantity of the Target Photo is at least two.
S302, Target Photo set is determined according to the pickup area.
S303, when determine the picture tupe be intersection mode when, traverse the Target Photo set to determine
It states in Target Photo set with the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the Target Photo.
If there is for being more than default similarity with the similarity of the Target Photo in S304, the Target Photo set
With picture, then the matching picture is sent to the client.
From the above it can be seen that the present invention provides a kind of method of recognition of face, server receives the picture inspection that client is sent
Survey request;Wherein, the picture detection request includes the pickup area of the Target Photo and user selection;The target
Picture is face samples pictures;The quantity of the Target Photo is at least two;Target Photo is determined according to the pickup area
Set;When it is intersection mode to determine the picture tupe, the Target Photo set is traversed with the determination target figure
With the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the Target Photo in piece set;If the Target Photo collection
There is the matching picture for being more than default similarity with the similarity of the Target Photo in conjunction, then to described in client transmission
Match picture.The picture for including face uploaded by the above method, the picture searching monitor video that can be provided according to user
With determine in picture that monitor video uploads whether the picture to match comprising the picture that is provided with user, and by successful match
Picture is presented in predeterminated position;To in the case where not participating in manually, complete recognition of face, and then greatly promote work
Make efficiency.
As shown in figure 5, Fig. 5 discloses a kind of method of recognition of face, the main body that this method executes is server, the side
Method includes:
S401, the picture detection request that client is sent is received;Wherein, the picture detection request includes the target figure
Piece and the pickup area of user selection;The Target Photo is face samples pictures;The quantity of the Target Photo is at least
It is two;
S402, Target Photo set is determined according to the pickup area;
S403, when determine the picture tupe be intersection mode when, traverse the Target Photo set to determine
It states in Target Photo set with the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the Target Photo;
If there is for being more than default similarity with the similarity of the Target Photo in S404, the Target Photo set
With picture, then the matching picture is sent to the client.
S405, when determining that the picture tupe is and when integrated mode, traverses the Target Photo set to determine
It states in Target Photo set with the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the first picture;Wherein, described
One picture is any one pictures in the Target Photo.
If there is for being more than default similarity with the similarity of first picture in S406, the Target Photo set
With picture, then the matching picture is sent to the client.
S407, the period that the client is sent is received;
S408, judge whether the period meets preset rules;
S409, when the period meeting preset rules, then the server is selected according to the user acquisition zone
Domain and selected period determine Target Photo set.
It is hereby understood that the present embodiment has expanded picture tupe is and integrated mode and the acquisition selected according to the user
The step of region and selected period determine Target Photo set, to further improve working efficiency.
Referring to Fig. 6, in another embodiment of the present invention, providing a kind of server.The server 500 includes
CPU501, memory 502, bus 503.
Wherein, CPU501 executes the program being stored in advance in memory 502, which specifically includes:
Receive the picture detection request that client is sent;Wherein, picture detection request include the Target Photo and
The pickup area of user's selection;The Target Photo is face samples pictures;The quantity of the Target Photo is at least two
;
Target Photo set is determined according to the pickup area;
When it is intersection mode to determine the picture tupe, the Target Photo set is traversed with the determination target
With the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the Target Photo in picture set;
If there is the matching figure for being more than default similarity with the similarity of the Target Photo in the Target Photo set
Piece then sends the matching picture to the client.
Optionally, the pickup area and selected period that the server is selected according to the user determine Target Photo
Before set, the implementation procedure further includes:
Receive the period that the client is sent;
Judge whether the period meets preset rules;
The pickup area and selected period that the server is selected according to the user determine Target Photo set, wrap
It includes:
When the period meeting preset rules, then the server is selected according to the user pickup area and choosing
The fixed period determines Target Photo set.
Optionally, the pickup area includes multiple regions;The implementation procedure further includes:
Determine that the picture tupe is and when integrated mode, traverses the Target Photo set with the determination target figure
With the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the first picture in piece set;Wherein, first picture is
Any one pictures in the Target Photo;
If there is the matching figure for being more than default similarity with the similarity of first picture in the Target Photo set
Piece then sends the matching picture to the client.
As can be seen that in the scheme of the embodiment of the present invention, server receives the picture detection request that client is sent;Its
In, the picture detection request includes the pickup area of the Target Photo and user selection;The Target Photo is behaved
Face samples pictures;The quantity of the Target Photo is at least two;Target Photo set is determined according to the pickup area;When true
When the fixed picture tupe is intersection mode, the Target Photo set is traversed to be in the determination Target Photo set
It is no to there is the matching picture for being more than predetermined threshold value with the similarity of the Target Photo;If in the Target Photo set exist with
The similarity of the Target Photo is more than the matching picture of default similarity, then sends the matching picture to the client.
By the above method, the picture comprising face that the picture searching monitor video that can be provided according to user uploads is monitored with determining
In the picture that video uploads whether the picture to match comprising the picture that is provided with user, and the picture of successful match is being preset
Position is presented;To in the case where not participating in manually, complete recognition of face, and then greatly promote working efficiency.
In earlier figures 4, embodiment shown in fig. 5, each step method flow can be realized based on the structure of the server.
In earlier figures 2, embodiment shown in Fig. 3, each unit function can be realized based on the structure of the server.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
Modification or replacement, the range for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.
Claims (6)
1. a kind of system of recognition of face, which is characterized in that the system comprises client and server, the server connection
Multiple cameras, the camera are used to carry out real-time grasp shoot record to appearing in the personage in camera lens, specially:When monitoring model
It encloses interior when there is face, automatic will capture and facial image is sent to the server in a manner of time flow;
The client, for when detecting that user clicks predeterminable area, user being prompted to upload Target Photo;Wherein, described
Target Photo is face samples pictures;The quantity of the Target Photo is at least two;
The client when being additionally operable to detect that the Target Photo is uploaded successfully, prompts user to select pickup area and picture
Tupe;
The client is additionally operable to send picture detection request to server;Wherein, the picture detection request includes the mesh
Mark on a map piece, the user selection pickup area and the picture tupe;
The server, for determining that Target Photo set, the pickup area include multiple regions according to the pickup area;
The server is additionally operable to, when it is intersection mode to determine the picture tupe, traverse the Target Photo set
Whether there is the matching figure for being all higher than predetermined threshold value with the similarity of the Target Photo in the determination Target Photo set
Piece;
The server, if being additionally operable in the Target Photo set be all higher than in the presence of the similarity with the Target Photo default
The matching picture of similarity then sends the matching picture to the client;
The client, for showing the matching picture according to predetermined manner in search result display area;
Wherein, the server is additionally operable to determine that the picture tupe is and when integrated mode, traverses the Target Photo collection
It closes with the matching picture with the presence or absence of the similarity with the first picture more than predetermined threshold value in the determination Target Photo set;Its
In, first picture is any one pictures in the Target Photo;
The server is more than default phase if being additionally operable to exist in the Target Photo set with the similarity of first picture
Like the matching picture of degree, then the matching picture is sent to the client;
The client, for showing the matching picture according to predetermined manner in search result display area;
The server is more than default phase if being additionally operable to exist in the Target Photo set with the similarity of the Target Photo
Like the matching picture of degree, then the server determines the region belonging to each matching picture;
The server is additionally operable to count the quantity for the matching picture that each region includes;
The server, be additionally operable to by the mark in each region and with the number for matching picture corresponding to each region
Amount is sent to the client;
The client, be additionally operable to show the mark in each region and with the matching corresponding to each area identification
The quantity of picture.
2. system according to claim 1, which is characterized in that
The client is additionally operable to prompt user's seclected time period;
The client is additionally operable to the period that the user selectes being sent to the server;
The server is additionally operable to judge whether the period meets preset rules;
The server, specifically for the acquisition zone when the period meeting preset rules, then selected according to the user
Domain and selected period determine Target Photo set.
3. a kind of server, which is characterized in that the server connects multiple cameras, and the camera is used for appearing in mirror
Personage in head carries out real-time grasp shoot record, specially:When occurring face in monitoring range, will capture automatically and by face figure
As being sent to the server in a manner of time flow, the server includes:
Receiving unit, the picture for receiving client transmission detect request;Wherein, the picture detection request includes target figure
Piece and the pickup area of user's selection;The Target Photo is face samples pictures;The quantity of the Target Photo is at least two
;
Determination unit, for determining that Target Photo set, the pickup area include multiple regions according to the pickup area;
Traversal Unit is additionally operable to, when it is intersection mode to determine picture tupe, traverse the Target Photo set with determination
With the presence or absence of the matching picture for being all higher than predetermined threshold value with the similarity of the Target Photo in the Target Photo set;
Transmission unit, if being additionally operable to exist in the Target Photo set similar more than default to the similarity of the Target Photo
The matching picture of degree then sends the matching picture to the client;
Wherein, the determination unit is additionally operable to determine that the picture tupe is and when integrated mode, traverses the Target Photo
Set is with the matching picture with the presence or absence of the similarity with the first picture more than predetermined threshold value in the determination Target Photo set;
Wherein, first picture is any one pictures in the Target Photo;
The transmission unit, if being additionally operable to exist to be more than with the similarity of first picture in the Target Photo set presets
The matching picture of similarity then sends the matching picture to the client;
The server, also particularly useful for:
If there is the matching picture for being more than default similarity with the similarity of the Target Photo in the Target Photo set,
The server determines the region belonging to each matching picture;Count the quantity for the matching picture that each region includes;It will
The mark in each region and it is sent to the client with the quantity for matching picture corresponding to each region;By institute
State client show each region mark and with the quantity for matching picture corresponding to each area identification.
4. server according to claim 3, which is characterized in that the server further includes judging unit;
The receiving unit is additionally operable to receive the period that the client is sent;
The judging unit is additionally operable to judge whether the period meets preset rules;
The determination unit, specifically for when the period meeting preset rules, then the server is according to the user
Selected pickup area and selected period determine Target Photo set.
5. a kind of method of recognition of face, which is characterized in that be applied to the system of recognition of face, the system comprises client and
Server, the server connect multiple cameras, and the camera for being grabbed in real time to appearing in the personage in camera lens
Record is clapped, specially:When occurring face in monitoring range, by automatic candid photograph and facial image is sent in a manner of time flow
To server, the method includes:
Receive the picture detection request that client is sent;Wherein, the picture detection request includes Target Photo and user's selection
Pickup area;The Target Photo is face samples pictures;The quantity of the Target Photo is at least two;
Determine that Target Photo set, the pickup area include multiple regions according to the pickup area;
When it is intersection mode to determine picture tupe, the Target Photo set is traversed with the determination Target Photo set
In with the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the Target Photo;
If there is the matching picture for being more than default similarity with the similarity of the Target Photo in the Target Photo set,
The matching picture is sent to the client;
Wherein, the method further includes:
When it is simultaneously integrated mode to determine the picture tupe, the Target Photo set is traversed with the determination Target Photo
With the presence or absence of the matching picture for being more than predetermined threshold value with the similarity of the first picture in set;Wherein, first picture is institute
State any one pictures in Target Photo;
If there is the matching picture for being more than default similarity with the similarity of first picture in the Target Photo set,
The matching picture is sent to the client;
Wherein, the method further includes:
If there is the matching picture for being more than default similarity with the similarity of the Target Photo in the Target Photo set,
The server determines the region belonging to each matching picture;Count the quantity for the matching picture that each region includes;It will
The mark in each region and it is sent to the client with the quantity for matching picture corresponding to each region;By institute
State client show each region mark and with the quantity for matching picture corresponding to each area identification.
6. according to the method described in claim 5, it is characterized in that, the pickup area that the server is selected according to the user
Before determining Target Photo set with the selected period, the method further includes
Receive the period that the client is sent;
Judge whether the period meets preset rules;
The pickup area and selected period that the server is selected according to the user determine Target Photo set, including:
When the period meeting preset rules, then the server is selected according to the user pickup area and selected
Period determines Target Photo set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611215206.1A CN106778647B (en) | 2016-12-24 | 2016-12-24 | A kind of method of recognition of face, server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611215206.1A CN106778647B (en) | 2016-12-24 | 2016-12-24 | A kind of method of recognition of face, server and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106778647A CN106778647A (en) | 2017-05-31 |
CN106778647B true CN106778647B (en) | 2018-07-17 |
Family
ID=58927215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611215206.1A Active CN106778647B (en) | 2016-12-24 | 2016-12-24 | A kind of method of recognition of face, server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106778647B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5500303B1 (en) * | 2013-10-08 | 2014-05-21 | オムロン株式会社 | MONITORING SYSTEM, MONITORING METHOD, MONITORING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
CN105095831A (en) * | 2014-05-04 | 2015-11-25 | 深圳市贝尔信智能系统有限公司 | Face recognition method, device and system |
CN104133899B (en) * | 2014-08-01 | 2017-10-13 | 百度在线网络技术(北京)有限公司 | The generation method and device in picture searching storehouse, image searching method and device |
CN104317946A (en) * | 2014-10-31 | 2015-01-28 | 上海交通大学 | Multi-key image-based image content retrieval method |
CN105956051A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Information finding method, device and system |
-
2016
- 2016-12-24 CN CN201611215206.1A patent/CN106778647B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106778647A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844492B (en) | A kind of method of recognition of face, client, server and system | |
CN109190508B (en) | Multi-camera data fusion method based on space coordinate system | |
CN109215055A (en) | A kind of target's feature-extraction method, apparatus and application system | |
CN108985343B (en) | Automobile damage detection method and system based on deep neural network | |
TWI416068B (en) | Object tracking method and apparatus for a non-overlapping-sensor network | |
CN109033985B (en) | Commodity identification processing method, device, equipment, system and storage medium | |
CN108875542B (en) | Face recognition method, device and system and computer storage medium | |
US11468683B2 (en) | Population density determination from multi-camera sourced imagery | |
CN110825900A (en) | Training method of feature reconstruction layer, reconstruction method of image features and related device | |
CN111723773B (en) | Method and device for detecting carryover, electronic equipment and readable storage medium | |
DE112016002022T5 (en) | MANAGING FEATURE DATA FOR ENVIRONMENTAL IMAGING ON AN ELECTRONIC DEVICE | |
CN108566513A (en) | A kind of image pickup method of unmanned plane to moving target | |
CN107016348A (en) | With reference to the method for detecting human face of depth information, detection means and electronic installation | |
CN106548113A (en) | Image-recognizing method and system | |
CN109409250A (en) | A kind of across the video camera pedestrian of no overlap ken recognition methods again based on deep learning | |
CN111263955A (en) | Method and device for determining movement track of target object | |
CN109784171A (en) | Car damage identification method for screening images, device, readable storage medium storing program for executing and server | |
CN111291646A (en) | People flow statistical method, device, equipment and storage medium | |
CN113947770B (en) | Method for identifying object placed in different areas of intelligent cabinet | |
CN113469135A (en) | Method and device for determining object identity information, storage medium and electronic device | |
CN106778647B (en) | A kind of method of recognition of face, server and system | |
CN106845355A (en) | A kind of method of recognition of face, server and system | |
CN116110127A (en) | Multi-linkage gas station cashing behavior recognition system | |
CN115588149A (en) | Cross-camera multi-target cascade matching method based on matching priority | |
CN105157681B (en) | Indoor orientation method, device and video camera and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |