Template matching method, device and equipment and medium

A technology of template matching and optimal matching position, which is applied in the field of image recognition, can solve the problems of poor compatibility of processing methods, limit the application of template matching technology, high labor cost and time cost, and achieve the goal of reducing labor cost and time cost Effects of cost, size reduction, and computational speed increase

Active Publication Date: 2019-05-17
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the above-mentioned processing method completely depends on the manual preset template parameters of each resolution, once the template parameters are set and put into use, it cannot be applied to the image matching of new resolutions, because manual preset template parameters often cannot Compa

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
  • Template matching method, device and equipment and medium
  • Template matching method, device and equipment and medium
  • Template matching method, device and equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0041] In order to enable those skilled in the art to better understand the solutions of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0042] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, without having to use To describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodi...

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 embodiment of the invention discloses a template matching method, device and equipment and a medium. The method comprises the steps of obtaining a first screenshot image of an application runningon a terminal; intercepting a region of interest from the first screenshot image according to a standard detection region position corresponding to the template image; carrying out template matching on the region of interest by adopting the template sub-image corresponding to each zoom level to obtain an optimal matching position and a matching confidence coefficient corresponding to each zoom level; selecting the scaling level with the highest matching confidence, and taking the scaling coefficient corresponding to the scaling level and the optimal matching position as a group of template reference parameters; determining template target parameters of the template image adaptive terminal according to the template reference parameters; and carrying out template matching on a second screenshot image of the running application on the terminal according to the template image and the template target parameter. According to the method, the compatibility of multi-resolution images can be effectively improved, and the labor cost and the time cost which are consumed in the template matching process are reduced.

Description

technical field [0001] The present application relates to the technical field of image recognition, in particular to a template matching method, device and medium. Background technique [0002] Template matching is a technique to find sub-images similar to the template image in another image based on the template image. It has important applications in many fields such as machine vision, target tracking, object recognition, and game image processing. [0003] In practical applications, when the same image is displayed on terminals with different resolutions due to different terminal resolutions, the layout of elements in the image will be different, that is, the absolute position and size of the elements in the image will be different. As a result, if the same template image is directly used to match images displayed on terminals with different resolutions, the matching effect is not very good. [0004] In order to be compatible with the template matching of multi-resolutio...

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): G06T7/11G06T7/33
Inventor 王洁梅李旭冬黄超周大军张力柯荆彦青
Owner TENCENT TECH (SHENZHEN) CO LTD
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