Image positioning method and device, storage medium and computer device
By combining contour attribute matching and feature points, the problem of inaccurate image positioning in UI automation testing is solved, improving the accuracy and efficiency of image positioning.
CN115331036BActive Publication Date: 2026-06-26GUANGZHOU PINWEI SOFTWARE CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU PINWEI SOFTWARE CO LTD
- Filing Date
- 2022-09-19
- Publication Date
- 2026-06-26
Smart Images

Figure CN115331036B_ABST
Abstract
The application provides an image positioning method and device, a storage medium and a computer device. The method comprises the following steps: performing contour extraction on a to-be-positioned image to obtain a plurality of first contours, and determining a target subject contour from the plurality of first contours, the target subject contour being a subject contour of the to-be-positioned image; performing contour extraction on a test interface image to obtain a plurality of second contours; determining a matching contour corresponding to the target subject contour from the plurality of second contours; the contour attribute of the target subject contour and the corresponding matching contour is matched, the contour attribute comprising a contour size and a pixel value in the contour; and determining the position of the to-be-positioned image in the test interface image according to the matching contour corresponding to the target subject contour. The method has high positioning accuracy.
Need to check novelty before this filing date? Find Prior Art