Object measuring apparatus and method
AssigneeHon Hai Precision Industry Co., Ltd.
InventorI-Thun LIN
Life of this patent
Estimating the term…
Abstract
An exemplary object measuring method includes changing a focal length of a zoom lens in response to a user operation and taking images. The method then displays the images or one of them, determines a selected area, and defines the selected area as representing a object in the image. The method further determines virtual X and Y coordinate differences between a center point of an image and the object in the image. Next, the method calculates the actual differences between the testing device and the object. The method then controls the driving unit to drive the testing device to move a determined distance in an X direction and to move a determined distance in a Y direction.
Claims6
An object measuring apparatus to measure an object placed on a measuring platform, comprising:
- a testing device comprising a zoom lens whose focal length is variable;
- a storage unit storing ratios of image sizes of the object in the images captured by the zoom lens at various focal lengths to a real-life size of the object;
- a driving unit to drive the testing device to move;
- an adjusting module to control the zoom lens to change the focal length thereof in response to a user operation;
- a display control module to control a display device to display the image captured at varying focal lengths by the zoom lens;
- a calculating module configured to:
- determine a selected area in response to a user operation of selecting an area in the image displayed on the display device, and define the selected area as representing the object in the image;
- determine a virtual horizontal or “X axis” difference and a virtual vertical or “Y axis” difference between a center point of an image captured by the zoom lens and the object in the image;
- calculate an actual difference in horizontal or “X axis” and an actual difference in vertical or “Y axis” between the testing device and the object according to the stored ratios of the image sizes of the object in the images captured at various focal lengths to the real-lift size of the actual object, and the virtual abscissa difference and the virtual ordinate difference;
- and
- an executing module to control the driving unit to drive the testing device to move a determined actual distance in a horizontal or X direction and to move a determined actual distance in a vertical or Y direction.
Dependencies are inferred from the claim text.