CN108209925A - A kind of measuring method of Human Height, device and mobile terminal - Google Patents

A kind of measuring method of Human Height, device and mobile terminal Download PDF

Info

Publication number
CN108209925A
CN108209925A CN201711460051.2A CN201711460051A CN108209925A CN 108209925 A CN108209925 A CN 108209925A CN 201711460051 A CN201711460051 A CN 201711460051A CN 108209925 A CN108209925 A CN 108209925A
Authority
CN
China
Prior art keywords
image data
head
information
user
depth
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
Application number
CN201711460051.2A
Other languages
Chinese (zh)
Inventor
辛晨
张焰焰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201711460051.2A priority Critical patent/CN108209925A/en
Publication of CN108209925A publication Critical patent/CN108209925A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/107Measuring physical dimensions, e.g. size of the entire body or parts thereof
    • A61B5/1072Measuring physical dimensions, e.g. size of the entire body or parts thereof measuring distances on the body, e.g. measuring length, height or thickness
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/117Identification of persons
    • A61B5/1171Identification of persons based on the shapes or appearances of their bodies or parts thereof
    • A61B5/1176Recognition of faces
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6887Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
    • A61B5/6898Portable consumer electronic devices, e.g. music players, telephones, tablet computers
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/7405Details of notification to user or communication with user or patient ; user input means using sound
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/742Details of notification to user or communication with user or patient ; user input means using visual displays

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Public Health (AREA)
  • Animal Behavior & Ethology (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Power Engineering (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physiology (AREA)
  • Psychiatry (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)

Abstract

An embodiment of the present invention provides a kind of measuring method of Human Height, device and mobile terminal, this method to include:Dual camera is called to acquire the first image data, the second image data to the head of user;The corresponding head image data in the head are identified in described first image data;The length information on the head is calculated in the head image data according to second image data;Length information according to the head calculates the height information of the user.Length information according to head calculates the height information of user, it does not need to require user upright, it takes pictures without to user's whole body, greatly reduce the requirement of measurement, under there are the complex environments such as barrier or the scenes such as user's seat, sleeping, it is easier to take the head of user, guarantee can measure height.

Description

A kind of measuring method of Human Height, device and mobile terminal
Technical field
The present invention relates to the technical field of communication, more particularly to a kind of measuring method of Human Height, a kind of human body body High measuring device and a kind of mobile terminal.
Background technology
With the development of mobile communication technology, the mobile terminals such as mobile phone, intelligent wearable device are more and more universal, to people Life, study, work bring great convenience.
Mobile terminal is commonly configured with camera, after taking pictures using camera to user, detects the foot and head of the user Top, using both the distance between as height.
But the mode of above-mentioned measurement height, it needs requirement user upright, takes pictures to user's whole body, measurement is wanted Ask higher, under there are the complex environments such as barrier or the scenes such as user's seat, sleeping, it is difficult to user's whole body is taken, it may Lead to not measure height.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State a kind of measuring method of Human Height of problem and corresponding a kind of measuring device of Human Height, a kind of mobile terminal.
In a first aspect, a kind of measuring method of Human Height is provided in the embodiment of the present invention, including:
Dual camera is called to acquire the first image data, the second image data to the head of user;
The corresponding head image data in the head are identified in described first image data;
The length information on the head is calculated in the head image data according to second image data;
Length information according to the head calculates the height information of the user.
It is described that the corresponding head image in the head is identified in described first image data in a possible design Data, including:
Human face data is detected in described first image data;
Human face characteristic point is detected in the human face data, the human face characteristic point includes cheek characteristic point;
The corresponding head image data in the head are fitted based on the cheek characteristic point.
It is described to calculate institute in the head image data according to second image data in a possible design The length information on head is stated, including:
Using described first image data as benchmark, depth image data is calculated with reference to second image data;
The length information on the head is calculated in the head image data using the depth image data.
It is described that institute is calculated in the head image data using the depth image data in a possible design The length information on head is stated, including:
Determine position of the head image data in described first image data;
The corresponding depth information of head image data described in the position enquiring in the depth image data;
First end point and the second endpoint are determined in the header data;
According to the depth information of depth information and second endpoint of the first end point, calculate the first end point with Actual range between second endpoint, the length information as the head.
In a possible design, the length information according to the head calculates the height information of the user, Including:
The user's characteristic information of the user is detected in described first image data;
Inquire the human body proportion between the corresponding user's characteristic information, head and height;
Length information and the human body proportion with reference to the head calculate the height information of the user.
Second aspect, an embodiment of the present invention provides a kind of measuring device of Human Height, including:
Image data acquiring module, for dual camera to be called to acquire the first image data, the second figure to the head of user As data;
Head image data identification module, for identifying the corresponding head figure in the head in described first image data As data;
Head length computing module, described in being calculated in the head image data according to second image data The length information on head;
Height information computing module, for calculating the height information of the user according to the length information on the head.
In a possible design, the head image data identification module includes:
Human face data detection sub-module, for detecting human face data in described first image data;
Facial feature points detection submodule, for detecting human face characteristic point, the face characteristic in the human face data Point includes cheek characteristic point;
Head image data are fitted submodule, and the corresponding head figure in the head is fitted for being based on the cheek characteristic point As data.
In a possible design, the head length computing module includes:
Depth image data computational submodule, for using described first image data as benchmark, with reference to second figure As data calculate depth image data;
Length information computational submodule, for calculating institute in the head image data using the depth image data State the length information on head.
In a possible design, the length information computational submodule includes:
Position determination unit, for position of the head image data in described first image data described in location determination;
Depth information query unit, for head image number described in the position enquiring in the depth image data According to corresponding depth information;
Endpoint determination unit, for determining first end point and the second endpoint in the header data;
End-point distances computing unit, for believing according to the depth of the depth information of the first end point and second endpoint Breath, calculates the actual range between the first end point and second endpoint, the length information as the head.
In a possible design, the height information computing module includes:
User's characteristic information detection sub-module, for detecting the user characteristics of the user in described first image data Information;
Human body proportion inquires submodule, for inquiring the people between the corresponding user's characteristic information, head and height Body ratio;
Parameter combination submodule for the length information with reference to the head and the human body proportion, calculates the user Height information.
The third aspect, an embodiment of the present invention provides a kind of mobile terminal, including processor and memory;
The memory supports the program for the measuring method for performing the Human Height for storing;
The processor is configurable for performing the program stored in the memory.
Fourth aspect, an embodiment of the present invention provides a kind of computer storage media, for saving as above-mentioned mobile terminal Computer software instructions used, it includes be the program designed by mobile terminal for performing above-mentioned aspect.
The embodiment of the present invention calls dual camera to acquire the first image data, the second image data to the head of user, The corresponding head image data in head are identified in first image data, with reference to different visions the second image data in head image The length information on head is calculated in data, the length information according to head calculates the height information of user, does not need to require user Uprightly, take pictures without to user's whole body, greatly reduce the requirement of measurement, there are complex environments such as barriers or Under the scenes such as person user's seat, sleeping, it is easier to take the head of user, guarantee can measure height.
The aspects of the invention or other aspects can more straightforwards in the following description.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of step flow of the measuring method embodiment of Human Height according to an embodiment of the invention Figure;
Fig. 2A-Fig. 2 F show a kind of measurement exemplary plot of Human Height according to an embodiment of the invention;
Fig. 3 shows a kind of structural frames of the measuring device embodiment of Human Height according to an embodiment of the invention Figure;And
Fig. 4 is illustrated that the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
With reference to Fig. 1, a kind of step of the measuring method embodiment of Human Height according to an embodiment of the invention is shown Rapid flow chart, specifically may include steps of:
Step 101, dual camera is called to acquire the first image data, the second image data to the head of user.
In the concrete realization, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet computer, individual Digital assistants, wearable device (such as glasses, wrist-watch) etc..
The operating system of these mobile terminals can include Android (Android), IOS, Windows Phone, Windows Etc..
In the terminal, dual camera is configured, for taking pictures, recording a video, which is configured in mobile terminal When positive, front camera can be referred to as, be configured at the back side of mobile terminal, rear camera can be referred to as.
So-called dual camera can refer to according to certain regular (as separated by a distance, shape forms an angle) arrangement Two cameras, the two cameras can be horizontally disposed with, and can also be vertically arranged, and can also apply other set-up modes, this Inventive embodiments do not limit this.
In practical applications, dual camera generally comprises a main camera and an auxiliary camera, according to different Application demand and emphasis, usually with following several different combining forms:
In one example, one of camera of dual camera can be used for the colored image data of acquisition, another A camera can be used for the colored image data of acquisition.
In another example, one of camera of dual camera can acquire colored image data, another Camera can acquire the image data of black and white.
In another example, one of camera of dual camera can apply wide-angle lens, another camera Telephoto lens can be applied.
In another example, one of camera of dual camera can acquire colored image data, another Camera can be with sampling depth image data.
Certainly, above-mentioned dual camera is intended only as example, when implementing the embodiment of the present invention, can be set according to actual conditions Other dual cameras are put, the embodiment of the present invention does not limit this.In addition, other than above-mentioned dual camera, art technology Personnel can also use other dual cameras according to actual needs, and the embodiment of the present invention does not also limit this.
In embodiments of the present invention, dual camera can be called, image data at least is acquired to the head of user, wherein one A camera acquires the first image data, another camera acquires the second image data.
For example, as shown in Figure 2 A, dual camera is called to acquire image data to the upper part of the body (including head) of user, including The first colored image data, the second image data of underlying black and white being located above.
Certainly, above-mentioned first image data, the second image data are intended only as example, and the first image data may be black White image data, the second image data may be colored image data, and the embodiment of the present invention does not limit this.
Step 102, the corresponding head image data in the head are identified in described first image data.
After acquiring the first image data, the second image data, a wherein frame image data can be selected as benchmark, The identification on head is carried out, so as to obtain head image data.
In one embodiment of the invention, step 102 can include following sub-step:
Sub-step S11 detects human face data in described first image data.
In embodiments of the present invention, when taking pictures on the head to user, face is one of pith of composition, because This, can carry out Face datection in the first image data, obtain human face data, and then be fitted head image data.
So-called Face datection can refer to the positions and dimensions that face is calibrated from the first image data.
In the concrete realization, Face datection can extract LBP (Local Binary in the first image data Patterns, local binary patterns) feature, it is matched using LBP features with the faceform of training, alternatively, with The graders such as adaboost (Adaptive Boosting, adaptive enhance) show whether is localized mass in the first image data Detect face, meanwhile, sliding window traversal the first image data of whole picture, so as to obtain human face data.
In addition, in Android, a method that Face datection is carried out directly on bitmap, the two API are provided (Application Programming Interface, application programming interface) is respectively Android.media.FaceDetector and android.media.FaceDetector.Face.
Specifically, extension base class ImageView, becomes MyImageView, and the bitmap for including face being detected File is usually 565 forms, to ensure that API is worked normally.
The face being detected needs a confidence measure (confidence measure), this measure is defined on android.media.FaceDetector.Face.CONFIDENCE_THRESHOLD。
Wherein, setFace () can be by FaceDetector object-instantiateds, while call findFaces, as a result store In faces, the midpoint of face is transferred to MyImageView.
Next, setDisplayPoints () method is added in MyImageView, in the face being detected Upper label renders.
And API returns to other useful information, for example, can be returned simultaneously such as eyesDistance, pose and Confidence can then position the center of eyes by eyesDistance.
Certainly, the method for above-mentioned Face datection is intended only as example, can be according to reality when implementing the embodiment of the present invention The method that situation sets other Face datections, the embodiment of the present invention do not limit this.In addition, in addition to above-mentioned Face datection Outside method, those skilled in the art can also be according to actual needs using the method for other Face datections, the embodiment of the present invention pair This is not also limited.
Sub-step S12 detects human face characteristic point in the human face data.
For the human face data detected, facial key feature points can be oriented, as human face characteristic point, including eyes Characteristic point, nose characteristic point, corners of the mouth characteristic point, eyebrow characteristic point, cheek characteristic point, etc..
In the concrete realization, ASM (Active Shape Model, moving shape model), AAM (Active can be used Appearance Model, dynamic presentation model) etc. models carry out human face characteristic point positioning, CNN can also be used (Convolutional Neural Network, convolutional neural networks) even depth learns the positioning to carry out human face characteristic point, The embodiment of the present invention does not limit this.
For example, as shown in Figure 2 B, acquire the first colored image data, the second picture number of black and white as shown in Figure 2 A According to later, Face datection can be carried out in the first colored image data, it is special that face is carried out in the human face data detected The positioning of point is levied, and is marked with dot.
Sub-step S13 is fitted the corresponding head image data in the head based on the cheek characteristic point.
For the human face characteristic point identified, the face such as eye feature point, corners of the mouth characteristic point, nose characteristic point can be rejected Characteristic point, retain cheek characteristic point, using these cheek characteristic points as seed point progress designated shape fitting, obtain one Based on the region of covering face, as head image data.
For example, as shown in Figure 2 C, the face such as eye feature point, corners of the mouth characteristic point, nose characteristic point in rejecting Fig. 2 B Characteristic point retains cheek characteristic point, and the fitting of ellipse is carried out using these cheek characteristic points as seed point, obtains ellipse Region, as head image data.
Step 103, the length letter on the head is calculated in the head image data according to second image data Breath.
It in the concrete realization, can be in this, as benchmark, with second for the head image data in the first image data Image data as reference, with reference to vision relationship between the two, calculates the length information of user's head.
In one embodiment of the invention, step 103 can include following sub-step:
Using described first image data as benchmark, depth image is calculated with reference to second image data by sub-step S21 Data.
Depth image data (depth image) is also referred to as range image (range image), refers to adopt from image For storage (such as dual camera) to image of the distance (depth) as pixel value of each point in scene, it is visible that it directly reflects scenery The geometry on surface.
In embodiments of the present invention, due to being that the corresponding head image data in head are identified in the first image data, with First image data calculates depth image data so that the first image data and depth as benchmark with reference to the second image data The coordinate of image data is consistent.
For example, as shown in Figure 2 D, the first colored image data for being located above using in Fig. 2A as benchmark, with reference to positioned at Second image data of the black and white of lower section calculates depth image data.
Sub-step S22 calculates the length on the head using the depth image data in the head image data Information.
In the concrete realization, it may be determined that position of the head image data in the first image data, due to the first image Data are consistent with the coordinate of depth image data, therefore, the position enquiring head figure that can be directly in depth image data As the corresponding depth information of data.
For example, as shown in Figure 2 E, it, then can be in depth in positioning Fig. 2 C after the position of oval head image data Identical position in image data, determines the region of an ellipse, inquires the corresponding depth of head image data in this region Information.
The shape of head image data fitting, determines first end point and the second endpoint in header data.
According to the depth information of first end point and the depth information of the second endpoint, calculate between first end point and the second endpoint Actual range, the length information as head
It should be noted that for different shapes, it may be determined that different positions as first end point, the second endpoint, The embodiment of the present invention does not limit this.
For example, as shown in Figure 2 E, with ellipse as an example, according to depth image data, it may be determined that an end of long axis Point represents the crown point in head image data, using another endpoint of long axis as the second endpoint, represents as first end point Chin point in head image data calculates the crown with reference to the 3 d space coordinate (i.e. depth information) of crown point and chin point Three dimensions Euclidean distance (actual range) between point and chin point, the length information as head reality.
Step 104, the height information of the user is calculated according to the length information on the head.
According to physiological structure characteristic, head and the height of human body have certain relationship, therefore, in the head for calculating user After the length information in portion, the height information of user is calculated with reference to the relationship.
For example, adult's whole body height is long for seven half a heads:It is long for a head from the crown to chin, be from nipple to navel One head is long, and it is that a head is long (to show as sitting plane) from navel to perineum, and middle part is long for a half a head from perineum to knee, from It is long for two heads to heel (vola) in the middle part of knee.Alternatively, long for half head from navel to two greater trochanter of femur lines, from big It is long for four heads that rotor is wired to vola.
As shown in Figure 2 F, if calculating the length information on the head of user in the first image data, can with this according to Certain relationship calculates the height information of the user.
In one embodiment of the invention, step 104 can include following sub-step:
Sub-step S31 detects the user's characteristic information of the user in described first image data.
Sub-step S32 inquires the human body proportion between the corresponding user's characteristic information, head and height.
Sub-step S33 with reference to length information and the human body proportion on the head, calculates the height letter of the user Breath.
For different human bodies, the relationship between head and height more or less has differences, and therefore, implements in the present invention In example, the models such as face gender model, face age models, face race's model can be pre-established, in the first image data When detecting human face data, these model profiles can be called to be detected the first image data, obtain corresponding user characteristics Information, for example, gender, age, race, etc..
Furthermore, it is possible to acquire in advance under different user characteristic information, the human body proportion between head and height is stored in In database.
After user's characteristic information is detected, the corresponding human body proportion of the user's characteristic information is searched in the data, It is combined with the length information on head and (is multiplied or is divided by), you can obtains the height information of user.
The embodiment of the present invention calls dual camera to acquire the first image data, the second image data to the head of user, The corresponding head image data in head are identified in first image data, with reference to different visions the second image data in head image The length information on head is calculated in data, the length information according to head calculates the height information of user, does not need to require user Uprightly, take pictures without to user's whole body, greatly reduce the requirement of measurement, there are complex environments such as barriers or Under the scenes such as person user's seat, sleeping, it is easier to take the head of user, guarantee can measure height.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this field Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention Example, certain steps may be used other sequences or are carried out at the same time.Secondly, those skilled in the art should also know, specification Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 3, a kind of knot of the measuring device embodiment of Human Height according to an embodiment of the invention is shown Structure block diagram can specifically include following module:
Image data acquiring module 301, for dual camera to be called to acquire the first image data, second to the head of user Image data;
Head image data identification module 302, for identifying the corresponding head in the head in described first image data Portion's image data;
Head length computing module 303, for being calculated in the head image data according to second image data The length information on the head;
Height information computing module 304, for calculating the height information of the user according to the length information on the head.
In one embodiment of the invention, the head image data identification module 302 includes:
Human face data detection sub-module, for detecting human face data in described first image data;
Facial feature points detection submodule, for detecting human face characteristic point, the face characteristic in the human face data Point includes cheek characteristic point;
Head image data are fitted submodule, and the corresponding head figure in the head is fitted for being based on the cheek characteristic point As data.
In one embodiment of the invention, the head length computing module 303 includes:
Depth image data computational submodule, for using described first image data as benchmark, with reference to second figure As data calculate depth image data;
Length information computational submodule, for calculating institute in the head image data using the depth image data State the length information on head.
In one embodiment of the invention, the length information computational submodule includes:
Position determination unit, for position of the head image data in described first image data described in location determination;
Depth information query unit, for head image number described in the position enquiring in the depth image data According to corresponding depth information;
Endpoint determination unit, for determining first end point and the second endpoint in the header data;
End-point distances computing unit, for believing according to the depth of the depth information of the first end point and second endpoint Breath, calculates the actual range between the first end point and second endpoint, the length information as the head.
In one embodiment of the invention, the height information computing module 304 includes:
User's characteristic information detection sub-module, for detecting the user characteristics of the user in described first image data Information;
Human body proportion inquires submodule, for inquiring the people between the corresponding user's characteristic information, head and height Body ratio;
Parameter combination submodule for the length information with reference to the head and the human body proportion, calculates the user Height information.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
The embodiment of the present invention additionally provides mobile terminal, as shown in figure 4, for convenience of description, illustrating only and the present invention The relevant part of embodiment, particular technique details do not disclose, please refer to present invention method part.The mobile terminal can Think including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point Of Sales, point-of-sale terminal), the arbitrary terminal device such as vehicle-mounted computer, by mobile terminal for for mobile phone:
Fig. 4 is illustrated that the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 4 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 410, memory 420, input unit 430, display unit 440th, sensor 450, voicefrequency circuit 460, Wireless Fidelity (wireless fidelity, WiFi) module 470, processor 480, And 490 grade components of power supply.It will be understood by those skilled in the art that the handset structure shown in Fig. 4 is not formed to mobile phone It limits, can include either combining certain components or different components arrangement than illustrating more or fewer components.
Each component parts of mobile phone is specifically introduced with reference to Fig. 4:
RF circuits 410 can be used for receive and send messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 480;In addition, the data for designing uplink are sent to base station.In general, RF circuits 410 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 410 can also communicate with network and other equipment by radio communication. Above-mentioned wireless communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 420 can be used for storage software program and module, and processor 480 is stored in memory 420 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 420 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses what is created according to mobile phone Data (such as audio data, phone directory etc.) etc..In addition, memory 420 can include high-speed random access memory, it can be with Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 430 can be used for receiving input number or character information and generate with the user setting of mobile phone with And the key signals input that function control is related.Specifically, input unit 430 may include that touch panel 431 and other inputs are set Standby 432.Touch panel 431, also referred to as touch screen, collect user on it or neighbouring touch operation (such as user use The operation of any suitable object such as finger, stylus or attachment on touch panel 431 or near touch panel 431), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 431 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then processor 480 is given, and the order that processor 480 is sent can be received and performed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 431.In addition to touch panel 431, input Unit 430 can also include other input equipments 432.Specifically, other input equipments 432 can include but is not limited to secondary or physical bond It is one or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
Display unit 440 can be used for display by information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 440 may include display panel 441, optionally, liquid crystal display (Liquid Crystal may be used Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to be configured Show panel 441.Further, touch panel 431 can cover display panel 441, when touch panel 431 detect it is on it or attached After near touch operation, processor 480 is sent to determine the type of touch event, is followed by subsequent processing device 480 according to touch event Type corresponding visual output is provided on display panel 441.Although in Fig. 4, touch panel 431 and display panel 441 It is the component independent as two to realize the input of mobile phone and input function, but in some embodiments it is possible to by touch-control Panel 431 and display panel 441 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 450, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 441, proximity sensor can close display panel 441 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) acceleration Size, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, details are not described herein.
Voicefrequency circuit 460, loud speaker 461, microphone 462 can provide the audio interface between user and mobile phone.Audio-frequency electric The transformed electric signal of the audio data received can be transferred to loud speaker 461, sound is converted to by loud speaker 461 by road 460 Signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 462, is turned after being received by voicefrequency circuit 460 Audio data is changed to, then after audio data output processor 480 is handled, through RF circuits 410 to be sent to such as another mobile phone, Or audio data is exported to memory 420 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 470 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown WiFi module 470, but it is understood that, and must be configured into for mobile phone is not belonging to, it can not change as needed completely Become in the range of the essence of invention and omit.
Processor 480 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to It crosses operation or performs the software program being stored in memory 420 and/or module and call and be stored in memory 420 Data perform the various functions of mobile phone and processing data, so as to carry out integral monitoring to mobile phone.Optionally, processor 480 can wrap Include one or more processing units;Preferably, processor 480 can integrate application processor and modem processor, wherein, it should With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 480.
Mobile phone further includes the power supply 490 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 480 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include dual camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, the processor 480 included by the mobile terminal is also with the following functions:
Dual camera is called to acquire the first image data, the second image data to the head of user;
The corresponding head image data in the head are identified in described first image data;
The length information on the head is calculated in the head image data according to second image data;
Length information according to the head calculates the height information of the user.
Optionally, the processor 480 included by the mobile terminal is also with the following functions:
Human face data is detected in described first image data;
Human face characteristic point is detected in the human face data, the human face characteristic point includes cheek characteristic point;
The corresponding head image data in the head are fitted based on the cheek characteristic point.
Optionally, the processor 480 included by the mobile terminal is also with the following functions:
Using described first image data as benchmark, depth image data is calculated with reference to second image data;
The length information on the head is calculated in the head image data using the depth image data.
Optionally, the processor 480 included by the mobile terminal is also with the following functions:
Determine position of the head image data in described first image data;
The corresponding depth information of head image data described in the position enquiring in the depth image data;
First end point and the second endpoint are determined in the header data;
According to the depth information of depth information and second endpoint of the first end point, calculate the first end point with Actual range between second endpoint, the length information as the head.
Optionally, the processor 480 included by the mobile terminal is also with the following functions:
The user's characteristic information of the user is detected in described first image data;
Inquire the human body proportion between the corresponding user's characteristic information, head and height;
Length information and the human body proportion with reference to the head calculate the height information of the user.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium can include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that all or part of the steps of the method in the foregoing embodiments are can be with Relevant hardware is instructed to complete by program, the program can be stored in a kind of computer readable storage medium, on It can be read-only memory to state the storage medium mentioned, disk or CD etc..
Above to a kind of measuring method of Human Height provided by the present invention, a kind of measuring device and one of Human Height Kind mobile terminal is described in detail, and for the thought of those of ordinary skill in the art, according to the present invention embodiment, is having There will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention Limitation.
The embodiment of the invention discloses A1, a kind of measuring method of Human Height, including:
Dual camera is called to acquire the first image data, the second image data to the head of user;
The corresponding head image data in the head are identified in described first image data;
The length information on the head is calculated in the head image data according to second image data;
Length information according to the head calculates the height information of the user.
A2, the method as described in A1, it is described that the corresponding head image in the head is identified in described first image data Data, including:
Human face data is detected in described first image data;
Human face characteristic point is detected in the human face data, the human face characteristic point includes cheek characteristic point;
The corresponding head image data in the head are fitted based on the cheek characteristic point.
A3, the method as described in A1 or A2, it is described to fall into a trap according to second image data in the head image data The length information on the head is calculated, including:
Using described first image data as benchmark, depth image data is calculated with reference to second image data;
The length information on the head is calculated in the head image data using the depth image data.
A4, the method as described in A3, it is described that institute is calculated in the head image data using the depth image data The length information on head is stated, including:
Determine position of the head image data in described first image data;
The corresponding depth information of head image data described in the position enquiring in the depth image data;
First end point and the second endpoint are determined in the header data;
According to the depth information of depth information and second endpoint of the first end point, calculate the first end point with Actual range between second endpoint, the length information as the head.
A5, the method as described in A1 or A2 or A4, the length information according to the head calculate the body of the user High information, including:
The user's characteristic information of the user is detected in described first image data;
Inquire the human body proportion between the corresponding user's characteristic information, head and height;
Length information and the human body proportion with reference to the head calculate the height information of the user.
The embodiment of the invention discloses B6, a kind of measuring device of Human Height, including:
Image data acquiring module, for dual camera to be called to acquire the first image data, the second figure to the head of user As data;
Head image data identification module, for identifying the corresponding head figure in the head in described first image data As data;
Head length computing module, described in being calculated in the head image data according to second image data The length information on head;
Height information computing module, for calculating the height information of the user according to the length information on the head.
B7, the device as described in B6, the head image data identification module include:
Human face data detection sub-module, for detecting human face data in described first image data;
Facial feature points detection submodule, for detecting human face characteristic point, the face characteristic in the human face data Point includes cheek characteristic point;
Head image data are fitted submodule, and the corresponding head figure in the head is fitted for being based on the cheek characteristic point As data.
B8, the device as described in B6 or B7, the head length computing module include:
Depth image data computational submodule, for using described first image data as benchmark, with reference to second figure As data calculate depth image data;
Length information computational submodule, for calculating institute in the head image data using the depth image data State the length information on head.
B9, the device as described in B8, the length information computational submodule include:
Position determination unit, for position of the head image data in described first image data described in location determination;
Depth information query unit, for head image number described in the position enquiring in the depth image data According to corresponding depth information;
Endpoint determination unit, for determining first end point and the second endpoint in the header data;
End-point distances computing unit, for believing according to the depth of the depth information of the first end point and second endpoint Breath, calculates the actual range between the first end point and second endpoint, the length information as the head.
B10, the device as described in B6 or B7 or B9, the height information computing module include:
User's characteristic information detection sub-module, for detecting the user characteristics of the user in described first image data Information;
Human body proportion inquires submodule, for inquiring the people between the corresponding user's characteristic information, head and height Body ratio;
Parameter combination submodule for the length information with reference to the head and the human body proportion, calculates the user Height information.
The embodiment of the invention discloses C11, a kind of mobile terminal, including processor and memory;
The memory supports the program for the measuring method for performing the Human Height described in A1 to A5 for storing;
The processor is configurable for performing the program stored in the memory.

Claims (10)

1. a kind of measuring method of Human Height, including:
Dual camera is called to acquire the first image data, the second image data to the head of user;
The corresponding head image data in the head are identified in described first image data;
The length information on the head is calculated in the head image data according to second image data;
Length information according to the head calculates the height information of the user.
2. the method as described in claim 1, which is characterized in that described that the head pair is identified in described first image data The head image data answered, including:
Human face data is detected in described first image data;
Human face characteristic point is detected in the human face data, the human face characteristic point includes cheek characteristic point;
The corresponding head image data in the head are fitted based on the cheek characteristic point.
3. method as claimed in claim 1 or 2, which is characterized in that it is described according to second image data on the head The length information on the head is calculated in image data, including:
Using described first image data as benchmark, depth image data is calculated with reference to second image data;
The length information on the head is calculated in the head image data using the depth image data.
4. method as claimed in claim 3, which is characterized in that described to use the depth image data in the head image The length information on the head is calculated in data, including:
Determine position of the head image data in described first image data;
The corresponding depth information of head image data described in the position enquiring in the depth image data;
First end point and the second endpoint are determined in the header data;
According to the depth information of depth information and second endpoint of the first end point, calculate the first end point with it is described Actual range between second endpoint, the length information as the head.
5. the method as described in claims 1 or 2 or 4, which is characterized in that the length information according to the head calculates institute The height information of user is stated, including:
The user's characteristic information of the user is detected in described first image data;
Inquire the human body proportion between the corresponding user's characteristic information, head and height;
Length information and the human body proportion with reference to the head calculate the height information of the user.
6. a kind of measuring device of Human Height, including:
Image data acquiring module, for dual camera to be called to acquire the first image data, the second picture number to the head of user According to;
Head image data identification module, for identifying the corresponding head image number in the head in described first image data According to;
Head length computing module, for calculating the head in the head image data according to second image data Length information;
Height information computing module, for calculating the height information of the user according to the length information on the head.
7. device as claimed in claim 6, which is characterized in that the head image data identification module includes:
Human face data detection sub-module, for detecting human face data in described first image data;
Facial feature points detection submodule, for detecting human face characteristic point, the human face characteristic point packet in the human face data Include cheek characteristic point;
Head image data are fitted submodule, and the corresponding head image number in the head is fitted for being based on the cheek characteristic point According to.
8. device as claimed in claims 6 or 7, which is characterized in that the head length computing module includes:
Depth image data computational submodule, for using described first image data as benchmark, with reference to second picture number According to calculating depth image data;
Length information computational submodule, for calculating the head in the head image data using the depth image data The length information in portion.
9. device as claimed in claim 8, which is characterized in that the length information computational submodule includes:
Position determination unit, for position of the head image data in described first image data described in location determination;
Depth information query unit, for head image data pair described in the position enquiring in the depth image data The depth information answered;
Endpoint determination unit, for determining first end point and the second endpoint in the header data;
End-point distances computing unit, for according to the depth information of the depth information of the first end point and second endpoint, Calculate the actual range between the first end point and second endpoint, the length information as the head.
10. a kind of mobile terminal, including processor and memory;
The memory supports perform claim requirement 1 to the measuring method of the Human Height described in claim 5 for storing Program;
The processor is configurable for performing the program stored in the memory.
CN201711460051.2A 2017-12-28 2017-12-28 A kind of measuring method of Human Height, device and mobile terminal Pending CN108209925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711460051.2A CN108209925A (en) 2017-12-28 2017-12-28 A kind of measuring method of Human Height, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711460051.2A CN108209925A (en) 2017-12-28 2017-12-28 A kind of measuring method of Human Height, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN108209925A true CN108209925A (en) 2018-06-29

Family

ID=62646662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711460051.2A Pending CN108209925A (en) 2017-12-28 2017-12-28 A kind of measuring method of Human Height, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108209925A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108613728A (en) * 2018-07-12 2018-10-02 杭州量量科技有限公司 Somatic data measuring device and method
CN109189226A (en) * 2018-08-23 2019-01-11 凌宇科技(北京)有限公司 A kind of method and system of calibrated altitude
CN112991607A (en) * 2021-04-02 2021-06-18 中建八局第二建设有限公司 Access control system capable of effectively collecting entrance face information
CN115637901A (en) * 2022-10-09 2023-01-24 东风汽车集团股份有限公司 Child lock control system, method and equipment based on OMS

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102657532A (en) * 2012-05-04 2012-09-12 深圳泰山在线科技有限公司 Height measuring method and device based on body posture identification
US20130182114A1 (en) * 2012-01-17 2013-07-18 Objectvideo, Inc. System and method for monitoring a retail environment using video content analysis with depth sensing
CN104173054A (en) * 2013-05-21 2014-12-03 杭州海康威视数字技术股份有限公司 Measuring method and measuring device for height of human body based on binocular vision technique
CN105654420A (en) * 2015-12-21 2016-06-08 小米科技有限责任公司 Face image processing method and device
CN107093182A (en) * 2017-03-23 2017-08-25 东南大学 A kind of human height's method of estimation of feature based flex point

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130182114A1 (en) * 2012-01-17 2013-07-18 Objectvideo, Inc. System and method for monitoring a retail environment using video content analysis with depth sensing
CN102657532A (en) * 2012-05-04 2012-09-12 深圳泰山在线科技有限公司 Height measuring method and device based on body posture identification
CN104173054A (en) * 2013-05-21 2014-12-03 杭州海康威视数字技术股份有限公司 Measuring method and measuring device for height of human body based on binocular vision technique
CN105654420A (en) * 2015-12-21 2016-06-08 小米科技有限责任公司 Face image processing method and device
CN107093182A (en) * 2017-03-23 2017-08-25 东南大学 A kind of human height's method of estimation of feature based flex point

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108613728A (en) * 2018-07-12 2018-10-02 杭州量量科技有限公司 Somatic data measuring device and method
CN109189226A (en) * 2018-08-23 2019-01-11 凌宇科技(北京)有限公司 A kind of method and system of calibrated altitude
CN109189226B (en) * 2018-08-23 2022-03-04 凌宇科技(北京)有限公司 Height calibration method and system
CN112991607A (en) * 2021-04-02 2021-06-18 中建八局第二建设有限公司 Access control system capable of effectively collecting entrance face information
CN115637901A (en) * 2022-10-09 2023-01-24 东风汽车集团股份有限公司 Child lock control system, method and equipment based on OMS

Similar Documents

Publication Publication Date Title
CN111985265B (en) Image processing method and device
CN108184050B (en) Photographing method and mobile terminal
CN107835367A (en) A kind of image processing method, device and mobile terminal
CN108229332A (en) Bone attitude determination method, device and computer readable storage medium
CN109918975A (en) A kind of processing method of augmented reality, the method for Object identifying and terminal
CN108712603B (en) Image processing method and mobile terminal
CN106815309A (en) A kind of image method for pushing, device and mobile terminal
CN108209925A (en) A kind of measuring method of Human Height, device and mobile terminal
CN108345848A (en) The recognition methods of user's direction of gaze and Related product
CN107833177A (en) A kind of image processing method and mobile terminal
CN108108704A (en) Face identification method and mobile terminal
CN106648118A (en) Virtual teaching method based on augmented reality, and terminal equipment
CN107864336B (en) A kind of image processing method, mobile terminal
CN108377339A (en) A kind of photographic method and camera arrangement
CN107465869A (en) A kind of focus adjustment method and terminal
CN107831891A (en) A kind of brightness adjusting method and mobile terminal
CN107464290A (en) Three-dimensional information methods of exhibiting, device and mobile terminal
CN107231470A (en) Image processing method, mobile terminal and computer-readable recording medium
CN108881544A (en) A kind of method taken pictures and mobile terminal
CN107806943A (en) A kind of coil temperature detection method and mobile terminal
CN109358831A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN108683850A (en) A kind of shooting reminding method and mobile terminal
CN109688325A (en) A kind of image display method and terminal device
CN108664288A (en) A kind of image interception method and mobile terminal
CN107992824A (en) Take pictures processing method, mobile terminal and computer-readable recording 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: 20180629