Template-based sketch recognition using Hidden Markov Models

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 polylin...

Full description

Bibliographic Details
Main Author: Flor, Roey
Language:English
Published: University of British Columbia 2010
Online Access:http://hdl.handle.net/2429/30238
id ndltd-UBC-oai-circle.library.ubc.ca-2429-30238
record_format oai_dc
spelling ndltd-UBC-oai-circle.library.ubc.ca-2429-302382018-01-05T17:24:43Z Template-based sketch recognition using Hidden Markov Models Flor, Roey 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. Science, Faculty of Computer Science, Department of Graduate 2010-11-30T16:42:25Z 2010-11-30T16:42:25Z 2010 2011-05 Text Thesis/Dissertation http://hdl.handle.net/2429/30238 eng Attribution-NonCommercial-NoDerivatives 4.0 International http://creativecommons.org/licenses/by-nc-nd/4.0/ University of British Columbia
collection NDLTD
language English
sources NDLTD
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. === Science, Faculty of === Computer Science, Department of === Graduate
author Flor, Roey
spellingShingle Flor, Roey
Template-based sketch recognition using Hidden Markov Models
author_facet Flor, Roey
author_sort Flor, Roey
title Template-based sketch recognition using Hidden Markov Models
title_short Template-based sketch recognition using Hidden Markov Models
title_full Template-based sketch recognition using Hidden Markov Models
title_fullStr Template-based sketch recognition using Hidden Markov Models
title_full_unstemmed Template-based sketch recognition using Hidden Markov Models
title_sort template-based sketch recognition using hidden markov models
publisher University of British Columbia
publishDate 2010
url http://hdl.handle.net/2429/30238
work_keys_str_mv AT florroey templatebasedsketchrecognitionusinghiddenmarkovmodels
_version_ 1718582708286783488