Local context-based recognition of sketched diagrams

We present a new methodology aimed at the design and implementation of a framework for sketch recognition enabling the recognition and interpretation of diagrams. The diagrams may contain different types of sketched graphic elements such as symbols, connectors, and text. Once symbols are distinguished from connectors and identified, the recognition proceeds by identifying the local context of each symbol. This is seen as the symbol interface exposed to the rest of the diagram and includes predefined attachment areas on each symbol. The definition of simple constraints on the local context of each symbol allows to greatly simplify the definition of the visual grammar, which is used only for further refinement and interpretation of the set of acceptable diagrams. We demonstrate the potential of the methodology using flowcharts and binary trees as examples. HighlightsWe present a new methodology aimed at the design and implementation of a framework for sketch recognition.The recognition proceeds by identifying the local context of each symbol in a diagram.Our methodology allows greatly simplifying the definition of the visual grammar.We demonstrate the potential of the methodology using flowcharts as an example and binary trees.

[1]  Nuria Aleixos,et al.  New method to find corner and tangent vertices in sketches using parametric cubic curves approximation , 2013, Pattern Recognit..

[2]  Gennaro Costagliola,et al.  Recognition and autocompletion of partially drawn symbols by using polar histograms as spatial relation descriptors , 2014, Comput. Graph..

[3]  Randall Davis,et al.  LADDER, a sketching language for user interface developers , 2005, Comput. Graph..

[4]  Gennaro Costagliola,et al.  Improving Shape Context Matching for the Recognition of Sketched Symbols , 2011, DMS.

[5]  Uwe Kastens,et al.  VL-Eli: A Generator for Visual Languages - System Demonstration , 2002, Electron. Notes Theor. Comput. Sci..

[6]  Christine Alvarado,et al.  SketchREAD: a multi-domain sketch recognition engine , 2004, UIST '04.

[7]  Juan de Lara,et al.  AToM3: A Tool for Multi-formalism and Meta-modelling , 2002, FASE.

[8]  David Craig,et al.  The importance of drawing in the mechanical design process , 1990, Comput. Graph..

[9]  Fumitaka Kimura,et al.  New Frontiers in Handwriting Recognition , 2009, Pattern Recognit..

[10]  Louis Vuurpijl,et al.  Iconic and multi-stroke gesture recognition , 2009, Pattern Recognit..

[11]  Louis Weitzman,et al.  Relational grammars for interactive design , 1993, Proceedings 1993 IEEE Symposium on Visual Languages.

[12]  Joaquim A. Jorge,et al.  Using fuzzy logic to recognize geometric shapes interactively , 2000, Ninth IEEE International Conference on Fuzzy Systems. FUZZ- IEEE 2000 (Cat. No.00CH37063).

[13]  Mark Minas,et al.  DiaGen: a generator for diagram editors providing direct manipulation and execution of diagrams , 1995, Proceedings of Symposium on Visual Languages.

[14]  Randall Davis,et al.  ChemInk: a natural real-time recognition system for chemical drawings , 2011, IUI '11.

[15]  Randall Davis,et al.  Tahuti: a geometrical sketch recognition system for UML class diagrams , 2006, SIGGRAPH Courses.

[16]  ZhaiShumin,et al.  The word-gesture keyboard , 2012 .

[17]  Gennaro Costagliola,et al.  Interpretation of strokes in radial menus: The case of the KeyScretch text entry method , 2013, J. Vis. Lang. Comput..

[18]  Gennaro Costagliola,et al.  A framework for modeling and implementing visual notations with applications to software engineering , 2004, TSEM.

[19]  Gennaro Costagliola,et al.  Investigating Human Performance in Hand-Drawn Symbol Autocompletion , 2013, 2013 IEEE International Conference on Systems, Man, and Cybernetics.

[20]  Joseph J. LaViola,et al.  A ShortStraw-based algorithm for corner finding in sketch-based interfaces , 2010, Comput. Graph..

[21]  Thomas F. Stahovich,et al.  A machine learning approach to automatic stroke segmentation , 2014, Comput. Graph..

[22]  Bernd Meyer,et al.  Visual Language Theory , 2012, Springer New York.

[23]  Gennaro Costagliola,et al.  Visual language implementation through standard compiler-compiler techniques , 2007, J. Vis. Lang. Comput..

[24]  Shumin Zhai,et al.  The word-gesture keyboard: reimagining keyboard interaction , 2012, CACM.

[25]  Andy Schürr,et al.  A graph based framework for the implementation of visual environments , 1996, Proceedings 1996 IEEE Symposium on Visual Languages.

[26]  Yang Li,et al.  Gestures without libraries, toolkits or training: a $1 recognizer for user interface prototypes , 2007, UIST.

[27]  Eric J. Golin,et al.  Parsing visual languages with picture layout grammars , 1991, J. Vis. Lang. Comput..

[28]  Levent Burak Kara,et al.  Combining geometry and domain knowledge to interpret hand-drawn diagrams , 2005, Comput. Graph..

[29]  Eric J. Golin,et al.  The specification of visual language syntax , 1990, J. Vis. Lang. Comput..

[30]  Kim Marriott,et al.  Automatic construction of intelligent diagram editors , 1998, UIST '98.

[31]  Kim Marriott Parsing Visual Languages with Constraint Multiset Grammars , 1995, PLILP.

[32]  Michele Risi,et al.  Sketch Grammars: a formalism for describing and recognizing diagrammatic sketch languages , 2005, Eighth International Conference on Document Analysis and Recognition (ICDAR'05).

[33]  Lakhmi C. Jain,et al.  Intelligent Interactive Multimedia Systems and Services , 2014 .

[34]  Randall Davis,et al.  A Visual Approach to Sketched Symbol Recognition , 2009, IJCAI.

[35]  King-Sun Fu,et al.  Error-Correcting Isomorphisms of Attributed Relational Graphs for Pattern Analysis , 1979, IEEE Transactions on Systems, Man, and Cybernetics.

[36]  Thomas F. Stahovich,et al.  SpeedSeg: A technique for segmenting pen strokes using pen speed , 2011, Comput. Graph..

[37]  Christian Viard-Gaudin,et al.  On-line hand-drawn electric circuit diagram recognition using 2D dynamic programming , 2009, Pattern Recognit..

[38]  Changjun Jiang,et al.  A structural approach to recognizing incomplete graphic objects , 2004, Proceedings of the 17th International Conference on Pattern Recognition, 2004. ICPR 2004..

[39]  Josep Lladós,et al.  Symbol Recognition by Error-Tolerant Subgraph Matching between Region Adjacency Graphs , 2001, IEEE Trans. Pattern Anal. Mach. Intell..

[40]  Levent Burak Kara,et al.  An efficient graph-based recognizer for hand-drawn symbols , 2007, Comput. Graph..

[41]  Gennaro Costagliola,et al.  Extended positional grammars , 2000, Proceeding 2000 IEEE International Symposium on Visual Languages.

[42]  Brian Eoff,et al.  ShortStraw: a simple and effective corner finder for polylines , 2008, SBM'08.

[43]  Dean Rubine,et al.  Specifying gestures by example , 1991, SIGGRAPH.

[44]  Anneke Kleppe,et al.  Software Language Engineering: Creating Domain-Specific Languages Using Metamodels , 2008 .

[45]  Gennaro Costagliola,et al.  Identifying attachment areas on sketched symbols , 2011, 2011 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC).

[46]  Ronald Chung,et al.  InkKit: a generic design tool for the tablet PC , 2005, CHINZ '05.

[47]  Danilo Avola,et al.  A Novel Online Textual/Graphical Domain Separation Approach for Sketch-Based Interfaces , 2009, KES IIMSS.

[48]  James S. Lipscomb A trainable gesture recognizer , 1991, Pattern Recognit..

[49]  Viviana Mascardi,et al.  An agent-based framework for sketched symbol interpretation , 2008, J. Vis. Lang. Comput..

[50]  Tracy Anne Hammond,et al.  PaleoSketch: accurate primitive sketch recognition and beautification , 2008, IUI '08.

[51]  Kun Zhang,et al.  Symbol Recognition with Kernel Density Matching , 2006, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[52]  Yang Li,et al.  Protractor: a fast and accurate gesture recognizer , 2010, CHI.

[53]  Gennaro Costagliola,et al.  Novice and Expert Performance of KeyScretch: A Gesture-Based Text Entry Method for Touch-Screens , 2014, IEEE Transactions on Human-Machine Systems.

[54]  Thomas F. Stahovich,et al.  An efficient, classification-based approach for grouping pen strokes into objects , 2014, Comput. Graph..