CN109284722A - Image processing method, device, face recognition device and storage medium - Google Patents
Image processing method, device, face recognition device and storage medium Download PDFInfo
- Publication number
- CN109284722A CN109284722A CN201811144961.4A CN201811144961A CN109284722A CN 109284722 A CN109284722 A CN 109284722A CN 201811144961 A CN201811144961 A CN 201811144961A CN 109284722 A CN109284722 A CN 109284722A
- Authority
- CN
- China
- Prior art keywords
- facial image
- image
- picture
- face
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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
- G06V40/172—Classification, e.g. identification
-
- 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
- G06V40/161—Detection; Localisation; Normalisation
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 Processing (AREA)
Abstract
The embodiment of the present application discloses a kind of image processing method, device, face recognition device and storage medium, and this method includes obtaining raw image data, identifies to the raw image data;If recognized in the raw image data comprising facial image, the facial image picture in the raw image data is intercepted;The facial image picture and corresponding identification information are associated preservation, the identification information includes the acquisition time and/or acquisition position of the raw image data, and this programme significantly reduces image storage space.
Description
Technical field
The invention relates to computer technology more particularly to a kind of image processing method, device, face recognition devices
And storage medium.
Background technique
Recognition of face is a kind of biological identification technology for carrying out identification based on facial feature information of people.In general, making
Image or video flowing containing face, and detection and tracking face in the picture are acquired with video camera or camera.
In the prior art, it carries out Image Acquisition by the image collecting device arranged in each website and is stored in storage to set
It is inquired accordingly in standby to subsequent, the image data of storage occupies biggish memory space, and compares in subsequent query
Data operation quantity is larger in the process, this kind of mode existing defects need to improve.
Summary of the invention
This application provides a kind of image processing method, device, face recognition device and storage mediums, significantly reduce figure
Image storage space.
In a first aspect, the embodiment of the present application provides a kind of image processing method, comprising:
Raw image data is obtained, the raw image data is identified;
If recognized in the raw image data comprising facial image, the people in the raw image data is intercepted
Face image picture;
The facial image picture and corresponding identification information are associated preservation, the identification information includes the original
The acquisition time and/or acquisition position of beginning image data.
Second aspect, the embodiment of the present application also provides a kind of image processing apparatus, comprising:
Image collection module identifies the raw image data for obtaining raw image data;
Image processing module, if for recognizing in the raw image data comprising facial image, described in interception
Facial image picture in raw image data;
Image storage module, it is described for the facial image picture and corresponding identification information to be associated preservation
Identification information includes the acquisition time and/or acquisition position of the raw image data.
The third aspect, the embodiment of the present application also provides a kind of face recognition devices, comprising: processor, memory and
The computer program that can be run on a memory and on a processor is stored, the processor executes real when the computer program
The now image processing method as described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application also provides a kind of, and the storage comprising face recognition device executable instruction is situated between
Matter, the face recognition device executable instruction by face recognition device processor when being executed for executing the embodiment of the present application
The image processing method.
In the present solution, obtaining raw image data, the raw image data is identified;If recognizing the original
Include facial image in beginning image data, then intercepts the facial image picture in the raw image data;By the face figure
As picture and corresponding identification information are associated preservation, the identification information includes the acquisition time of the raw image data
And/or acquisition position, significantly reduce image storage space.
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 a kind of flow chart of image processing method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another image processing method provided by the embodiments of the present application;
Fig. 3 is the flow chart of another image processing method provided by the embodiments of the present application;
Fig. 4 is the flow chart of another image processing method provided by the embodiments of the present application;
Fig. 5 is the flow chart of another image processing method provided by the embodiments of the present application;
Fig. 6 is a kind of structural block diagram of image processing apparatus provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of face recognition device provided by the embodiments 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 for explaining the application, rather than the restriction to the application.It also should be noted that for the ease of retouching
It states, part relevant to the application is illustrated only in attached drawing rather than entire infrastructure.
Fig. 1 is a kind of flow chart of image processing method provided by the embodiments of the present application, is applicable to field of face identification,
This method can be executed by face recognition device provided by the embodiments of the present application or server, the image of the face recognition device
The mode that software and/or hardware can be used in processing unit is realized, as shown in Figure 1, concrete scheme provided in this embodiment is as follows:
Step S101, raw image data is obtained, the raw image data is identified.
Wherein, raw image data can be photographic device (video camera as being arranged in each cell, crossing) acquisition
Image data, the raw image data can be temporarily stored in buffer storage, to carry out subsequent corresponding position to the raw image data
It is saved on the non-volatile memory mediums such as hard disk again after reason.
Wherein, after getting raw image data, the raw image data is identified accordingly, is such as carried out original
Image data whether include face identification, specifically, identification method includes: the raw image data that will acquire and default
Face template is compared, and calculates images match degree, determines that this is original if matching degree is greater than preset threshold (such as 80%)
Image data includes facial image, in addition to this, the artificial neural network algorithm in pattern-recognition also can be used, i.e., by pair
Study comprising face sample sets and not comprising face sample sets generates classifier, is identified raw image data with determination
Whether it belongs to the classification comprising facial image.
If step S102, recognized in the raw image data comprising facial image, the original image is intercepted
Facial image picture in data.
In one embodiment, raw image data can be the image data of the whole day of photographic device acquisition, such as every 2
The set for the image frame that second beats is taken the photograph.After determining that image frame therein includes facial image in step S101, accordingly
The facial image is intercepted to obtain facial image picture.Specifically, edge detection knowledge can be used, determination includes otherwise
Facial image edge, the interception of facial image is carried out according to the edge, or after recognizing facial image, chooses face
4 datum marks (such as four, the upper and lower, left and right of face face datum mark) of image determine the rectangle region comprising this 4 datum marks
Domain is intercepted.
Step S103, the facial image picture and corresponding identification information are associated preservation, the identification information
Acquisition time and/or acquisition position including the raw image data.
Wherein, identification information is used to characterize acquisition time and acquisition position of the facial image picture of the interception in acquisition
It sets, wherein acquisition time can be photographic device and shoot the system time recorded when the image data, and acquisition position, which can be, to be taken the photograph
As the regional location that device is arranged, in one embodiment, photographic device has been internally integrated system clock, in mounting arrangements process
In the specific location that marks accordingly, which can be earth latitude and longitude coordinates, is also possible to map datum acceptance of the bid
The crossing (such as road xxx and the intersection xxx) of note specifically installed, can also be specific bus station's station board subway entrance etc.
Position.
In one embodiment, facial image picture that step S102 is intercepted and corresponding identification information are associated guarantor
It deposits, is such as associated remarks record, the corresponding acquisition time of record facial image picture and/or acquisition position in the database,
Can also be and acquisition time and/or acquisition position are embedded in a coded form in facial image picture, such as by acquisition time and
Acquisition position is labeled in the lower right corner of facial image picture.
As shown in the above, the raw image data comprising facial image will be recognized and carries out facial image interception, only
Save the facial image picture that is truncated to, while and acquisition time when shooting and collecting location is associated with preservation, is greatly reduced
Image storage space, while being convenient for directly determining place and the acquisition time of acquisition when subsequent recognition of face, improve figure
As treatment effeciency.
Based on the above technical solution, the facial image picture and corresponding identification information are being associated guarantor
After depositing, further includes: obtain target facial image, the facial image picture of the target facial image and preservation is compared
Processing, output compare consistent facial image picture and associated identification information.Wherein, target facial image requires to look up
The facial image of target person, after above scheme preservation finishes facial image picture, the subsequent face for carrying out target person is known
When other, target facial image and the facial image picture of preservation are compared, drawn if there is consistent facial image is compared
Face exports associated acquisition time and/or collecting location accordingly then to feed back to search end.Due to only needing to face picture figure
Picture and target facial image are compared, and save comparison time, improve the computational efficiency of comparison process.
Fig. 2 is that the flow chart of another image processing method provided by the embodiments of the present application is optionally intercepting the original
After facial image picture in beginning image data, further includes: carry out image flame detection to the facial image picture of the interception and obtain
To correction facial image picture;Correspondingly, described be associated preservation for the facial image picture and corresponding identification information
It include: that the correction facial image picture and corresponding identification information are associated preservation.As shown in Fig. 2, technical solution has
Body is as follows:
Step S201, raw image data is obtained, the raw image data is identified.
If step S202, recognized in the raw image data comprising facial image, the original image is intercepted
Facial image picture in data.
Step S203, image flame detection is carried out to the facial image picture of the interception and obtains correction facial image picture.
In one embodiment, correction process is carried out to face picture image accordingly after being truncated to facial image picture
It obtains correction facial image picture and is stored.It can direct and correction face in the identification of succeeding target facial image compares
Image frame is compared, and further improves facial image and compares speed and accuracy rate.
Step S204, the correction facial image picture and corresponding identification information are associated preservation.
It can be seen from the above, can quickly determine whether storing data includes target person in the case where mass data storage
Face image saves operation time.
Fig. 3 is the flow chart of another image processing method provided by the embodiments of the present application, optionally, described to described section
The facial image picture that takes carries out image flame detection and obtains correction facial image picture to include: to judge that the facial image of the interception is
No is front face image, if it is not, then carrying out image flame detection to the facial image picture of the interception obtains correction face figure
As picture.As shown in figure 3, technical solution is specific as follows:
Step S301, raw image data is obtained, the raw image data is identified.
If step S302, recognized in the raw image data comprising facial image, the original image is intercepted
Facial image picture in data.
Step S303, whether the facial image for judging the interception is front face image, if it is not, then to the interception
Facial image picture carry out image flame detection obtain correction facial image picture.
In one embodiment, for the image for needing secondary treatment individually, in the facial image by judgement interception
Whether face are symmetrically to determine whether the facial image of interception is front face image.Specifically, by taking eyes and mouth as an example, it is first
It first carries out eyes and mouth positions and obtains the line between eyes and mouth, if the line between eyes is in horizontal
State, and it is symmetrical triangle that the triangle of eyes and mouth line composition, which is in, it is determined that current face's image is front face
Otherwise image is non-frontal facial image, carry out image flame detection processing.
Step S304, the correction facial image picture and corresponding identification information are associated preservation.
It can be seen from the above, identified simultaneously during carrying out facial image interception the facial image currently occurred whether be
Front face image saves treated facial image picture if not correction process is then carried out, so that the picture number of storage
According to during subsequent face alignment recognition accuracy and recognition efficiency significantly improve.
Fig. 4 is the flow chart of another image processing method provided by the embodiments of the present application, optionally, described to described section
The facial image picture taken carries out image flame detection and obtains correction facial image picture to include: the facial image picture for positioning the interception
Characteristic point on face generates at least two human face characteristic point coordinates;People is calculated based on at least two human face characteristic point coordinates
Face deflection angle, and reversely rotate according to the face deflection angle facial image picture of the interception;After reverse rotation
Facial image picture carry out repair process obtain correction facial image picture.As shown in figure 4, technical solution is specific as follows:
Step S401, raw image data is obtained, the raw image data is identified.
If step S402, recognized in the raw image data comprising facial image, the original image is intercepted
Facial image picture in data.
Step S403, whether the facial image for judging the interception is front face image, if not, positioning the interception
Facial image picture on characteristic point, generate at least two human face characteristic point coordinates.
In one embodiment, this feature point can choose the point for including in the human face five-sense-organ of positioning easy to identify, as eyeball,
The positions such as nose specifically can be used model location method in the prior art and realize as characteristic point.
Step S404, face deflection angle is calculated based on at least two human face characteristic point coordinates, and according to the people
Face deflection angle reversely rotates the facial image picture of the interception.
When facial image is in standard posture, the line between any two characteristic point has fixed directionality, such as nose
It should be vertical with the line in people.Characteristic point line and the angle in horizontal or vertical direction are in a fixed range
It is interior, such as substantially 90 ° of angle of line and horizontal direction in nose and people.Therefore, using Principle of Statistics according to people
The distributing position of face face finds out their average angles under standard posture.The seat of two characteristic points on known facial image
Mark, that is, can determine the line of the two characteristic points, so as to find out two characteristic points in facial image line with level or it is perpendicular
Histogram to angle, the face deflection angle that is compared that you can get it with average angle.Face deflection angle is calculated, is at least needed
The position coordinates of two human face characteristic points, the position coordinates that more than two human face characteristic points can also be used are calculated, for example,
According to the position coordinates of three human face characteristic points, then it is a triangle by three human face characteristic point lines, utilizes statistics
Principle obtains standard triangle when these three feature point criterion postures, calculates the angle of two triangles, can calculate face
Deflection angle.It is corresponding to carry out face reverse rotation processing, rotation angle and face deflection angle after determining face deflection angle
Spend it is equal, thus the facial image after being rotated.
Step S405, repair process is carried out to the facial image picture after reverse rotation and obtains correction facial image picture.
It in one embodiment, can be according to facial symmetry characteristic to brightness of image, comparison after reverse rotation is handled
It spends poor side and repair process is carried out using mirror-image fashion.Specifically, brightness of image can be carried out to the image after reverse rotation
Identified with contrast, by the face image (such as eyes image) of the higher side of brightness and contrast carry out symmetry transformation processing with
Correct the image of the poor side of brightness and contrast.
Step S406, the correction facial image picture and corresponding identification information are associated preservation.
It can be seen from the above, being handled by above-mentioned image flame detection, the image after correction process is front face image, is rectified simultaneously
Forward efficiency is higher, by the clarity for the front face image that the repair process after image flame detection further improves, just
It is compared in the identification of subsequent facial image.
Fig. 5 is the flow chart of another image processing method provided by the embodiments of the present application, optionally, described by the people
If it includes: that there are several to include same person in preset duration that face image picture and corresponding identification information, which are associated preservation,
Width picture therein and corresponding identification information are then associated preservation by the picture of face image.As shown in figure 5, technical side
Case is specific as follows:
Step S501, raw image data is obtained, the raw image data is identified.
If step S502, recognized in the raw image data comprising facial image, the original image is intercepted
Facial image picture in data.
Step S503, whether the facial image for judging the interception is front face image, if not, positioning the interception
Facial image picture on characteristic point, generate at least two human face characteristic point coordinates.
Step S504, face deflection angle is calculated based on at least two human face characteristic point coordinates, and according to the people
Face deflection angle reversely rotates the facial image picture of the interception.
Step S505, repair process is carried out to the facial image picture after reverse rotation and obtains correction facial image picture.
If step S506, in preset duration, there are the pictures that several include identical facial image, by therein one
Width picture and corresponding identification information are associated preservation.
In one embodiment, it carries out within each preset time of raw image data acquisition device such as 1 second, 2 seconds or 5 seconds primary
It captures, mainly for passer-by, includes if there are several in the raw image data that preset duration is such as shot in 5 seconds
Width picture therein and corresponding identification information are then associated preservation, thus further by the picture of identical facial image
Save image storage space.
Fig. 6 is a kind of structural block diagram of image processing apparatus provided by the embodiments of the present application, and the device is above-mentioned for executing
The image processing method that embodiment provides, has the corresponding functional module of execution method and beneficial effect.As shown in fig. 6, the dress
It sets and specifically includes: image collection module 101, image processing module 102 and image storage module 103, wherein
Image collection module 101 identifies the raw image data for obtaining raw image data.
Wherein, raw image data can be photographic device (video camera as being arranged in each cell, crossing) acquisition
Image data, the raw image data can be temporarily stored in buffer storage, to carry out subsequent corresponding position to the raw image data
It is saved on the non-volatile memory mediums such as hard disk again after reason.
Wherein, after getting raw image data, the raw image data is identified accordingly, is such as carried out original
Image data whether include face identification, specifically, identification method includes: the raw image data that will acquire and default
Face template is compared, and calculates images match degree, determines that this is original if matching degree is greater than preset threshold (such as 80%)
Image data includes facial image, in addition to this, the artificial neural network algorithm in pattern-recognition also can be used, i.e., by pair
Study comprising face sample sets and not comprising face sample sets generates classifier, is identified raw image data with determination
Whether it belongs to the classification comprising facial image.
Image processing module 102, if intercepting institute for recognizing in the raw image data comprising facial image
State the facial image picture in raw image data.
In one embodiment, raw image data can be the image data of the whole day of photographic device acquisition, such as every 2
The set for the image frame that second beats is taken the photograph.After determining that image frame therein includes facial image in step S101, accordingly
The facial image is intercepted to obtain facial image picture.Specifically, edge detection knowledge can be used, determination includes otherwise
Facial image edge, the interception of facial image is carried out according to the edge, or after recognizing facial image, chooses face
4 datum marks (such as four, the upper and lower, left and right of face face datum mark) of image determine the rectangle region comprising this 4 datum marks
Domain is intercepted.
Image storage module 103, for the facial image picture and corresponding identification information to be associated preservation, institute
State the acquisition time and/or acquisition position that identification information includes the raw image data.
Wherein, identification information is used to characterize acquisition time and acquisition position of the facial image picture of the interception in acquisition
It sets, wherein acquisition time can be photographic device and shoot the system time recorded when the image data, and acquisition position, which can be, to be taken the photograph
As the regional location that device is arranged, in one embodiment, photographic device has been internally integrated system clock, in mounting arrangements process
In the specific location that marks accordingly, which can be earth latitude and longitude coordinates, is also possible to map datum acceptance of the bid
The crossing (such as road xxx and the intersection xxx) of note specifically installed, can also be specific bus station's station board subway entrance etc.
Position.
In one embodiment, the facial image picture of interception and corresponding identification information are associated preservation, such as existed
It is associated remarks record, the corresponding acquisition time of record facial image picture and/or acquisition position in database, can also be
Acquisition time and/or acquisition position are embedded in a coded form in facial image picture, such as by acquisition time and acquisition position
It is labeled in the lower right corner of facial image picture.
As shown in the above, the raw image data comprising facial image will be recognized and carries out facial image interception, only
Save the facial image picture that is truncated to, while and acquisition time when shooting and collecting location is associated with preservation, is greatly reduced
Image storage space, while being convenient for directly determining place and the acquisition time of acquisition when subsequent recognition of face, improve figure
As treatment effeciency.
In a possible embodiment, described image processing module 102 is specifically used for: intercepting the original image number
After facial image picture in, image flame detection is carried out to the facial image picture of the interception and obtains correction facial image picture
Face;
Described image memory module 103 is specifically used for:
The correction facial image picture and corresponding identification information are associated preservation.
In a possible embodiment, described image processing module 102 is specifically used for::
Whether the facial image for judging the interception is front face image, if it is not, then to the face figure of the interception
Correction facial image picture is obtained as picture carries out image flame detection.
In a possible embodiment, whether the facial image for judging the interception is front face image packet
It includes:
Judge whether the face in the facial image of the interception are symmetrical.
In a possible embodiment, described image processing module 102 is specifically used for:
The characteristic point on the facial image picture of the interception is positioned, at least two human face characteristic point coordinates are generated;
Face deflection angle is calculated based on at least two human face characteristic point coordinates, and according to the face deflection angle
Reversely rotate the facial image picture of the interception;
Repair process is carried out to the facial image picture after reverse rotation and obtains correction facial image picture.
In a possible embodiment, described image memory module 103 is specifically used for:
If there are the pictures that several include identical facial image in preset duration, by width picture therein and right
The identification information answered is associated preservation.
In a possible embodiment, described image processing module 102 is also used to:
After the facial image picture and corresponding identification information are associated preservation, target face figure is obtained
Processing is compared in the facial image picture of the target facial image and preservation by picture, and output compares consistent facial image
Picture and associated identification information.
The present embodiment provides a kind of face recognition device on the basis of the various embodiments described above, and Fig. 7 is that the application is implemented
Example provide a kind of face recognition device structural schematic diagram, as shown in fig. 7, the face recognition device include: memory 201,
Processor (Central Processing Unit, CPU) 202, Peripheral Interface 203, camera 205, power management chip 208,
Input/output (I/O) subsystem 209, touch screen 212, Wifi module 213, other input/control devicess 210 and outer end
Mouth 204, these components are communicated by one or more communication bus or signal wire 207.
It should be understood that diagram face recognition device is only an example of face recognition device, and face is known
Other equipment can have than shown in the drawings more or less component, can combine two or more components, or
Person can have different component configurations.Various parts shown in the drawings can include one or more signal processings and/
Or it is realized in the combination of hardware including specific integrated circuit, software or hardware and software.
Just the face recognition device provided in this embodiment for image procossing is described in detail below.
Memory 201, the memory 201 can be accessed by CPU202, Peripheral Interface 203 etc., and the memory 201 can
It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203
Reservoir 201.
I/O subsystem 209, the I/O subsystem 209 can be by the input/output peripherals in equipment, such as touch screen 212
With other input/control devicess 210, it is connected to Peripheral Interface 203.I/O subsystem 209 may include 2091 He of display controller
For controlling one or more input controllers 2092 of other input/control devicess 210.Wherein, one or more input controls
Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210,
Other input/control devicess 210 may include physical button (push button, rocker buttons etc.), slide switch, control stick, point
Hit idler wheel.It is worth noting that input controller 2092 can with it is following any one connect: keyboard, infrared port, USB interface
And the indicating equipment of such as mouse.
Touch screen 212, the touch screen 212 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 2091 in I/O subsystem 209 receives electric signal from touch screen 212 or sends out to touch screen 212
Electric signals.Touch screen 212 detects the contact on touch screen, and the contact that display controller 2091 will test is converted to and is shown
The interaction of user interface object on touch screen 212, i.e. realization human-computer interaction, the user interface being shown on touch screen 212
Object can be icon, the icon for being networked to corresponding network etc. of operation program.It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered
And power management.
This Shen can be performed in the image processing apparatus and face recognition device of the face recognition device provided in above-described embodiment
Please face recognition device provided by any embodiment image processing method, have execute the corresponding functional module of this method and
Beneficial effect.The not technical detail of detailed description in the above-described embodiments, reference can be made to people provided by the application any embodiment
The image processing method of face identification equipment.
The embodiment of the present application also provides a kind of storage medium comprising face recognition device executable instruction, and the face is known
Other machine executable instructions by face recognition device processor when being executed for executing a kind of image processing method, this method packet
It includes:
Raw image data is obtained, the raw image data is identified;
If recognized in the raw image data comprising facial image, the people in the raw image data is intercepted
Face image picture;
The facial image picture and corresponding identification information are associated preservation, the identification information includes the original
The acquisition time and/or acquisition position of beginning image data.
In a possible embodiment, it after intercepting the facial image picture in the raw image data, also wraps
It includes:
Image flame detection is carried out to the facial image picture of the interception and obtains correction facial image picture;
The facial image picture and corresponding identification information are associated preservation include: correspondingly, described
The correction facial image picture and corresponding identification information are associated preservation.
In a possible embodiment, the facial image picture progress image flame detection to the interception is corrected
Facial image picture includes:
Whether the facial image for judging the interception is front face image, if it is not, then to the face figure of the interception
Correction facial image picture is obtained as picture carries out image flame detection.
In a possible embodiment, whether the facial image for judging the interception is front face image packet
It includes:
Judge whether the face in the facial image of the interception are symmetrical.
In a possible embodiment, the facial image picture progress image flame detection to the interception is corrected
Facial image picture includes:
The characteristic point on the facial image picture of the interception is positioned, at least two human face characteristic point coordinates are generated;
Face deflection angle is calculated based on at least two human face characteristic point coordinates, and according to the face deflection angle
Reversely rotate the facial image picture of the interception;
Repair process is carried out to the facial image picture after reverse rotation and obtains correction facial image picture.
In a possible embodiment, described that the facial image picture and corresponding identification information are associated guarantor
It deposits and includes:
If there are the pictures that several include identical facial image in preset duration, by width picture therein and right
The identification information answered is associated preservation.
In a possible embodiment, the facial image picture and corresponding identification information are being associated preservation
Later, further includes:
Target facial image is obtained, processing is compared in the facial image picture of the target facial image and preservation,
Output compares consistent facial image picture and associated identification information.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location (such as by network connection different computer systems in) two or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The image processing method operation that executable instruction is not limited to the described above, can also be performed provided by the application any embodiment
Relevant operation in image processing method.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. image processing method characterized by comprising
Raw image data is obtained, the raw image data is identified;
If recognized in the raw image data comprising facial image, the face figure in the raw image data is intercepted
As picture;
The facial image picture and corresponding identification information are associated preservation, the identification information includes the original graph
As the acquisition time and/or acquisition position of data.
2. the method according to claim 1, wherein being drawn intercepting the facial image in the raw image data
After face, further includes:
Image flame detection is carried out to the facial image picture of the interception and obtains correction facial image picture;
The facial image picture and corresponding identification information are associated preservation include: correspondingly, described
The correction facial image picture and corresponding identification information are associated preservation.
3. according to the method described in claim 2, it is characterized in that, the facial image picture to the interception carries out image
Correction obtains correction facial image picture
Whether the facial image for judging the interception is front face image, if it is not, then the facial image to the interception is drawn
Face carries out image flame detection and obtains correction facial image picture.
4. according to the method described in claim 3, it is characterized in that, whether the facial image for judging the interception is front
Facial image includes:
Judge whether the face in the facial image of the interception are symmetrical.
5. according to the method described in claim 2, it is characterized in that, the facial image picture to the interception carries out image
Correction obtains correction facial image picture
The characteristic point on the facial image picture of the interception is positioned, at least two human face characteristic point coordinates are generated;
Face deflection angle is calculated based on at least two human face characteristic point coordinates, and reversed according to the face deflection angle
Rotate the facial image picture of the interception;
Repair process is carried out to the facial image picture after reverse rotation and obtains correction facial image picture.
6. method according to claim 1, which is characterized in that described by the facial image picture and corresponding mark
Information is associated preservation
If there are the pictures that several include identical facial image in preset duration, by width picture therein and corresponding
Identification information is associated preservation.
7. method according to claim 1 to 6, which is characterized in that by the facial image picture and correspondence
Identification information be associated after preservation, further includes:
Target facial image is obtained, processing is compared in the facial image picture of the target facial image and preservation, is exported
Compare consistent facial image picture and associated identification information.
8. image processing apparatus characterized by comprising
Image collection module identifies the raw image data for obtaining raw image data;
Image processing module, if intercepted described original for recognizing in the raw image data comprising facial image
Facial image picture in image data;
Image storage module, for the facial image picture and corresponding identification information to be associated preservation, the mark
Information includes the acquisition time and/or acquisition position of the raw image data.
9. a kind of face recognition device, comprising: processor, memory and storage can be run on a memory and on a processor
Computer program, which is characterized in that the processor is realized when executing the computer program as any in claim 1-7
Image processing method described in.
10. a kind of storage medium comprising face recognition device executable instruction, which is characterized in that the face recognition device can
It executes instruction when being executed by face recognition device processor for executing such as image of any of claims 1-7
Reason method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811144961.4A CN109284722A (en) | 2018-09-29 | 2018-09-29 | Image processing method, device, face recognition device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811144961.4A CN109284722A (en) | 2018-09-29 | 2018-09-29 | Image processing method, device, face recognition device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109284722A true CN109284722A (en) | 2019-01-29 |
Family
ID=65182097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811144961.4A Pending CN109284722A (en) | 2018-09-29 | 2018-09-29 | Image processing method, device, face recognition device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109284722A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427843A (en) * | 2019-07-18 | 2019-11-08 | 广州利科科技有限公司 | A kind of face intelligent identification Method |
CN111061706A (en) * | 2019-11-07 | 2020-04-24 | 浙江大华技术股份有限公司 | Face recognition algorithm model cleaning method and device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103440479A (en) * | 2013-08-29 | 2013-12-11 | 湖北微模式科技发展有限公司 | Method and system for detecting living body human face |
CN103605965A (en) * | 2013-11-25 | 2014-02-26 | 苏州大学 | Multi-pose face recognition method and device |
CN104036278A (en) * | 2014-06-11 | 2014-09-10 | 杭州巨峰科技有限公司 | Extracting method for face algorithm standard face image |
CN104978571A (en) * | 2015-07-02 | 2015-10-14 | 湖北贝力思智能科技有限公司 | Intelligent dynamic high-definition video detection system |
CN106557730A (en) * | 2015-09-30 | 2017-04-05 | 北京奇虎科技有限公司 | Face method and device for correcting in video call process |
-
2018
- 2018-09-29 CN CN201811144961.4A patent/CN109284722A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103440479A (en) * | 2013-08-29 | 2013-12-11 | 湖北微模式科技发展有限公司 | Method and system for detecting living body human face |
CN103605965A (en) * | 2013-11-25 | 2014-02-26 | 苏州大学 | Multi-pose face recognition method and device |
CN104036278A (en) * | 2014-06-11 | 2014-09-10 | 杭州巨峰科技有限公司 | Extracting method for face algorithm standard face image |
CN104978571A (en) * | 2015-07-02 | 2015-10-14 | 湖北贝力思智能科技有限公司 | Intelligent dynamic high-definition video detection system |
CN106557730A (en) * | 2015-09-30 | 2017-04-05 | 北京奇虎科技有限公司 | Face method and device for correcting in video call process |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427843A (en) * | 2019-07-18 | 2019-11-08 | 广州利科科技有限公司 | A kind of face intelligent identification Method |
CN110427843B (en) * | 2019-07-18 | 2021-07-13 | 广州利科科技有限公司 | Intelligent face recognition method |
CN111061706A (en) * | 2019-11-07 | 2020-04-24 | 浙江大华技术股份有限公司 | Face recognition algorithm model cleaning method and device and storage medium |
CN111061706B (en) * | 2019-11-07 | 2023-04-18 | 浙江大华技术股份有限公司 | Face recognition algorithm model cleaning method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2762142C1 (en) | Method and apparatus for determining the key point of the face, computer apparatus, and data storage | |
US10817705B2 (en) | Method, apparatus, and system for resource transfer | |
CN110826519B (en) | Face shielding detection method and device, computer equipment and storage medium | |
WO2018028546A1 (en) | Key point positioning method, terminal, and computer storage medium | |
CN108960163B (en) | Gesture recognition method, device, equipment and storage medium | |
CN103503029B (en) | The method of detection facial characteristics | |
TWI678099B (en) | Video processing method and device and storage medium | |
WO2015172679A1 (en) | Image processing method and device | |
CN106778453B (en) | Method and device for detecting glasses wearing in face image | |
US20120219180A1 (en) | Automatic Detection of Vertical Gaze Using an Embedded Imaging Device | |
CN109325456A (en) | Target identification method, device, target identification equipment and storage medium | |
WO2019033574A1 (en) | Electronic device, dynamic video face recognition method and system, and storage medium | |
US9443325B2 (en) | Image processing apparatus, image processing method, and computer program | |
WO2019011073A1 (en) | Human face live detection method and related product | |
WO2020019504A1 (en) | Robot screen unlocking method, apparatus, smart device and storage medium | |
TW202006630A (en) | Payment method, apparatus, and system | |
US11218629B2 (en) | Tracking system and method thereof | |
WO2019033575A1 (en) | Electronic device, face tracking method and system, and storage medium | |
WO2019085338A1 (en) | Electronic apparatus, image-based age classification method and system, and storage medium | |
CN109377518A (en) | Target tracking method, device, target tracking equipment and storage medium | |
CN109284722A (en) | Image processing method, device, face recognition device and storage medium | |
JP2018081402A (en) | Image processing system, image processing method, and program | |
WO2015014280A1 (en) | Method, apparatus and electronic device for display orientation switching | |
CN109241942A (en) | Image processing method, device, face recognition device and storage medium | |
CN112700568B (en) | Identity authentication method, equipment and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190129 |