This invention relates to a machine-executable process for recognizing commands written onto a medium, such as paper.
In the modern workplace a variety of computer resources are generally available, such as desk-top or lap-top computers. Entering information or commands to a computer is typically accomplished by using a keyboard or a mouse connected to a computer.
Despite the availability of computer resources, many people still use more traditional methods and mediums to record information, such as writing notes and action items on paper using a pen or pencil.
Referring to
Performing process 10 enables a writer to write specific marks (or strokes) on a piece of paper, which are interpreted as executable commands that are either executed immediately by a computer processor, or executed at a later time. Process 10 simplifies the input, recognition and subsequent management of written commands and digital images, using a very common and widespread method of storing information, e.g., by writing commands and information on a conventional medium, such as a piece of paper or cardboard, with a conventional writing implement, such as a pen or pencil. Pre-printed material may also be processed using process 10 where the pre-printed materials are supplemented with written command marks and then processed by the recognizer program 22.
Referring to
Referring to
Recognizer program 22 uses a pattern recognition process to identify the command marks. The pattern recognition process may be based on a statistical model, a neural network model, and/or a Hidden Markov model.
Recognizer program 22 may apply a machine learning process to better identify command marks from a particular writer. The machine learning process may use heuristic techniques to enhance the pattern recognition accuracy by determining common traits and tendencies included in previously recognized command marks made by a particular writer.
The recognition of command marks may be intentionally constrained by recognizing only those command marks made in specific regions of paper 30. For example, on paper 12a, process 10 may only recognize command marks written to the left of a side margin line 68 or above a top margin line 70.
The recognized commands may be executed immediately by computer 24, or may be stored as executable commands in a file on storage device 26. Similarly, the digital image file may be stored on storage device 26. By storing the command file and the digital image file, the writer has the opportunity to review both files for accuracy, and make corrections as required, before the commands are executed or the text is changed by executing a recognized command.
As discussed previously, process 10 may be performed by writing a command mark that is detected by a digital ink capturing device 16. Detecting digital ink refers to a process of detecting the stroke of a writing implement on the surface of a digital ink capture pad. The detected strokes are then converted to digital stroke data 20 which may be analyzed by recognizer program 22 in a manner similar to the scanned digital image 18 described previously. In an embodiment of process 10, a piece of paper 12 is placed on top of a digital ink capture pad 16 and a writer writes a command mark on paper 12. Capture pad 16 detects the strokes made through the paper onto the capture pad and converts the stroke information into digital stroke data 20. Recognizer program 22 recognizes the command mark represented by the digital stroke data 20 as an executable command and executes the command on computer 24, or stores the executable command in a file on storage device 26.
In an embodiment of process 10, a conventional writing implement, such as a pen or pencil, includes a digital ink capturing device attached to the writing implement. Command marks are then written onto a conventional writing medium, such as a piece of paper or cardboard, and the digital ink capturing device outputs stroke information which is used by recognizer program 22 to recognize command marks. An example of a digital ink capturing device that may be attached to a writing implement is an optical scanner attached near the tip of the writing implement, the optical scanner using a paper's surface patterns to detect movements and stroke information from the movement of the pen or pencil. Other types of digital ink capture devices could be used with process 10 to capture digital stroke information based on command marks made with a conventional writing implement, such as a pen or pencil, onto a conventional writing medium.
Process 10 is not limited to use with the hardware and software of
Program code may be applied to data entered using an input device (e.g., a mouse or keyboard) to perform process 10 and to generate output information.
Each such program may be implemented in a high level procedural or object-oriented programming language to communicate with a computer system. However, the programs can be implemented in assembly or machine language. The language may be a compiled or an interpreted language.
Each computer program may be stored on a storage medium (e.g., a magnetic disk, RAM or ROM) that is readable by a general or special purpose programmable computer for configuring and operating the computer when the storage medium or device is read by the computer to perform process 10. Process 10 may also be implemented as a machine-readable storage medium, configured with a computer program, where, upon execution, instructions in the computer program cause a machine to operate in accordance with process 10.
In an embodiment, process 10 is performed by writing a command mark on a conventional medium, such as a piece of paper, cardboard or plastic, with the command mark being written with a conventional writing implement such as a pen or a pencil and the written command mark on the conventional medium is then scanned as a digital image which is then processed by a recognizer program.
In an embodiment, process 10 is performed by writing a command mark onto a pre-printed medium, such as a pre-printed piece of paper or cardboard, with the command mark being written with a conventional writing implement such as a pen or a pencil, the pre-printed document with the written command mark is then scanned as a digital image which is then processed by the recognizer program.
As used herein, the term “command mark” may refers to written alphabetic characters and also may refer to glyphs that represent non-verbal information (such as a circled letter, a star symbol, etc.)
In an embodiment, the recognizer program uses a combination of pattern matching and image processing schemes with applied heuristics. The recognizer program may operate by performing pattern recognition using either a template-based recognition scheme or by employing a Hidden Markov Model (HMM) scheme combined with an appropriate feature extraction method. The following pseudo-code describes a template-based recognition scheme, which may be used to recognize command marks by broadly classifying them into “X-based” commands and “O-based” commands, and then analyzing the recognized command marks for further classification. The following pseudo-code may also be used to distinguish between a check mark and an X-mark, for example:
In an embodiment, the recognizer program may be used to identify text printed on a conventional medium, as described previously. The recognizer program may include a scheme to recognize the printed text by recognizing at least one common characteristic associated with a section of a scanned image. For example, recognizing the uniformity of spacings (inter-word, inter-line, inter-paragraph) and/or recognizing that several letters share the same size or the same font attributes (ascenders, descenders, curves), and/or recognizing “neatness”, i.e., recognizing at least one margin is substantially aligned with another margin line (for example, where margin lines are horizontal, and/or parallel).
The recognizer program may apply an image processing scheme that enables the recognition of image elements that are blurred and/or smeared through resolution changing mechanisms. By applying such a scheme in conjunction with Hough transforms, printed text of a certain size may be further recognized. Similarly, templates based on font attributes (curves of ‘d’, ‘b’, ‘p’, or ascenders for ‘k’, descenders for ‘g’, ‘j’, etc.) can be applied on each recognized text line to ascertain uniformity and classify elements as printed.
The invention is not limited to the specific embodiments described above. For example, we mentioned a piece of paper as the medium on which command marks are made. However, any medium that can be written on and subsequently scanned could be used, such as cardboard, metal, plastic, cloth, etc. Also, we mentioned using a pen or pencil as the writing implement. However, any implement that can be used to make a command mark on a suitable medium could be used.
Other embodiments not described herein are also within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4794634 | Torihata et al. | Dec 1988 | A |
4841387 | Rindfuss | Jun 1989 | A |
4845768 | Kochert et al. | Jul 1989 | A |
5181255 | Bloomberg | Jan 1993 | A |
5243149 | Comerford et al. | Sep 1993 | A |
RE34476 | Norwood | Dec 1993 | E |
5309359 | Katz et al. | May 1994 | A |
5363211 | Hasebe et al. | Nov 1994 | A |
5615285 | Beernink | Mar 1997 | A |
5629499 | Flickinger et al. | May 1997 | A |
5652412 | Lazzouni et al. | Jul 1997 | A |
5748807 | Lopresti et al. | May 1998 | A |
5751851 | Guzik et al. | May 1998 | A |
5768418 | Berman et al. | Jun 1998 | A |
5802204 | Basehore | Sep 1998 | A |
5869789 | Reid-Green | Feb 1999 | A |
5890177 | Moody et al. | Mar 1999 | A |
5897648 | Henderson | Apr 1999 | A |
5960448 | Reichek et al. | Sep 1999 | A |
5977958 | Baron et al. | Nov 1999 | A |
6000946 | Snyders et al. | Dec 1999 | A |
6050490 | Leichner et al. | Apr 2000 | A |
6154758 | Chiang | Nov 2000 | A |
6249283 | Ur | Jun 2001 | B1 |
6259043 | Clary et al. | Jul 2001 | B1 |
6360951 | Swinehart | Mar 2002 | B1 |
6396481 | Challa et al. | May 2002 | B1 |
6396598 | Kashiwagi et al. | May 2002 | B1 |
6397213 | Cullen et al. | May 2002 | B1 |
6466954 | Kurosawa et al. | Oct 2002 | B1 |
6584479 | Chang et al. | Jun 2003 | B1 |
6625335 | Kanai | Sep 2003 | B1 |
6666376 | Ericson et al. | Dec 2003 | B1 |
6681372 | Yajima | Jan 2004 | B1 |
6687876 | Schilit et al. | Feb 2004 | B1 |
6698660 | Fahraeus et al. | Mar 2004 | B1 |
6721921 | Altman | Apr 2004 | B1 |
6742161 | James et al. | May 2004 | B1 |
6782144 | Bellavita et al. | Aug 2004 | B1 |
20020088651 | Carini et al. | Jul 2002 | A1 |
20020095440 | Burgess et al. | Jul 2002 | A1 |
20020102022 | Ma et al. | Aug 2002 | A1 |
20020114508 | Love | Aug 2002 | A1 |
20020135786 | Ma et al. | Sep 2002 | A1 |
20020184196 | Lehmeier et al. | Dec 2002 | A1 |
20030004991 | Keskar et al. | Jan 2003 | A1 |
20030026481 | Keskar et al. | Feb 2003 | A1 |
20030089533 | Lapstun et al. | May 2003 | A1 |
20030167276 | Simpson et al. | Sep 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20030123733 A1 | Jul 2003 | US |