Detection device and method for measuring xy-directional displacement of target object in three-dimensional space using monocular camera
Patent Information
- Application Number
- TW114127290
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-07-18
- Publication Date
- 2026-10-11
- Estimated Expiration
- 2045-07-17
Smart Images

Figure TWG2TB001915576_001 
Figure TWG2TB001915576_002 
Figure TWG2TB001915576_003
Abstract
Claims
1. A detection device for detecting the displacement value of a target object in three-dimensional space in the XY direction using a single-lens camera, mainly comprising: an image acquisition module, which uses a single-lens camera to acquire an image of the position of the object to be tested; a memory for storing the image, detection area coordinates, and detection parameters; and a processor connected to the image acquisition module to acquire the image of the object to be tested, wherein the processor performs: (a) performing image perspective conversion correction processing on the original image of the object to be tested captured by the single-lens camera to generate a frontal image; (b) performing displacement detection calculation on the corrected frontal image and a standard image sample of the object to be tested, and obtaining a structural similarity index value; (c) when the aforementioned structural similarity index value is lower than a first preset threshold, performing a displacement scan to determine the displacement direction and displacement amount; and (d) comparing the aforementioned displacement amount with a preset allowable range to determine the displacement state and generate a detection result, and then storing the displacement value obtained from the detection result in the memory.
2. The detection device as claimed in claim 1, further comprising a user interface connected to the processor and the memory, primarily providing functions for displaying detection results and images, and setting detection parameters.
3. The detection device as described in claim 2, further comprising an output unit connected to the user interface for providing the function of exporting images and detection results.
4. The detection device as claimed in claim 3, wherein the processor further performs a statistical analysis process, which calculates the average displacement and the maximum displacement from the displacement data of multiple accumulated detection results, and stores the results in the memory for long-term trend analysis.
5. A method for detecting the displacement value of a target object in three-dimensional space in the XY direction using a single-lens camera, comprising the following steps: S1) Image perspective conversion correction – the original image captured by the single-lens camera is subjected to image perspective conversion correction processing to generate a frontal image; S2) Structural similarity index calculation – the structural similarity index value between the corrected frontal image and the standard image sample of the object to be tested is calculated; S3) Multi-directional displacement detection – when the calculated structural similarity index value is lower than a first preset threshold, displacement scanning is performed to determine the displacement direction and displacement amount; S4) Result determination – the displacement state is determined by comparing the displacement amount with a preset allowable range, and a detection result is generated.
6. The detection method as described in claim 5, wherein in step S1, the original image is converted into a frontal view by a preset four-point perspective transformation coordinate.
7. The detection method as described in claim 6, wherein the displacement detection in step S3 further includes a first stage detection and a second stage detection, wherein the first stage detection is to perform preliminary screening by comparing the structural similarity index value with the first preset threshold, and the second stage detection is to perform a stepwise scan in the X and Y directions on the region below the first preset threshold to determine the optimal matching position and displacement.
8. The detection method as described in claim 5, wherein the standard image sample of the test object is obtained by first correcting the test object through image perspective transformation to obtain a frontal image, then selecting the test object detection position in the corrected frontal image, and storing this position as the standard image sample of the test object; allowing the user to select multiple detection positions for the test object and store the coordinates of these detection positions to achieve simultaneous detection.
9. The detection method as described in claim 5, which includes a statistical analysis processing step, wherein the displacement data of multiple accumulated detection results are used to calculate the average displacement and the maximum displacement and the results are stored for long-term trend analysis.
Citation Information
Patent Citations
Image processing method, device and equipment based on far infrared rays and storage medium
CN109671090A
Data acquisition and reading method based on computer vision image
CN116503622A
Apparatus and method for self-supervised learning for visual feature representation of egocentric images
US20240286283A1
