[go: up one dir, main page]

CN106291519A - Distance-finding method and device - Google Patents

Distance-finding method and device Download PDF

Info

Publication number
CN106291519A
CN106291519A CN201510304935.3A CN201510304935A CN106291519A CN 106291519 A CN106291519 A CN 106291519A CN 201510304935 A CN201510304935 A CN 201510304935A CN 106291519 A CN106291519 A CN 106291519A
Authority
CN
China
Prior art keywords
image
measured
target image
mobile terminal
distance
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
CN201510304935.3A
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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510304935.3A priority Critical patent/CN106291519A/en
Publication of CN106291519A publication Critical patent/CN106291519A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/12Systems for determining distance or velocity not using reflection or reradiation using electromagnetic waves other than radio waves

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of distance-finding method and device, be applied to mobile terminal, its method includes: whether detection object is positioned in the view finder of mobile terminal;When described object is positioned in the view finder of mobile terminal, it is adjusted to described object definition in described view finder preset definition;Control described mobile terminal described object is taken pictures, obtain the target image of described object, and obtain described object scaling in described target image;Obtain the positional information of two impact points to be measured that user inputs on described target image;Positional information according to said two impact point to be measured and described scaling, calculate the actual geographic positional distance between two impact points to be measured on described target image.By object is taken pictures, can quickly calculate the actual geographic positional distance between two impact points to be measured on image of taking pictures.

Description

Distance-finding method and device
Technical field
It relates to technical field of mobile terminals, particularly relate to a kind of distance-finding method and device.
Background technology
Under many circumstances, user is required for knowing the length of an object, or the distance between object, and then user is but Instrument limited in hands cannot be utilized to reach the purpose measured.Such as: when user travels outdoors, unknown two are wondered Distance between mountain peak, even if user can surf the Net, it is also difficult to finds the distance between these two unknown mountain peaks, more can not Can hold ruler to go to measure, this is likely to many puzzlements to be brought to regret to user.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of distance-finding method and device.
First aspect according to disclosure embodiment, it is provided that a kind of distance-finding method, is applied to mobile terminal, including:
Whether detection object is positioned in the view finder of mobile terminal;
When described object is positioned in the view finder of mobile terminal, by described object definition in described view finder It is adjusted to preset definition;
Control described mobile terminal described object is taken pictures, obtain the target image of described object, and obtain institute State object scaling in described target image;
Obtain the positional information of two impact points to be measured that user inputs on described target image;
Positional information according to said two impact point to be measured and described scaling, calculate on described target image Actual geographic positional distance between two impact points to be measured.
In conjunction with first aspect, in the first possible implementation of first aspect, described by described object described Definition in view finder is adjusted to preset definition, including:
Obtain described view finder and collect the target image comprising described object;
Judge described in described target image, whether the definition of object is positioned at setting threshold interval;
When described in described target image, the definition of object is not positioned at described setting threshold interval, according to default regulation Amount regulates the definition of described mobile terminal, and returns definition judgment step;
When the definition of object is positioned at described setting threshold interval described in described target image, determine described object Definition in described view finder is adjusted to preset definition.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, the described object of described acquisition is in institute State the scaling in target image, including:
Obtain the image distance set when described object is taken pictures by described mobile terminal;
Obtain the image scaling schedule of proportion pre-build in described mobile terminal;
The scaling corresponding with described image distance is searched in described image scaling schedule of proportion;
The scaling corresponding with described image distance is defined as described object scaling in described target image.
In conjunction with first aspect, in the third possible implementation of first aspect, described acquisition user is in described target The positional information of two impact points to be measured of input on image, including:
Judge that whether user touches two points on the image that the touch screen of described mobile terminal shows simultaneously;
When user touches two points on the image that the touch screen of described mobile terminal shows simultaneously, touch described simultaneously Two points are defined as two impact points to be measured that user inputs on described target image;
Obtain the described coordinate information simultaneously touching two points respectively, and by the described coordinate information minute touching two points simultaneously It is not defined as the positional information of two impact points to be measured.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, described acquisition user is in described target The positional information of two impact points to be measured of input on image, including:
Judge when on the image that the touch screen of described mobile terminal is shown by user, whether the pressing operation of first exceedes default Long;
When the pressing operation of first is exceeded preset duration, obtain the coordinate information of described first, and when default Between interval in judge whether the pressing operation touching second point on the image that the touch screen of described mobile terminal is shown by user surpasses Cross preset duration;
When pressing operation to second point exceedes preset duration within a preset time interval, obtain the coordinate information of second point, And it is defined as two impact points to be measured that user inputs on described target image, by institute by described first with second point The coordinate information stating two points of touch simultaneously is identified as the positional information of two impact points to be measured.In conjunction with first aspect, In the 5th kind of possible implementation of first aspect, the described positional information according to said two impact point to be measured with And described scaling, calculate the actual geographic positional distance between two impact points to be measured on described target image, Including:
According to the positional information of said two impact point to be measured, calculate between said two impact point to be measured described Image distance on target image;
Described image distance and described scaling are done computing, calculates the reality between said two impact point to be measured Geographical position distance.
Second aspect according to disclosure embodiment, it is provided that a kind of range unit, is applied to mobile terminal, including:
Object detector unit, for detecting whether object is positioned in the view finder of mobile terminal;
Definition regulation unit, for when described object is positioned in the view finder of mobile terminal, exists described object Definition in described view finder is adjusted to preset definition;
Take pictures control unit, be used for controlling described mobile terminal and described object is taken pictures, obtain described object Target image;
Scaling acquiring unit, for obtaining described object scaling in described target image;
Location information acquiring unit, for obtaining the position of two impact points to be measured that user inputs on described target image Confidence ceases;
Actual geographic positional distance computing unit, for according to the positional information of said two impact point to be measured and described Scaling, calculates the actual geographic positional distance between two impact points to be measured on described target image.
In conjunction with second aspect, in the first possible implementation of first aspect, described definition regulation unit, bag Include:
Target image acquisition module, collects, for obtaining described view finder, the target image comprising described object;
Definition judgment module, for judging described in described target image, whether the definition of object is positioned at setting threshold value Interval;
Definition reconciles module, is not positioned at described setting threshold value for the definition of object described in described target image Time interval, regulate the definition of described mobile terminal according to default regulated quantity;
Default definition determines module, is positioned at described setting threshold for the definition of object described in described target image When value is interval, determine that described object definition in described view finder is for presetting definition.
In conjunction with second aspect, in the implementation that the second of first aspect is possible, described scaling acquiring unit, Including:
Image distance acquisition module, for obtaining the image distance set when described object is taken pictures by described mobile terminal;
Scaling table acquisition module, for obtaining the image scaling schedule of proportion pre-build in described mobile terminal;
Scaling searches module, for searching the pantograph ratio corresponding with described image distance in described image scaling schedule of proportion Example;
Scaling determines module, for the scaling corresponding with described image distance is defined as described object described Scaling in target image.
In conjunction with second aspect, in the third possible implementation of first aspect, described location information acquiring unit, Including:
First judge module, for judging that whether user touches on the image that the touch screen of described mobile terminal shows simultaneously Two points;
First object point determines module, for touching on the image that the touch screen of described mobile terminal shows user simultaneously During two points, two points of described touch simultaneously are defined as two targets to be measured that user inputs on described target image Point;
First coordinate information acquisition module, for obtaining the described coordinate information touching two points respectively simultaneously, and by described The coordinate information simultaneously touching two points is identified as the positional information of two impact points to be measured
In conjunction with second aspect, in the 4th kind of possible implementation of first aspect, described location information acquiring unit, Including:
Second judge module, for judging the pressing of first on the image that the touch screen of described mobile terminal is shown by user Whether operation exceedes preset duration;
Second coordinate information acquisition module, for when the pressing operation of first is exceeded preset duration, obtains described the The coordinate information of a bit;
3rd judge module, for when the pressing operation of first is exceeded preset duration, sentencing within a preset time interval The pressing operation of second point is touched when whether exceeding default on the image that the touch screen of described mobile terminal is shown by disconnected user Long;
3rd coordinate information acquisition module, for when pressing operation to second point exceedes default within a preset time interval Time long, obtain the coordinate information of second point;
First object point determines module, for described first and second point are defined as user on described target image defeated Two impact points to be measured entered, are identified as two targets to be measured by the described coordinate information touching two points simultaneously The positional information of point.
In conjunction with second aspect, in the 5th kind of possible implementation of first aspect, described actual geographic positional distance meter Calculate unit, including:
Image distance computing module, for the positional information according to said two impact point to be measured, calculates said two Image distance on described target image between impact point to be measured;
Actual geographic positional distance computing module, for described image distance and described scaling are done computing, calculates Actual geographic positional distance between said two impact point to be measured.
The third aspect according to disclosure embodiment, it is provided that a kind of terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether detection object is positioned in the view finder of mobile terminal;
When described object is positioned in the view finder of mobile terminal, by described object definition in described view finder It is adjusted to preset definition;
Control described mobile terminal described object is taken pictures, obtain the target image of described object, and obtain institute State object scaling in described target image;
Obtain the positional information of two impact points to be measured that user inputs on described target image;
Positional information according to said two impact point to be measured and described scaling, calculate on described target image Actual geographic positional distance between two impact points to be measured.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Distance-finding method that disclosure embodiment provides and device, user it is to be appreciated that the actual geographic positional distance of object Time, such as: the actual range between two mountain peaks.Can utilize mobile terminal that object is taken pictures, i.e. to two Take pictures in mountain peak, and obtain the image that this object definition is maximum, and now this object is in the images Scaling.Mobile terminal by obtaining two impact points to be measured of input on this image of user, by calculate this two Individual impact point to be measured image distance in the images, according to the image distance between the two impact point to be measured and target Thing scaling in the images, can calculate the actual geographic position between the two impact point to be measured fast and accurately Put distance, i.e. actual geographic positional distance between the two mountain peak.Such that it is able to effectively avoid user to be inconvenient to use When the instruments such as ruler measure the actual geographic positional distance between object, it is possible to calculate corresponding knot fast and accurately Really.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet embodiments of the invention, And for explaining the principle of the present invention together with description.
Fig. 1 is the flow chart according to a kind of distance-finding method shown in an exemplary embodiment;
Fig. 2 is the flow chart of step 120 in Fig. 1;
Fig. 3 is the flow chart of step 130 in Fig. 1;
Fig. 4 is the flow chart of step 150 in Fig. 1;
Fig. 5 is to take pictures scene schematic diagram according to the user shown in an exemplary embodiment;
Fig. 6 is the structural representation according to a kind of range unit shown in an exemplary embodiment;
Fig. 7 is the schematic diagram of definition regulation unit in Fig. 6;
Fig. 8 is the schematic diagram of scaling acquiring unit in Fig. 6;
Fig. 9 is the schematic diagram of location information acquiring unit in Fig. 6;
Figure 10 is another schematic diagram of location information acquiring unit in Fig. 6;
Figure 11 is the schematic diagram of actual geographic positional distance computing unit in Fig. 6;
Figure 12 is the structural representation according to a kind of mobile terminal shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to attached During figure, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the present invention.On the contrary, they be only with such as The example of the apparatus and method that some aspects that described in detail in appended claims, the present invention are consistent.
In order to solve Related Technical Issues, disclosure embodiment provide firstly a kind of measuring method, as it is shown in figure 1, should Method may comprise steps of:
In step s 110, whether detection object is positioned in the view finder of mobile terminal.
At present, the kind of the mobile terminal that each manufacturer provides the user and type get more and more, such as mobile phone, panel computer etc. Deng, and the function that these mobile terminals have also gets more and more, some functions have practical value very much.As a example by mobile phone, One of photographic head also basic configuration becoming mobile phone, present mobile phone when dispatching from the factory nearly all with the photographic head of camera function, User can pass through the object interested in oneself of the photographic head on mobile phone or landscape is taken pictures at any time, and can be bat The photo got off is saved on this locality or server.
Such as, when user is with mobile phone outing, if it find that there is a mountain in front, and on this mountain, there are two mountain peaks, If user wonders the actual range between two mountain peaks on this mountain, then need all to take the two mountain peak. When user takes pictures, two mountain peaks on this mountain are equivalent to object, and object needs to be presented in the view finder of mobile phone, I.e. need by the camera collection on mobile phone to the image comprising object.
In this step during detection object, can detect, such as according to the modular set on mobile terminal: right In the pattern set as personage's pattern, in this step, it can be determined that whether view finder has facial image, if detection To face, it is determined that object is positioned in the view finder of mobile terminal;For the pattern that sets as landscape configuration, in this step In Zhou, it can be determined that whether view finder occurs trees, flower or mountain peak etc., if view finder occurs trees, flower Or mountain peak, it is determined that object is positioned in the view finder of mobile terminal.
When object is positioned in the view finder of mobile terminal, in the step s 120, by clear in view finder of object Degree is adjusted to preset definition.
During object is taken pictures by user, mobile phone by camera collection to image may not only comprise mesh Mark thing, it is also possible to comprise other objects, and camera collection to image in the how far of each object distance mobile phone can Can be different, such as, farther out, and some flowers, plants and trees distance mobile phone is relatively near for the mountain peak distance mobile phone of mobile phone far ahead, and The object of a certain distance typically can only be focused by the photographic head on mobile phone.By mobile phone, mountain peak at a distance is being clapped According to time, mountain peak at a distance is equivalent to object, and between mobile phone and object, it is also possible to have other objects, such as: Between mountain and mobile phone, also one tree, therefore user is when taking pictures to mountain, it should by this mountain on mobile phone The definition of the image presented is adjusted to utmost sharpness, and mountain and mobile phone time tree should not presented on mobile phone The definition of image is maximum, the definition of the mountain peak at a distance image on mobile phone so can be caused to become relatively low, cause survey Away from inaccurate.
In step s 130, control mobile terminal and object is taken pictures, obtain the target image of object, and obtain Object scaling in the target image.
Still as a example by mobile phone, due to the parameter of the photographic head that mobile phone dissimilar, model self is configured when dispatching from the factory Different.Therefore, it can before mobile phone dispatches from the factory, according to the parameter of photographic head in mobile phone, pre-build that mobile phone is when taking pictures Corresponding relation between scaling and the parameter of photographic head of image, in order to mobile phone, when taking pictures, can quickly be searched The scaling of the image of shooting.For example, it is possible to set up when mobile phone photograph image distance when object definition maximum and Corresponding relation between this object scaling on image.
In step S140, obtain the positional information of two impact points to be measured that user inputs on target image.
If user wonders in the image of shooting the actual range on object between two points, user can pass through finger Click on the image of mobile phone screen photographs, two impact points to be measured are set on this image, and obtain this two mesh to be measured The positional information of punctuate, such as coordinate etc..
In step S150, according to positional information and the scaling of two impact points to be measured, calculate on target image Two impact points to be measured between actual geographic positional distance.
The two impact point to be measured can be calculated in target according to the positional information of in target image two impact points to be measured Distance in image, by distance in the target image between two impact points to be measured and the scaling of object in image Do computing, the actual geographic positional distance between two impact points to be measured on target image can be obtained.
The distance-finding method that disclosure embodiment provides, user it is to be appreciated that during the actual geographic positional distance of object, example As: the actual range between two mountain peaks.Can utilize mobile terminal that object is taken pictures, i.e. two mountain peaks be entered Row is taken pictures, and obtains the image that this object definition is maximum, and now this object pantograph ratio in the images Example.Mobile terminal is by obtaining two impact points to be measured of input on this image of user, to be measured by calculating the two Amount impact point image distance in the images, according to the image distance between the two impact point to be measured and object at this Scaling in image, calculates the actual geographic positional distance between the two impact point to be measured, i.e. fast and accurately Actual geographic positional distance between the two mountain peak.User can be effectively avoided to be inconvenient to use the instruments such as ruler to carry out When measuring the actual geographic positional distance between object, calculate corresponding result fast and accurately.
When object is taken pictures by mobile terminal, in order to object definition in the view finder of mobile terminal is adjusted Save and arrive utmost sharpness, the refinement of the method for Fig. 1 the most, in the another embodiment of the disclosure, as in figure 2 it is shown, step S120 can also comprise the steps:
In step S121, obtain view finder and collect the target image comprising object.
Such as, when it is to be appreciated that during distance between two mountain peaks, it should need all to be presented in camera lens the two mountain peak, The two mountain peak is taken.
In step S122, it is judged that described in described target image, whether the definition of object is positioned at setting threshold interval.
When described in described target image, the definition of object is not positioned at described setting threshold interval, in step S123 In, regulate the definition of described mobile terminal according to default regulated quantity, and return definition judgment step S122.
During object is shot by user by mobile phone, automatically the object of shooting can be entered by mobile terminal Row focusing, it is also possible to focus according to user's manual operation, the definition of object in target image is adjusted to maximum Value.The method of detection image definition has a lot at present, and conventional has image energy entropy method, gradation of image variance method and figure As gray grads method etc., due to these aspects comparative maturity, repeat no more here.
When described in described target image, the definition of object is positioned at described setting threshold interval, in step S124, Determine that described object definition in described view finder is adjusted to preset definition.
In order to obtain the required object shot scaling in the target image, as the refinement of Fig. 1 method, at this In disclosed another embodiment, as it is shown on figure 3, step S130 can also comprise the following steps:
In step S131, obtain the image distance set when object is taken pictures by mobile terminal.
When user utilizes mobile phone to take pictures object, for the definition by comprising object in the image of shooting Height, needs to focus mobile phone.Wherein, zoom is again in focusing, is the image distance in regulation shooting.
In step S132, obtain the image scaling schedule of proportion pre-build in the terminal.
Parameter difference due to the photographic head that mobile phone dissimilar, model self is configured when dispatching from the factory.Therefore, it can Before mobile phone dispatches from the factory, according to the parameter of photographic head in mobile phone, pre-build mobile phone when taking pictures the scaling of image with Corresponding relation between the parameter of photographic head, is saved in the corresponding relation between photographic head image distance and the scaling of image In the image scaling schedule of proportion pre-build.So that mobile phone is when taking pictures, can quickly search the scaling of the image of shooting Ratio.
In step S133, image scaling schedule of proportion is searched the scaling corresponding with image distance.
Mobile phone, in object shooting process, is carried out when object definition in the picture is adjusted to utmost sharpness Take pictures, record image distance now, the contracting corresponding with image distance can be searched in the image scaling schedule of proportion pre-build Put ratio.
In step S134, the scaling corresponding with image distance is defined as object pantograph ratio in the target image Example.
So according to above-mentioned steps S133, the image scaling schedule of proportion pre-build is searched the scaling corresponding with image distance Ratio, is object scaling in the target image.
In order to accurately obtain two impact points to be measured that user inputs on target image for calibration information, as Fig. 1 side The refinement of method, in the another embodiment of the disclosure, step S140 can also comprise the following steps:
S11, it is judged that whether user touches two points on the image that the touch screen of described mobile terminal shows simultaneously.
S12, when user touches two points on the image that the touch screen of described mobile terminal shows simultaneously, by the while of described Touch two points and be defined as two impact points to be measured that user inputs on described target image.
S13, obtains the described coordinate information simultaneously touching two points respectively, and by the described coordinate letter touching two points simultaneously Breath is identified as the positional information of two impact points to be measured.
Owing to present mobile phone is nearly all touch-screen mobile phone, therefore the mobile terminal in disclosure embodiment is all with touch screen As a example by illustrate.When two coordinate of ground points to be measured that user is inputted by mobile phone obtain, due to target to be measured Point is a point, and human finger is when touching mobile phone touching, it may be possible to an image with certain area, such as disk Shape.As a example by the contact surface produced in mobile phone touch with user's finger is as disc, can be by this discoidal centre coordinate It is defined as the position of impact point to be measured, and then obtains the coordinate information of impact point to be measured.
In order to accurately obtain two impact points to be measured that user inputs on target image for calibration information, as Fig. 1 side The refinement of method, in the another embodiment of the disclosure, step S140 can also comprise the following steps:
S21, it is judged that on the image that the touch screen of described mobile terminal is shown by user, whether the pressing operation of first exceedes pre- If duration.
S22, when the pressing operation of first is exceeded preset duration, obtains the coordinate information of described first, and in advance If judging that the pressing operation touching second point on the image that the touch screen of described mobile terminal is shown by user is in time interval No exceed preset duration.
S22, when pressing operation to second point exceedes preset duration within a preset time interval, obtains the coordinate of second point Information, and it is defined as, with second point, two impact points to be measured that user inputs on described target image by described first, The described coordinate information simultaneously touching two points is identified as the positional information of two impact points to be measured.
For the positional information according to two impact points to be measured and scaling, accurately calculate on described target image Actual geographic positional distance between two impact points to be measured, as the refinement of Fig. 1 method, in the another reality of the disclosure Executing in example, as shown in Figure 4, step S150 can also comprise the following steps:
In step S151, according to the positional information of two impact points to be measured, calculate between two impact points to be measured Image distance on target image.
Calculate image distance in the target image between two impact points to be measured, can be to be measured according to two got The coordinate information of amount impact point is calculated.
In step S152, image distance and scaling are done computing, calculates the reality between two impact points to be measured Geographical position, border distance.
As a example by the image on mobile phone shooting two mountain peaks at a distance, taken pictures in the two mountain peak by mobile phone, the shooting figure obtained As being equivalent to the two mountain peak is reduced several times.
The actual geographic positional distance can being calculated between two impact points to be measured by following formula (1).
S=Dmn·A (1)
Wherein, S represents the actual geographic positional distance between two impact points to be measured;DmnRepresent that two impact points to be measured exist Image distance on target image;A represent the object on target image be amplified to reality object time magnification ratio, So object scaling 1/A in the target image represents.
The distance-finding method provided for the brightest disclosure, in the another embodiment of the disclosure, as it is shown in fig. 7, At the distance-finding method that user is provided by disclosure above-described embodiment, utilize mobile phone photograph measure between two mountain peaks away from From time, exemplary, can include procedure below:
When user's carrying mobile phone goes out outing, it is seen that there is a mountain in front, this mountain has two mountain peaks, it may be possible to This user's curiosity is relatively strong, or is to have imagined the abundantest, and this user wonders and is spaced between two mountain peaks on this mountain Actual range be how many.But due to the limitation of reality, this user cannot hold ruler measurement, also cannot be by this seat Without famous mountain distance between its two mountain peaks of search inquiry in Baidu.But, if the mobile phone of this user uses the disclosure The distance-finding method provided, can record the actual range between the two mountain peak the most simply, easily and fast.
As it is shown in figure 5, represented with M, N point respectively by the peak dot on the two mountain peak, user is by the two mountain peak Taking pictures, obtain the image taken pictures, user can click on two peak dots on this image with finger, labels it as m respectively Point and n point, when being taken pictures in the two mountain peak by user, obtain the two mountain peak ratio 1/A that reduces on image, and Image distance D on image between m point and n point on the image of calculating shootingmn, can by above-mentioned formula (1) very Conveniently readily calculate the actual range between the two mountain peak M, N at 2.
The distance-finding method that disclosure embodiment provides, user it is to be appreciated that during the actual geographic positional distance of object, example As: the actual range between two mountain peaks.Can utilize mobile terminal that object is taken pictures, i.e. two mountain peaks be entered Row is taken pictures, and obtains the image that this object definition is maximum, and now this object pantograph ratio in the images Example.Mobile terminal is by obtaining two impact points to be measured of input on this image of user, to be measured by calculating the two Amount impact point image distance in the images, according to the image distance between the two impact point to be measured and object at this Scaling in image, calculates the actual geographic positional distance between the two impact point to be measured, i.e. fast and accurately Actual geographic positional distance between the two mountain peak.User can be effectively avoided to be inconvenient to use the instruments such as ruler to carry out When measuring the actual geographic positional distance between object, calculate corresponding result fast and accurately.
When obtaining object scaling in the images, by searching memory mobile terminal can pre-build Image scaling schedule of proportion, can be rapidly obtained this scaling.And obtaining what user inputted on target image During the positional information of two impact points to be measured, can believe according to the coordinate on target image of two impact points to be measured Breath, calculates the two impact point to be measured image distance in the target image.
By the description of above embodiment of the method, those skilled in the art is it can be understood that can borrow to the disclosure The mode helping software to add required general hardware platform realizes, naturally it is also possible to by hardware, but a lot of in the case of the former It it is more preferably embodiment.Based on such understanding, prior art is made by the technical scheme of the disclosure the most in other words The part of contribution can embody with the form of software product, and this computer software product is stored in a storage medium, Including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) Perform all or part of step of method described in each embodiment of the disclosure.And aforesaid storage medium includes: read-only storage The various media that can store program code such as device (ROM), random access memory (RAM), magnetic disc or CD.
It addition, as the realization to the various embodiments described above, disclosure embodiment additionally provides a kind of range unit, this device Being positioned in terminal, as shown in Figure 6, this device includes: object detector unit 10, definition regulate unit 20, take pictures Control unit 30, scaling acquiring unit 40, location information acquiring unit 50 and actual geographic positional distance calculate single Unit 60, wherein,
Object detector unit 10 is configured to detect whether object is positioned in the view finder of mobile terminal;
Definition regulation unit 20 is configured to when described object is positioned in the view finder of mobile terminal, by described target Thing definition in described view finder is adjusted to preset definition;
Control unit of taking pictures 30 is configured to control described mobile terminal and takes pictures described object, obtains described target The target image of thing;
Scaling acquiring unit 40 is configured to the scaling obtaining described object in described target image;
Location information acquiring unit 50 is configured to obtain two targets to be measured that user inputs on described target image The positional information of point;
Actual geographic positional distance computing unit 60 be configured to positional information according to said two impact point to be measured with And described scaling, calculate the actual geographic positional distance between two impact points to be measured on described target image.
In another embodiment of the disclosure, based on Fig. 6, as it is shown in fig. 7, described definition regulation unit 20, including: Target image acquisition module 21, definition judgment module 22, definition adjustment module 23 and definition determine module 24, Wherein,
Target image acquisition module 21 is configured to obtain described view finder and collects the target image comprising described object;
Definition judgment module 22 is configured to judge described in described target image whether the definition of object is positioned at and sets Determine threshold interval;
Definition adjustment module 23 be configured as the definition of object described in described target image be not positioned at described in set When determining threshold interval, regulate the definition of described mobile terminal according to default regulated quantity;
Definition determines that module 24 is configured to the definition of object described in described target image and is positioned at described setting During threshold interval, determine that described object definition in described view finder is adjusted to preset definition;.
In another embodiment of the disclosure, based on Fig. 6, as shown in Figure 8, described scaling acquiring unit 40, including: Image distance acquisition module 41, scaling table acquisition module 42, scaling search module 43 and scaling determines module 44, wherein,
Image distance acquisition module 41 is configured to obtain the image distance set when described object is taken pictures by described mobile terminal;
Scaling table acquisition module 42 is configured to obtain the image scaling ratio pre-build in described mobile terminal Table;
It is corresponding with described image distance that scaling lookup module 43 is configured in described image scaling schedule of proportion lookup Scaling;
Scaling determines module 44 to be configured to the scaling corresponding with described image distance to be defined as described object Scaling in described target image.
In another embodiment of the disclosure, based on Fig. 6, as it is shown in figure 9, described location information acquiring unit 50, including: First judge module 51, first object point determine module 52 and the first coordinate information acquisition module 53, wherein,
First judge module 51, for judging that whether user touches on the image that the touch screen of described mobile terminal shows simultaneously Touch two points;
First object point determines module 52, for touching on the image that the touch screen of described mobile terminal shows user simultaneously When touching two points, two points of described touch simultaneously are defined as two mesh to be measured that user inputs on described target image Punctuate;
First coordinate information acquisition module 53, for obtaining the described coordinate information touching two points respectively simultaneously, and by institute The coordinate information stating two points of touch simultaneously is identified as the positional information of two impact points to be measured.
In another embodiment of the disclosure, based on Fig. 6, as shown in Figure 10, described location information acquiring unit 50, including: Second judge module the 54, second coordinate information acquisition module the 55, the 3rd judge module the 56, the 3rd coordinate information obtains mould Block 57 and first object point determine module 58, wherein,
Second judge module 54, for judging on the image that the touch screen of described mobile terminal is shown by user first press Whether press operation exceedes preset duration;
Second coordinate information acquisition module 55, for when the pressing operation of first is exceeded preset duration, obtains described The coordinate information of first;
3rd judge module 56, for when exceeding preset duration to the pressing operation of first, within a preset time interval Judge to touch on the image that the touch screen of described mobile terminal is shown by user the pressing operation of second point when whether exceeding default Long;
3rd coordinate information acquisition module 57, for ought pressing operation to second point exceed default within a preset time interval During duration, obtain the coordinate information of second point;
First object point determines module 58, for being defined as user at described target image by described first with second point Two impact points to be measured of input, are identified as two mesh to be measured by the described coordinate information touching two points simultaneously The positional information of punctuate.
In another embodiment of the disclosure, based on Fig. 6, as shown in figure 11, described actual geographic positional distance computing unit 60, including: image distance computing module 61 and actual geographic positional distance computing module 62, wherein,
Image distance computing module 61 is configured to the positional information according to said two impact point to be measured, calculates described Image distance on described target image between two impact points to be measured;
Actual geographic positional distance computing module 62 is configured to described image distance and described scaling are done computing, meter Calculate the actual geographic positional distance between said two impact point to be measured.
The range unit that disclosure embodiment provides, user it is to be appreciated that during the actual geographic positional distance of object, example As: the actual range between two mountain peaks.Can utilize mobile terminal that object is taken pictures, i.e. two mountain peaks be entered Row is taken pictures, and obtains the image that this object definition is maximum, and now this object pantograph ratio in the images Example.Mobile terminal is by obtaining two impact points to be measured of input on this image of user, to be measured by calculating the two Amount impact point image distance in the images, according to the image distance between the two impact point to be measured and object at this Scaling in image, calculates the actual geographic positional distance between the two impact point to be measured, i.e. fast and accurately Actual geographic positional distance between the two mountain peak.User can be effectively avoided to be inconvenient to use the instruments such as ruler to carry out When measuring the actual geographic positional distance between object, calculate corresponding result fast and accurately.
When obtaining object scaling in the images, by searching memory mobile terminal can pre-build Image scaling schedule of proportion, can be rapidly obtained this scaling.And obtaining what user inputted on target image During the positional information of two impact points to be measured, can believe according to the coordinate on target image of two impact points to be measured Breath, calculates the two impact point to be measured image distance in the target image.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment is described in detail, explanation will be not set forth in detail herein.
Figure 12 is the structural representation according to a kind of mobile terminal 800 for range finding shown in an exemplary embodiment.Example As, mobile terminal 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, and game controls Platform, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 12, mobile terminal 800 can include following one or more assembly: processes assembly 802, memorizer 804, Power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor Assembly 814, and communications component 816.
Processing assembly 802 and generally control the integrated operation of mobile terminal 800, such as with display, call, data are led to The operation that letter, camera operation and record operation are associated.Process assembly 802 and can include one or more processor 820 Perform instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one Or multiple module, it is simple to process between assembly 802 and other assemblies is mutual.Such as, process assembly 802 can include Multi-media module, with facilitate multimedia groupware 808 and process between assembly 802 mutual.
Memorizer 804 is configured to store various types of data to support the operation at mobile terminal 800.These data Example include on mobile terminal 800 operation any application program or the instruction of method, contact data, electricity Words book data, message, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memories Equipment or combinations thereof realize, such as static RAM (SRAM), the read-only storage of electrically erasable Device (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), Read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is mobile terminal 800 provide electric power.Power supply module 806 can include power supply pipe Reason system, one or more power supplys, and other generate, manage and distribute, with for mobile terminal 800, the group that electric power is associated Part.
The screen of one output interface of offer that multimedia groupware 808 is included between described mobile terminal 800 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes Touch panel, screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one Or multiple touch sensor touches with sensing, slides and gesture on touch panel.Described touch sensor can not only be felt Survey and touch or the border of sliding action, but also detect the persistent period relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 808 includes a front-facing camera and/or post-positioned pick-up head.When mobile terminal 800 Being in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside Multi-medium data.Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length With optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike Wind (MIC), when mobile terminal 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, Mike is configured to receive external audio signal.The audio signal received can be further stored at memorizer 804 Or send via communications component 816.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for defeated Go out audio signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, startup are pressed Button and locking press button.
Sensor cluster 814 includes one or more sensor, for providing the state of various aspects for mobile terminal 800 Assessment.Such as, what sensor cluster 814 can detect mobile terminal 800 opens/closed mode, assembly the most fixed Position, the most described assembly is display and the keypad of mobile terminal 800, and sensor cluster 814 can also detect movement Terminal 800 or the position change of 800 1 assemblies of mobile terminal, existence that user contacts with mobile terminal 800 or do not deposit , mobile terminal 800 orientation or acceleration/deceleration and the variations in temperature of mobile terminal 800.Sensor cluster 814 can wrap Include proximity transducer, be configured to when there is no any physical contact object near detecting.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, are used for using in imaging applications.? In some embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensor, Magnetic Sensor, Pressure transducer or temperature sensor.
Communications component 816 is configured to facilitate the communication of wired or wireless mode between mobile terminal 800 and other equipment. Mobile terminal 800 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof. In one exemplary embodiment, communications component 816 receives the broadcast from external broadcasting management system via broadcast channel Signal or broadcast related information.In one exemplary embodiment, described communications component 816 also includes near-field communication (NFC) Module, to promote junction service.Such as, can be based on RF identification (RFID) technology, infrared data in NFC module Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, mobile terminal 800 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), scene Programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, and are used for performing Said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction is additionally provided, such as Including the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of mobile terminal 800. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the processor of mobile terminal During execution so that mobile terminal is able to carry out a kind of distance-finding method, and described method includes:
Whether detection object is positioned in the view finder of mobile terminal;
When described object is positioned in the view finder of mobile terminal, by described object definition in described view finder It is adjusted to preset definition;
Control described mobile terminal described object is taken pictures, obtain the target image of described object, and obtain institute State object scaling in described target image;
Obtain the positional information of two impact points to be measured that user inputs on described target image;
Positional information according to said two impact point to be measured and described scaling, calculate on described target image Actual geographic positional distance between two impact points to be measured.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other of the present invention Embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes Or adaptations follow the present invention general principle and include the disclosure undocumented in the art known often Know or conventional techniques means.Description and embodiments is considered only as exemplary, true scope and spirit of the invention by under The claim in face is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and Various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (13)

1. a distance-finding method, is applied to mobile terminal, it is characterised in that including:
Whether detection object is positioned in the view finder of mobile terminal;
When described object is positioned in the view finder of mobile terminal, by described object definition in described view finder It is adjusted to preset definition;
Control described mobile terminal described object is taken pictures, obtain the target image of described object, and obtain institute State object scaling in described target image;
Obtain the positional information of two impact points to be measured that user inputs on described target image;
Positional information according to said two impact point to be measured and described scaling, calculate on described target image Actual geographic positional distance between two impact points to be measured.
Distance-finding method the most according to claim 1, it is characterised in that described by described object at described view finder In definition be adjusted to preset definition, including:
Obtain described view finder and collect the target image comprising described object;
Judge described in described target image, whether the definition of object is positioned at setting threshold interval;
When described in described target image, the definition of object is not positioned at described setting threshold interval, according to default regulation Amount regulates the definition of described mobile terminal, and returns definition judgment step;
When the definition of object is positioned at described setting threshold interval described in described target image, determine described object Definition in described view finder is for presetting definition.
Distance-finding method the most according to claim 1, it is characterised in that the described object of described acquisition is in described target Scaling in image, including:
Obtain the image distance set when described object is taken pictures by described mobile terminal;
Obtain the image scaling schedule of proportion pre-build in described mobile terminal;
The scaling corresponding with described image distance is searched in described image scaling schedule of proportion;
The scaling corresponding with described image distance is defined as described object scaling in described target image.
Distance-finding method the most according to claim 1, it is characterised in that described acquisition user is on described target image The positional information of two impact points to be measured of input, including:
Judge that whether user touches two points on the image that the touch screen of described mobile terminal shows simultaneously;
When user touches two points on the image that the touch screen of described mobile terminal shows simultaneously, touch described simultaneously Two points are defined as two impact points to be measured that user inputs on described target image;
Obtain the described coordinate information simultaneously touching two points respectively, and by the described coordinate information minute touching two points simultaneously It is not defined as the positional information of two impact points to be measured.
Distance-finding method the most according to claim 1, it is characterised in that described acquisition user is on described target image The positional information of two impact points to be measured of input, including:
Judge when on the image that the touch screen of described mobile terminal is shown by user, whether the pressing operation of first exceedes default Long;
When the pressing operation of first is exceeded preset duration, obtain the coordinate information of described first, and judge user Whether the pressing operation touching the touch screen of described mobile terminal on the image show second point exceedes preset duration;
When pressing operation to second point exceedes preset duration within a preset time interval, obtain the coordinate information of second point, And it is defined as two impact points to be measured that user inputs on described target image, by institute by described first with second point The coordinate information stating two points of touch simultaneously is identified as the positional information of two impact points to be measured.
Distance-finding method the most according to claim 1, it is characterised in that described according to said two impact point to be measured Positional information and described scaling, calculate between two impact points to be measured on described target image practically Reason positional distance, including:
According to the positional information of said two impact point to be measured, calculate between said two impact point to be measured described Image distance on target image;
Described image distance and described scaling are done computing, calculates the reality between said two impact point to be measured Geographical position distance.
7. a range unit, is applied to mobile terminal, it is characterised in that including:
Object detector unit, for detecting whether object is positioned in the view finder of mobile terminal;
Definition regulation unit, for when described object is positioned in the view finder of mobile terminal, exists described object Definition in described view finder is adjusted to preset definition;
Take pictures control unit, be used for controlling described mobile terminal and described object is taken pictures, obtain described object Target image;
Scaling acquiring unit, for obtaining described object scaling in described target image;
Location information acquiring unit, for obtaining the position of two impact points to be measured that user inputs on described target image Confidence ceases;
Actual geographic positional distance computing unit, for according to the positional information of said two impact point to be measured and described Scaling, calculates the actual geographic positional distance between two impact points to be measured on described target image.
Range unit the most according to claim 7, it is characterised in that described definition regulation unit, including:
Target image acquisition module, collects, for obtaining described view finder, the target image comprising described object;
Definition judgment module, for judging described in described target image, whether the definition of object is positioned at setting threshold value Interval;
Definition reconciles module, is not positioned at described setting threshold value for the definition of object described in described target image Time interval, regulate the definition of described mobile terminal according to default regulated quantity;
Default definition determines module, is positioned at described setting threshold for the definition of object described in described target image When value is interval, determine that described object definition in described view finder is for presetting definition.
Range unit the most according to claim 7, it is characterised in that described scaling acquiring unit, including:
Image distance acquisition module, for obtaining the image distance set when described object is taken pictures by described mobile terminal;
Scaling table acquisition module, for obtaining the image scaling schedule of proportion pre-build in described mobile terminal;
Scaling searches module, for searching the pantograph ratio corresponding with described image distance in described image scaling schedule of proportion Example;
Scaling determines module, for the scaling corresponding with described image distance is defined as described object described Scaling in target image.
Range unit the most according to claim 7, it is characterised in that described location information acquiring unit, including:
First judge module, for judging that whether user touches on the image that the touch screen of described mobile terminal shows simultaneously Two points;
First object point determines module, for touching on the image that the touch screen of described mobile terminal shows user simultaneously During two points, two points of described touch simultaneously are defined as two targets to be measured that user inputs on described target image Point;
First coordinate information acquisition module, for obtaining the described coordinate information touching two points respectively simultaneously, and by described The coordinate information simultaneously touching two points is identified as the positional information of two impact points to be measured.
11. range units according to claim 7, it is characterised in that described location information acquiring unit, including:
Second judge module, for judging the pressing of first on the image that the touch screen of described mobile terminal is shown by user Whether operation exceedes preset duration;
Second coordinate information acquisition module, for when the pressing operation of first is exceeded preset duration, obtains described the The coordinate information of a bit;
3rd judge module, for when the pressing operation of first is exceeded preset duration, sentencing within a preset time interval The pressing operation of second point is touched when whether exceeding default on the image that the touch screen of described mobile terminal is shown by disconnected user Long;
3rd coordinate information acquisition module, for when pressing operation to second point exceedes default within a preset time interval Time long, obtain the coordinate information of second point;
First object point determines module, for described first and second point are defined as user on described target image defeated Two impact points to be measured entered, are identified as two targets to be measured by the described coordinate information touching two points simultaneously The positional information of point.
12. range units according to claim 7, it is characterised in that described actual geographic positional distance calculates single Unit, including:
Image distance computing module, for the positional information according to said two impact point to be measured, calculates said two Image distance on described target image between impact point to be measured;
Actual geographic positional distance computing module, for described image distance and described scaling are done computing, calculates Actual geographic positional distance between said two impact point to be measured.
13. 1 kinds of mobile terminals, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether detection object is positioned in the view finder of mobile terminal;
When described object is positioned in the view finder of mobile terminal, by described object definition in described view finder It is adjusted to preset definition;
Control described mobile terminal described object is taken pictures, obtain the target image of described object, and obtain institute State object scaling in described target image;
Obtain the positional information of two impact points to be measured that user inputs on described target image;
Positional information according to said two impact point to be measured and described scaling, calculate on described target image Actual geographic positional distance between two impact points to be measured.
CN201510304935.3A 2015-06-05 2015-06-05 Distance-finding method and device Pending CN106291519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510304935.3A CN106291519A (en) 2015-06-05 2015-06-05 Distance-finding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510304935.3A CN106291519A (en) 2015-06-05 2015-06-05 Distance-finding method and device

Publications (1)

Publication Number Publication Date
CN106291519A true CN106291519A (en) 2017-01-04

Family

ID=57658705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510304935.3A Pending CN106291519A (en) 2015-06-05 2015-06-05 Distance-finding method and device

Country Status (1)

Country Link
CN (1) CN106291519A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375232A (en) * 2018-10-17 2019-02-22 维沃移动通信(杭州)有限公司 A distance measuring method and device
CN109696158A (en) * 2018-05-05 2019-04-30 福建汇川物联网技术科技股份有限公司 Distance measurement method, distance-measuring device and electronic equipment
CN109859265A (en) * 2018-12-28 2019-06-07 维沃通信科技有限公司 A kind of measurement method and mobile terminal
CN110163833A (en) * 2018-02-12 2019-08-23 杭州海康威视数字技术股份有限公司 The method and apparatus for determining the folding condition of disconnecting link
CN111710017A (en) * 2020-06-05 2020-09-25 北京有竹居网络技术有限公司 Display method, apparatus and electronic device
CN112955711A (en) * 2020-02-28 2021-06-11 深圳市大疆创新科技有限公司 Position information determining method, apparatus and storage medium
CN114674276A (en) * 2022-03-25 2022-06-28 南京汇川图像视觉技术有限公司 Distance measuring method, machine vision system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206380A (en) * 2006-12-21 2008-06-25 亚洲光学股份有限公司 Method for measuring distance by digital camera
CN203100724U (en) * 2013-01-28 2013-07-31 梁晋 Device for ranging by utilizing photo taken by camera
CN103591894A (en) * 2013-11-05 2014-02-19 广东欧珀移动通信有限公司 Method and device for measuring length of object through camera
CN104279960A (en) * 2014-10-14 2015-01-14 安徽大学 Method for measuring size of object by mobile equipment
CN104501720A (en) * 2014-12-24 2015-04-08 河海大学常州校区 Non-contact object size and distance image measuring instrument
CN104534992A (en) * 2014-12-23 2015-04-22 广东欧珀移动通信有限公司 Length measurement method and terminal
CN104601766A (en) * 2015-02-28 2015-05-06 南京工程学院 Smart phone with length measuring function and measuring method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206380A (en) * 2006-12-21 2008-06-25 亚洲光学股份有限公司 Method for measuring distance by digital camera
CN203100724U (en) * 2013-01-28 2013-07-31 梁晋 Device for ranging by utilizing photo taken by camera
CN103591894A (en) * 2013-11-05 2014-02-19 广东欧珀移动通信有限公司 Method and device for measuring length of object through camera
CN104279960A (en) * 2014-10-14 2015-01-14 安徽大学 Method for measuring size of object by mobile equipment
CN104534992A (en) * 2014-12-23 2015-04-22 广东欧珀移动通信有限公司 Length measurement method and terminal
CN104501720A (en) * 2014-12-24 2015-04-08 河海大学常州校区 Non-contact object size and distance image measuring instrument
CN104601766A (en) * 2015-02-28 2015-05-06 南京工程学院 Smart phone with length measuring function and measuring method thereof

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110163833A (en) * 2018-02-12 2019-08-23 杭州海康威视数字技术股份有限公司 The method and apparatus for determining the folding condition of disconnecting link
CN110163833B (en) * 2018-02-12 2021-11-09 杭州海康威视数字技术股份有限公司 Method and device for determining opening and closing state of disconnecting link
CN109696158A (en) * 2018-05-05 2019-04-30 福建汇川物联网技术科技股份有限公司 Distance measurement method, distance-measuring device and electronic equipment
CN109375232A (en) * 2018-10-17 2019-02-22 维沃移动通信(杭州)有限公司 A distance measuring method and device
CN109375232B (en) * 2018-10-17 2021-01-26 维沃移动通信(杭州)有限公司 Distance measuring method and device
CN109859265A (en) * 2018-12-28 2019-06-07 维沃通信科技有限公司 A kind of measurement method and mobile terminal
CN109859265B (en) * 2018-12-28 2024-04-19 维沃移动通信有限公司 A measurement method and a mobile terminal
CN112955711A (en) * 2020-02-28 2021-06-11 深圳市大疆创新科技有限公司 Position information determining method, apparatus and storage medium
CN111710017A (en) * 2020-06-05 2020-09-25 北京有竹居网络技术有限公司 Display method, apparatus and electronic device
CN114674276A (en) * 2022-03-25 2022-06-28 南京汇川图像视觉技术有限公司 Distance measuring method, machine vision system and storage medium
CN114674276B (en) * 2022-03-25 2024-02-23 南京汇川图像视觉技术有限公司 Distance measurement method, machine vision system, and storage medium

Similar Documents

Publication Publication Date Title
CN106291519A (en) Distance-finding method and device
TWI753348B (en) Pose determination method, pose determination device, electronic device and computer readable storage medium
US9565364B2 (en) Image capture device having tilt and/or perspective correction
KR101977703B1 (en) Method for controlling photographing in terminal and terminal thereof
CN104469167B (en) Atomatic focusing method and device
US10514708B2 (en) Method, apparatus and system for controlling unmanned aerial vehicle
US9854155B1 (en) Determining camera auto-focus settings
CN105758319B (en) The method and apparatus for measuring target object height by mobile terminal
RU2608971C1 (en) Method and device for positioning and navigation
CN105160327A (en) Building identification method and device
CN105627920A (en) Method and device for displaying size
WO2017177607A1 (en) Obstacle positioning method, apparatus and system
CN104094083A (en) Calibrated hardware sensors for estimating real-world distances
CN101943580A (en) Method and device for detecting distance between objects and computer program product thereof
CN110210045B (en) Method and device for estimating number of people in target area and storage medium
US9818196B2 (en) Method and device for positioning and navigating
CN104700353A (en) Image filter generating method and device
CN111932604B (en) Method and device for measuring human ear characteristic distance
US20180247419A1 (en) Object tracking method
CN107193820B (en) Location information acquisition method, device and device
CN104008129A (en) Position information processing method, device and terminal
CN106226797B (en) Athletic ground information-pushing method and device
CN110874699B (en) Method, device and system for recording logistics information of article
US9826156B1 (en) Determining camera auto-focus settings
EP2439920B1 (en) System and Method for Displaying Object Location in Augmented Reality

Legal Events

Date Code Title Description
C06 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: 20170104