Question: The input image and templates are below: Given an input image consisting of alphabets, a) Perform template matching to extract the words A and R

 The input image and templates are below: Given an input image

The input image and templates are below:

consisting of alphabets, a) Perform template matching to extract the words A

and R from the given image as shown in Figure 1(a) (fruit.jpg).The templates are given in Figure 1(b) and Figure 1(c) respectively (A.jpgand B.jpg). b) Your code must be able to automatically detect the

Given an input image consisting of alphabets, a) Perform template matching to extract the words A and R from the given image as shown in Figure 1(a) (fruit.jpg). The templates are given in Figure 1(b) and Figure 1(c) respectively (A.jpg and B.jpg). b) Your code must be able to automatically detect the location of the alphabets A and R separately on the image. c) For each input image, there should be two output images; output image 1 should be an accumulation of correlation between the template and input image and output image two is a threshold version of the output image 1. d) The algorithm should be able to count the number of As and Rs in every input image. e) Use your own creativity on how to display your results. The end results should be h ighlighting the locations of the characters A and R in the image. You may use any related functions in OpenCV library to accomplish the task. Do refer to online sources as well for guidance. The input image and templates are as shared A R STRAWBERRY G T NOMEL C Y C ROECHERR YO ACPMGMRABC O I PR I EENAO R R A B L H B N N APAEOCEAU E A UNFNAR N T PLMGRERA BAPPLEPYT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!