Method and electronic device for measuring distance

An electronic device and a technology for measuring distance, applied in the field of electronics, can solve problems such as the inability to measure the distance of distant objects

Active Publication Date: 2017-12-29
LENOVO (BEIJING) LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] By providing a method for measuring distance and electronic equipment, the present invention solves the technical problem that the method for measuring distance in the prior art cannot measure the distance of distant objects

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and electronic device for measuring distance
  • Method and electronic device for measuring distance
  • Method and electronic device for measuring distance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] This embodiment provides a method for measuring a distance, which is applied to an electronic device, and the electronic device includes an image acquisition unit or the electronic device is connected to an image acquisition unit. Such as figure 1 As shown, the method for measuring distance includes:

[0073] Step S101: controlling the image acquisition unit to acquire an image of a target object at a ranging position to obtain a first picture containing the target object;

[0074] Step S102: determining a first display area of ​​the target object in the first picture;

[0075] Step S103: controlling the image acquisition unit to acquire an image of the target object at a reference position to obtain a second picture containing the target object, the ranging position being different from the reference position;

[0076] Step S104: determining a second display area of ​​the target object in the second picture;

[0077] Step S105: Acquiring a first actual distance betw...

Embodiment 2

[0129] Based on the same inventive idea, such as Image 6 As shown, this embodiment provides an electronic device, the electronic device includes an image acquisition unit or the electronic device is connected to an image acquisition unit, and the electronic device further includes:

[0130] The first acquisition unit 201 is configured to control the image acquisition unit to acquire an image of a target object at the ranging position, and obtain a first picture containing the target object;

[0131] A first determining unit 202, configured to determine a first display area of ​​the target object in the first picture;

[0132] The second acquisition unit 203 is configured to control the image acquisition unit to acquire an image of the target object at a reference position to obtain a second picture containing the target object, and the ranging position is different from the reference position;

[0133]A second determining unit 204, configured to determine a second display ar...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present disclosure provides a method for measuring a distance. The method may comprise: controlling an image collection unit to collect an image of an object at a measuring position to obtain a first picture including the object; determining a first displaying area of the object in the first picture; controlling the image collection unit to collect an image of the object at a reference position to obtain a second picture including the object, the measuring position being different from the reference position; determining a second displaying area of the object in the second picture; obtaining a first actual distance from the measuring position to the reference position; and determining a second actual distance from the object to the measuring position based on the first displaying area, the second displaying area and the first actual distance. Meanwhile, the present disclosure further discloses an electronic device.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a method for measuring distance and electronic equipment. Background technique [0002] With the development of science and technology, smart phones have been widely popularized, bringing many conveniences to people's lives. [0003] In the prior art, when a smartphone is used to take pictures of a target object, stereo vision can be used to obtain two pictures of the target object at different camera angles through two cameras, and generate corresponding depth images to determine the target The actual distance of the object to the smartphone. [0004] But the inventor finds that there are at least the following technical problems in the above-mentioned technology: [0005] In the method of measuring distance in the prior art, if the distance measurement is to be performed on a long-distance target object, the distance between the two cameras needs to be increased (taking t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G01C3/00H04N5/232
CPCG01C3/00G01B11/026G01S7/497G01S17/894G06T7/55H04M2250/52
Inventor 徐立
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products