CN109492571B - Method and device for identifying human age and electronic equipment - Google Patents

Method and device for identifying human age and electronic equipment Download PDF

Info

Publication number
CN109492571B
CN109492571B CN201811303378.3A CN201811303378A CN109492571B CN 109492571 B CN109492571 B CN 109492571B CN 201811303378 A CN201811303378 A CN 201811303378A CN 109492571 B CN109492571 B CN 109492571B
Authority
CN
China
Prior art keywords
age
determining
human body
human
head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811303378.3A
Other languages
Chinese (zh)
Other versions
CN109492571A (en
Inventor
闵乾惕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sweet Potato Robot Co.,Ltd.
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201811303378.3A priority Critical patent/CN109492571B/en
Publication of CN109492571A publication Critical patent/CN109492571A/en
Application granted granted Critical
Publication of CN109492571B publication Critical patent/CN109492571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/178Human faces, e.g. facial parts, sketches or expressions estimating age from face image; using age information for improving recognition

Landscapes

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

Abstract

The application relates to a method and a device for identifying human age and electronic equipment. According to an exemplary embodiment, a method of identifying an age of a human body may include: identifying the head of a human body in the current frame image; determining a swing parameter of the head of the human body based on the current frame image and a preset number of previous frame images before the current frame image; determining a first age of the human based on the swing parameter.

Description

Method and device for identifying human age and electronic equipment
Technical Field
The present application relates generally to the field of image recognition, and more particularly, to a method and an apparatus for recognizing human age, and an electronic device.
Background
In recent years, artificial intelligence has been gradually put into business applications in many aspects to promote further development of business. For example, monitoring customer flow in a mall environment, identifying customer characteristics, determining customer preferences, and the like. Age is an important characteristic of a customer, and in many cases, it is desirable to be able to identify the age of the customer, thereby identifying a target customer population, for targeted commercial promotion, and the like. In general, the age of a client can be determined by face recognition. However, in some specific application scenarios, for example, in a shopping mall environment, due to a large amount of people, a fast moving speed, a random moving direction, and the like, it is often difficult for the camera to accurately capture the entire facial information of each object, and therefore the age of each object cannot be accurately determined.
One of the existing technical solutions is to collect a large number of videos covering various scenes and then to manually determine the ages of the entering and exiting objects. And then, the data result can be compared with the data result given by the face recognition algorithm, so that the defects of the algorithm are found to perfect the algorithm, and the recognition success rate and accuracy are improved. However, this prior art scheme basically relies on the improvement of IPC (internet protocol camera) algorithm, is subject to the development of face recognition technology, and is still difficult to improve the age recognition accuracy rate fundamentally in a short time only by means of face recognition algorithm.
Disclosure of Invention
In view of the above prior art, the present application provides a method, an apparatus, and an electronic device for identifying a human age, which can identify an age of a subject through multiple algorithms, thereby improving a success rate of identification.
According to an exemplary embodiment, there is provided a method of identifying an age of a human body, which may include: identifying the head of a human body in the current frame image; determining a swing parameter of the head of the human body based on the current frame image and a preset number of previous frame images before the current frame image; determining a first age of the human based on the swing parameter.
According to another exemplary embodiment, there is provided an apparatus for identifying an age of a human body, which may include: a human head recognition unit configured to recognize a head of a human body in the current frame image; a swing parameter determination unit configured to determine a swing parameter of the head of the human body based on the current frame image and a preset number of previous frame images before the current frame image; and a first age identifying unit configured to determine a first age of the human body based on the swing parameter.
According to another exemplary embodiment, there is provided an electronic apparatus, which may include: the camera is used for acquiring an image of a human body; and a processor configured to execute the computer program instructions in the memory to perform the above-described method.
According to another exemplary embodiment, a computer-readable storage medium is provided, on which computer program instructions may be stored, which, when executed by a processor, cause the processor to perform the above-mentioned method.
The foregoing and other features and advantages of the present application will become apparent from the following description of exemplary embodiments.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 illustrates a flowchart of an age identification method according to an exemplary embodiment of the present application.
Fig. 2 illustrates a schematic diagram of a process of determining a head swing parameter according to an exemplary embodiment of the present application.
Fig. 3 illustrates a flowchart of an age identification method according to an exemplary embodiment of the present application.
Fig. 4 illustrates a flowchart of a method of determining age identification stability according to an exemplary embodiment of the present application.
Fig. 5 illustrates a functional block diagram of an age identifying apparatus according to an exemplary embodiment of the present application.
FIG. 6 illustrates a block diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Hereinafter, exemplary embodiments of the present application will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein.
As described above, the existing age identification scheme has the following problems:
1. the method completely depends on the face recognition technology, and complete face image data are difficult to acquire in many application scenes;
2. the face recognition algorithm is difficult to obviously improve the accuracy of age recognition in a short time;
3. a large number of videos covering various scenes are collected to judge the ages of the in-out objects manually, the automation degree is low, the workload of personnel is large, and the disadvantages associated with manual processing cannot be overcome.
In view of the above-mentioned shortcomings in the prior art, the basic idea of the present application is to use a more novel algorithm to achieve intelligent age identification. For example, when a face recognition algorithm cannot be used, the age of a human body can be recognized by a motion characteristic of the human body, such as a swing parameter of the head of the human body. The movement behavior of the human body of different ages has its typical characteristics, and the head is the part of the human body that can most conveniently capture the movement characteristics of the human body. In addition, in some embodiments of the present invention, some auxiliary means are also used to implement age identification, such as human body movement speed, crowd information, and the like, so as to improve the success rate of age identification. In some embodiments, identification result stability judgment, weighting average based on application scenes and other means are also adopted to improve the accuracy of age identification. By adopting the scheme of the invention, compared with the traditional age identification mode which singly depends on face identification, the success rate and the accuracy of age identification are greatly improved.
It should be noted that the basic concept of the present application can be applied not only to commercial environments such as shopping malls and shopping centers, but also to other scenes, such as people stream age identification in scenes such as communities, parks and intersections.
Having described the general principles of the present application, various non-limiting embodiments of the present application will now be described with reference to the accompanying drawings.
Fig. 1 illustrates a flowchart of an age identification method according to an exemplary embodiment of the present application. As shown in fig. 1, the age identifying method 100 may begin with step S110 of identifying a head of a human body in a current frame image. The current frame image may be any frame image in a people stream video captured by, for example, a webcam (IPC), and the human head in the current frame image may be identified by various existing or future-developed algorithms, such as, but not limited to, a neural network-based image identification algorithm, and the like. In step S110, the head of each human body in the image, such as the front head, the side head and the back head, may be recognized without being limited to whether it has a complete face. That is, in the method 100, age recognition may be performed only by the human head without relying on face recognition, as described below.
With continued reference to fig. 1, in step S112, a swing parameter of the human head is determined based on the current frame image and a predetermined number of previous frame images between the current frame images. Here, the wobble parameter may include, for example, at least one of a wobble amplitude and a wobble frequency, and for example, the wobble parameter may include the wobble amplitude, may include only the wobble frequency, and may include both the wobble amplitude and the wobble frequency, wherein the wobble parameter may be implemented based on a plurality of frames of images and tracking the motion of the head. Fig. 2 shows a schematic diagram of a process of determining a wobble parameter. As shown in fig. 2, in a current frame image and several previous frame images (collectively referred to as images 10) prior to the current frame image, a human head is identified, as shown in block 11, and a center point position 12 of the human head may be determined. By tracking the movement of the human head, the movement trajectory of the center point 12 of the human head can be determined, and the swing amplitude and swing frequency of the human head can be determined based on the movement trajectory.
Referring back to fig. 1, in step S114, the age of the human body may be determined based on the swing parameter. For convenience of description, the age of the human body determined based on the swing parameter will be referred to as a first age hereinafter. Through counting a large number of samples, the swing parameters of a human body during movement, typically the swing parameters of the head of the human body, are found to have a correlation with the age of the human body. Generally, the older a person, the lower its head swing frequency; the smaller the age of the human body, the higher the frequency of the head swing. On the other hand, the middle aged people move with a more stable body shape and a lower head swing amplitude, and the higher and the lower the age, the higher the head swing amplitude of the middle aged people increases. Based on these characteristics, the age of the person may be determined using swing parameters such as one or more of swing amplitude and swing frequency.
Step S114 may be implemented in a variety of ways. For example, in one example, a lookup table associating the swing parameter with the age of the human body may be established in advance based on empirical data, and the age of the human body may be determined by directly referring to the lookup table. The implementation mode is simple and easy to implement, and the related calculation amount is small, so that the hardware resource is saved. In another example, a neural network model may be trained in advance, and the neural network model directly takes the movement track of the human head as input and takes the age as output. Thus, the trajectory 13 shown in fig. 2 can be directly input to the neural network model to determine the age of the human body. Here, the head swing parameters are embodied in the trajectory 13, and therefore the neural network model also substantially determines the age of the human body based on the swing parameters. This implementation requires a large amount of calculation, but can further improve the accuracy of age prediction.
In the above step, the first age of the human body is determined based on a swing parameter of the head of the human body, such as a swing amplitude and/or a swing frequency. The human head is a human feature that is easier to capture by a camera than, for example, a human face, and particularly when, for example, the human traffic is large, the human face is likely to be blocked by other people or cannot be captured by the camera due to the human traveling direction, and the human head feature is easy to be accurately captured, for example, by installing the camera at a higher position, the head feature of most of human bodies in a dense stream of people can be captured, and then head swing parameters, such as a swing amplitude and/or a swing frequency, can be extracted based on the movement of the head feature. As described above, the swing amplitude and the swing frequency are two parameters closely related to the age of the human body because the human body has different motion characteristics at different ages, which are reflected on the swing parameters of the head of the human body, such as amplitude and frequency. Therefore, by determining the first age of the human body based on the swing amplitude and/or the swing frequency, the success rate of age identification can be improved.
As described above, in the case where a complete face can be captured, a human face can also be used for human age recognition and has high accuracy. Therefore, in some embodiments, a face in the current frame image may also be identified, and the age of the human body may be determined based on the identified face. For convenience of description, the age of the human body determined based on the face recognition will be referred to as a second age hereinafter. It will be appreciated that the face-based age identification process may be performed before, after, or at least partially overlapping steps S110-S114 of fig. 1, and the invention is not limited to the order in which they are performed. Also, the present invention does not limit the order of execution of many of the other steps described in detail below, which steps can be performed sequentially in a different order or can be performed in parallel unless the relative order of execution is determined by context.
In some embodiments of the present invention, the age of the human body may also be identified through a variety of auxiliary methods, which will be described in detail below with reference to fig. 3. As shown in fig. 3, in step S116, the number of persons in the current frame image may be determined, which may be implemented by counting the number of recognized heads, for example, using the human head recognition result of step S110. Next, in step S118, it is determined whether the number of people exceeds a first threshold. If the first threshold is not exceeded, indicating that the flow of people is small, the assisted age identification may be performed using, for example, speed information and group information described below; on the other hand, if the first threshold value is exceeded, it is interpreted that the flow rate of people is large, and at this time, the movement of each person is greatly restricted by the surrounding crowd, and it is difficult to perform the auxiliary age recognition based on the moving speed of the individual or the group information, and it is necessary to consider other age recognition means. By subdividing the scenes based on the flow of people and adopting different age identification schemes aiming at different flow of people, the accuracy of age identification can be further improved, and the universality of the scheme of the invention aiming at different scenes is improved.
With continued reference to fig. 3, in response to the number of people being less than or equal to the first threshold, the moving speed of the human body may be determined based on the current frame image and several previous frame images in step S120, and then the age of the human body is determined based on the moving speed of the human body in step S122. For convenience of description, the age of the human body determined based on the moving speed of the human body will be referred to as a third age hereinafter. Generally, the greater the age, the slower the movement speed; the smaller the age, the faster the movement speed. Similarly, a large number of samples may be counted in advance, a correlation between the moving speed and the age may be established, and other factors such as the density of people flowing may be considered at the same time. Thus, in step S122, the age of the human body can be determined based on the moving speed of the human body, or other auxiliary information such as the density of the stream of people can be combined. In some embodiments, when determining the age of the human body based on the moving speed of the human body in step S122, the relative speed may also be considered. For example, the moving speed of the current human body may be compared with the moving speeds of the surrounding human bodies to determine a speed difference thereof, and then the age of the human body may be determined in consideration of the moving speed of the human body and the speed difference with respect to the surrounding human bodies. Generally, the smaller the age of a human body, the faster its relative velocity. Speed and acceleration are important characterizing parameters of human body movement, and are closely related to human age. By determining the age of the human body based on the velocity and/or acceleration, the success rate and accuracy of age identification can be further improved.
In some embodiments, in response to determining that the number of people is less than or equal to the first threshold at step S118, optionally, the group in which the human body is located may also be determined based on the current frame and the previous frame at step S124. There are various ways to determine that multiple persons belong to a group in the same row. For example, a group of persons close in distance and having approximately the same movement trajectory (direction) may be identified, a group of several persons talking may be identified, and so on. After the population is identified, in step S126, the age of the human body may be determined based on member information within the population. For convenience of description, the human age determined based on the group member information will be referred to as a fourth age hereinafter. For example, if a plurality of members within a population are close in age, it may be determined that the current person is also close in age to the other members. For another example, if there are two middle-aged people and one child in the population, it can be determined that the current person is an elderly person who belongs to the same family. Unlike the above age recognition based on the information of the human body itself, the group information is the information of other members in the group to perform the age recognition of the human body, and therefore, additional information that cannot be provided by the human body itself can be provided, and the accuracy of the age recognition can be further improved.
The above describes identifying the age of the human body by various means, which determine the first, second, third and fourth ages, respectively. It is understood that, when the age recognition is implemented by a video image, the recognition result may fluctuate due to the influence of factors such as human body movement and ambient light. For example, for a video image including a plurality of frame images, a plurality of age values of the first, second, third, or fourth age may be determined using the aforementioned method, and the age values may be different from each other. At this time, the stability of the recognition result is a consideration for determining whether the recognition is accurate. Fig. 4 shows a flow chart of a method for determining the accuracy of a recognition result based on stability. As shown in fig. 4, for a plurality of frame images, a plurality of age values of the respective first, second, third or fourth age may be determined using any one of the aforementioned recognition algorithms in step S142, and then in step S144, it may be determined whether the stability of the plurality of age values reaches a second threshold, i.e., whether the determined age values are stable. For example, the ratio of the most frequently occurring of these age values may be determined. For example, if the ratio thereof reaches a second threshold value, e.g., 66.7%, 70%, 75%, 80%, etc., the success of the recognition may be confirmed in step S146, and the stable value is taken as the recognized age of the human body. On the other hand, if the recognition result stability does not reach the preset threshold, for example, the determined age values are evenly distributed in a larger range, the recognition failure may be confirmed in step S148. In this way, the recognition result with lower accuracy can be eliminated, and only the recognition result with higher accuracy is included, thereby ensuring the reliability of the recognition result.
Referring back to fig. 3, after step S126, or when it is determined in step S118 that the number of persons exceeds the first threshold, it may proceed to step S128 to determine whether the age identification is successful. When proceeding from step S118 to S128, it is only necessary to determine whether the first age and the second age are successfully identified; when proceeding from step S126 to S128, it is determined whether the first, second, third and fourth ages were successfully identified. The criteria for successful recognition is that stable results are recognized as described with reference to fig. 4. Age identification is considered to fail if the identification result is unstable, or no result is identified at all.
In step S128, as long as it is determined that at least one of the first to fourth ages is successfully identified, it is considered that the human age is successfully identified, and it may proceed to step S130 to weight-average the successfully identified ages according to the application scenario to determine the final age of the human. By weighted averaging the successfully identified ages, the contributions of various factors to the age identification result can be comprehensively considered, so that the error of age identification is reduced, and the overall accuracy of the identification model is improved. In the weighted average in step S130, not only one or more of the first to fourth ages successfully identified but also the basic age determined based on the application scenario may be considered. For example, if it is a small ornaments shop, where customers are a student population, the basal age is small, for example, 12-16 years old; in the case of a mall, the customer population is mostly young, for example, the basal age may be 22-30 years. The final age can be determined according to the following formula:
final age w1 base age + w2 first age + w3 second age + w4 third age + w5 fourth age.
Wherein, w 1-w 5 are weight parameters corresponding to ages. When a certain age is not successfully identified, the parameters w1 to w5 may be adjusted accordingly to avoid the effect of the unsuccessfully identified age on the final age. Then, the process may proceed to step S140 to end the processing for the current frame and continue processing for the next frame.
If it is confirmed in step S128 that any one of the first to fourth ages is not successfully identified, the age identification for the individual is considered to be failed. In some embodiments, the individual may be categorized into a recognition failure group, and the number of people in the recognition failure group may be counted, as shown in step S132. In step S134, it may be determined whether the number of people who have failed to identify the group reaches a third threshold. If the third threshold has not been reached, proceeding to step S140, if the third threshold is reached, i.e., when a certain amount of recognition-failed persons are accumulated, the age of each person in the recognition-failed population may be determined using a predetermined age distribution in step S136. For example, the predetermined age distribution may be a reference age distribution of a scene where age identification is performed, such as an age distribution of registered members of a mall, an age distribution of community residents, or an age distribution of previous identification in a similar scene. After the age of the human body is determined by the predetermined age distribution, it may proceed to step S140 to continue the process of the next frame.
Fig. 5 illustrates a functional block diagram of an apparatus 200 for recognizing an age of a human body according to an exemplary embodiment of the present application. As shown in fig. 5, the age identifying apparatus 200 may include a human head identifying unit 202, a swing parameter determining unit 204, and a first age identifying unit 206. The human head recognition unit 202 may be configured to recognize a head of a human body in the current frame image, and the swing parameter determination unit 204 may be configured to determine swing parameters, such as a swing amplitude and a swing frequency, of the recognized head of the human body based on the current frame image and a preset number of previous frame images before the current frame image. The first age identifying unit 206 may then be configured to identify a first age of the person based on the determined swing parameter.
In some examples, optionally, the apparatus for identifying the age of the human body 200 may further include a face recognition unit 208 for recognizing the face of the human body in the current frame image and a second age recognition unit 210 for determining the second age of the human body based on the recognized face.
In some examples, optionally, the apparatus for identifying the age of the human body 200 may further include a counting unit 212 for determining the number of people in the current frame image; a speed determining unit 214 for determining a moving speed of the human body from the current frame image and the previous frame image in response to the number of people being less than or equal to a first threshold; and a third age identifying unit 216 for determining a third age of the human body based on the moving speed of the human body. In some embodiments, the third age identifying unit 216 may also determine the third age of the human body based on the moving speed of the human body and the relative moving speed with respect to the surrounding human body. In some examples, optionally, the apparatus for identifying an age of a human body 200 may further include a group identification unit 218 for determining a group to which the human body belongs based on the current frame image and the previous frame image in response to the number of people being less than or equal to a first threshold; and a fourth age identifying unit 220 for determining a fourth age of the human body based on member information within the group.
It is to be understood that the first to fourth age identifying units 206, 210, 216 and 220 may also determine the stability of their identification results, as described above with reference to fig. 1 to 4, thereby determining whether successful identification is achieved.
With continued reference to fig. 5, in some examples, the apparatus 200 for identifying an age of a human body may optionally further include a weighted average unit 222 that may weight-average the successfully identified first, second, third and fourth ages to obtain a final age of the human body. In the weighted averaging, the human basal age determined by the application scenario, i.e. the average age, may also be taken into account.
In some examples, optionally, the apparatus for identifying age of human body 200 may further include an identification failure statistics unit 224, which may count identification failure groups whose ages are not successfully identified; and a predetermined age assigning unit 226 for determining a fifth age of the human body in the recognition failure population using the predetermined age distribution in response to the number of recognition failure populations reaching a threshold.
The detailed functions and operations of the respective units and modules in the age identifying apparatus 200 described above have been described in detail in the age identifying method described above with reference to fig. 1 to 4, and thus are only briefly described herein, and repeated detailed descriptions thereof are omitted. The age identifying apparatus 200 according to the embodiment of the present application may be implemented in an image processing electronic device, for example, may be integrated into the image processing electronic device as a software module and/or a hardware module.
While the method and apparatus for identifying the age of a human body according to some embodiments of the present application have been described above, it should be understood that many variations in form and detail are possible with respect to the above-described embodiments. For example, in the above method and apparatus, the determined age may be an accurate age value, an estimated age group, or a probability distribution of ages. Furthermore, in the above method and apparatus, age identification may also be performed in combination with other auxiliary information, such as height, gender, etc., all of which are easily contemplated and implemented by those skilled in the art under the teachings of the present application and, therefore, should be considered to fall within the scope of the present invention as defined by the appended claims.
Fig. 6 shows a block diagram of an exemplary electronic device 300 in which the age identifying apparatus 200 can be implemented. As shown in fig. 5, electronic device 300 may include a processor 310, a camera 320, and a memory 330, which are connected to each other by a bus 360.
The processor 310 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
The camera 320 may acquire an image of an identified scene, which includes one or more human bodies to be identified.
Memory 330 may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory can include, for example, Random Access Memory (RAM), cache memory (or the like). The non-volatile memory may include, for example, Read Only Memory (ROM), a hard disk, flash memory, and the like. The memory 330 may have stored therein computer program instructions that the processor 310 may execute to implement the age identification methods of the embodiments of the present application above and/or other desired functions.
In some examples, the electronic device 300 may further include an input unit 340 and an output unit 350. The input unit 340 and the output unit 350 may perform various input and output functions, for example, the input unit 340 may accept registered member profile data of a commercial site, cell resident profile, or previously recognized result in a similar scene, etc., and the output unit 350 may output an age recognition result, etc. The processor 310 is connected to the various modules or units through a bus 360 to control their operation.
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in the age identification method according to an embodiment of the present application described above.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, cause the processor to perform the steps in the age identification method according to an embodiment of the present application described above.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (13)

1. A method of identifying the age of a human, comprising:
identifying the head of a human body in the current frame image;
determining a swing parameter of the head of the human body based on the current frame image and a preset number of previous frame images before the current frame image; and
determining a first age of the human based on the swing parameter;
wherein determining the swing parameter of the head of the human body comprises:
determining a center of a head of the human body;
determining a movement trajectory of the head based on the current frame image and the position of the center of the head in the preset number of previous frame images; and
determining a swing parameter of the head based on the movement trajectory.
2. The method of claim 1, wherein the wobble parameter comprises at least one of a wobble amplitude and a wobble frequency.
3. The method of claim 1, wherein determining the first age of the human based on the swing parameter comprises:
determining a first age of the human subject with reference to a look-up table correlating swing parameters of a head of the human subject with ages.
4. The method of claim 1, further comprising:
recognizing the human face of the human body in the current frame image; and
determining a second age of the human based on the identified face.
5. The method of claim 4, further comprising:
determining the number of people in the current frame image;
determining a moving speed of the human body from the current frame image and the previous frame image in response to the number of people being less than or equal to a first threshold; and
determining a third age of the human based on the movement speed.
6. The method of claim 5, wherein determining the third age of the human based on the movement speed comprises:
comparing the moving speed of the human body with the moving speeds of surrounding human bodies to determine a speed difference; and
determining a third age of the human based on the movement speed and the speed difference.
7. The method of claim 5, further comprising:
in response to the number of people being less than or equal to a first threshold, determining a group to which the human body belongs based on the current frame image and the previous frame image; and
determining a fourth age of the human based on member information within the cohort.
8. The method of claim 7, wherein determining at least one of the first age, the second age, the third age, and the fourth age comprises:
determining a plurality of age values for the at least one of the first age, the second age, the third age, and the fourth age based on a plurality of frame images;
determining that age identification is successful when the stability of the plurality of age values reaches a second threshold, and regarding a stable value of the plurality of age values as the age of the human body, otherwise determining that age identification is failed.
9. The method of claim 7, further comprising:
weighted averaging the successfully identified ages of the first age, the second age, the third age, and the fourth age to obtain a final age of the human body.
10. The method of claim 7, further comprising:
adding the human body to a recognition-failed population when the first age, the second age, the third age, and the fourth age of the human body are not successfully determined;
determining a fifth age of the human bodies in the recognition-failed population using a predetermined age distribution in response to the number of recognition-failed populations reaching a third threshold.
11. An apparatus for identifying an age of a human body, comprising:
a human head recognition unit configured to recognize a head of a human body in the current frame image;
a swing parameter determination unit configured to determine a swing parameter of the head of the human body based on the current frame image and a preset number of previous frame images before the current frame image; and
a first age identifying unit configured to determine a first age of the human body based on the swing parameter;
wherein determining the swing parameter of the head of the human body comprises:
determining a center of a head of the human body;
determining a movement trajectory of the head based on the current frame image and the position of the center of the head in the preset number of previous frame images; and
determining a swing parameter of the head based on the movement trajectory.
12. An electronic device, comprising:
the camera is used for acquiring an image of a human body; and
a processor configured to execute computer program instructions in a memory to perform the method of any of claims 1-10.
13. A computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1-10.
CN201811303378.3A 2018-11-02 2018-11-02 Method and device for identifying human age and electronic equipment Active CN109492571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811303378.3A CN109492571B (en) 2018-11-02 2018-11-02 Method and device for identifying human age and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811303378.3A CN109492571B (en) 2018-11-02 2018-11-02 Method and device for identifying human age and electronic equipment

Publications (2)

Publication Number Publication Date
CN109492571A CN109492571A (en) 2019-03-19
CN109492571B true CN109492571B (en) 2020-10-09

Family

ID=65693763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811303378.3A Active CN109492571B (en) 2018-11-02 2018-11-02 Method and device for identifying human age and electronic equipment

Country Status (1)

Country Link
CN (1) CN109492571B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993150B (en) * 2019-04-15 2021-04-27 北京字节跳动网络技术有限公司 Method and device for identifying age
CN110852814A (en) * 2020-01-14 2020-02-28 深圳惠通天下信息技术有限公司 Advertisement delivery self-service system and method
CN112101156B (en) * 2020-09-02 2024-08-27 杭州海康威视数字技术股份有限公司 Target identification method and device and electronic equipment
CN112906525B (en) * 2021-02-05 2024-10-18 广州市百果园信息技术有限公司 Age identification method and device and electronic equipment
CN117409450A (en) * 2022-07-05 2024-01-16 华为技术有限公司 Age identification method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206538A (en) * 2006-12-18 2008-06-25 郑小军 Hand-drawing pen mouse with flat end, movable head and movable double-lever part
CN101388080A (en) * 2008-10-23 2009-03-18 北京航空航天大学 Passerby gender classification method based on multi-angle information fusion
CN105893966A (en) * 2016-04-04 2016-08-24 上海大学 Human body gait information collection and gait form classification and identification system and method
CN106682637A (en) * 2016-12-30 2017-05-17 深圳先进技术研究院 Display item attraction degree analysis and system
CN107909026A (en) * 2016-11-30 2018-04-13 深圳奥瞳科技有限责任公司 Age and gender assessment based on the small-scale convolutional neural networks of embedded system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016090522A1 (en) * 2014-12-12 2016-06-16 Xiaoou Tang Method and apparatus for predicting face attributes
WO2016183380A1 (en) * 2015-05-12 2016-11-17 Mine One Gmbh Facial signature methods, systems and software
CN105787440A (en) * 2015-11-10 2016-07-20 深圳市商汤科技有限公司 Security protection management method and system based on face features and gait features
KR102697559B1 (en) * 2016-12-22 2024-08-23 삼성전자주식회사 Display control method, storage medium and electronic device for displaying image
CN106951871B (en) * 2017-03-24 2020-07-28 北京地平线机器人技术研发有限公司 Motion trajectory identification method and device of operation body and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206538A (en) * 2006-12-18 2008-06-25 郑小军 Hand-drawing pen mouse with flat end, movable head and movable double-lever part
CN101388080A (en) * 2008-10-23 2009-03-18 北京航空航天大学 Passerby gender classification method based on multi-angle information fusion
CN105893966A (en) * 2016-04-04 2016-08-24 上海大学 Human body gait information collection and gait form classification and identification system and method
CN107909026A (en) * 2016-11-30 2018-04-13 深圳奥瞳科技有限责任公司 Age and gender assessment based on the small-scale convolutional neural networks of embedded system
CN106682637A (en) * 2016-12-30 2017-05-17 深圳先进技术研究院 Display item attraction degree analysis and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Recording of Natural Head Position Using Stereophotogrammetry: A New Technique and Reliability Study;Hsung, Tai-Chiu, et.al;《JOURNAL OF ORAL AND MAXILLOFACIAL SURGERY》;20141231;全文 *
三维姿势与步态分析在不同年龄健康人群平衡评估中的应用;黄秋红;《临床研究》;20180131;全文 *
蛇形机器人水下运动仿真及控制的研究;李立;《中国优秀硕士论文全文数据库》;20151231;全文 *

Also Published As

Publication number Publication date
CN109492571A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109492571B (en) Method and device for identifying human age and electronic equipment
CN111160380B (en) Method for generating video analysis model and video analysis system
US10009579B2 (en) Method and system for counting people using depth sensor
AU2018379393B2 (en) Monitoring systems, and computer implemented methods for processing data in monitoring systems, programmed to enable identification and tracking of human targets in crowded environments
JP6488083B2 (en) Hybrid method and system of video and vision based access control for parking space occupancy determination
CN109784177A (en) Missing crew's method for rapidly positioning, device and medium based on images match
US11704782B2 (en) Computerized image analysis for automatically determining wait times for a queue area
US9846811B2 (en) System and method for video-based determination of queue configuration parameters
CN110414376B (en) Method for updating face recognition model, face recognition camera and server
WO2018176195A1 (en) Method and device for classifying indoor scene
US20220254162A1 (en) Deep learning framework for congestion detection and prediction in human crowds
WO2021031954A1 (en) Object quantity determination method and apparatus, and storage medium and electronic device
US20220189001A1 (en) Rail feature identification system
CN109902681B (en) User group relation determining method, device, equipment and storage medium
CN111091057A (en) Information processing method and device and computer readable storage medium
WO2022199360A1 (en) Moving object positioning method and apparatus, electronic device, and storage medium
KR101821242B1 (en) Method for counting vehicles based on image recognition and apparatus using the same
US11250244B2 (en) Online face clustering
JP2021516393A (en) Performance modeling methods, systems, and programs for crowd estimation methods
CN112307966B (en) Event display method and device, storage medium and electronic equipment
CN109190495B (en) Gender identification method and device and electronic equipment
CN109522844B (en) Social affinity determination method and system
Elassal et al. Unsupervised crowd counting
WO2021159634A1 (en) Classification and regression dual-domain model based traffic identification method and system
CN111291597B (en) Crowd situation analysis method, device, equipment and system based on image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240905

Address after: 207S, Building 5, Northwest Shenjiu Science and Technology Entrepreneurship Park, Intersection of Taohua Road and Binglang Road, Fubao Community, Fubao Street, Futian District, Shenzhen City, Guangdong Province 518000

Patentee after: Shenzhen Sweet Potato Robot Co.,Ltd.

Country or region after: China

Address before: 100080 No. 1, No. 3, Zhongguancun Street, Haidian District, Beijing 318

Patentee before: BEIJING HORIZON ROBOTICS TECHNOLOGY RESEARCH AND DEVELOPMENT Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right