Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4. A core part of many pattern recognition algorithms involves comparisons between pairs of points. For example, in optical character recognition, a pattern such as

image text in transcribed

Q4. A core part of many pattern recognition algorithms involves comparisons between pairs of points. For example, in optical character recognition, a pattern such as a alpha-numeric character might be compared to templates to identify that pattern. For the following questions Suppose we have K templates and N patterns. a) What is the running time complexity for an algorithm that finds the closest template for every pattern by comparing every template? (2 P.) b) Suppose each comparison (with appropriate pre-processing) takes 0.05 ms and we have K = 5000 tem- plates in our character database (to cover all the different fonts). How long would it take to recognize a typical page of text assuming N=1000 characters per page? (2 P.) c) Now suppose we implement a new algorithm that using a data structure that allows us to narrow down the possible set of closest templates by half at each iteration. What is the running time of this new algorithm? (1 P.) d) What is the new average time per page? (2 P.) e) Suppose we increase the size of our character database to 10,000. In terms of percentage of the original running time, how much do each of the two algorithms increase? (4 P.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions