Template matching is the process of finding a smaller known template image in another larger image.
Questions tagged [template-matching]
363 questions
0
votes
1 answer
Keypoints detection and matching between binary masks
I am trying to match keypoints using opencv (tutorial) between images shown below.
The thing is that I am not sure if I need to adjust some parameters or I am entirely using wrong method. Taking only right side of map.png did not help either.
Here…

Benjamin
- 165
- 1
- 7
0
votes
1 answer
Is there a way to use template matching to detect changes in the input?
I'm trying to use template matching to detect when the input from my screen no longer matches the template. The code below puts a rectangle around the area I want to detect a change in. Is there any way I can, lets say, print some text when that…
0
votes
0 answers
Looking for quick-and-dirty image-matching to extract data from game screenshots
I'm playing a game where our Guild is constantly sharing teams as screenshots in Discord. I'm wondering if I can find something that will convert those team images into text, using a library of exact images for each of the troops.
Online OCR does a…

Starlite Lemming
- 1
- 2
0
votes
1 answer
ml kit object detection api template matching
ML Kit allow you to detect & track objects in image/video frame, but is this possible that user choose a random object from the frame and ML Kit detect/track this object in image/subsequent video frames?

Zain Ali
- 15,535
- 14
- 95
- 108
0
votes
0 answers
OpenCV from command line in windows
I try to extend some MonkeyRunner script to automate some android app testing. One thing I need now is some kind of image template matching (find image location in bigger image). As MonkeyRunner uses some old Jython version I found it impossible to…

Ralf
- 141
- 2
- 10
0
votes
0 answers
How to check whether the pattern is present or not in given image?
I am currently doing my project in image-processing. In my project, I have to find some patterns.
For example, This is our test image
And in this image, I want to find the following pattern.
Pattern:
I have a report by the ASTM standard that…

Mashruwala Dhruvin
- 59
- 10
0
votes
1 answer
Java OPENCV Template Matching gives wrong coordinates?
so basically I am using Opencv Template Matching and it finds the correct match in the mainimage but the given coords of the match are wrong.
mainimage
subimage
result
As you can see in the third picture, the algorithm found the right match.…

Gerrit
- 29
- 8
0
votes
1 answer
Find Image on image
Store Image: https://drive.google.com/open?id=1uNx_6KeQaNtKNj1Y2Npd-vOvJ4Pf-X4m
Product Image: https://drive.google.com/open?id=1bev8AjajqbaceUPxVs2Z3iuqUOZaeoE-
I have to find a product image in store image
If you look carefully, the appy is…

Ambuje Gupta
- 11
- 4
0
votes
1 answer
Crop out image found during template matching
I am using template matching to find the template image inside my given input image in MATLAB. So it normally forms a rectangle over the area where it finds the template image in my given input image.
But if my input image doesn't contain the…

Prayag Bhatia
- 366
- 3
- 16
0
votes
1 answer
Edge/structure matching for image registration
I am working on image registration between LWIR & RGB images. I am able to extract the edges from both images.
RGB_Edges, LWIR_Edges
Now, I want to match the edges of these images to calculate homography.
I tried to match each edge of RGB with…

Zuhaib Ahmed
- 15
- 3
0
votes
2 answers
Image Matching result in images where it shouldn't be one (Python opencv tutorial)
I'm working with the following python opencv example:
import cv2
import numpy as np
from matplotlib import pyplot as plt
img = cv2.imread('messi5.jpg',0)
img2 = img.copy()
template = cv2.imread('template.jpg',0)
w, h = template.shape[::-1]
# All…

Jürgen K.
- 3,427
- 9
- 30
- 66
0
votes
2 answers
Assertion failed Error during template matching with OpenCV in Android
I write a OpenCV template matching class in Netbeans and worked well in JVM.
Just i want turn it to android application. But i am not interested Android Programming before. So i read tutorials and decide IntentService is looking good for my goal.…

Lacrymae
- 157
- 1
- 17
0
votes
0 answers
Template Matching not working in different images
I am trying to compare different photos of faces to develop some kind of Face Recognition in Android. I am using OpenCV3 and match-Template , the problem is that if I cut a face in an image and use the same full image I get a match and all it's ok,…

Gerard E
- 27
- 9
0
votes
1 answer
Two-dimensional matched filter
I want to implement two dimensional matched filter for blood vessel extraction according to the paper "Detection of Blood Vessels in Retinal Images Using Two-Dimensional Matched Filters" by Chaudhuri et al., IEEE Trans. on Medical Imaging, 1989…

F.smith
- 11
- 1
- 2
0
votes
1 answer
Segmentation of the non-occluded objects
I'm curious to know what would be a good approach for getting the masks of objects in an image in which we only have many instances of one object (see the image), but just for the instances in which the whole shape is visible.
A box full of similar…

Benjamin
- 98
- 8