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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com