System and method for detecting a list in ink input
Abstract
A system and method for detection of a list in ink input is provided. A detector is provided that may detect a list such as a bulleted or numbered list of items in ink input. A group of lines may first be selected as a candidate list. Indentation level clustering and bullet detection may then be performed to determine the structure of the list. Bullet detection may be performed by detecting bullet partners, which are pairs of lines at the same indentation level that may begin with bullet candidates with similar features. The features of the bullet candidates in a pair of lines may be used to determine the likelihood of whether the pair of lines may be bullet partners. Finally, the structure of the list may be determined, including the relationship among the list items.

Term
Term ended
Expired 17 September 2024, 2 years ago.
- Priority
- Filed
- Granted
- Expired
- Today
39 claims: 5 independent, 34 dependent
- 1CA 02482040 2009-09-02 • 51007-29 CLAIMS:1. A method for detecting a list in ink input, comprising: receiving ink input;performing list detection for a list within the ink input by at least performing list candidate identification for selecting a group of lines that may form a list within the ink input and setting a plurality of lines within the group of selected lines as candidates and selecting two list candidates for determining whether the two list candidates may be merged;and generating a list structure as output.
- 2A computer system for detecting a list in ink input, comprising:a processor;and system memory having computer-executable instructions and modules for implementing the method recited in claim 1, wherein the modules include: a list detector for receiving ink input;an indentation detector operably coupled to the list detector for detecting an indentation of a handwritten line within ink input;and a bullet detector operably coupled to the list detector for detecting a bullet in a handwritten line within ink input.
- 37A method for detecting a list in ink input, comprising:receiving ink input;performing list detection for a list within the ink input by at least performing indentation detection for detecting an indentation of a handwritten line within the ink input, and wherein performing indentation detection comprises indentation level clustering for grouping indentation levels;and generating a list structure as output.
- 38A method for detecting a list in ink input, comprising:receiving ink input;performing list detection for a list within the ink input by at least performing bullet detection to identify a bullet in a handwritten line within the ink input and wherein performing bullet detection comprises determining whether the line has a bullet partner and, if not, determining whether a set of lines at an indentation level of the line has a subset of bullet partners;and generating a list structure as output.
- 39A method for detecting a list in ink input, comprising:receiving ink input;performing list detection for a list within the ink input by at least performing bullet detection to identify a bullet in each of a pair of handwritten lines within the ink input by determining features of the first word in the pair of lines and -38CA 02482040 2009-09-02 51007-29 by determining the likelihood the pair of lines are bullet partners using the features of the first word in the pair of lines;and generating a list structure as output. SMART & BIGGAR OTTAWA, CANADA PATENT AGENTS
Independent claims5
152 paragraphs in 18 sections, as filed
CA 02482040 2004-09-17
SYSTEM AND METHOD FOR DETECTING A LIST IN INK INPUT
FIELD OF THE INVENTION
The invention relates generally to computer systems, and more particularly to an improved system and method for detecting a list in ink input.
BACKGROUND OF THE INVENTION
The ability to detect a list is important for users to be able to write and draw directly on their computers using ink input or ink notes. Current hardware and software may be able to capture ink representing handwriting reasonably well but is currently unable to similarly detect and represent the meaning of handwritten structures such as a list of items in ink input. As a result, users may instead use menu-based application programs to create structures for text such as a list. Various structures may be presented by such application programs for a user to select and/or use in formatting input text. For example, a word processing application program may include a menu option for formatting text as a bulleted or numbered list of items.
Research focused on recognition of hand-drawn objects has yielded marginal results to date. For instance, incremental recognition algorithms have been used that may recognize
-1CA 02482040 2004-09-17 simple geometric shapes such as a circle or a box from a specific number of strokes made in a particular order.
However, such incremental algorithms rely on stroke order and/or assume a particular.number of strokes in order to 5 recognize a particular hand-drawn object. Such an approach fails to be robust for several reasons. First of all, none of the incremental algorithms solves the grouping problem of deciding which collection' of strokes belongs together because those strokes represent a specific structure or shape,
Without the ability to group strokes together that belong to a structure or shape, incremental algorithms may not accommodate multi-stroke structures such as lists.
What is needed is a way for detecting and representing the meaning of hand-written structures that may be insensitive to stroke input order and/or the number of strokes required to form a given structure. Any such system and method should be able to detect multi-stroke hand-written structures and be able to decide which collection of strokes, belong together that represent a handwritten structure.
SUMMARY OF THE INVENTION
Briefly, the present invention provides a system and method for detecting a list in ink input. To this end, a detector is provided that-may detect a list such as a bulleted
CA 02482040 2004-09-17 or numbered list of items in ink input. The detector may include a list candidate detector for . selecting a group of lines that may form a list within the ink input, a list indentation detector for detecting the indentation level of a handwritten line within the list, a bullet detector for detecting a bullet in a handwritten line of the list, and a list structure detector for providing the structure of the list.
The present invention may detect and represent the meaning of a hand-written structure, such as a list, by first performing list candidate identification to select a group of lines that may form a list within the ink input. Indentation level clustering may also be performed for each line of the candidate list to group indentation levels of the candidate list. Bullet detection may then be performed to identify a bullet, such as a graphical or alphanumeric bullet, in a handwritten line within the ink input. Finally, the structure of the list may be determined, including the relationship among the list items, and the candidate list may be confirmed to be a valid list that includes at least two bulleted items.
In one embodiment, bullet detection may be performed by detecting bullet partners, which are pairs of lines at the same indentation level that may begin with bullet candidates with similar features. The features of the bullet candidates
- 3 CA 02482040 2009-09-02
51007-29 in a pair of lines may be used to determine the likelihood of whether the pair of lines may be bullet partners. If the likelihood of the features of the bullet candidates exceeds a threshold, the pair of lines may be considered bullet partners and the bullet candidates may be considered valid bullets. Otherwise, a candidate bullet may be considered a valid bullet if the line of the bullet candidate is a member of an indentation level set that has a subset of bullet partners and the ratio of the number of lines in the set of bullet partners to the number of lines in the indentation level set is determined to be higher than a threshold.
In an aspect of the present invention, there is provided a method for detecting a list in ink input, comprising: receiving ink input; performing list detection for a list within the ink input by at least performing list candidate identification for selecting a group of lines that may form a list within the ink input and setting a plurality of lines within the group of selected lines as candidates and selecting two list candidates for determining whether the two list candidates may be merged; and generating a list structure as output.
In another aspect of the present invention, there is provided a method for detecting a list in ink input, comprising: receiving ink input; performing list detection for a list within the ink input by at least performing indentation detection for detecting an indentation of a handwritten line within the ink input, and wherein performing indentation detection comprises indentation level clustering for grouping indentation levels; and generating a list structure as output.
In another aspect of the present invention, there is provided a method for detecting a list in ink input, comprising: receiving ink input; performing list detection for a list within the ink input by at least performing bullet detection to identify a bullet in a handwritten line within the ink input and wherein performing bullet detection comprises determining whether the line has a bullet partner and, if not, determining whether a set of lines at an indentation level of the line has a subset of bullet partners; and generating a list structure as output.
In another aspect of the present invention, there is provided a method for detecting a list in ink input, comprising: receiving ink input; performing list detection for a list within the ink input by at least performing bullet detection to
-4CA 02482040 2009-09-02
51007-29 identify a bullet in each of a pair of handwritten lines within the ink input by determining features of the first word in the pair of lines and by determining the likelihood the pair of lines are bullet partners using the features of the first word in the pair of lines; and generating a list structure as output.
In another aspect of the present invention, there is provided a computer system for detecting a list in ink input, comprising: a processor; and system memory having computer-executable instructions and modules for implementing the method recited herein, wherein the modules include: a list detector for receiving ink input; an indentation detector operably coupled to the list detector for detecting an indentation of a handwritten line within ink input; and a bullet detector operably coupled to the list detector for detecting a bullet in a handwritten line within ink input.
In another aspect of the present invention, there is provided a computer-readable storage medium having stored computer-executable instructions for performing the method described herein.
Advantageously, the system and method are insensitive to stroke input order and the number of strokes that may form a hand-drawn structure. Other advantages will become apparent from the following detailed description when taken in conjunction with the drawings, in which:
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram generally representing a computer system into which the present invention may be incorporated;
FIG. 2 is a block diagram generally representing an exemplary architecture of system components for detection of a list in ink input, in accordance with an aspect of the present invention;
- 4a CA 02482040 2004-09-17
FIG. 3 is a flowchart generally representing the steps undertaken for detection of a list in ink input and generating the list structure, in accordance with an aspect of the present invention;
FIG. 4 is an exemplary illustration generally representing a structural relationship of handwritten objects in ink input for use in performing detection of a list, in accordance with an aspect of the present invention;
FIG. 5 is a flowchart generally representing one 10 embodiment of the steps undertaken for list detection, in accordance with an aspect, of the present invention;
FIG. 6 is a flowchart generally representing an embodiment of the steps undertaken for list candidate identification, in accordance with an,aspect of the present invention;
FIG. 7 presents exemplary illustrations generally representing list candidates, in accordance with an aspect of the present invention;
FIG. 8 is a flowchart generally representing an embodiment of the steps undertaken for performing indentation level clustering, in accordance with an aspect of the present invention;
FIG. 9 presents an exemplary illustration generally representing a candidate list after identification level / -5.CA 02482040 2004-09-17 clustering, in accordance with an aspect of the present invention;
FIG. 10 is a flowchart generally<sub>;</sub>representing an embodiment of the steps undertaken for performing bullet detection, in accordance„with an aspect of the present invention;
FIGS. 11 is a flowchart generally representing an embodiment of the steps undertaken for performing bullet partner detection, in accordance with an aspect of the present invention;
FIG. 12 is a flowchart generally representing an embodiment of the steps undertaken for performing list structure determination, in accordance with an aspect of the present invention;
FIG. 13 is an exemplary illustration generally representing one embodiment of a candidate list structure, in accordance with an aspect of the present invention; and
FIG. 14 is an exemplary illustration generally representing a structural relationship of handwritten objects 20 in ink input after performing list detection of a drawing object, in accordance with an aspect of the present invention.
CA 02482040 2004-09-17
DETAILED DESCRIPTION
EXEMPLARY OPERATING ENVIRONMENT
FIG. 1 illustrates an example of a suitable computing system environment 100 on which the invention may be implemented. The computing system environment 100 is only one example of a suitable computing environment and is not intended to suggest any limitation asto the scope of use or functionality of.the invention. Neither should the computing environment 100 be interpreted as having any dependency or 10 requirement relating to any one or combination of components illustrated in the exemplary operating environment 100.
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to:
personal computers, server computers, hand-held or laptop devices, tablet devices, headless servers, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described ih the general context of computer-executable instructions, such as program modules,
CA 02482040 2004-09-17 being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and so forth, which perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in local and/or remote computer storage media including memory storage devices.
With reference to FIG. 1, an exemplary system for implementing the invention includes a general purpose computing device in the form of a computer 110. Components of the computer 110 may include, but are not limited to, a processing unit 120, a system memory 130, and a system bus 121 that couples various system components including the system memory to the processing unit 120. The system bus 121 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard
Architecture (ISA) bus, Micro Channel Architecture (MCA) bus,
Enhanced ISA (EISA) bus, Video Electronics Standards
CA 02482040 2004-09-17
Association (VESA) local bus, and Peripheral Component
Interconnect (PCI) bus also known as Mezzanine bus.
The computer 110 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by the computer 110 and includes both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash 15 memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by the computer
110. Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term modulated data signal means a signal that
CA 02482040 2004-09-17 has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computerreadable media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system, 133 (BIOS), 'containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation, FIG. 1 illustrates operating system 134, application programs 135, other program modules
136 and program data 137.
The computer 110 may,also include other removable/nonremovable, volatile/nonvolatile computer storage media. By way of example only, FIG. 1 illustrates a hard disk drive 141 that reads from or writes;to non-removable, nonvolatile
- 10 CA 02482040 2004-09-17 magnetic media, a magnetic disk drive 151 that reads from or writes to a removable,/nonvolatile magnetic disk 152, and an optical disk drive 155 that reads from or writes to a removable, nonvolatile optical disk 156 such as a CD ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 141 is typically connected to the system bus 121 through a nonremovable memory interface such as interface 140, and magnetic disk drive 151 and optical disk drive 155 are typically connected to the system bus 121 by a removable memory interface, such as interface 150.
The drives and their associated computer storage media, discussed above and illustrated in FIG. 1, provide storage of computer-readable instructions, data structures, program modules and other data for the computer 110. In FIG. 1, for example, hard disk drive 141 is illustrated as storing operating system 144, application programs 145, other program modules 146 and program data 147. Note that these components can either be the same as or different from operating system 134, application programs 135, other program modules 136, and
1
CA 02482040 2004-09-17 program data 137. Operating system 144, application programs
145, other program modules 146, and program data 147 are given different numbers herein to illustrate that, at a minimum, they are different copies. Ά user may enter commands and information into the computer 110 through input devices such as a tablet, or electronic digitizer, 164, a microphone 163, a keyboard 162 and pointing device 161, commonly referred to as mouse, trackball or touch pad. Other input devices not shown in FIG. 1 may include a joystick, game pad, satellite dish, scanner, or other devices including a device that contains a biometric sensor, environmental sensor, position sensor, or other type of sensor. These and other input devices are often connected to the processing unit 120 through a user input interface 160 that is coupled to the system bus, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A monitor 191 or other type of display device is also connected to the system bus 121 via an interface, such as a video interface 190. The monitor 191 may also be integrated with a 20 touch-screen panel or the like. Note that the monitor and/or touch screen panel can be physically coupled to a housing in which the computing device 110 is incorporated, such as in a tablet-type personal computer. In addition, computers such as the computing device 110 may also include other peripheral
- 12 T
CA 02482040 2004-09-17 output devices such as speakers 195 and printer 196, which may be connected through an output peripheral interface 194 or the like.
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in FIG. 1. The logical connections depicted in FIG. 1 include a local area network (LAN) 171 and a wide area network (WAN) 173, but may also include other networks.
Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the
Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160 or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer
CA 02482040 2004-09-17
110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation, FIG. 1 illustrates remote application programs 185 as residing on memory device 181. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
DETECTING A LIST IN INK INPUT
The present invention is generally directed towards a 10 system and method for detecting a list in ink input. A user may draw lists freely without restrictions on the handwritten input. A list may have many strokes and the input order of strokes may be arbitrary so that the system and method may accept any ink as input. As used herein, a list means a structure with at least two bulleted list items, where a list item includes at least one line and may include a bullet.
In specific, the system and method may select a group of lines as a candidate list. Indentation level clustering and bullet detection may then be performed in order to determine the structure of the list. Finally, the structure of the list may be determined, including the relationship among the list items. As will be understood, the various block diagrams, flow charts and scenarios described herein are only examples,
CA 02482040 2004-09-17 and there are many other scenarios to which the present invention will apply.
Turning to FIG. 2 :Of the drawings, there is shown a block diagram generally representing an exemplary architecture of 5 system components for detection of a list in ink input. Those skilled in the art will appreciate that the functionality implemented within the blocks illustrated in the diagram may be implemented as separate components or the functionality of several or all of the blocks may be implemented within a single component. For example, the functionality for the list candidate detector 206 may be included in the ink parser 202. Or the functionality of the list structure detector 212 may be implemented as a separate component.
The ink parser 202: may accept any ink, including ink with a drawing object. The ink parser 202 may include an operably coupled list detector 204. In general, the ink parser 202 and the list detector 204 may be any type of executable software code such as a kernel component, an application program, a linked library, an object, and so forth. The list detector
204 may include an operably coupled list candidate detector
206 for selecting a group of lines that may form a candidate list from the ink input, an operably coupled bullet detector
208 for detecting a bullet in a line of the list, an operably coupled list indentation detector 210 for detecting the .-15-----'-............... ...... ~ —- . - y
CA 02482040 2004-09-17 indentation level of a line in the list, and an operably coupled list structure detector 212 for providing the structure of the list, including the relationship among the list items. Each of these components may also be any type of executable software code such as a kernel component, an application program, a linked library, an object, or other type of executable software code.
FIG. 3 presents a flowchart generally representing the steps undertaken for detection of a list in ink input and generating the list structure. At step 302, any ink may be parsed, including ink with a handwritten structure such as a list. For instance, in one embodiment, a page of ink may be accepted as input and parsed. In this embodiment, the ink parser, for example, may have no a priori knowledge of the ink on the page. Therefore, fundamental algorithms such as word grouping, writing/drawing classification and drawing grouping may be executed. In order to perform word grouping, strokes may be grouped into hierarchies of words, lines, and blocks.
To do so, the word grouping process may include feature extraction of strokes to capture distance, geometric dissimilarity and linearity, and other stroke features. The word grouping process may also include dynamic programming to group the strokes according to temporal information. The word grouping process may also include clustering to group the
CA 02482040 2004-09-17 strokes according to spatial information. The words, lines and blocks identified in the groups may not necessarily correspond to real semantic words, lines and blocks. In fact, these groups may include strokes of handwritten structures such as a list.
To perform writing/drawing classification, various features may be identified that may differentiate writing from drawing. For instance, single word features such as curvature, density, and other handwriting model features, may be used to differentiate writing from drawing. In one embodiment, context features such as temporal and spatial context features, may be used to differentiate writing from drawing. Each of the various features may be mapped to a fuzzy function, and classification between writing and drawing may be determined according to a combination of the fuzzy functions.
After performing word grouping and writing/drawing classification, the drawing strokes may be well organized by performing drawing grouping. To perform drawing grouping, the drawing strokes may be grouped into independent objects according to the spatial relationship among them. An efficient grid-based approach may be used for fitting the ink strokes into an image grid with an appropriate size. The image grid may be labeled to find connected components. Each
CA 02482040 2004-09-17 connected component may correspond to a drawing object.
Heuristic rules may then be applied to adjust the drawing objects.
Using the writing lines and drawing strokes generated by the ink parser, list detection may be performed at step 304 to determine whether a handwritten object is a list, and if so, to provide the structure of the list. List detection may first perform list candidate identification to identify a candidate list. Then indentation level clustering and bullet detection may also be performed in order to determine the structure of the list. Finally, the structure of the list may be determined. At step 306, the list structure may be generated as output. The list structure may be a hierarchical structure such as a directed acyclic graph representing the structural relationship of a list.
FIG. 4 presents an exemplary illustration generally representing a structural relationship of handwritten objects in ink input for use in performing detection of a list. Root
402 may represent ink input, such as a page of ink input, that may include writing and one or more drawing objects such as drawing objects 404 and 406. The writing may be structurally represented by paragraph 408 that may be made of line 410 which has a word 412 formed by strokes 414. Drawing object
404 may have associated content such as text which may be
CA 02482040 2004-09-17 structurally represented by paragraph 408 that may be made of line 410 which has a word 412 formed by strokes 414. A handwritten structure such as a list may be detected and its structure determined in ink input 402.
FIG. 5 presents a flowchart generally representing one embodiment of the steps undertaken for detection of a list.
At step 502, list candidate identification may be performed to select a group of lines that may form a list within the ink input. Indentation level clustering may also be performed at step 504 for each line of the list candidate to group indentation levels of the list candidate. The indentation of a line is defined herein as the distance from the left edge of the line to the left edge of the list. Indentations may be grouped into levels and indentations at the same level are similar. At step 506, bullet detection may then be performed to identify a bullet. A bullet may be composed of one or several strokes and may begin a line. There are generally two types of bullets, graphical bullets and alphanumeric bullets.
Graphical bullets may include a dot, a dash, a circle, a rectangle and so forth. The shape of graphical bullets is usually similar. Alphanumeric bullets may include an alphabetic character, a number, or a combination of alphabetic characters and/or numbers. Typically, a sequence of alphanumeric bullets is incremental. Bullets at the same
CA 02482040 2004-09-17 indentation level are usually the same type. Finally, the structure of the list may be determined at step 508, including the relationship among the list items. The candidate list may then be confirmed to be a valid list if it may include at least two bulleted items.
FIG. 6 presents a flowchart generally representing an embodiment of the steps undertaken for list candidate identification. At step 602, each of the writing lines input to the list detector may be set as list candidates. In one embodiment, the list detector may work on only one group of such lines at a time. At step 604, it may be determined whether there is only one list candidate in the group of lines set as list candidates. If so, then list candidate identification may be finished. If not, then pairs of list 15 candidates may be generated at step 606. A pair of list candidates may be selected at step 608 from the pairs of list candidates generated. It may then be determined whether to merge the pair of list candidates at step 610. If the angles of the lines in both lists is almost the same and the vertical distance between the neighboring lines of the lists is small, then the list candidates may be merged into a new list candidate at step 612 and the process may return to step 604.
Otherwise, it may be determined at step 614 whether there is another pair of list candidates that may be merged. If so,
CA 02482040 2004-09-17 then the process may return to step 608 to select a pair of list candidates. If not, then the process of list candidate identification may be finished.
FIG. 7 presents exemplary illustrations generally representing list candidates. There are three list candidates illustrated: list 1 702, list 2 704, and list 3 706. List 1 702 may not be merged with list 2 704 because there is too great a difference of the angles of the lines in both lists.
List 2 704 and list 3 706 may not be merged together because the vertical distance between the last line of list 2 704 and the first line of list 3 706 is too great. The rectangles 708 may represent the block grouping made by word grouping performed by the ink parser in one embodiment. A list candidate may include block groupings such as the three block groupings in list 3 706, for example.
FIG. 8 presents a flowchart generally representing an embodiment of the steps undertaken for performing indentation level clustering. The lines of a candidate list may be clustered into indentation level groups based upon each line's indentation. To do so, the indentation of each line may be computed and then the indentations may be clustered into several indentation level groups. The indentation level of a list item may be equal to the indentation level of its first line.
- 21 I
CA 02482040 2004-09-17
In one embodiment, the indentation level clustering method used may be the k-mean clustering algorithm well-known in pattern recognition. Given c levels, zm, is the average indentation of ievellj, vm<sub>r</sub>= — y is the indentation of the <sup>N</sup>i y*r, line, N; is the number of lines in level and J<sub>e</sub> is the sum of squared error of all levels. The goal of the clustering is to minimizeJ<sub>e</sub> defined as:
c
<img file="CA2482040C_D0001.tif" />
At step 802, the average indentation level may be initialized as m<sub>t</sub> = i*l, given an initial stepsize I of indentation, and a counter of lines to be checked may be set to the number of lines to check. To support the scenario that a user may write the ink notes in a different size, a normalized indentation may be used in one embodiment. For example, the indentation may be normalized by the average height of the lines in a list candidate, whereby the initial stepsize I of indentation may be 1.4 * the average height of lines .
At step 804, the next lineyOf; may be retrieved. Then the distance from the indentation of y to the average indentation of each level may be determined at step 806. And the nearest
CA 02482040 2004-09-17 indentation level Γ, to /□ Γ) may be found at step 808. At step 810, if the nearest indentation level equals the current indentation level, then the counter of lines to check is decremented at step 816 and indentation clustering is finished for that line. Otherwise, the line may be moved to the nearest indentation level at step 812. The average position of each indentation level may then be recalculated at step 814 and the counter of lines to check may be set to the number of lines to check. At step 820, it may be determined whether the counter of lines is zero. If so, then the process returns to step 804 to get the next line yD Γ, . If not, then the process is finished for indentation at this level.
FIG. 9 presents an exemplary illustration of a candidate list after identation level clustering. The candidate list
902 has six lines. At the end of indentation level clustering, lines 1, 3 and 5 are in indentation level 1 and lines 2, 4 and 6 are in indentation level 2. Oval 904 encircles the bullets of lines in indentation level 1 and oval
906 encircles the bullets of lines in indentation level 2.
Bullet detection may be performed after indentation level clustering. Bullet detection may determine whether the items of a list include a bullet. The first word of each line in a list may therefore be considered a bullet candidate for the
CA 02482040 2004-09-17 bullet detection process. Based on empirical observations, if two lines in a list have the same indentation level and begin with a bullet, the bullets of these two lines usually are the same symbols, such as graphical bullets or alphanumeric 5 bullets. Consequently, two lines in a list at the same indentation level may likely both begin with a bullet if the bullet candidates of the two lines have similar features.
Bullet partners are thus defined herein to be two lines in a list at the same indent level that may begin with bullet candidates with similar features. One of two such lines is the bullet partner of the other. Note that bullet partners may or may not be neighboring lines. In bullet detection, the bullet candidates of bullet partners may be considered bullets.
FIG. 10 presents a flowchart generally representing an embodiment of the steps undertaken for performing for bullet detection. At step 1002, bullet partner detection may be performed for the line of a bullet candidate. At step 1004, the neighboring lines of the bullet candidate at the same
<td> 20 indentation</td><td> level</td><td> may</td><td> be</td><td> checked to determine</td><td> whether a</td>
<td> neighboring</td><td colspan="3"> line is a bullet</td><td> partner of the line of</td><td> the bullet</td>
<td> candidate.</td><td> If so,</td><td> then</td><td> the</td><td> bullet candidate may be</td><td> considered</td>
<td> a bullet at</td><td> step</td><td> 1010.</td><td> If</td><td> no bullet partner was</td><td> detected,</td>
then it may be determined at step 1006 whether the line of the
- 24 CA 02482040 2004-09-17 bullet candidate is a member of an indentation level set that has a subset of bullet partners. If not, then the candidate bullet may not be considered a bullet as indicated at step
1012. If the line of the bullet candidate is a member of an indentation level set that has a subset of bullet partners and the ratio of the number of lines in the set of bullet partners to the number of lines in the indent level set may be determined at step 1008 to be higher than a threshold, then the candidate bullet may be considered a bullet as indicated at step 1010. If not, then the candidate bullet may not be considered a bullet as indicated at step 1012. In one embodiment, the threshold may be empirically set at 0.66.
Those skilled in the art will appreciate that other thresholds may be used.
FIG. 11 presents the steps undertaken to perform bullet partner detection. In one embodiment, bullet partner detection may check whether every pair of lines at a given indentation level may be bullet partners. Advantageously, checking for bullets by line pairs may improve the robustness of the process for bullet detection. For instance, encountering a malformed bullet as a bullet candidate may not result in failing to detect other bullets in the same list.
To improve the parsing speed of the bullet partner detection process, simple features may be used for detecting a
CA 02482040 2004-09-17 bullet from common words that may appear as the first word of a line. These features may include using the width and height of a bounding box around the bullet candidate. For example, the sizes of the bounding boxes of graphics bullets and numbered bullets are usually similar, while the sizes of the bounding boxes of common words that may appear as the first word in a line may vary dramatically. More specifically, the bounding box of bullets often are not as wide or as high as the bounding boxes: of common words that may appear as the first word of a line. Those skilled in the art will appreciate that other, simple features may be used, such as the distance between the bullet candidate and the next word of the line. Typically, the distance from a bullet to the next word of the line is often larger than the distance between two common words in a line.
In one embodiment, the following five features for detecting a bullet may be used to calculate the probability that the two lines may be bullet partners: ΔΛ = |/ζ(2?<sub>β</sub>)-/ΐ(2ζ)|, Aw = |w(7?<sub>o</sub>) - w(R<sub>b</sub>)|, w = max(w(J?e),w(&>)), &s = min(s<sub>0</sub>,s<sub>b</sub>)/max(s<sub>a</sub>,s<sub>b</sub>) , and d = min(i/<sub>0</sub>,d<sub>b</sub>) . For two bullet candidates a and b, the bounding box of a and rectangle R<sub>a</sub> and the rectangle R<sub>b</sub> respectively, may be determined at step 1102 in the angle position of the list where a and b occur.
CA 02482040 2004-09-17
At step 1104, the difference in features of the bounding boxes may be determined. For example, at step 1106 the difference of the heights of the bounding boxes of the bullet candidates ΔΛ = |Λ(2ζ)-Λ(2ζ)| may be determined, where h(R<sub>a</sub>) andh(R<sub>b</sub>) are the heights of rectangle R<sub>a</sub> and rectangle R<sub>b</sub> respectively.
Or, at step 1108, the difference of the widths of the bounding boxes of the bullet candidates Aw = |w(2?<sub>o</sub>)-w(J?<sub>é</sub>)| may be determined, where w(7?<sub>o</sub>) andw(7?<sub>ft</sub>) are the widths of rectangle R<sub>a</sub> and rectangle R<sub>b</sub> respectively. Or, at step 1110 the maximum of the widths of the bounding boxes of the bullet candidates w = max(w(&j),w(2?i<)) may be determined.
At step 1112, the difference of the stroke lengths of the bullet candidates Ay = mm(.s<sub>e</sub>,J<sub>i</sub>)/max(5<sub>e</sub>,i<sub>i</sub>) may be determined, where s<sub>a</sub> ands<sub>b</sub> are the total stroke lengths of the bullet candidates a and b respectively. At step 1114, the distance to the next word of the line d = may be determined, where d<sub>a</sub> andc/<sub>A</sub> are the distances between each bullet candidate, a and b, and the next word of their respective lines.
Then the likelihood that the pair of lines are bullet partners may be determined using features of the bullet candidates at step 1116. In one embodiment, a fuzzy function may be constructed which may combine the features to determine
CA 02482040 2004-09-17 the likelihood that the two lines are bullet partners. The function may be defined as:
f UN Λ,,Υ , (α,β,γ,η,κ>)
1+
Δνν
V^oy k<sup>w</sup>oy v^'oy v4y where ΔΛθ,Δννθ,Η’θ,Ζίΐθ,ί/θ are the thresholds of the five features and α,β,γ,η,κ may be used to tune the softness of the decision boundary. The function may decrease monotonously when any feature grows from 0 to infinity. If any feature is above its threshold, the function may be below 0.5. The function value may be 1 when all the features are 0, and may approach 0 when any feature approaches infinity. The decision boundary may be defined as /(A/z,Aw,w,Ay,ri) = 0.5 in one embodiment.
In this case,
Aw
Ah, •o y
V^oy determination may be made whether the likelihood of the fuzzy function is higher than the threshold of 0.5 at step 1118. If so, these two lines may be considered bullet partners at step 1120. Otherwise, the two lines may not be considered bullet partners at step 1122.
After bullet detection, list structure determination may be performed using the results of indentation level clustering and bullet detection. For example, the indentation level of each line may be used to determine which lines form list items
CA 02482040 2004-09-17 and may also be used to determine the relationship among identified list items. The structure of a list may also be determined by the presence of bullets. FIG. 12 presents a flowchart generally representing an embodiment of the steps undertaken for performing list structure determination.
At step 1202, list items are identified by determining which lines form a list item. There may be several rules for list item composition. For example, a list item may include only one line beginning with a bullet. If a list item has a line beginning with a bullet, the line should be the first line in the list item. If a list item has a line with a bullet, the indentation level of the line should be equal to or less than the indentation level of any other lines in the list .item. If a list item does not have a line with a bullet, the indentation levels of each line in the list item may be the same. Also, the vertical distance between the neighboring lines in a list item may not be very large.
Once list items are identified, the relationship among list items may be determined at step 1204. There may be several rules for determining the relationship between list items. For example, a list item may have any number of subitems or none at all. The indentation level of a list item may be less than the indentation level of its sub-items. The indentation level may be the same for the sub-items of a list i
CA 02482040 2004-09-17 item. A list item may have only one parent item or none at all.
At step 1206, the list candidate structure may be created from the list items. The list candidate structure may be a hierarchical structure such as an acyclic directed graph or tree that may include the list item of a particular indentation level in the list candidate at a specific level of the tree. Finally, at step 1208, it may be, determined that the list candidate is a valid list if there are at least two bullets in the list candidate.
FIG. 13 presents an exemplary illustration of one embodiment of , a candidate list structure. Candidate list structure 1302 includes several lines numbered at the upperleft corner of the lines and illustrates several examples of 15 list items. For example, line 2 may form list item 1304.
Lines 4 and 5 may form list item 1306 because only line 4 begins with a bullet and line 4 is also the first line in the candidate list item. Additionally, the indentation level of line 4 and line 5 are the same, indentation level 2 1316.
Lines 6 and 7 are each at the same indentation level, indentation level 2 1316, but each form separate list items
1308 and 1310 respectively, because each of these lines begins with a bullet and a list item may include only one line beginning with a bullet. Lines 8 and 9 are each at the same
- 30 CA 02482040 2004-09-17 indentation level, indentation level 3 1318 and each line individually forms separate list items, 1312 and 1314 respectively, because each of these lines begins with a bullet and a list item may include only one line beginning with a bullet.
Once the list has. been detected and its structure determined, the structural relationship of the handwritten object may now be understood. FIG. 14 is an exemplary illustration generally representing a structural relationship of handwritten objects in ink input after performing list detection of a drawing object. Root 1402 may represent ink input, such as a page of ink input, that may include one or more structures such as list 1404 and list 1406. A list may include one or more list items such as list items 1408 and
1410. A list item may include one or more lines, such as lines
1412 and 1414, and one or more bullets, such as bullet 1418.
Each line may include text which may be structurally represented by one or more words such as word 1416 which may be formed by strokes 1420. Each bullet 1418 may be formed by strokes 1420.
After all the lists have been detected by the described system and method, the handwritten objects within the ink input may be completely detected and their structures recognized. By using the present invention, a user may draw
- 31 CA 02482040 2004-09-17 lists freely without restrictions on the handwritten input. A list may have many strokes and the input order of strokes may be arbitrary so that the system and method may accept any ink as input. The structure of the list may be recognized, including the relationship among the list items.
As can be seen from the foregoing detailed description, the present invention provides a system and method for detection of lists. Advantageously, the system and method are insensitive to stroke input ; order and the number of strokes that may form a handwritten list. Furthermore, the system and method provided are flexible and extensible. As is now understood, the present invention may be used to detect . any list in ink input, such as a bulleted or numbered list of items, including recognizing the structure of the list. The method and system thus provide significant advantages and benefits needed in contemporary computing.
While the invention is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the invention to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative
- .32 CA 02482040 2004-09-17 constructions, and equivalents falling within the spirit and scope of the invention.
- 33 i
Contents18
17 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17
18 members in 10 offices
Priority claims8
| Document | Office | Kind | Date |
|---|---|---|---|
| 50579703 | United States of America | P | |
| 60505797 | United States of America | – | |
| 10850680 | United States of America | – | |
| 85068004 | United States of America | A | |
| 10850680 | – | – | – |
| 60505797 | – | – | – |
| US20030505797P | – | – | – |
| US20040850680 | – | – | – |
Members18
| Document | Office | Kind | |
|---|---|---|---|
| CA2482040A1 | Canada | A1 | |
| US2005063591A1 | United States of America | A1 | |
| KR20050030103A | Republic of Korea | A | |
| EP1519280A2 | European Patent Office (EPO) | A2 | |
| AU2004208728A1 | Australia | A1 | |
| JP2005100416A | Japan | A | |
| CN1607539A | China | A | |
| BRPI0403907A | Brazil | A | |
| MXPA04009150A | Mexico | A | |
| RU2004128380A | Russian Federation | A | |
| US7295708B2 | United States of America | B2 | |
| EP1519280A3 | European Patent Office (EPO) | A3 | |
| CN100410965C | China | C | |
| RU2370814C2 | Russian Federation | C2 | |
| AU2004208728B2 | Australia | B2 | |
| JP4598466B2 | Japan | B2 | |
| KR101085605B1 | Republic of Korea | B1 | |
| CA2482040CThis record | Canada | C |
2 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| LapsedLapsedMKLA | MKLA | |
| Examination requestEEER | EEER |
Numbers
- Publication
- 2482040
- Publication, DOCDB
- 2482040
- Publication, EPODOC
- CA2482040
- Application
- 2482040
- Application, DOCDB
- 2482040
- Application, EPODOC
- CA20042482040
Titles2
- English
- SYSTEM AND METHOD FOR DETECTING A LIST IN INK INPUT
- French
- SYSTEME ET METHODE DE DETECTION D'UNE LISTE DANS UNE ENTREE D'ENCRE
Classification
- CPC, 6
- G06K9/00463
- G06F40/137
- G06F17/2241
- G06F40/171
- G06F17/242
- G06K9/222
- IPC, 8
- G06F17 22
- G06F17 24
- G06F3 00
- G06F9 00
- G06K9 00
- G06K9 20
- G06K9 22
- G06K9 62