Image recognition apparatus and method

Abstract: An image recognition apparatus recognizes an input locus as a command, a figure and a character, respectively in gesture recognition mode, figure recognition mode and character recognition mode. Regarding each recognized result, similarity between the input image and the recognized shape is obtained. The similarities are compared with each other, and if the difference between the similarities is less than a predetermined value, the recognized results are displayed for selection by an operator. Then, selected one of the displayed shapes is determined as the final recognition result. This enables correct locus input even if there is a possibility that the locus is recognized, in different recognition modes, as similar shapes of different functions.

Description: BACKGROUND OF THE INVENTION The present invention relates to a data input apparatus for inputting operation commands, character data and other type of data, using an input pen and a digitizer, and a data input method for the apparatus. [Related Art] Conventional pen-input electronic devices usually have gesture-command input function that allows a user to pen-input operation commands in an input mode, in which a number of points or loci are traced, or locus-input mode in which a single point or locus is indicated. The first of these two modes will hereinafter be referred to as a trace mode. In gesture-command input, if a predetermined input is recognized, the command corresponding to the input operates. To discriminate between the two modes, or to avoid confusion of gesture-command recognition with character and figure recognition, several limitations are introduced as follows. For example, an input trace hard to distinguish from a similar character cannot be used as a gesture command, otherwise, a character similar to an input locus used as a gesture command cannot be recognized. Also, in figure-input mode, shapes often used as figures such as O, X, and Δ cannot be used as gesture commands. Further, there is a case where the user needs to designate command-input mode or non-command-input mode. As described above, these limitations are made basically to prevent confusion of gesture-command input with other types of input in the same input mode. However, in the case where the user designates the input mode, the user may need to change input modes so often that the input operation is not smooth, meaning, the manual mode-change operation will be troublesome. As mentioned above, if the pen-input device does not have command-input mode, the input loci used as gesture commands, otherwise shapes recognizable as characters or figures are limited. For this reason, the user cannot use, e.g., shapes which are intuitively recognizable by the user, as gesture commands. Further, as input characters are limited, some characters cannot be easily inputted. Furthermore, it is confusing for the user when a command is inputted with different gestures in respective figure-input mode and character-input mode. For example, a gesture command "X" (delete) is effective when character-input is not made, however, in character-input mode, the input "X" is treated as an alphabetic character. When a gesture command "γ" (undo) exists, a Greek letter "γ" cannot be inputted. In this manner, the conventional input systems have different gestures in different input modes regarding one input intention, and this is confusing to users. SUMMARY OF THE INVENTION The present invention has been made in consideration of the above situation, and has as a concern to provide an image recognition apparatus and method which distinguishes the purposes of locus-inputs, and recognizes input loci which are similar but of different mode types, without confusion. It is a second concern of the present invention to provide a data input apparatus and method which enables pen-input with intuitive and user-recognizable images, each reflects user's intention exactly. European Patent Specification No. EP-A-0,431,843 discloses a character recognition apparatus which displays a recognized character and associated characters if the recognized character is registered in a group table. According to a first aspect of the present invention, there is provided an image recognition apparatus as set out in claim 1. According to a second aspect of the invention, there is provided a method of recognizing input data as set out in claim 13. Note that the similarity judgement means performs similarity judgement based on input judgement reference value. As described above, in a case where a plurality of recognition modes are activated simultaneously, even if there are similar shapes which are often used in the respective modes, or even if recognition processing of input data cannot be easily discriminated, the image recognition apparatus and method can perform recognition in accordance to the user's intention. The present invention is advantageous since the user can clearly designate recognition processing to an input data, further, the above-mentioned limitations on gestures, characters and the like are removed. This avoids confusing input operation and eliminates time-wasting storing of gestures in different modes used as the same command. Further, it is not necessary for the recognition system designer to consider the limitations on shapes of input loci. This allows the recognition system designer to use any shape. Furthermore, in command-input, more intuitive and user-recognizable commands can be used. Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. Fig. 1 is a block diagram showing the construction of an input apparatus according to a first embodiment of the present invention; Figs. 2A and 2B are selection image examples in the first embodiment; Fig. 3 is a flowchart showing the operation of the first embodiment; Fig. 4 is an example of a selection image for selecting recognition mode(s) according to a second embodiment of the present invention; Fig. 5 is a flowchart showing the operation of the second embodiment; Fig. 6 is a block diagram showing the construction of the input apparatus according to a third embodiment of the present invention; Fig. 7 is an example of a similarity table in the third embodiment; Fig. 8 is a flowchart showing the operation of the third embodiment; Fig. 9 is a block diagram showing the input apparatus according to the third embodiment; Fig. 10 is a block diagram showing the construction of a data processing apparatus using the data input apparatus of the embodiments; and Fig. 11 is a flowchart showing the operation of a fourth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S) Preferred embodiments of the present invention will be described in detail in accordance with the accompanying drawings. [First Embodiment] Fig. 1 shows the construction of an input apparatus such as a pen computer, according to a first embodiment of the present invention. This construction operates to send pen-inputted data to the next process step executed by, e.g., an application program. Fig. 10 shows a data system comprising the data input apparatus 1001 which has the construction in Fig. 1 and a data processing apparatus 1002. In Fig. 10, the data processing apparatus 1002 inputs data from an data input apparatus 1001. In Fig. 1, a locus input unit 1 performs processing to send locus data, inputted from a digitizer with an input-pen, in recognizable units, to the subsequent processing. A mode discrimination unit 2 sends the input data to any of recognition units 3 to 5, in accordance with available recognition mode such as character-recognition mode, figure-recognition mode, command-recognition mode etc. If a plurality of recognition modes are available, the mode discrimination unit 2 sends the input data to plural recognition units. The available modes are set prior to locus input by a user of the input apparatus, i.e., an application according to the types of data which are used by the user. The recognition units 3 to 5 respectively confirm the shape of input data and obtain a corresponding code. The figure recognition unit 3 determines a predetermined figure similar to received data (image), and a figure code indicative of the kind of figure and similarity data representing the similarity between the predetermined figure and the input data by percentage, to the next processing. The character recognition unit 4 sends a character code recognized from received locus data and similarity data to the next processing. Similarly, the gesture recognition unit 5 sends a gesture code indicative of the type of command and similarity data to the next processing. The recognition algorithm and similarity calculation method used in the recognition units 3 to 5 may be prior art methods used in computers as well-known techniques. For example, the input data is analyzed into line segments, and phase-structure features of, e.g., a loop, a dot, concavity and convexity are extracted, and the extracted features are compared with features of characters or figures. The similarities are given in accordance with the number of coincident features. A similarity judgment unit 6 compares the similarity sent from the plurality of recognition units. That is, regarding one image, the similarity judgment unit 6 determines whether or not the image is a polychrestic image, from which a unique code cannot be recognized in one recognition mode but a plurality of codes in respective plural recognition modes can be recognized. When the similarity judgment unit determines the input image is a polychrestic image, selection image display unit 7 displays the selection images for a user to designate a recognition mode. An input data determination unit 8 outputs data finally determined as the result from recognition or user's selection to the data processing apparatus 1002. Figs. 2A and 2B show examples of the selection image displayed by the selection image display unit 7. In Fig. 2A, the display has a window 201 displaying a shape "X" with a selection button A1 indicating "deletion command", and a window 202 displaying an alphabet "X" with a selection button A2 indicating "character". The user sees the selection image and knows that the data input apparatus 1001 cannot recognize the input, then selects the appropriate selection buttons A1 or A2 with the input pen. If the user did not intend command input and character input and wants to cancel the input itself, the user presses an undo button B. Then, the input locus data is deleted and the process returns to the state before the deleted data was inputted. Also, a recognition result can be canceled. As shown in Fig. 2B, the selection image has a selection button C indicating "stroke". If the user presses this button, only the result from the recognition of the input data is deleted, and the data remains in a window 203. For example, in use of graphic application, the user may simply input strokes. As the recognition processing is not desired, the user presses the stroke selection button C to delete only the recognition result, and the input data determination unit 8 outputs the input strokes to the next processing or the data processing apparatus 1002. Next, the processing in this example where the X-shaped locus is inputted with the input-pen and selection images in Figs. 2A and 2B are outputted, i.e., a case where character-recognition mode and gesture-recognition mode are available will be described with reference to the flowchart of Fig. 3. Fig. 3 shows the processing that starts when input loci are accumulated to a predetermined amount in the locus input unit 1, and performs respective processing by the blocks 2 to 7 in Fig. 1. The locus input unit 1 divides the input data with stroke units, as one stroke being an interval between a contact time where the input pen touches an input surface and a pen-up time where the input pen is picked up from the input surface. When a predetermined time has elapsed since the stroke input started, the locus input unit 1 regards the strokes inputted by that time as one set of symbol-structure data, and sends the set of data to the next processing. This data division may be performed by "character cut-out" processing in handwritten character recognition, where input strokes are-divided into a single character. Various well-known techniques are available as character cut-out processing. Fig. 9 also shows the construction of the data input apparatus 1001 shown in Fig. 10. In Fig. 9, traced data hand-written from a digitizer 901 is displayed on a display panel 903, and subjected to recognition processing by a CPU 902, as a character, a figure or a command. The CPU 902 performs necessary processing by executing a program stored in a RAM 904 or a ROM 905. The processings by the respective units in Fig. 1 are realized by the execution of programs by the CPU 902. Note that in Fig. 9, in a case where the digitizer 901 comprises a transparent member, the digitizer 901 is overlaid on the display panel 903 so that the display panel 903 displays a figure as it traces input from the digitizer. This attains more natural handwritten input. In Fig. 3, when a data is input by the locus input unit 1, storage areas r0 to r2 for storing similarity data are cleared to "0" in step S1. Next, in step S2, the mode discrimination unit 2 checks available recognition mode(s) in the current application program, and sets a value "1" to a mode flag fg of the available recognition mode. The flag values are fg(0), fg(1) and fg(2), respectively for figure recognition, character recognition and gesture recognition. In this embodiment, these flags are prepared in accordance with recognition processings by the application program. To perform recognition of pen input in use of application program or utility program, recognition processings can be determined in designing of the program, and set in advance as this embodiment. For example, when an application which functions as a note pad is triggered, the application accepts only character input and gesture input, accordingly, the application sets the necessary recognition modes to a memory area. The flags fg(0) to fg(2) are set corresponding to the stored contents. In a case where a selection image is displayed, as shown in Figs. 2A and 2B, as character recognition and gesture recognition are available, the flags fg(1) and fg(2) are set to "1". The process proceeds to step S3 to S8, in which the respective flags fg(0) to fg(2) are checked and recognition processing corresponding to a set flag value is executed to the set of strokes sent from the locus input unit 1. As a result, a recognized code and similarity between the recognized code and the input data, i.e., the reliability of the recognition result are obtained. As mentioned above, the similarity data is represented by percentage where "100" means complete match, and "0" means the opposite. In this example, in steps S5 and S7, it is determined that the values of flags fg(1) and fg(2) are "1", and character recognition and gesture recognition are respectively performed in steps S6 and S8. Then, values indicating the recognition results are respectively set as a recognized character code1, its similarity r1, a recognized gesture code code2, and its similarity r2. In this example, an alphabet letter "X", is set as the code 1, a deletion gesture code is set as the code 2, and "85" is set to the similarity r1, and "70" is set as the similarity r2. As the value of the flag fg(0) is "0", figure recognition is not performed, and a recognized figure code code0 and its similarity r0 have no value. Note that "0" of the similarity r0 means " no match". Next, in step S9, the maximum value among the similarities r0 to r2 are stored as mr. In this example, as the similarity r1 (85) is the greatest value, the value 85 is stored as mr. In step S10, whether or not the mr value is greater than a predetermined threshold value is determined. In this example, value "70" is set as a threshold value between relatively high values and relatively not-so high values. If the maximum similarity mr is equal to the threshold value or greater, i.e., recognized result has a predetermined or higher reliability, the process proceeds to step S11, while if not, it is determined that no code has been recognized, and the process ends. Note that if the similarity is equal to the predetermined value or greater, it is considered that the recognition has been successful. In step S11, whether or not there is any similarity r closest to the maximum similarity mr is checked. In this example, the gesture similarity r2 is determined as the closest similarity. This determination is made based on existence/absence of another similarity within a predetermined range. In this example, the predetermined range is "20". In this manner, if it is determined that there is another recognized code in another recognition mode, the process proceeds to step S12 in which a selection image is outputted, then, as the user selects one mode, the recognition result in the selected mode is stored in a recognized-code storage area code, and the process ends. If there is no other similarity in step S11, the process proceeds to step S13 and the code of the maximum similarity mr is stored into the recognized-code storage area rcode, and the process ends. Next, the case in Fig. 2B will be described in accordance with step S3 and the subsequent steps. In this example, character recognition and gesture recognition are performed (fg(1) = 1 and fg(2) = 1). Then, character recognition is performed and a character "X" is recognized. A character code "X" is stored as the recognized character code codel, and a similarity value "85" is set as the similarity r1 (step S6). Also, gesture recognition is performed and a deletion command is recognized. A deletion command is stored as the recognized gesture code code2, and a similarity value "70" is set as the similarity r2 (step S8). Next, the similarity value r1 (85) is set as the maximum similarity mr (step S9), and whether or not the maximum similarity mr value is 70 or greater (step S10). As mr = 85 > 70, whether or not there is recognized result with a similarity of 65 ((mr-20) = (85-20)) or greater is examined (step S11). Since the similarity value r2 of the gesture recognition result is 70 and satisfies the above condition, the selection image in Fig. 2B is displayed (step S12). The user selects the "character" selection button A2 if he/she user wants to input "X" as a character, while selects the "deletion command" selection button A1 if he/she wants to input "X" as a command. If the user wants to input "X" as strokes, he/she selects the "stroke" selection button C. Then, a selected code is stored in the area rcode as input data. Note that if the "stroke" button C is pressed, no code is inputted. Thus, if the system cannot make clear determination among discriminate command recognition (gesture recognition), character recognition, figure recognition, or stroke input, a selection image is displayed so that the user can select recognition mode. Accordingly, in each recognition mode, it is not necessary to consider any possible recognition code in another recognition mode. Note that the similarity in the present embodiment may be replaced with any value so far as it indicates reliability of recognition. Further, the range of the value may be arbitrarily set. Since the present embodiment needs only rough reliability judgment, the values used in steps S10 and S11 may be set corresponding to the level of reliability. When a plurality of recognition processings other than the above processings are used, the similarities r, the recognized codes rcode, mode flags fg may be increased in accordance with recognition processings. [Second Embodiment] Fig. 4 shows a selection image for setting the relation among a plurality of recognition processings, of the data input apparatus 1001 according to a second embodiment of the present invention. This embodiment basically has the same construction as that of the first embodiment, except that the operation in the flowchart of Fig. 5 is different in some steps from that of Fig. 3. The difference from the first embodiment will be described with reference to Figs. 4 and 5. In Fig. 4, a slide 10 is used for setting parameter of displaying a selection image. The parameter is a reference value for determining the similarity. When the slider 101 is moved leftward, a selection image is not displayed often even if a plurality of codes with in a plurality of recognition modes are picked up as very similar to each other. On the other hand, when the slider 101 is moved rightward, a selection image is often displayed even if picked-up codes are not so similar to each other. Thus, the range value (20 in step S11) for comparing the maximum similarity mr with its close value is changed by manipulating the parameter setting slide 10. In the first embodiment, this range value is fixed, however, in this embodiment, a value set by the slide 10 is stored into a storage area, and it is read out of the storage area at each processing. For example, assuming that the value of the left end position of the slide 10 is "0" and that of the right end position is "40", a value between these set values is linearly set depending upon the position of the slider 101 and stored in a storage area rr. In step S11' in Fig. 5, the value is read out of the storage area rr, and whether or not a value (mr-rr) exists is examined. In this manner, the user can arbitrarily change the parameter for selection-image displaying. In Fig. 4, numerals 11 to 13 denote areas for setting priority of respective recognition modes. The priorities are determined by respectively inputting numerals corresponding to the areas. For example, if the areas 11 to 13 all have a value "100", gesture recognition, character recognition and figure recognition all have the same priority. When the areas 11 to 13 have values "100", "70" and "70" respectively, gesture recognition has a higher priority than other recognition modes. The input values are percentage values to be used in multiplication of the recognition similarities. Actually, in step S8.5, the respective recognition similarities are multiplied by the set percentages. In a case where the percentages are 100: 70: 70, the recognition similarities r are, r0= r0 * 0.7, r1 = r1 * 0.7, r2 = r2 * 1.0; i.e., the similarities of figure recognition and character recognition are lowered, and as a result, an input locus is likely to be recognized as a gesture command. Note that if there are codes very similar to each other, a selection image is outputted for the user to select a recognition mode, similar to the processing in Fig. 3. In Fig. 4, input of percentage values are made before locus input. Fig. 5 shows the operation as described above in detail. The processing in Fig. 5 is basically-the same as that in Fig. 3 except additional steps S8.5, S10.5 and modified step S11'. In step S8.5, to control the priorities of recognitions, the respective similarities are multiplied with input percentage values. In step S10.5, to control selection-image display frequency, a set value is read out of the storage area rr. In step S11', a similarity range mr-rr is used. This processing allows the user to select one of command recognition (gesture recognition), character recognition, figure recognition and stroke input, if the system cannot clearly discriminate available recognition mode(s) with respect to an input locus. Accordingly, in each recognition processing, it is not necessary to consider other possible recognized shapes in other recognition process. In addition, in this embodiment, the user can arbitrarily set the selection-image display parameter and the priorities of a plurality of recognition modes. [Third Embodiment] Fig. 6 shows the construction of the data input apparatus 1001 according to a third embodiment of the present invention. In Fig. 6, the respective blocks look similar to those in Fig. 1, however, the construction is different from that of Fig. 1. This embodiment performs gesture recognition for all locus inputs, further avoids confusion of gesture recognition. In Fig. 6, a locus input unit 21 corresponds to the locus input 1 in Fig. 1; a mode discrimination unit 22, to the mode discrimination unit 2; a gesture recognition unit 23, to the gesture recognition unit 5, a selection image display unit 25, to the selection image display unit 7; a figure recognition unit 26, to the figure recognition unit 3; and a character recognition unit 27, to the character recognition unit 4. Note that the similarity judgment unit 24 is different from the similarity judgment unit 6 in operation. Fig. 7 shows a similarity table used by the similarity judgment unit 24. The similarity table is included in the similarity judgment unit 24. In Fig. 7, a column 71 contains input loci; column 72, gesture codes; column 73, figure codes for discriminating figure type; and column 74, character codes. For simplicity of explanation, Fig. 7 conceptually illustrates the table with shapes instead of actual codes. Note that the input-locus column 71 does not exist in an actual similarity table. Fig. 7 shows the column 71 merely to show the corresponding codes for each input. Fig. 8 shows the processing procedure according to the third embodiment, i.e., processings by the gesture recognition unit 23 to the character recognition unit 27, to obtain a recognition result. The processing in Fig. 8 is realized by executing a program by the CPU 902 in Fig. 9. The operation of the third embodiment will be described below with reference to the flowchart of Fig. 8. In step S800, the mode flags fg(0) to fg(2) are set in a similar manner to that in step S2 of the first embodiment. In step S801, the gesture recognition unit 23 is activated, and a gesture code code2 and its similarity r2 are set as the recognition results. Next, the process proceeds to steps S802 and S803 for similarity judgment. In step S802, the similarity is checked. If the similarity r2 which is the reliability of the gesture recognition result is over a set threshold "70", i.e., the reliability is high, the process proceeds to step S803 in which the similarity table as shown in Fig. 7 is searched. This search is made by examining whether or not a gesture code in column 72 coincides with the code2. For example, when a trace 701 is inputted and a code 702 is recognized as the recognition result, it is determined that a figure code 703 and a character code 704 correspond to the input trace 701. Then, these codes 703 and 704 are set as code0 and codel, and the process proceeds to step S804, in which the result of the table search, i.e., whether similar codes are retrieved or not is determined. If YES, the process proceeds to step S805 in which a selection image is outputted, so that the user selects a desired recognition mode. The code of the selected mode is determined as the final recognized code, and the process ends. The selection image may be as shown in Figs. 2A and 2B. If it is determined in step S802 that the recognition reliability is not high, the process proceeds to steps S806 and S808, in which the mode flags fg(0) and fg(1) are checked, and figure recognition in step S807 or character recognition in step S808 is activated. Then, the recognized code is determined as the final recognition result, and the process ends. Thus, one shape can be commonly used in a plurality of recognition processings such as character recognition, command recognition and gesture recognition. Although the present embodiment uses only one recognition processing, i.e., the gesture recognition, the present embodiment enables higher processing than the processing in the first embodiment, since the first embodiment activates all the recognition modes, while this embodiment perform recognition processing on one symbol-structure data by one recognition mode. Further, the combination of the third embodiment with the first embodiment or the second embodiment will attain concurrent use of plurality of recognition processing with high speed. [Fourth Embodiment] Next, the data input apparatus 1001 according to a fourth embodiment, in which a plurality of recognition modes can be used, will be described. The input apparatus has the same construction as that of the third embodiment shown in Fig. 6, and has a similarity table as shown in Fig. 7. The difference from the third embodiment is the processing procedure shown in Fig. 11. The processing procedure according to the fourth embodiment will be described with reference to Fig. 11. In Fig. 11, the process starts when a set of symbol data is inputted. In step S1100, the mode flags fg(0) to fg(2) are set in a similar manner to that in step S2 of the first embodiment. In step S1101, gesture recognition is performed, and the obtained code and its similarity are set as the recognized gesture code2 and the similarity r2. In step S1102, the similarity value is examined whether it equal to a set threshold "70" or greater. If it is "70" or greater, the similarity table is searched in step S1103. The retrieved code is examined in step S1104, and if another code with high similarity exists, these codes are displayed in the form as shown in Fig. 2A or 2B for the user's selection. Then, the determined code is set as the final recognition result rcode. If there is no other code, the gesture code code2 is determined as the final recognition result. On the other hand, if the similarity r2 is less than the threshold "70", whether or not figure recognition mode is set is examined in step S1106. If YES, figure recognition is performed in step S1107, and the obtained code and its similarity are set as the recognized figure code code0 and the similarity r0. Next, the similarity r0 is examined in step S1108, and if it is "70" or greater, the figure code0 is determined as the final recognition result. If gesture recognition and figure recognition have not obtained a final recognition result, whether or not character recognition is set is examined in step S1109. If YES, character recognition is performed in step S1110, and the obtained code and its similarity are set as the recognized character code code1 and the similarity r1. If the similarity r1 is "70" or greater, the code 1 is determined as the final recognition result. If the similarity r1 is less than "70", it is determined that there is no code corresponding to the input symbol-structure data, and the process ends. In this processing, if a gesture code is recognized, the table is searched for code of similar shape, thus attaining high-speed processing. If a recognition result having a similarity "70" or greater is not found, the processing moves from the current mode to another recognition mode, thus performs gesture recognition, figure recognition and character recognition, with respect to one input. The present invention can be applied to a system constituted by a plurality of devices, or to an apparatus comprising a single device. Furthermore, the invention is applicable also to a case where the object of the invention is attained by supplying a program to a system or apparatus.

Claims: An image recognition apparatus for recognizing data input in the form of a locus or a series of linked loci, comprising: input means (1) for inputting the data; recognition means (3; 4; 5) for recognizing an image represented by the data input by said input means as shapes having different functions, such as gesture and character in a plurality of recognition modes so as to obtain first candidates for a recognition result in each of the plurality of recognition modes; judgment means for judging whether or not the first candidates so obtained have shapes which are similar to each other; and selection means (7, 8) for selecting in accordance with a designation by a user one from the first candidates as the recognition result when the first candidates have similar shapes to each other as determined by the judgment means. Apparatus according to claim 1, further comprising display means (7, 903) for displaying shapes corresponding to the first candidates which are judged as having similar shapes to each other by said judgment means, wherein said selection means is adapted to select one of the displayed shapes corresponding to the first candidates in accordance with a designation by a user. Apparatus according to claim 1 or claim 2, wherein the plurality of recognition modes include a character recognition mode for recognizing an input data as a character and a command recognition mode for recognizing an input data as a command to edit characters of the input data. Apparatus according to claim 1, wherein said recognition means is adapted to obtain similarities between the input image and shapes corresponding to the recognized functions in the plurality of recognition mode, and wherein said judgment means judges whether or not the first candidates have similar shapes to each other, in accordance with the similarities obtained by said recognition means. Apparatus according to claim 4, wherein if the difference between similarities between the input image and the shapes corresponding to the first candidates is less than a predetermined value, said judgment means is adapted to judge that the first candidates have similar shapes to each other. Apparatus according to claim 5, further comprising input means (101) for inputting the predetermined value. Apparatus according to any one of claims 5 or 6, further comprising priority input means (11, 12, 13) for inputting priorities, wherein said judgment means is adapted to judge whether or not the first candidates have similar shapes to each other, in accordance with the similarities weighted by the priorities. Apparatus according to any one of claims 4 to 7, wherein said judgment means is adapted to judge whether or not the first candidates have similar shapes to each other when the maximum value among the similarities is greater than a predetermined threshold value. Apparatus according to any preceding claim, wherein if the recognition of input data is successful in only one recognition mode, said selection means selects a recognized shape from the recognition as a recognition result. Apparatus according to any preceding claim, wherein said shapes recognized by said recognition means have functions including a figure. Apparatus according to any preceding claim, wherein said input means include a digitizer for input of a locus. Apparatus according to any preceding claim, further comprising output means (8) for outputting a recognition result for the input data. A method of recognizing input data, comprising: inputting data in the form of a locus or a series of linked loci, a recognition step (S4; S6; S8) of recognizing an input image as shapes having different functions, such as gesture and character, in a plurality of recognition modes and obtaining first candidates of a recognition result in each of the plurality of recognition modes; a judgment step (S11) of judging whether or not the first candidates have shapes which are similar to each other; and a selection step (S12) of selecting in accordance with a designation by a user one from the first candidates as the recognition result when the first candidates have similar shapes to each other as indicated by the judgment step. A method according to claim 13, further comprising a display step of displaying shapes of the first candidates which are judged as having similar shapes to each other in said judgment step, wherein one shape is selected from the displayed shapes corresponding to the first candidates in said selection step, in accordance with a designation by a user. A method according to claim 13, further comprising an output step of outputting a recognition result for the input data.

Inventors: ARAI TSUNEKAZU, SAKAGUCHI KATSUHIKO, TAKASU EIJI, YOSHII HIROTO, ARAI, TSUNEKAZU, SAKAGUCHI, KATSUHIKO, TAKASU, EIJI, YOSHII, HIROTO, ARAI, TSUNEKAZU, C/O CANON K.K., SAKAGUCHI, KATSUHIKO, C/O CANON K.K., TAKASU, EIJI, C/O CANON K.K., YOSHII, HIROTO, C/O CANON K.K.
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1995
Main classification: G06K9
IPC codes: G06K9