Method for determining area where sample graph is located in interface graph and electronic equipment

An interface map and sample map technology, applied in the field of image recognition, can solve the problem of inaccurate determination of the area where the sample map is located, and achieve the effect of improving efficiency, improving accuracy and reducing the amount of calculation.

Pending Publication Date: 2020-04-28
北京云聚智慧科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present application is to provide a method and electronic equipment for determining the area where the sample image is located in the interface diagram, so as to solve the problem of inaccurate determination of the area where the sample image is located in the interface image

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for determining area where sample graph is located in interface graph and electronic equipment
  • Method for determining area where sample graph is located in interface graph and electronic equipment
  • Method for determining area where sample graph is located in interface graph and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. The drawing numbers in this application are only used to distinguish each step in the solution, and are not used to limit the execution order of each step. The specific execution order is subject to the description in the specification.

[0036] In the automated testing of mobile applications, the control information can refer to id, class, text, xpath, etc. Some controls to be tested lack key control information or the control information is inconsistent...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for determining an area where a sample graph is located in an interface graph and electronic equipment. The method and the electronic equipment are used for solving the problem that the area where the sample graph is located is determined inaccurately in the interface graph. According to the scheme, the area where the zoomed sample graph is located is determined inthe target interface graph on the basis of the sample graph, the width and height values of the source graph containing the sample graph and the position of the sample graph in the source graph, wherein zooming is carried out based on the original size of the sample graph, the zoomed sample graph in the target interface graph can be efficiently matched, and the accuracy of determining the area where the sample graph is located is improved. According to the method, the target area graph is intercepted from the target interface graph, and the zoomed sample graph is searched in the target area graph, so that the calculation amount can be reduced, and the efficiency of determining the area where the sample graph is located is improved. Besides, according to the scheme, the target area graph is intercepted by estimating the width and height values of the zoomed sample graph and referring to the estimated width and height values of the zoomed sample graph and the position of the sample graph, so that the zoomed sample graph is contained in the target area graph, and the situation that the intercepted target area graph contains an incomplete zoomed sample graph is avoided.

Description

technical field [0001] The invention relates to image recognition, in particular to a method and electronic equipment for determining the area where a sample image is located in an interface image. Background technique [0002] In the automated testing of mobile applications, some controls lack key control information or have different control information on different devices, so it is difficult to locate these controls through control information during the test process, which makes it difficult for automated scripts to act on these controls. [0003] Since the picture displayed by the control in the interface is often unchanged, the picture displayed by the control in the interface can be used as a sample image, and the image recognition method can be used to identify the sample image in the tested interface to determine where the control is located in the interface. Location. However, image recognition methods often require a large amount of calculation and low recogniti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06K9/20G06K9/62
CPCG06V10/22G06V10/751
Inventor 谢春鸿
Owner 北京云聚智慧科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products