Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 Compatibility Considering all possible resolutions, the compatibility of the above processing methods is not very good in practical applications. Moreover, the labor and time costs of the above processing methods are very high, which also greatly limits the application of template matching technology. application

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

Embodiment Construction

[0041] In order to enable those skilled in the art to better understand the solution of the application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0042] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the ap...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products