Method and device for detecting distance based on terminal

A technology for detecting distances and terminals, which is applied in the field of terminal-based detection distances. It can solve the problems of measurement result errors and reduce measurement accuracy, and achieve the effects of reducing measurement errors, improving accuracy, and avoiding low accuracy of distance measurement.
CN106338248BActive Publication Date: 2019-01-11YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD
Publication Date
2019-01-11

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiments of the invention disclose a terminal-based distance detection method and apparatus. The method comprises the following steps: a terminal outputting a first cursor group with a first set distance to a first distance measurement surface and a second cursor group with a second set distance to a second distance measurement surface; controlling a front pick-up head to perform shooting to obtain a first image and controlling a rear pick-up head to perform shooting to obtain a second image, wherein the first image comprises an image of the first cursor group and the second image comprises an image of the second cursor group; extracting the image of the first cursor group and the image of the second cursor group; and calculating a first distance and a second distance, then calculating a sum of the two, and obtaining a distance from the first distance measurement surface to the second distance measurement surface. Besides, angle calibration of the distance measurement surfaces is realized also through a mode of respective distance measurement by use of two cursors in set shapes. By implementing the method and apparatus provided by the embodiments of the invention, the distance of an object can be measured at a time by use of the front pick-up head and the rear pick-up head of the terminal, and the distance measurement accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of optical distance measurement, in particular to a method and device for detecting distance based on a terminal. Background technique

[0002] At present, only one camera is used for distance measurement of mobile phones and other terminals, usually the rear camera. However, if you need to measure the distance or area inside a space, especially a larger space, such as measuring a room, that is, measuring the length, width, height, etc. of the house inside the house, you need to measure the phone against the wall or the person needs to measure it inside. Take two shots before and after the location to measure the distance. However, the user terminal needs to move its position when taking two photos, which will cause errors in the measurement results and reduce the accuracy of the measurement. Contents of the invention

[0003] In the embodiment of the present invention, a method and device for detecting a ...

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