This application is based upon and claims the benefit of priority from prior Japanese Patent Application No. 2012-047062, filed Mar. 2, 2012, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a handwriting input device configured to input a handwritten character or figure, and a computer-readable medium having a program stored thereon.
2. Description of the Related Art
In recent years, information terminals such as a personal digital assistant (PDA), personal computer (PC), cellular phone, electronic dictionary, portable game device, and the like, provided with a tablet or a touch-screen display and capable of inputting a character or a figure by handwriting, are widely in practical use.
On a display unit of such an information terminal, display corresponding to various functions is carried out naturally, and hence it is not possible to fixedly display, for example, a mark for inputting a character by handwriting. Accordingly, there is a problem that rows of character strings input by handwriting, and the size of the characters are likely to be disordered, and the character strings cannot be written well.
Thus, a handwritten character input device provided with a function of neatly arranging handwritten characters and facilitating input of the handwritten characters by detecting, at the time of input of characters by handwriting, a first touching position on a tablet or a touchpanel, and using a position apart from the first touching position by a predetermined distance in a predetermined direction as an origin to thereby define a virtual frame for input of characters, and guide input of characters, is contrived (for example, Jpn. Pat. Appln. KOKAI Publication No. 09-091377).
In a conventional handwritten character input device, although it is possible to detect a first touching position on a tablet or a touchpanel, and define a virtual frame for carrying out handwriting using the touching position as a writing position of the first character, guiding of input of characters is not carried out before the tablet or the touchpanel is actually touched. Accordingly, it is not possible to confirm a position at which handwriting is to be started before the tablet or the touchpanel is actually touched, thereby causing a problem that the device lacks operability for neatly inputting handwritten characters.
Accordingly, it is an object of the present invention to provide a handwriting input device and computer-readable medium having a program stored thereon, each of which makes it possible to appropriately guide a user to a write position from the time at which input of handwritten characters is actually started.
According to one aspect of the present invention, there is provided a handwriting input device comprising: a display unit; a position detecting unit provided integral with the display unit and configured to detect an access position and a contact position of an operation tool; a guide figure display unit configured to, when an access position of the operation tool is detected by the position detecting unit, display a guide figure for handwriting input on the display unit based on the detected access position; and a handwriting position display unit configured to, when a contact position of the operation tool is detected by the position detecting unit in a state where the guide figure is displayed by the guide figure display unit, display a locus of the detected contact position on the display unit.
Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention, and together with the general description given above and the detailed description of the embodiments given below, serve to explain the principles of the invention.
Hereinafter, embodiments of the present invention will be described by using the drawings.
This information terminal device 10 (which may be referred to as a handwriting input device) is provided with, for example, a 12-inch tablet display unit 11. This tablet display unit 11 is constituted by overlaying a dot-matrix color liquid crystal display screen lid and a tablet 11t with each other. As this tablet 11t, for example, an electromagnetic induction tablet is used. Both an access position and contact position of a stylus P (which may be referred to as an operation tool) incorporating therein an induction coil at a distal end thereof on the display screen of the tablet 11t are detected as coordinates of the display screen (which may be referred to as a position detecting unit).
This information terminal device 10 operates in accordance with touch operations for various data items displayed on the tablet display unit 11 except for an operation of a power key switch for turning-on/off the power. Further, the information terminal device 10 also has a function of recognizing and inputting a handwritten character or figure (which may be referred to as a handwriting position display unit).
A CPU 21 which is a computer is provided in the electronic circuit of the information terminal device 10. The CPU 21 controls an operation of each unit of the circuit in accordance with a terminal control program stored in advance in a storage device 22, or a terminal control program read from an external recording medium 23 such as a memory card or the like into the storage device 22 through a recording medium reading unit 24, or a terminal control program read from a Web server on a communication network into the storage device 22 through a communication unit 25 by using the storage device 22 and a RAM 26 as a work memory.
As the terminal control program stored in the storage device 22, a control program 22a including a communication control program for communicating with an electronic device provided with a communication function, such as an external PC, Web server, and the like through the communication unit 25, and various application programs for carrying out text processing, table processing, image/sound reproduction processing, mail processing, operation processing, and the like, guide display program 22b for guiding to a write position of handwriting input when the handwritten information is input to the tablet display unit 11, and character recognition program 22c for recognizing various characters and figures input by handwriting are stored.
Further, in the storage device 22, a guide figure database 22d to be used concomitantly with execution of the guide display program 22b is stored.
In this guide figure database 22d, guide figure data for guiding to a write position of handwriting input to the tablet display unit 11 is stored. More specifically, various guide figures G001 (squares for a hiragana character, katakana character, and Chinese character), G002 (underline for alphabetic characters), . . . corresponding to types of input characters or figures are stored together with their sizes [X=◯◯◯, Y=ΔΔΔ], reference coordinates (X, Y), and corresponding character types.
Here, the size [X=◯◯◯, Y=ΔΔΔ] of a guide figure Gn indicates a coordinate range required for development in the display screen area, and the reference coordinates (X, Y) indicate the optimum write starting position set in advance by using the coordinates of an upper-left position of the range (size) of the corresponding guide figure as an origin.
In the aforementioned RAM 26, a display data memory 26a, input coordinate data memory 26b, and the like are secured as a storage area for various operations.
The display data memory 26a includes a storage area of color bitmap data corresponding to the display screen area of the tablet display unit 11, and display screen data created in accordance with a program being executed is stored in the memory 26a.
Coordinates of an access position and contact position of the stylus P detected by the tablet 11t of the display unit 11 concomitantly with the handwriting input to the tablet display unit 11 carried out by the user are stored in the input coordinate data memory 26b.
As described above, the storage device 22, recording medium reading unit 24, communication unit 25, RAM 26, key input unit 27, tablet display unit 11 are connected to the CPU 21, thereby constituting the device 10.
Further, the information terminal device 10 has a function of displaying (which may be referred to as a guide figure display unit) a guide figure Gn when the stylus P is made to approach the tablet display unit 11 at the time of handwriting input corresponding to a user operation on the tablet display unit 11 such that the reference coordinates (X, Y) of the guide figure Gn stored in the guide figure database 22d coincide with coordinates (x1, y1) of the access position of the stylus P detected by the tablet 11t, and guiding the user to an input position of the handwriting carried out by the user.
In the information terminal device 10 configured as described above, the CPU 21 controls an operation of each unit of the circuit in accordance with commands described in the terminal control programs 22a, 22b, and 22c, and software and hardware operate in cooperation with each other, whereby the guide display function concomitant with the handwriting input processing to be described in the following operation description is realized.
Next, an operation of the information terminal device 10 provided with the handwriting input function configured as described above will be described below.
When the user makes the stylus P approach the display screen of the tablet display 11 in a state where the information terminal device 10 is placed in the handwriting input mode, it is detected by the tablet 11t that the stylus P has approached the display screen (step S1: YES). Coordinates (x1, y1) of the access position are acquired from the tablet 11t and stored in the input coordinate data memory 26b (step S2).
Then, a guide figure (the guide figure G001 [for hiragana, katakana, and Chinese characters] in this embodiment) is read from the guide figure database 22d (shown in
Further, the read guide figure G001 is displayed on the tablet display unit 11 in accordance with the calculated display position (step S5).
That is, when the stylus P approaches the tablet display unit 11, and the access position thereof is detected by the tablet 11t, the guide figure G001 which makes the coordinates (x1, y1) of the detected access position correspond to the optimum write starting position is displayed. Further, in a state where the stylus-down (contact position) of the stylus P on the display screen is not detected (step S6: NO), the guide figure G001 is moved in accordance with the movement of the coordinates (x1, y1) of the access position of the stylus P, and is displayed on the display screen (steps S1 to S5), and hence it is possible to confirm the optimum write starting position before the characters are actually written.
After this, when write of characters is started by using the stylus P while the guide figure G001 displayed on the display screen is referred to, coordinates of the contact position of the stylus P on the tablet display unit 11 are detected simultaneously with the start of write (step S6: YES).
Then, the display position of the guide figure G001 on the tablet display unit 11 is fixed thereto, and a locus of the movement of the detected contact position of the stylus P is depicted and displayed (step S7). It should be noted that when the coordinates of the position at which the stylus P is brought into contact with the display unit 11 are detected in step S6, the display position of the guide figure G001 on the tablet display unit 11 is fixed thereto, and a locus of the movement of the detected contact position of the stylus P may be depicted and displayed after the stylus-up is once carried out.
Further, even when the contact position of the stylus P temporarily becomes undetected because of, for example, a break concomitant with the handwriting within one character or a break between characters, if the duration of the state is shorter than a fixed time (step S8: NO), and the access position or the contact position of the stylus P detected again is within the area of the displayed guide figure G001 (step S9: YES), a locus of the movement of the contact position of the stylus P detected again is depicted and displayed (step S7).
Further, even when it is determined that a fixed time or more has elapsed from the time at which the contact position of the stylus becomes undetected (step S8: YES), a locus of the movement of the contact position of the stylus P detected again is depicted and displayed in the area of the guide figure G001 (steps S7 to S9).
It should be noted that the squares for a hiragana character, katakana character, and Chinese character (shown in
After this, when it is determined that a fixed time or more has elapsed from the time at which the contact position of the stylus becomes undetected (step S8: YES), if it is determined that handwriting input for one line corresponding to the guide figure G001 has been completed (step S10: YES), the guide figures G001 displayed so far on the corresponding one line are erased (step S11). It should be noted that when a time longer than the fixed time used in step S8 is set, and the stylus-up is kept for a time longer than the set time, the guide figures G001 may be erased while determining that the handwriting input has been completed (which may be referred to as a guide figure erasing unit).
Therefore, according to the guide display processing of the first embodiment of the information terminal device 10 provided with the handwriting input function and configured as described previously, it is possible for the user to sequentially write and depict characters by handwriting from the beginning of the write of the characters at appropriate positions on the basis of the guide figure G001 to be displayed on the display screen from the time immediately before the handwriting input to the tablet display unit 11 is started by using the stylus P, and it is further possible to greatly improve the operability for nearly inputting handwritten characters.
In the flowchart showing the guide processing of the second embodiment in
In the guide display processing according to the second embodiment, a character type of a character input by handwriting is recognized in addition to the guide display processing (steps S1 to S11) of the first embodiment and, when the character type of the already displayed guide figure G001 is different from the recognized character type, processing (steps S101 to S104) of switching display to a new guide figure G002 for the recognized character type, and displaying the new guide figure G002 is added.
It should be noted that in the second embodiment, in the guide figure Gn to be read first from the guide figure database 22d and displayed by detection of the coordinates (x1, y1) of the access position of the stylus P, guide figure G001 for hiragana, katakana, and Chinese characters is set to a default.
That is, as shown in
Further, as shown in, for example,
Then, guide figure G002 for the alphabetic character stored in the guide figure database 22d is read from the database 22d in accordance with the character type [alphabetic] of the character-recognized handwritten character (step S102) (which may be referred to as a figure switch/display unit).
Further, a display position of guide figure G002 for the alphabetic character newly read from the guide figure database 22d is calculated on the basis of the display position of the currently displayed guide figure G001 displayed in the guide display processing (steps S4 and S5) of the last time (step S103). As shown in
Thereby, handwritten characters of the alphabetic character to be input by handwriting by referring to the newly displayed guide figure G002 for the alphabetic character are sequentially depicted and displayed in the area of guide figure G002 subsequent to the alphabetic character “a” input and depicted by handwriting (steps S7 to S9).
After this, when it is determined that a fixed time or more has elapsed from the time at which the contact position of the stylus becomes undetected (step S8: YES), if it is determined that handwriting input for one line corresponding to guide figure G002 has been completed (step S10: YES), the corresponding guide figure G002 for the one line is erased (step S11).
It should be noted that according to the guide display processing of the second embodiment shown in
Therefore, according to the guide display processing of the second embodiment of the information terminal device 10 provided with the handwriting input function and configured as described previously, it is possible for the user to sequentially write and depict characters by handwriting from the beginning of the write of the characters at appropriate positions on the basis of guide figure G001 to be displayed on the display screen from the time immediately before the handwriting input to the tablet display unit 11 is started by using the stylus P. Further, it is possible to display an appropriate guide figure G002 at all times in accordance with the character type of the character actually input by handwriting. Furthermore, it is possible to greatly improve the operability for neatly inputting handwritten characters in various character types.
In the guide display processing according to the third embodiment, the configuration is employed in which the guide figure Gn to be stored in the guide figure database 22d is constituted of, for example, guide figures G11 and G12 for two characters and, each time one handwritten character is input and recognized on a one-by-one basis in accordance with guide figures G11 and G12, succeeding guide figures G13, . . . are additionally displayed in sequence subsequent to the currently displayed guide figures G11 and G12 (which may be referred to as a guide figure addition/display unit).
According to the above, it is possible for the user to clearly recognize guide figures Gn . . . to be extensionally displayed subsequent to the input position of the handwritten characters while further inputting handwritten characters, and it is possible to impart a more effective guiding function to the information terminal device 10.
In the guide display processing according to the fourth embodiment, the guide figure Gn for default display to be stored in the guide figure database 22d is constituted of guide figures G11, Gh1, and Gv1 formed by combining guide figure G11 for the first character, guide figure Gh1 for the horizontally written second character located on the right of guide figure G11, and guide figure Gv1 for the vertically written second character located beneath guide figure G11.
Further, the configuration is employed in which when a handwritten character is input to the area of guide figure Gh1 for the horizontally written second character, and is recognized as shown in
According to the above, it is possible for the user, irrespectively of whether the user wants to horizontally write characters by handwriting or the user wants to vertically write characters by handwriting, to clearly recognize guide figures Ghn . . . or guide figures Gvn . . . to be extensionally displayed subsequently in the input direction of the handwritten characters while inputting the handwritten characters, and it is possible to impart a more effective guiding function (which may be referred to as a guide figure selection unit) having a high degree of operability to the information terminal device 10.
It should be noted that in the embodiment described above, although the specific examples including guide figure G0001 for hiragana, katakana, and Chinese characters, and guide figure G002 for alphabetic characters have been described as the guide figure Gn to be used for the guide display processing for handwriting input, it goes without saying that the embodiment is not limited to these character types.
Each of the methods of the processing items to be carried out in the information terminal device 10, and database which are described in each of the aforementioned embodiments, i.e., each of the methods of the guide display processing according to the first embodiment shown in the flowchart of
Further, it is possible to transmit data of the program for realizing each of the aforementioned methods on a communication network in the form of a program code, and it is also possible to realize the guide display function concomitant with the handwriting input processing described in each of the aforementioned embodiments by capturing the program data on the computer (21) of each of the various types of information terminal devices (10) each of which is connected to the communication network, and is provided with the tablet display unit (11).
It should be noted that the present invention is not limited to the aforementioned embodiments, and can be variously modified in the implementation stage within a range not deviating from the essence of the invention. Furthermore, inventions of various stages are included in each of the aforementioned embodiments, and by appropriately combining a plurality of disclosed configuration conditions with each other, various inventions can be extracted. For example, even when some configuration conditions are deleted from the all the configuration conditions shown in the embodiments or some configuration conditions are combined in different forms, if the problem described in the paragraph of “Problem to Be Solved” can be solved, and the advantage described in the paragraph of “Advantage of the Invention” can be obtained, the configuration conditions obtained after deletion of some of the conditions or the combined configuration can be extracted as an invention.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2012-047062 | Mar 2012 | JP | national |