CN106441092A - Size measuring method and mobile terminal - Google Patents
Size measuring method and mobile terminal Download PDFInfo
- Publication number
- CN106441092A CN106441092A CN201610803956.4A CN201610803956A CN106441092A CN 106441092 A CN106441092 A CN 106441092A CN 201610803956 A CN201610803956 A CN 201610803956A CN 106441092 A CN106441092 A CN 106441092A
- Authority
- CN
- China
- Prior art keywords
- target object
- mobile terminal
- distance
- length direction
- angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
- G01B11/026—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring distance between sensor and object
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
- G01S17/08—Systems determining position data of a target for measuring distance only
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention discloses a size measuring method and a mobile terminal, and belongs to the technical field of electronics. The method is applied to the mobile terminal, the mobile terminal is provided with a camera, and the method comprises the steps of: acquiring the distance between a target object and the mobile terminal; when the length direction of the mobile terminal is parallel to that of the target object, acquiring a field angle of the camera; and determining the size of the target object according to the field angle and the distance. The method solves the problem of low convenience for measuring the size of an object in the prior art, achieves the effect of improving the convenience for measuring the size of an object, and is used for measuring the size of an object.
Description
Technical field
The present invention relates to electronic technology field, particularly to a kind of dimension measurement method and mobile terminal.
Background technology
The situation of the size that some need Measuring Object usually can be run in life, measure for the convenience of the users, occur
Some portable type measuring instruments.
Generally carry out the size of Measuring Object in prior art using tape measure, such as in the length of Measuring Object, can first by
The zero graduation of tape measure is alignd with the measurement starting point on object, then reads on the tape measure corresponding with the measurement terminating point on object
Scale, and then obtain the length of this object.
Although the size using tape measure object is more convenient, people generally will not carry with tape measure, so working as
Suddenly encounter the size needing Measuring Object situation when it is impossible to the size of preferably Measuring Object, therefore convenience is relatively low.
Content of the invention
Convenience in order to solve the problems, such as the size of Measuring Object in prior art is relatively low, embodiments provides
A kind of dimension measurement method and mobile terminal.Described technical scheme is as follows:
A kind of first aspect, there is provided dimension measurement method, for mobile terminal, described mobile terminal is provided with shooting
Head, methods described includes:
Obtain the distance of target object and described mobile terminal;
When the length direction of described mobile terminal is parallel with the length direction of described target object, obtain described photographic head
The angle of visual field;
Determine the size of described target object according to the described angle of visual field and described distance.
Optionally, the described angle of visual field includes vertical field of view angle and horizontal field of view angle, and the size of described target object includes institute
State the length of target object, the width of described target object, and described target object equal with the screen of described mobile terminal
The area in the face of row,
Described according to the described angle of visual field and described distance determine described target object size, including:
Determine the length of described target object according to described vertical field of view angle and described distance;
Determine the width of described target object according to described horizontal field of view angle and described distance;
Using the product of the length of described target object and the width of described target object as described target object area;
Described according to the described angle of visual field and after the size of the described distance described target object of determination, methods described is also wrapped
Include:
Set up plane right-angle coordinate, the width side of the X direction of described plane right-angle coordinate and described target object
To parallel, y direction is parallel with the length direction of described target object;
Show described plane right-angle coordinate on the screen;
The length and width of described target object is shown in described plane right-angle coordinate.
Optionally, after the described distance obtaining target object and described mobile terminal, methods described also includes:
Detect whether the length direction of described mobile terminal is parallel with the length direction of described target object;
When the length direction of described mobile terminal and the length direction of described target object are not parallel, display reminding is believed
Number, described cue is used for the position pointing out user to adjust described mobile terminal, until the length direction of described mobile terminal
Parallel with the length direction of described target object.
Optionally, described according to described vertical field of view angle and described distance determine described target object length, including:
According to described vertical field of view angle, described distance and calculating formula of length, calculate the length of described target object;
Wherein, described calculating formula of length is:
L=2Dtan (θ/2);
Described L is the length of described target object, and described D is described distance, and described θ is described vertical field of view angle.
Optionally, described according to described horizontal field of view angle and described distance determine described target object width, including:
According to described horizontal field of view angle, described distance and width calculation formula, calculate the width of described target object;
Wherein, described width calculation formula is:
M=2Dtan (β/2);
Described M is the width of described target object, and described D is described distance, and described β is described horizontal field of view angle.
Optionally, the described distance obtaining target object and described mobile terminal, including:
First laser pulse is launched to described target object by laser ranging module;
The second laser pulse being reflected back by described target object is received by laser sensor;
According to launching the moment of described first laser pulse and the difference in the moment receiving described second laser pulse, determine
Described target object and the distance of described mobile terminal.
A kind of second aspect, there is provided mobile terminal, described mobile terminal is provided with photographic head, described mobile terminal bag
Include:Process assembly and apart from securing component, described process assembly respectively with described photographic head and described be connected apart from securing component,
Described apart from securing component, for obtaining the distance of target object and described mobile terminal, and by described distance pass
Transport to described process assembly;
Described photographic head, parallel with the length direction of described mobile terminal for the length direction in described target object
When, obtain the angle of visual field of described photographic head, and the described angle of visual field is transmitted to described process assembly;
Described process assembly, for determining the size of described target object according to the described angle of visual field and described distance.
Optionally, described mobile terminal also includes display module, and described display module is connected with described process assembly,
Described display module is used for:
Display plane rectangular coordinate system on the screen;
The length and width of described target object is shown in described plane right-angle coordinate.
Optionally, described mobile terminal also includes:Detection components and prompting assembly, described detection components and described prompting group
Part connects,
Described detection components, are used for:
Detect whether the length direction of described mobile terminal is parallel with the length direction of described target object;
When the length direction of described mobile terminal and the length direction of described target object are not parallel, trigger described prompting
Assembly produces cue, and described cue is used for the position pointing out user to adjust described mobile terminal, until described movement
The length direction of terminal is parallel with the length direction of described target object.
Optionally, described include laser ranging module and laser sensor apart from securing component,
Described laser ranging module, for launching first laser pulse to described target object;
Described laser sensor, for receiving the second laser pulse being reflected back by described target object;
Described process assembly, is additionally operable to according to the moment sending described first laser pulse and the described second laser arteries and veins of reception
The difference in the moment of punching, determines the distance of described target object and described mobile terminal.
The beneficial effect brought of technical scheme that the present invention provides is:
The invention provides a kind of dimension measurement method and mobile terminal, because the method can be in the length of mobile terminal
When direction is parallel with the length direction of target object, obtain the angle of visual field of photographic head, and according to target object and mobile terminal
Distance, and the angle of visual field determines the size of target object, compared to prior art, user need not carry with tape measure, when running into
Need Measuring Object the situation of size when, user can be measured to the size of object using mobile terminal, therefore, improve
The convenience of object measurement.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of dimension measurement method flow chart provided in an embodiment of the present invention;
Fig. 2-1 is another kind dimension measurement method flow chart provided in an embodiment of the present invention;
Fig. 2-2 is a kind of flow chart obtaining target object and the distance of mobile terminal provided in an embodiment of the present invention;
Fig. 2-3 is the position relationship schematic diagram of a kind of mobile terminal provided in an embodiment of the present invention and target object;
Fig. 2-4 is a kind of interface schematic diagram of mobile terminal showing cue provided in an embodiment of the present invention;
Fig. 2-5 is the schematic diagram at the vertical field of view angle of photographic head;
Fig. 2-6 is the schematic diagram at the horizontal field of view angle of photographic head;
Fig. 2-7 is a kind of schematic diagram of the length computation of target object provided in an embodiment of the present invention;
Fig. 2-8 is a kind of schematic diagram of the width calculation of target object provided in an embodiment of the present invention;
Fig. 2-9 is a kind of interface display schematic diagram of plane right-angle coordinate provided in an embodiment of the present invention;
Fig. 2-10 is that a kind of interface display of length and width showing target object provided in an embodiment of the present invention is shown
It is intended to;
Fig. 3-1 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 3-2 is the structural representation of another kind mobile terminal provided in an embodiment of the present invention;
Fig. 3-3 is a kind of structural representation apart from securing component provided in an embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiments provide a kind of dimension measurement method, for mobile terminal, mobile terminal is provided with shooting
Head, as shown in figure 1, the method includes:
The distance of step 101, acquisition target object and mobile terminal.
When step 102, the length direction in mobile terminal are parallel with the length direction of target object, obtain regarding of photographic head
Rink corner.
Step 103, the size according to the angle of visual field and distance determination target object.
In sum, dimension measurement method provided in an embodiment of the present invention, because the method can be in the length of mobile terminal
When degree direction is parallel with the length direction of target object, obtain the angle of visual field of photographic head, and according to target object and mobile terminal
Distance, and the angle of visual field determines the size of target object, and compared to prior art, user need not carry with tape measure, work as chance
To the size needing Measuring Object situation when, user can be measured to the size of object using mobile terminal, therefore, carries
The high convenience of object measurement.
Embodiments provide another kind of dimension measurement method, for mobile terminal, mobile terminal is provided with and takes the photograph
As head, as shown in Fig. 2-1, the method includes:
The distance of step 201, acquisition target object and mobile terminal.
Mobile terminal first obtains the distance of target object and mobile terminal.Example, this mobile terminal can be mobile phone.
This target object is testee.This target object can be cube structure or column structure, also may be used
Think other structures, the embodiment of the present invention is not construed as limiting to this.When target object is for column structure, this target object and movement
The parallel face of the screen of terminal is the longitudinal section of this column structure, and this longitudinal section is rectangle, the length of this target object
For this rectangular length, the width of this target object is this rectangular width, and the area of this target object is this rectangle
Area.The embodiment of the present invention is illustrated with this target object for column structure.
Specifically, step 201, as shown in Fig. 2-2, can include:
Step 2011, by laser ranging module to target object launch first laser pulse.
Mobile terminal passes through laser ranging module and launches first laser pulse to target object, connects in order to laser sensor
Receive the second laser pulse being reflected by target object.
Step 2012, the second laser pulse being reflected back by target object by laser sensor reception.
Mobile terminal receives, by laser sensor, the second laser pulse being reflected back by target object, in order to mobile whole
End calculates the mobile terminal that arrives of target object according to transmitting first laser pulse and the time difference receiving second laser pulse
Distance.
The difference in the moment of step 2013, the moment according to transmitting first laser pulse and reception second laser pulse, really
Set the goal object and the distance of mobile terminal.
Example, mobile terminal is according to the difference in the moment launching first laser pulse and the moment receiving second laser pulse
Value, determines that target object with mobile terminal apart from the process of D can be:Obtain the transmitting first laser pulse of laser ranging module
Moment t1;Obtain the moment t2 that laser sensor receives second laser pulse;Obtain first laser pulse and second laser arteries and veins
Emission rate v (emission rate of hypothesis first laser pulse and the emission rate of second laser pulse are equal) of punching;Calculate mesh
Mark object and the distance of mobile terminalOptionally, this can be shown on screen by mobile terminal apart from D,
It is easy to user and can observe directly this apart from D.
Step 202, detection mobile terminal length direction whether parallel with the length direction of target object, in mobile terminal
Length direction parallel with the length direction of target object when, execution step 204;Length direction and object in mobile terminal
When the length direction of body is not parallel, execution step 203.
In order to obtain the angle of visual field of accurate photographic head, need to ensure length direction and the target object of mobile terminal
Length direction parallel.Example, Fig. 2-3 shows the position relationship schematic diagram of mobile terminal 300 and target object 002.
In Fig. 2-3, the length direction (figure of the length direction (direction indicated by u in Fig. 2-3) of mobile terminal 300 and target object 002
Direction indicated by v in 2-3) parallel.
Step 203, display reminding signal, this cue is used for the position pointing out user to adjust mobile terminal, until moving
The length direction of dynamic terminal is parallel with the length direction of target object.Execution step 204.
When the length direction of mobile terminal and the length direction of target object are not parallel, mobile terminal can show one
Cue, for pointing out user that the position of mobile terminal is adjusted, so that the length direction of mobile terminal and object
The length direction of body is parallel.User, under the suggesting effect of this cue, adjusts the position of mobile terminal, mobile terminal is just
The angle of visual field of photographic head can be obtained.
Example, Fig. 2-4 shows the interface schematic diagram of the mobile terminal showing cue 24, and user is seeing this
The position of mobile terminal during cue, can have been rapidly adjusted.
Step 204, the angle of visual field of acquisition photographic head.Execution step 205.
With photographic head as summit, the image of target object can be passed through between two edge lines of maximum magnitude of photographic head
Angle is the angle of visual field of photographic head.The angle of visual field of photographic head includes vertical field of view angle and horizontal field of view angle.Fig. 2-5 shows shooting
The schematic diagram of the vertical field of view angle θ of head, in Fig. 2-5,300 is mobile terminal, and 002 is target object.Fig. 2-6 shows photographic head
Horizontal field of view angle beta schematic diagram, in Fig. 2-6 300 be mobile terminal, 002 be target object.
When the length direction of mobile terminal and the length direction of target object are parallel, the shooting of user's control mobile terminal
Head alignment target object, the vertical field of view angle of acquisition for mobile terminal current time photographic head and horizontal field of view angle.
Optionally, the size of the target object in the embodiment of the present invention can include the length of target object, target object
Width, and the area in face that target object is paralleled with the screen of mobile terminal.Example, when target object is tied for cylinder
During structure, this face is the longitudinal section that this column structure is paralleled with the screen of mobile terminal, and this longitudinal section is rectangle.
Step 205, the length according to vertical field of view angle and distance determination target object.Execution step 206.
Specifically, referring to Fig. 2-7, step 205 can include:
According to vertical field of view angle, distance and calculating formula of length, calculate the length of target object;
Wherein, calculating formula of length is:
L=2Dtan (θ/2);
L is the length of target object, and D is the distance of target object and mobile terminal, and θ is vertical field of view angle.
Step 206, the width according to horizontal field of view angle and distance determination target object.Execution step 207.
Specifically, referring to Fig. 2-8, step 206 can include:
According to horizontal field of view angle, distance and width calculation formula, calculate the width of target object;
Wherein, width calculation formula is:
M=2Dtan (β/2);
M is the width of target object, and D is the distance of target object and mobile terminal, and β is horizontal field of view angle.
In Fig. 2-7 and Fig. 2-8 300 are mobile terminal, and 002 is target object.
Step 207, using the product of the length of target object and the width of target object as target object area.Execution
Step 208.
The area in the face that the area of this target object is paralleled with the screen of mobile terminal for target object.In order to obtain mesh
The area of mark object, mobile terminal can be by length L of the target object determining in calculation procedure 205 and true in step 206
The product of the width M of fixed target object, and then obtain the area S of target object.
Example, when the face that target object is paralleled with the screen of mobile terminal is circular, determine according to step 205
The length of target object is this circular diameter it is determined that after this circular diameter, just can be directly according to the meter of the area of a circle
Calculate formula and obtain this circular area, this circular area is the area of target object.
It should be added that, the face paralleled with the screen of mobile terminal when target object be shaped as regular shape
When, it is capable of the size of accurate measurement target object by this dimension measurement method;Screen phase when target object and mobile terminal
When being shaped as non-regular shape of parallel face, also can estimate the size of target object, reach by this dimension measurement method
Purpose to measurement target object size.
Step 208, set up plane right-angle coordinate.Execution step 209.
In order to provide the user with a friendly display interface, make user be more visually known target object length and
Width, optionally, mobile terminal can set up a plane right-angle coordinate, as shown in figs. 2-9, this plane right-angle coordinate
Width (direction indicated by w in Fig. 2-9) parallel, the longitudinal axis of transverse axis (i.e. x-axis in Fig. 2-9) direction and target object
(i.e. y-axis in Fig. 2-9) direction is parallel with the length direction (direction indicated by p in Fig. 2-9) of target object.Show in Fig. 2-9
Graduation mark, the numeral on not shown graduation mark are gone out.Can be arranged according to practical application with regard to graduation mark and numeral, the present invention
Embodiment does not limit to this.
Step 209, on screen display plane rectangular coordinate system.Execution step 210.
As shown in figs. 2-9, the plane right-angle coordinate of foundation is shown on screen by mobile terminal, in order to by really
The length and width of fixed target object shows in this plane right-angle coordinate system.Additionally, the length of target object and width
Degree can also be simultaneously displayed on the predeterminable area of screen.
Step 210, the length and width of target object is shown in plane right-angle coordinate.
Fasten the length and width of the target object of display by screen midplane rectangular coordinate, user can be more directly perceived
Ground understands the size of target object.
Additionally, the method can not also set up plane right-angle coordinate, but will be direct for the length and width of target object
It is shown on screen, as shown in figs. 2-10.
It should be added that, the distance of the target object of acquisition and mobile terminal in step 201, and step 207
The area of the target object of middle determination can be directly displayed at the predeterminable area of the screen shown in Fig. 2-9 it is also possible to directly display
The predeterminable area of the screen shown in Fig. 2-10.The embodiment of the present invention is not construed as limiting to this.
Dimension measurement method provided in an embodiment of the present invention makes mobile terminal can not only measure target object and movement
The distance of terminal additionally it is possible to the multinomial dimensional parameters of measurement target object, the such as length of target object, the width of target object with
And the area of target object etc., additionally provide the friendly display interface of display measurement content simultaneously, be easy to user and be visually known
Measurement content.And mobile terminal is for a user, carry with more convenient, need the chi of Measuring Object when user runs into
During very little situation, can conveniently and efficiently adopt the size of mobile terminal Measuring Object.
It should be noted that the sequencing of dimension measurement method step provided in an embodiment of the present invention can be carried out suitably
Adjustment, step can also according to circumstances accordingly be increased and decreased, any those familiar with the art the invention discloses
Technical scope in, method that change can be readily occurred in, all should be included within the scope of the present invention, therefore no longer superfluous
State.
In sum, dimension measurement method provided in an embodiment of the present invention, because the method can be in the length of mobile terminal
When degree direction is parallel with the length direction of target object, obtain the angle of visual field of photographic head, and according to target object and mobile terminal
Distance, and the angle of visual field determines the size of target object, and compared to prior art, user need not carry with tape measure, work as chance
To the size needing Measuring Object situation when, user can be measured to the size of object using mobile terminal, therefore, carries
The high convenience of object measurement.
Embodiments provide a kind of mobile terminal, mobile terminal is provided with photographic head, as shown in figure 3-1, move
Dynamic terminal 300 includes:Process assembly 310 and apart from securing component 320, process assembly 310 is obtained with photographic head 301 and distance respectively
Assembly 320 is taken to connect.
Apart from securing component 320, for obtaining the distance of target object and mobile terminal, and by Distance Transmission to treatment group
Part 310.
Photographic head 301, for when the length direction of target object and the length direction of mobile terminal are parallel, obtaining shooting
The angle of visual field of head, and the angle of visual field is transmitted to process assembly 310.
Process assembly 310, for determining the size of target object according to the angle of visual field and distance.
In sum, mobile terminal provided in an embodiment of the present invention, because this mobile terminal can be in its length direction
When parallel with the length direction of target object, obtain the angle of visual field of photographic head, and the distance according to target object and mobile terminal,
And the angle of visual field determines the size of target object, compared to prior art, user need not carry with tape measure, needs to survey when running into
During the situation of size of amount object, user can be measured to the size of object using mobile terminal, this improves object
The convenience of measurement.
Specifically, the angle of visual field includes vertical field of view angle and horizontal field of view angle, and the size of target object includes target object
Length and width, accordingly, process assembly specifically for:
Determine the length of target object according to vertical field of view angle and distance;
Determine the width of target object according to horizontal field of view angle and distance, this distance for target object and mobile terminal away from
From.
Optionally, process assembly is used for:
According to vertical field of view angle, distance and calculating formula of length, calculate the length of target object;
Wherein, calculating formula of length is:
L=2Dtan (θ/2);
L is the length of target object, and D is distance, and θ is vertical field of view angle.
Optionally, process assembly is additionally operable to:According to horizontal field of view angle, distance and width calculation formula, calculate target object
Width;
Wherein, width calculation formula is:
M=2Dtan (β/2);
M is the width of target object, and D is distance, and β is horizontal field of view angle.
Further, the size of target object also includes the face in the face that target object is paralleled with the screen of mobile terminal
Long-pending, accordingly, process assembly is additionally operable to:
Using the product of the length of target object and the width of target object as target object area.
Further, process assembly is additionally operable to:
Set up plane right-angle coordinate, the X direction of this plane right-angle coordinate is put down with the width of target object
OK, y direction is parallel with the length direction of target object.
As shown in figure 3-2, mobile terminal 300 also includes display module 330, and display module 330 is with process assembly 310 even
Connect, display module 330 is used for:
Display plane rectangular coordinate system on screen;
The length and width of target object is shown in plane right-angle coordinate.
Other labelling implications in Fig. 3-2 may be referred to Fig. 3-1.
Further, as shown in figure 3-2, mobile terminal 300 also includes:Detection components 340 and prompting assembly 350, detection
Assembly 340 is connected with prompting assembly 350.
Wherein, detection components 340, are used for:
Whether the length direction of detection mobile terminal is parallel with the length direction of target object;
When the length direction of mobile terminal and the length direction of target object are not parallel, triggering prompting assembly 350 produces
Cue, this cue is used for the position pointing out user to adjust mobile terminal, until the length direction of mobile terminal and mesh
The length direction of mark object is parallel.Example, this cue can be optical signal or voice signal.When cue is believed for light
Number when, point out assembly can for light emitting diode (English:Light-Emitting Diode;Referred to as:LED) signal lighties.
Example, detection components can be inclination sensor, and when detection components are for inclination sensor, detection components are used for
Obtain the length direction of mobile terminal and the angle of inclination of gravity direction, and detect the length side of mobile terminal according to angle of inclination
Whether parallel to the length direction with target object.Operation principle with regard to inclination sensor may be referred to prior art, this
Bright embodiment repeats no more to this.
Example, detection components can also be acceleration transducer, and this acceleration transducer can be gyroscope or line adds
Velometer.When detection components are for acceleration transducer, detection components are used for obtaining the acceleration that mobile terminal produces because of gravity,
Determine the length direction of mobile terminal and the angle of inclination of gravity direction according to acceleration, and mobile eventually according to angle of inclination detection
Whether the length direction at end is parallel with the length direction of target object.Operation principle with regard to acceleration transducer may be referred to now
There is technology, the embodiment of the present invention repeats no more to this.
Additionally, as shown in Fig. 3-3, including laser ranging module 321 and laser sensor 322 apart from securing component 320.
Laser ranging module 321, for launching first laser pulse to target object.
Laser sensor 322, for receiving the second laser pulse being reflected back by target object.
Accordingly, process assembly, is additionally operable to the moment according to transmitting first laser pulse and reception second laser pulse
The difference in moment, determines the distance of target object and mobile terminal.
Mobile terminal provided in an embodiment of the present invention, the distance of target object and mobile terminal can not only be measured moreover it is possible to
Enough measure the multinomial dimensional parameters of target object, the such as face of the length, the width of target object and target object of target object
Amass, additionally provide the friendly display interface of display measurement content simultaneously, be easy to user and be visually known measurement content.And move
Dynamic terminal for a user, is carried with more convenient, when user runs into the situation of the size needing Measuring Object, can
Conveniently and efficiently adopt the size of mobile terminal Measuring Object.
The structure of the mobile terminal for Measuring Object size provided in an embodiment of the present invention is simple, low cost, should simultaneously
Mobile terminal can distance based on target object and mobile terminal, obtain the multinomial dimensional parameters of target object, so operation
Simply.
In sum, mobile terminal provided in an embodiment of the present invention, because this mobile terminal can be in its length direction
When parallel with the length direction of target object, obtain the angle of visual field of photographic head, and the distance according to target object and mobile terminal,
And the angle of visual field determines the size of target object, compared to prior art, user need not carry with tape measure, needs to survey when running into
During the situation of size of amount object, user can be measured to the size of object using mobile terminal, this improves object
The convenience of measurement, and simple to operate, cost of implementation is low.
Those skilled in the art can be understood that, for convenience and simplicity of description, the device of foregoing description
Specific work process, may be referred to the implementation process in preceding method embodiment, will not be described here.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of dimension measurement method, it is characterised in that being used for mobile terminal, described mobile terminal is provided with photographic head, institute
The method of stating includes:
Obtain the distance of target object and described mobile terminal;
When the length direction of described mobile terminal is parallel with the length direction of described target object, obtain regarding of described photographic head
Rink corner;
Determine the size of described target object according to the described angle of visual field and described distance.
2. method according to claim 1 is it is characterised in that the described angle of visual field includes vertical field of view angle and horizontal field of view
Angle, the size of described target object includes the length of described target object, the width of described target object, and described object
The area in the face that body is paralleled with the screen of described mobile terminal,
Described according to the described angle of visual field and described distance determine described target object size, including:
Determine the length of described target object according to described vertical field of view angle and described distance;
Determine the width of described target object according to described horizontal field of view angle and described distance;
Using the product of the length of described target object and the width of described target object as described target object area;
Described according to the described angle of visual field and after the size of the described distance described target object of determination, methods described also includes:
Set up plane right-angle coordinate, the X direction of described plane right-angle coordinate is flat with the width of described target object
OK, y direction is parallel with the length direction of described target object;
Show described plane right-angle coordinate on the screen;
The length and width of described target object is shown in described plane right-angle coordinate.
3. method according to claim 1 it is characterised in that described obtain target object and described mobile terminal away from
From afterwards, methods described also includes:
Detect whether the length direction of described mobile terminal is parallel with the length direction of described target object;
When the length direction of described mobile terminal and the length direction of described target object are not parallel, display reminding signal, institute
State cue for point out user adjust described mobile terminal position, until described mobile terminal length direction with described
The length direction of target object is parallel.
4. method according to claim 2 is it is characterised in that described determine with described distance according to described vertical field of view angle
The length of described target object, including:
According to described vertical field of view angle, described distance and calculating formula of length, calculate the length of described target object;
Wherein, described calculating formula of length is:
L=2Dtan (θ/2);
Described L is the length of described target object, and described D is described distance, and described θ is described vertical field of view angle.
5. method according to claim 2 is it is characterised in that described determine with described distance according to described horizontal field of view angle
The width of described target object, including:
According to described horizontal field of view angle, described distance and width calculation formula, calculate the width of described target object;
Wherein, described width calculation formula is:
M=2Dtan (β/2);
Described M is the width of described target object, and described D is described distance, and described β is described horizontal field of view angle.
6. according to the arbitrary described method of claim 1 to 5 it is characterised in that described acquisition target object is mobile whole with described
The distance at end, including:
First laser pulse is launched to described target object by laser ranging module;
The second laser pulse being reflected back by described target object is received by laser sensor;
According to launching the moment of described first laser pulse and the difference in the moment receiving described second laser pulse, determine described
Target object and the distance of described mobile terminal.
7. it is characterised in that being provided with photographic head on described mobile terminal, described mobile terminal includes a kind of mobile terminal:Place
Reason assembly and apart from securing component, described process assembly respectively with described photographic head and described be connected apart from securing component,
Described apart from securing component, for obtaining the distance of target object and described mobile terminal, and by described Distance Transmission extremely
Described process assembly;
Described photographic head, for when the length direction of described target object is parallel with the length direction of described mobile terminal, obtaining
Take the angle of visual field of described photographic head, and the described angle of visual field is transmitted to described process assembly;
Described process assembly, for determining the size of described target object according to the described angle of visual field and described distance.
8. mobile terminal according to claim 7 it is characterised in that
Described mobile terminal also includes display module, and described display module is connected with described process assembly,
Described display module is used for:
Display plane rectangular coordinate system on the screen;
The length and width of described target object is shown in described plane right-angle coordinate.
9. mobile terminal according to claim 7 it is characterised in that
Described mobile terminal also includes:Detection components and prompting assembly, described detection components are connected with described prompting assembly,
Described detection components, are used for:
Detect whether the length direction of described mobile terminal is parallel with the length direction of described target object;
When the length direction of described mobile terminal and the length direction of described target object are not parallel, trigger described prompting assembly
Produce cue, described cue is used for the position pointing out user to adjust described mobile terminal, until described mobile terminal
Length direction parallel with the length direction of described target object.
10. according to the arbitrary described mobile terminal of claim 7 to 9 it is characterised in that described include laser apart from securing component
Range finder module and laser sensor,
Described laser ranging module, for launching first laser pulse to described target object;
Described laser sensor, for receiving the second laser pulse being reflected back by described target object;
Described process assembly, is additionally operable to according to the moment sending described first laser pulse and the described second laser pulse of reception
The difference in moment, determines the distance of described target object and described mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803956.4A CN106441092A (en) | 2016-09-05 | 2016-09-05 | Size measuring method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803956.4A CN106441092A (en) | 2016-09-05 | 2016-09-05 | Size measuring method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106441092A true CN106441092A (en) | 2017-02-22 |
Family
ID=58164339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610803956.4A Pending CN106441092A (en) | 2016-09-05 | 2016-09-05 | Size measuring method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106441092A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108549267A (en) * | 2018-05-22 | 2018-09-18 | 珠海格力电器股份有限公司 | Method, device and system for determining household appliance, storage medium and processor |
CN109059763A (en) * | 2018-08-08 | 2018-12-21 | 浙江科技学院 | The method and device of mobile phone for measuring size based on laser ranging and image comparison |
CN109141316A (en) * | 2018-08-24 | 2019-01-04 | Tcl移动通信科技(宁波)有限公司 | A kind of dimension measurement method, equipment and storage medium |
CN110864630A (en) * | 2019-11-11 | 2020-03-06 | 深圳供电局有限公司 | Power transmission line jumper distance measuring method and system based on unmanned aerial vehicle |
CN111637837A (en) * | 2020-06-03 | 2020-09-08 | 龙永南 | Method and system for measuring size and distance of object by monocular camera |
CN111932606A (en) * | 2020-10-12 | 2020-11-13 | 歌尔光学科技有限公司 | Object boundary size detection method and device, head-mounted display equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101078772A (en) * | 2007-07-24 | 2007-11-28 | 华为技术有限公司 | Mobile terminal and method for measurement utilizing same |
CN102980517A (en) * | 2012-11-15 | 2013-03-20 | 天津市亚安科技股份有限公司 | Monitoring measurement method |
KR20130142533A (en) * | 2012-06-19 | 2013-12-30 | 주식회사 메이트텍 | Real size measurement device of smart phone |
CN105526895A (en) * | 2015-11-30 | 2016-04-27 | 北京奇虎科技有限公司 | Electronic equipment and range finding method thereof |
CN105547215A (en) * | 2015-08-18 | 2016-05-04 | 东莞酷派软件技术有限公司 | Method for measuring object dimension and terminal equipment |
JP2016105068A (en) * | 2014-11-19 | 2016-06-09 | 日本電産サンキョー株式会社 | Distance measurement device and distance measurement method |
CN206042082U (en) * | 2016-09-05 | 2017-03-22 | 合肥京东方光电科技有限公司 | Mobile terminal with front camera and large LCD |
-
2016
- 2016-09-05 CN CN201610803956.4A patent/CN106441092A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101078772A (en) * | 2007-07-24 | 2007-11-28 | 华为技术有限公司 | Mobile terminal and method for measurement utilizing same |
KR20130142533A (en) * | 2012-06-19 | 2013-12-30 | 주식회사 메이트텍 | Real size measurement device of smart phone |
CN102980517A (en) * | 2012-11-15 | 2013-03-20 | 天津市亚安科技股份有限公司 | Monitoring measurement method |
JP2016105068A (en) * | 2014-11-19 | 2016-06-09 | 日本電産サンキョー株式会社 | Distance measurement device and distance measurement method |
CN105547215A (en) * | 2015-08-18 | 2016-05-04 | 东莞酷派软件技术有限公司 | Method for measuring object dimension and terminal equipment |
CN105526895A (en) * | 2015-11-30 | 2016-04-27 | 北京奇虎科技有限公司 | Electronic equipment and range finding method thereof |
CN206042082U (en) * | 2016-09-05 | 2017-03-22 | 合肥京东方光电科技有限公司 | Mobile terminal with front camera and large LCD |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108549267A (en) * | 2018-05-22 | 2018-09-18 | 珠海格力电器股份有限公司 | Method, device and system for determining household appliance, storage medium and processor |
CN109059763A (en) * | 2018-08-08 | 2018-12-21 | 浙江科技学院 | The method and device of mobile phone for measuring size based on laser ranging and image comparison |
CN109141316A (en) * | 2018-08-24 | 2019-01-04 | Tcl移动通信科技(宁波)有限公司 | A kind of dimension measurement method, equipment and storage medium |
CN110864630A (en) * | 2019-11-11 | 2020-03-06 | 深圳供电局有限公司 | Power transmission line jumper distance measuring method and system based on unmanned aerial vehicle |
CN110864630B (en) * | 2019-11-11 | 2021-07-06 | 深圳供电局有限公司 | Power transmission line jumper distance measuring method and system based on unmanned aerial vehicle |
CN111637837A (en) * | 2020-06-03 | 2020-09-08 | 龙永南 | Method and system for measuring size and distance of object by monocular camera |
CN111637837B (en) * | 2020-06-03 | 2022-04-08 | 龙永南 | Method and system for measuring size and distance of object by monocular camera |
CN111932606A (en) * | 2020-10-12 | 2020-11-13 | 歌尔光学科技有限公司 | Object boundary size detection method and device, head-mounted display equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106441092A (en) | Size measuring method and mobile terminal | |
CN106405500B (en) | Intelligent robot follower method, system for tracking and the emitter for following | |
CN105717498B (en) | Laser range finder pitch angle measurement and correction system and method | |
US9587931B2 (en) | Position compensation device using visible light communication and method thereof | |
CN104024797B (en) | Method and device for determining 3D coordinates of an object | |
KR101881121B1 (en) | Drone for measuring distance and method for controlling drone | |
CN107576986B (en) | A kind of method and apparatus when determining submarine earthquake back wave is travelled | |
CN206042082U (en) | Mobile terminal with front camera and large LCD | |
JP2012137412A (en) | Underwater position detection system, ultrasonic transmission means and ship side reception means used for underwater position detection system, and underwater position detection method | |
US20200003867A1 (en) | Partially coordinated radar system | |
CN106248110A (en) | Attitude measuring is from the method and system of dynamic(al) correction | |
CN107192330A (en) | Method, device and the aircraft of long-range measurement object coordinates | |
CN106705860A (en) | Laser distance measurement method | |
CN110332854B (en) | Target positioning method, sighting telescope and computer readable storage medium | |
CN102572066B (en) | There is hand-hold electronic device and the distance-finding method thereof of distance measurement function | |
KR20100033634A (en) | Distance estimation apparatus and method | |
US11914077B2 (en) | System and method for determination of origin displacement for a laser rangefinding instrument | |
JP2013148524A (en) | Positioning system | |
KR101200913B1 (en) | Portable land control apparatus | |
KR20120017837A (en) | Location or motion detection system of vessel | |
EP3073222B1 (en) | Altimeter using imaging capability | |
CN109917411B (en) | Obstacle detection device and method based on laser ranging and triaxial accelerometer | |
KR102661976B1 (en) | Camera module integrated laser range finder | |
EP3680686B1 (en) | Radar device and transponder response delay acquiring method | |
CN106500725A (en) | The method and system that attitude measuring is corrected automatically |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20170222 |