Back to search

University of British Columbia

Template-based sketch recognition using Hidden Markov Models

Abstract

dc:description

Sketch recognition is the process by which the objects in a hand-drawn diagram can be recognized and identified. We provide a method to recognize objects in sketches by casting the problem in terms of searching for known 2D template shapes in the sketch. The template is defined as an ordered polyline and the recognition requires searching for a similarly-shaped sequential path through the line segments that comprise the sketch. The search for the best-matching path can be modeled using a Hidden Markov Model (HMM). We use an efficient dynamic programming method to evaluate the HMM with further optimizations based on the use of hand-drawn sketches. The technique we developed can cope with several issues that are common to sketches such as small gaps and branching. We allow for objects with either open or closed boundaries by allowing backtracking over the templates. We demonstrate the algorithm for a variety of templates and scanned drawings. We show that a likelihood score produced by the results can provide a meaningful measure of similarity to a template. An example-based method is presented for setting a meaningful recognition threshold, which can allow further refinement of results when that template is used again. Limitations of the algorithm and directions for future work are discussed.

Degree

thesis:*
Name thesis:degree_name
Master of Science - MSc
Level thesis:degree_level
master's
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
University of British Columbia
Year dc:date
2010

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Flor, Roey

Rights

dc:rights
Statement dc:rights
  • Attribution-NonCommercial-NoDerivatives 4.0 International
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/2429/30238

Chain of custody

source
Harvested from
University of British Columbia
Base URL
circle.library.ubc.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Flor, Roey. Template-based sketch recognition using Hidden Markov Models. master's thesis, University of British Columbia, 2010. http://hdl.handle.net/2429/30238