A method and system for measuring the size of a mobile phone based on vision

A measurement method and mobile phone technology, applied in the field of visual measurement, can solve the problem of low precision, and achieve the effect of good noise suppression and high positioning accuracy

Inactive Publication Date: 2020-04-17
WUHAN UNIV OF SCI & TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a vision-based method and system for measuring the size of a mobile phone, which is used to solve the technical problem of low precision in the prior art method of measuring the size of a mobile phone by using the method of the smallest circumscribed rectangle

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
  • A method and system for measuring the size of a mobile phone based on vision
  • A method and system for measuring the size of a mobile phone based on vision
  • A method and system for measuring the size of a mobile phone based on vision

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] This embodiment provides a method for measuring the size of a mobile phone based on vision, please refer to figure 1 , the method includes:

[0081] Step S101: using the Canny operator combined with the method of edge focusing to obtain the contour edge of the tested mobile phone, the contour edge includes a plurality of edge points;

[0082] Step S102: using the Hough line detection method to obtain four straight lines from the edge points;

[0083] Step S103: using a selective iteration method to determine the interior points of the four straight lines;

[0084] Step S104: According to the interior points, adopt the least squares method to obtain the final four straight lines, wherein the four intersection points formed by the final four straight lines constitute the four vertices of the tested mobile phone;

[0085] Step S105: Obtain the coordinates of the four vertices;

[0086] Step S106: Obtain the actual size of the tested mobile phone based on the coordinates...

Embodiment 2

[0129] Based on the same inventive concept as in Embodiment 1, Embodiment 2 of the present invention provides a vision-based mobile phone size measurement system, which includes:

[0130] The first acquisition module is used to obtain the contour edge of the mobile phone under test by using the Canny operator in conjunction with the edge focusing method, and the contour edge includes a plurality of edge points;

[0131] The second acquisition module is used to acquire four straight lines from the edge points by adopting the Hough line detection method;

[0132] A determination module, configured to determine the interior points of the four straight lines using a selective iterative method;

[0133] The third obtaining module is used to obtain the final four straight lines by using the least squares method according to the internal points, wherein the four intersection points formed by the final four straight lines constitute the four vertices of the tested mobile phone;

[01...

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 invention discloses a vision-based mobile phone size measurement method. The method comprises the steps that the contour edge of a measured mobile phone is acquired by adopting the method of combining a Canny operator with edge focusing, wherein the contour edge comprises multiple edge points; four straight lines are acquired from the edge points by adopting a Hoff straight line detection method; inner points of the four straight lines are determined by adopting a selective iteration method; four final straight lines are acquired by adopting a least square method according to the inner points, wherein four intersection points formed by the four final straight lines form four vertexes of the measured mobile phone; coordinates of the four vertexes are acquired; and the actual size of the measured mobile phone is obtained on the basis of the coordinates. According to the vision-based mobile phone size measurement method and system, the technical problem that in the prior art, the method that the mobile phone size is measured through a minimum enclosing rectangle method is low in precision is solved.

Description

technical field [0001] The invention relates to the technical field of vision measurement, in particular to a method and system for measuring the size of a mobile phone based on vision. Background technique [0002] In the intelligent and automated production of Industry 4.0, intelligent production is the core, involving various inspections, measurements and other fields during the processing of parts. Intelligent production is usually continuous mass production, which requires high measurement accuracy and measurement speed of part dimensions. [0003] In the prior art, the measurement of the size of the mobile phone (rounded rectangle) mainly uses the method of the smallest circumscribed rectangle to convert and obtain the coordinates of the four vertices of the rectangle, and then obtain the size of the mobile phone. [0004] When the inventor of the present application realized the technical solution of the present invention, he found that at least the following problem...

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): G06T7/13G06T7/181G06T7/73G01B11/00G01B11/24
CPCG01B11/00G01B11/24G06T7/13G06T7/181G06T7/73
Inventor 张俊勇伍世虔邹谜陈鹏韩浩王欣王建勋余杭
Owner WUHAN UNIV OF SCI & TECH
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