一种测量的方法及终端技术

技术编号:16934098 阅读:36 留言:0更新日期:2018-01-03 04:25
本发明专利技术实施例公开了一种测量的方法,包括:终端通过第一摄像头获取包含待测物体的第一图像,并通过第二摄像头获取包含所述待测物体的第二图像,其中,所述第一摄像头和所述第二摄像头设置在同一平面上;比较在所述第一图像和所述第二图像中所述待测物体的位置,得到所述待测物体的位置偏移总量;接收用户基于所述第一图像输入的测量点选定指令,根据所述位置偏移总量、所述第一摄像头的中心和所述第二摄像头的中心的距离以及所述第一摄像头的焦距,计算选定的测量点之间的距离。本发明专利技术实施例还公开了一种终端置。采用本发明专利技术,可简单方便地使用具备双摄像头的终端测量待测物体的尺寸。

A measurement method and terminal

The embodiment of the invention discloses a measurement method: terminal acquires a first image containing the object to be tested by the first camera, and obtain second images containing the object to be measured by the second camera, the first camera and the second camera is arranged on the same plane; the comparison the first image and the second image in the object position, position offset amount to obtain the object to be detected; receiving the user measurement point of the first image input based on the selected instruction, according to the position offset amount, the first center of the camera and the second camera and the distance from the center the first camera focal length, calculate the distance between measuring points selected. An embodiment of the invention also discloses a terminal set. By using the invention, the size of the object to be measured can be measured easily and conveniently by a terminal with a dual camera.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:顾星刚陈绍君郑士胜
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1