Method and terminal device for measuring size based on terminal
A technology for terminal measurement and terminal equipment, which is applied in the field of measurement and can solve problems such as low accuracy and error in measurement results.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0114] refer to figure 2 As shown, in the embodiment of the present invention, the flow of a method for measuring size based on the terminal is as follows:
[0115] Step 200: For the linear object whose length value is to be measured on the target object, when a first angle is formed between the linear object and the plane where the terminal screen is located, take a first image of the linear object, and obtain the first image when the first image is captured. - Shooting attribute information;
[0116] Step 210: When a second included angle is formed between the straight line object and the plane where the terminal screen is located, take a second image for the straight line object, and obtain the angle difference between the first included angle and the second included angle, and when shooting the second image The attribute information of the second shooting;
[0117] Step 220: According to the first shooting attribute information, the second shooting attribute information...
Embodiment 2
[0162] Step 300: For the straight line object whose length value is to be measured on the target object, take the straight line object perpendicular to the straight line object as the rotation axis, and rotate within the preset angle range from the plane where the screen of the terminal is located parallel to the straight line object as the starting point, continuously Shooting a rectilinear object to obtain at least one image;
[0163] Step 310: Obtain the number of pixels included in at least one image;
[0164] Step 320: Determine the image corresponding to the maximum number of pixels, and obtain the shooting attribute information used when shooting the image corresponding to the maximum number of pixels, wherein the shooting attribute information includes the image height, and the image height is the height when the plane of the terminal screen is parallel to the target object equal as high substance;
[0165] Step 330: Determine the length value of the straight line obj...
Embodiment 3
[0178] Embodiment three: specifically as Figure 4 shown
[0179] Step 400: The terminal takes a first image of the straight object when a first angle is formed between the straight object and the plane where the terminal screen is located;
[0180] Step 410: The terminal obtains the first image distance, the first image height, and the first focal length, and determines the first object distance based on Formula 2 according to the first image distance and the first focal length;
[0181] Step 420: When the terminal forms a second angle between the straight object and the plane where the terminal screen is located, take a first image of the straight object;
[0182] Step 430: The terminal acquires the angle difference between the first included angle and the second included angle, and acquires the second image distance, the second image height, and the second focal length, and determines the second image distance and the second focal length based on Formula 2 Object distance...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


