Information processing apparatus and control method

Through segmentation, classification and rendering processing technology, handwritten strokes are segmented and classified, and the shape of the strokes is adjusted, which solves the problem of difficulty in displaying beautiful characters during handwriting input in the existing technology, and achieves the effect of displaying beautiful Chinese characters while maintaining the advantages of handwriting. .

CN118860184APending Publication Date: 2024-10-29LENOVO (SINGAPORE) PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410298574.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-03-15
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

It is difficult for existing information processing devices to maintain the advantages of handwriting while displaying beautiful text during handwriting input. In particular, it is difficult to adjust the ink thickness of details such as midpoints and hooks of complex Chinese characters.

Method used

The handwritten strokes are segmented by the segmentation processing unit, and the classification processing unit classifies them into text elements of the basic pattern, adjusts the stroke shape based on the brush information and pen pressure characteristics of the rendering processing unit, and performs classification and rendering by combining filtering processing and learning models. displayed on the display.

Benefits of technology

It achieves the display of beautiful text, especially Chinese characters, while maintaining the advantages of handwriting, and avoids the problems of disappearing handwriting and loss of freedom.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860184A_ABST
    Figure CN118860184A_ABST
Patent Text Reader

Abstract

The invention provides an information processing apparatus. While maintaining the advantages of handwriting during handwriting input, beautiful characters are displayed. An information processing device is provided with: a division processing unit that divides an input handwritten stroke at a corner portion and generates divided partial strokes; a classification processing unit which classifies the partial strokes segmented by the segmentation processing unit into any one of a plurality of character elements which are basic patterns of characters constituting Chinese characters; and a rendering processing unit that adjusts the shape of the partial strokes on the basis of brush information and brush pressure characteristics corresponding to the character elements classified by the classification processing unit, and displays the partial strokes on a display unit. The classification processing unit classifies the partial strokes by using a filtering process that removes classification into an inappropriate character element using an allowable range based on a stroke angle, which is an angle indicating a drawing direction of the partial strokes in the character element, and a connection relationship between the partial strokes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an information processing device and a control method. Background Art

[0002] In recent years, devices capable of handwritten text input have become popular in information processing devices such as tablet terminals (see, for example, Patent Document 1). In such conventional information processing devices, there is a known technique for recognizing handwritten text input and converting it into a predetermined font.

[0003] Patent document 1: Japanese Patent Application Publication No. 2021-43851.

[0004] In the above-mentioned conventional information processing devices, beautiful text can be displayed by converting handwritten text into a prescribed font. However, in conventional information processing devices, since the text is replaced with a prescribed font, the user's handwriting disappears, and the freedom of handwriting such as the aspect ratio and size of the text brought by handwriting is lost, and the advantages of handwriting disappear. On the other hand, in conventional information processing devices, it is also possible to adjust the rendering thickness of the ink for the text drawn by the pen based on the pen pressure and the like, and display it. However, in such a case, on a tablet terminal whose surface is harder and more slippery than paper, it is very difficult to draw dots, hooks, and strokes that require fine adjustment of the ink thickness, which are often required in complex text such as Chinese characters. That is, in conventional information processing devices, it is difficult to display beautiful text while maintaining the advantages of handwriting. Summary of the invention

[0005] The present invention is made to solve the above-mentioned problems, and its object is to provide an information processing device and a control method that can display beautiful text, especially Chinese characters, while maintaining the advantages of handwriting during handwriting input.

[0006] In order to solve the above-mentioned problems, one embodiment of the present invention is an information processing device, comprising: a segmentation processing unit, which segments an input handwritten stroke at a corner portion to generate segmented partial strokes; a classification processing unit, which classifies the partial strokes segmented by the segmentation processing unit into any one of a plurality of text elements that are basic patterns of text constituting Chinese characters; and a rendering processing unit, which adjusts the shape of the partial strokes based on brush information and pen pressure characteristics corresponding to the text elements classified by the classification processing unit, and displays the partial strokes on a display unit, wherein the classification processing unit classifies the partial strokes using a filtering process based on an angle representing the drawing direction of the partial stroke in the text element, i.e., an allowable range of the stroke angle, and a front-back connection relationship of the partial stroke to remove the classification into inappropriate text elements.

[0007] In addition, one embodiment of the present invention may also be provided in the above-mentioned information processing device, comprising: a filter information storage unit for storing the above-mentioned text elements and connection possibility information in correspondence, the connection possibility information indicating whether the front and back of the above-mentioned partial strokes can be connected, and whether the above-mentioned partial strokes can be connected separately, according to the range of the above-mentioned stroke angle, and the above-mentioned classification processing unit performing the above-mentioned filtering processing based on the above-mentioned connection possibility information corresponding to the above-mentioned text elements stored in the above-mentioned filter information storage unit.

[0008] In addition, one method of the present invention may also be that in the above-mentioned information processing device, the above-mentioned classification processing unit combines the shape classification processing for classifying the shapes of the above-mentioned partial strokes based on a classification model and the above-mentioned filtering processing to classify the above-mentioned partial strokes into the above-mentioned text elements, and the classification model is a classification model generated by performing learning processing on the above-mentioned partial strokes of the user's handwritten characters in advance The above-mentioned text elements are corresponding to the learning data, and the above-mentioned text elements are classified according to the above-mentioned partial strokes.

[0009] In addition, one method of the present invention may also be that in the above-mentioned information processing device, the above-mentioned classification processing unit extracts multiple candidates of the above-mentioned text elements through the above-mentioned shape classification processing based on the above-mentioned classification model, removes inappropriate above-mentioned text elements from the above-mentioned multiple candidates through the above-mentioned filtering processing, and classifies the above-mentioned partial strokes as the above-mentioned text elements whose confidence is above a threshold among the remaining candidates and the candidate with the highest above-mentioned confidence.

[0010] In addition, one embodiment of the present invention may also be provided in the above-mentioned information processing device, comprising: a brush information storage unit, which stores the above-mentioned text elements and the above-mentioned brush information including the size, aspect ratio, and angle of the brush used in correspondence; and a pen pressure characteristic storage unit, which stores the above-mentioned text elements and a pressure curve representing the relationship between the stroke position and the pen pressure in the text elements in correspondence, the above-mentioned rendering processing unit obtains the above-mentioned brush information corresponding to the above-mentioned classified text elements from the above-mentioned brush information storage unit, obtains the above-mentioned pressure curve corresponding to the above-mentioned classified text elements from the above-mentioned pen pressure characteristic storage unit, and adjusts the shape of the above-mentioned partial strokes based on the obtained brush information and the above-mentioned pressure curve.

[0011] In addition, one embodiment of the present invention may also be provided in the above-mentioned information processing device, comprising: the above-mentioned display unit; a touch sensor unit, detecting contact and contact position of an operating medium on a detection surface on a screen of the above-mentioned display unit; and an input processing unit, detecting input of the above-mentioned handwritten strokes based on the contact position of the above-mentioned operating medium detected by the above-mentioned touch sensor unit, the above-mentioned input processing unit detecting the input of the above-mentioned handwritten strokes, and displaying the moving trajectory of the contact position of the above-mentioned operating medium as the input above-mentioned handwritten strokes on the above-mentioned display unit, and the above-mentioned rendering processing unit replacing the above-mentioned input above-mentioned handwritten strokes, and displaying the above-mentioned handwritten strokes with adjusted shapes on the display unit.

[0012] In addition, one embodiment of the present invention is a control method, which is a control method for an information processing device, comprising: a segmentation processing step in which a segmentation processing unit segments an input handwritten stroke at a corner portion to generate segmented partial strokes; a classification processing step in which a classification processing unit classifies the partial strokes segmented by the segmentation processing unit into any one of a plurality of text elements that are basic patterns of text that constitute Chinese characters; and a rendering processing step in which a rendering processing unit adjusts the shape of the partial strokes based on brush information and pen pressure characteristics corresponding to the text elements classified by the classification processing unit, and displays the partial strokes on a display unit, wherein in the classification processing step, the classification processing unit classifies the partial strokes using a filtering process based on an angle representing a drawing direction of the partial stroke in the text element, i.e., an allowable range of a stroke angle, and a front-back connection relationship of the partial stroke to remove the classification into inappropriate text elements.

[0013] According to the above aspect of the present invention, during handwriting input, beautiful characters (especially Chinese characters) can be displayed while maintaining the advantages of handwriting. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is an external view showing an example of a tablet terminal and an information processing system according to the present embodiment.

[0015] Figure 2 This is a diagram showing an example of the main hardware configuration of the tablet terminal and the information processing system according to the present embodiment.

[0016] Figure 3 This is a block diagram showing an example of the functional configuration of the tablet terminal and the information processing system according to the present embodiment.

[0017] Figure 4 It is a diagram showing a data example of the brush information storage unit in this embodiment.

[0018] Figure 5This is a diagram showing an example of a text element in this embodiment.

[0019] Figure 6 It is a diagram showing a data example of the writing pressure characteristic storage unit in this embodiment.

[0020] Figure 7 It is a diagram showing a data example of the filter information storage unit in this embodiment.

[0021] Figure 8 This is a diagram showing an example of a stroke angle in this embodiment.

[0022] Fig. 9 This is a diagram showing an overview of handwriting input processing by the tablet terminal in the present embodiment.

[0023] Fig.10 This is a flowchart showing an example of handwriting input processing of the tablet terminal according to the present embodiment.

[0024] Fig.11 This is a flowchart showing the details of the classification process of the tablet terminal according to the present embodiment.

[0025] Fig.12 This is a flowchart showing an example of a learning process of the tablet terminal according to the present embodiment.

[0026] Description of Reference Numerals

[0027] 1…tablet terminal, 10…control unit, 11…processor, 12…main memory, 13…flash memory, 20…touch screen, 21…display unit, 22…touch sensor unit, 23…peripheral device, 24…audio system, 25…microphone, 26…speaker, 27…baseband chip, 28…wireless unit, 29, 31…wireless communication unit, 30…pen, 32…sensor unit, 33…memory, 34…MCU, 40…storage unit, 41…brush information storage unit, 42…pen pressure characteristic storage unit, 43…CE classification information storage unit, 44…filter information storage unit, 45…handwritten stroke storage unit, 46…partial stroke storage unit, 47…learning data storage unit, 100…information processing system, 101…input processing unit, 102…segmentation processing unit, 103…classification processing unit, 104…rendering processing unit, 105…display processing unit, 106…learning processing unit. DETAILED DESCRIPTION

[0028] Hereinafter, an information processing device and a control method according to an embodiment of the present invention will be described with reference to the drawings.

[0029] Figure 1 1 is an external view showing an example of the tablet terminal 1 and the information processing system 100 according to the present embodiment.

[0030] like Figure 1 As shown, the information processing system 100 includes a tablet terminal 1 and a pen 30. In addition, in this embodiment, the tablet terminal 1 is described as an example of an information processing device.

[0031] The tablet terminal 1 has a touch screen 20 on one main surface of the housing CS1, and uses a pen 30 to execute applications such as notepad and drawing. The tablet terminal 1 can perform handwriting input using the pen 30. In addition, the pen 30 can be set to various types of brushes (pens) for handwriting input.

[0032] The touch screen 20 includes a display unit 21 and a touch sensor unit 22 . The display unit 21 displays various information on the display screen DF.

[0033] The touch sensor portion 22 is arranged to overlap with the display portion 21 , detects contact of the pen 30 with the display screen DF of the display portion 21 , and detects a contact position of the pen 30 .

[0034] Note that the touch screen 20 , the display unit 21 , and the touch sensor unit 22 will be described in detail later.

[0035] Next, refer to Figure 2 , the main hardware configuration of the tablet terminal 1 and the information processing system 100 is described.

[0036] Figure 2 This is a diagram showing an example of the main hardware configuration of the tablet terminal 1 and the information processing system 100 according to the present embodiment.

[0037] like Figure 2 As shown, the information processing system 100 includes a tablet terminal 1 and a pen 30. The tablet terminal 1 also includes a processor 11, a main memory 12, a flash memory 13, a touch screen 20, a peripheral device 23, an audio system 24, a microphone 25, a speaker 26, a baseband chip 27, a wireless unit 28, and a wireless communication unit 29.

[0038] The processor 11 is, for example, an application processor including a CPU (Central Processing Unit) and controls the entire tablet terminal 1 .

[0039] The main memory 12 is a writable memory used as a read area for the execution program of the processor 11 or as a work area for writing processing data of the execution program. The main memory 12 is composed of a plurality of DRAM (Dynamic Random Access Memory) chips, for example. The execution program includes an OS (Operating System), various device drivers for hardware operations of peripheral devices, various services / utilities, and application programs (application software).

[0040] The flash memory 13 is, for example, a flash EEPROM (Electrically Erasable Programmable Read Only Memory), and stores an OS, various drivers, various services / utilities, application programs (hereinafter, sometimes referred to as applications), and various data.

[0041] The display unit 21 is, for example, a liquid crystal display or an organic EL (Electro-Luminescence) display, and displays a display screen based on drawing data (display data) output from the processor 11. The display unit 21 can display, for example, a movement trajectory (drawing trajectory) of the pen 30.

[0042] The touch sensor unit 22 detects the position of the operation medium such as the pen 30 on the screen of the display unit 21 (on the display screen DF) and the contact of the pen 30 on the screen. The touch sensor unit 22 detects the contact position of the pen 30 on the screen of the display unit 21.

[0043] The peripheral device 23 is, for example, a WLAN (Wireless Local Area Network) module, a GPS (Global Positioning System) module, an acceleration sensor or other sensors.

[0044] The audio system 24 is, for example, an audio IC (Integrated Circuit), and performs input, recording, playback, and output of audio data. A microphone 25 and a speaker 26 are connected to the audio system 24, for example. The audio system 24 outputs the audio data collected by the microphone 25 to the processor 11 or the baseband chip 27. In addition, the audio system 24 converts the audio data obtained from the processor 11 or the baseband chip 27 into an audio signal, and outputs it to the speaker 26.

[0045] The microphone 25 collects sounds around the tablet terminal 1. The microphone 25 collects sounds such as the user's voice when performing speech synthesis with other terminals, for example.

[0046] The speaker 26 outputs various sounds to the outside of the tablet terminal 1. For example, when performing speech synthesis with another terminal, the speaker 26 outputs (plays) the sound received from the other terminal.

[0047] The baseband chip 27 is, for example, a dedicated IC for controlling wireless communications such as 4G (fourth generation mobile communication system) and 5G (fifth generation mobile communication system). The baseband chip 27 outputs, for example, voice data received using the wireless unit 28 to the speaker 26 via the audio system 24. In addition, the baseband chip 27 obtains, for example, voice data collected from the microphone 25 via the audio system 24, and outputs it through the mobile communication system using the wireless unit 28. In addition, the baseband chip 27 performs data communication with the processor 11 for input and output data of data communication of the mobile communication system.

[0048] The wireless unit 28 is a wireless communication device including an antenna for performing wireless communication in a mobile communication system.

[0049] The wireless communication unit 29 is, for example, a Bluetooth (registered trademark) module, and performs wireless communication with the pen 30. The wireless communication unit 29 receives, for example, sensor information (contact pressure, angle of the pen 30, etc.) detected by the pen 30 from the pen 30.

[0050] The pen 30 is a pen-shaped operating medium, such as a touch pen, a stylus pen, etc. The pen 30 can communicate with the tablet terminal 1 through wireless communication such as Bluetooth (registered trademark). The pen 30 includes a wireless communication unit 31, a sensor unit 32, a memory 33, and an MCU 34.

[0051] The wireless communication unit 31 performs wireless communication between the tablet terminal 1 and the pen 30 , for example, through a Bluetooth (registered trademark) module. The wireless communication unit 31 transmits sensor information detected by the sensor unit 32 to the tablet terminal 1 , for example.

[0052] The sensor unit 32 detects sensor information such as the contact pressure (pen pressure) of the pen 30 and the angle of the pen 30 .

[0053] The memory 33 is composed of, for example, a RAM, and stores a part of the control program of the pen 30 and processing data of the MCU 34. In addition, the memory 33 may include a flash memory, a ROM, and the like in addition to the RAM.

[0054] The MCU (Micro Controller Unit) 34 includes a CPU, a memory such as ROM or RAM, I / O related, etc., and comprehensively controls the pen 30. The MCU 34 controls data communication with the tablet terminal 1 via the wireless communication unit 31. For example, the MCU 34 transmits sensor information detected by the sensor unit 32 to the tablet terminal 1 via the wireless communication unit 31.

[0055] Next, refer to Figure 3 , the functional structure of the information processing system 100 of this embodiment is described.

[0056] Figure 3 This is a block diagram showing an example of the functional configuration of the tablet terminal 1 and the information processing system 100 according to the present embodiment.

[0057] like Figure 3 As shown, the information processing system 100 includes a tablet terminal 1 and a pen 30 . The tablet terminal 1 includes a control unit 10 , a touch screen 20 , and a storage unit 40 .

[0058] The touch screen 20 includes a display unit 21 and a touch sensor unit 22 .

[0059] The touch sensor unit 22 detects contact and contact position of the operating medium (pen 30) on the detection surface on the screen of the display unit 21. The touch sensor unit 22 detects, for example, the contact position of the pen 30 on the screen of the display unit 21 as pen input. The touch sensor unit 22 detects, for example, contact position information indicating two-dimensional coordinates on the display screen DF of the display unit 21 as the contact position of the pen 30. The touch sensor unit 22 outputs the contact position information to the control unit 10.

[0060] The storage unit 40 is, for example, a storage unit implemented by the main memory 12 or the flash memory 13, and includes a brush information storage unit 41, a pen pressure characteristic storage unit 42, a CE classification information storage unit 43, a filter information storage unit 44, a handwritten stroke storage unit 45, a partial stroke storage unit 46, and a learning data storage unit 47.

[0061] The brush information storage unit 41 is a storage unit implemented by the main memory 12, for example, and stores brush information corresponding to character elements (CE: Character Element), which are basic components (basic patterns constituting characters of Chinese characters) obtained by dividing Chinese characters. Figure 4 , a data example of the brush information storage unit 41 is described.

[0062] Figure 4 2 is a diagram showing an example of data in the brush information storage unit 41 in this embodiment.

[0063] like Figure 4 As shown, the brush information storage unit 41 stores by associating a CEID (character element ID), brush size, aspect ratio, standard brush angle, and standard stroke angle.

[0064] The CEID is character element identification information for identifying a character element. Additionally, the brush size indicates the size of the brush. Also, the aspect ratio represents the ratio of the horizontal to the vertical of the brush, i.e., horizontal:vertical. Further, the standard brush angle indicates the standard (reference) brush angle for the character element, and the standard stroke angle indicates the standard (reference) angle of the stroke of the character element.

[0065] For example, in Figure 4 the example shown, it is shown that for a character element with a CEID of "CE001", the brush size is "R1" and the aspect ratio is "XX1:YY1". Additionally, the standard brush angle for this character element is shown as "α1" and the standard stroke angle is shown as "β1".

[0066] Here, with reference to Figure 5 , the character element will be described.

[0067] Figure 5 is a diagram showing an example of a character element in the present embodiment. In Figure 5 , the character elements of a character like "yong" which makes up a Chinese character are described.

[0068] As Figure 5 shown, a character like "yong" of a Chinese character is decomposed into character elements CE1 to CE8. Among the character elements CE1 to CE8, there are dots, hooked strokes, flicks, etc. The character elements CE1 to CE8 are respectively defined with corresponding brush information as shown above in Figure 4 .

[0069] In the present embodiment, by defining a plurality of character elements including the above-mentioned character elements CE1 to CE8 determined according to various Chinese characters and rendering (drawing) each defined character element, beautiful characters are realized in the handwritten input of Chinese characters.

[0070] In addition, the "beautiful characters" here are, for example, characters that are rendered to be similar to a favorite font.

[0071] Returning to the Figure 3 explanation, the pen pressure characteristic storage unit 42 is, for example, a storage unit implemented by the main memory 12, and stores a pressure curve (pen pressure characteristic) representing the relationship between the stroke position of a character element and the pen pressure. The pen pressure characteristic storage unit 42, for example, stores by associating the identification information of a character element with the pen pressure characteristic. Here, with reference to Figure 6 , a data example of the pen pressure characteristic storage unit 42 will be described.

[0072] Figure 6 2 is a diagram showing an example of data in the writing pressure characteristic storage unit 42 in this embodiment.

[0073] like Figure 6 As shown, the writing pressure characteristic storage unit 42 stores the CEID and the writing pressure characteristic in association with each other.

[0074] For example, in Figure 6 In the example shown, the pen pressure characteristic corresponding to CEID "CE001" is shown as a pressure curve such as waveform W1. In addition, the horizontal axis of the graph showing waveform W1 represents the stroke position, and the vertical axis represents the pen pressure (pressure). In the pressure curve, it is shown that the higher the pen pressure, the thicker the stroke line when rendered, and the lower the pen pressure, the thinner the stroke line when rendered.

[0075] In the pen pressure characteristic (waveform W1) corresponding to CEID "CE001", it is shown that the line of the stroke becomes thicker as the stroke position advances and then suddenly becomes thinner ( Figure 5 The text element CE1 shown).

[0076] In addition, for example, the pen pressure characteristic corresponding to CEID "CE002" is shown as a pressure curve such as waveform W2. In the pen pressure characteristic corresponding to CEID "CE002" (waveform W2), a text element ( Figure 5 The text element CE2 shown).

[0077] Return to Figure 3 The CE classification information storage unit 43 is, for example, a storage unit implemented by the main memory 12, and stores information for classifying character elements. The CE classification information storage unit 43 is, for example, a learned model generated by machine learning, and stores a classification model for classifying a partial stroke described later as any one of a plurality of character elements. The CE classification information storage unit 43 is an example of a model storage unit.

[0078] The filter information storage unit 44 is a storage unit implemented by the main memory 12, for example, and stores filter information used for filtering processing when classifying character elements described later. In addition, the filtering processing includes angle filtering processing that limits the stroke angle of the character element and connection filtering processing that limits the connection relationship. The filter information storage unit 44 stores filter information indicating the allowable range of the stroke angle and the connection relationship between the front and back of the partial stroke. The details of the partial stroke will be described later.

[0079] The filter information storage unit 44 stores, for example, character elements in association with connection permission information, which indicates whether the front and back of a partial stroke can be connected or whether a partial stroke can be separated according to the range of the stroke angle. Figure 7 , a data example of the filter information storage unit 44 is described.

[0080] Figure 7 2 is a diagram showing a data example of the filter information storage unit 44 in the present embodiment.

[0081] Figure 7 As shown, the filter information storage unit 44 stores the CEID in association with whether or not the front and back of a partial stroke within the range of each stroke angle can be connected, and whether or not the partial stroke can be independent.

[0082] Here, "front connection" indicates whether the partial stroke can be connected in front of the partial stroke. In the case of "yes", it indicates that it can be connected, and in the case of "no", it indicates that it cannot be connected. In addition, "back connection" indicates whether the partial stroke can be connected behind the partial stroke. In the case of "yes", it indicates that it can be connected, and in the case of "no", it indicates that it cannot be connected. In addition, "no connection" indicates whether the partial stroke can have an independent state. In the case of "yes", it indicates that it can exist independently, and in the case of "no", it indicates that it cannot exist independently.

[0083] In addition, if Figure 8 As shown, the stroke angle is based on the angle of the straight line representing the start point to the end point of the partial stroke, and is an angle β measured by rotating the positive X-axis to the left with 0 degrees (reference).

[0084] Figure 8 This is a diagram showing an example of a stroke angle in this embodiment.

[0085] exist Figure 8 In the above, the origin of the XY coordinates is set as the starting point SP of the partial stroke SS, and the angle β from the starting point SP toward the end point EP is defined as the stroke angle. That is, the stroke angle is based on the angle of the straight line representing the starting point to the end point of the partial stroke. In addition, in each character element, the standard angle of the stroke angle β is set as the standard stroke angle.

[0086] In addition, the stroke angle may be an angle indicating the drawing direction of the partial stroke at the starting point of the partial stroke, or an angle indicating the drawing direction of the partial stroke at the ending point of the partial stroke.

[0087] Return to Figure 7 In the description, Figure 7In the example shown, it is shown that for the character element with CEID "CE001", "front connection", "back connection" and "no connection" are "yes" in the range of stroke angle "0 degrees ≤ β < 30 degrees", and "no" in other stroke angle ranges. In this case, it means that when the stroke angle of some strokes is in the range of "0 degrees ≤ β < 30 degrees", the character element is allowed, and removed in other cases.

[0088] Return to Figure 3 As described above, the handwritten stroke storage unit 45 is a storage unit implemented by the main memory 12, for example, and stores handwritten stroke data detected by the touch sensor unit 22 using the pen 30. The handwritten stroke storage unit 45 stores, for example, the set data of the time series of detection points based on the touch sensor unit 22 when handwriting input of Chinese characters is performed as handwritten strokes. In addition, the handwritten stroke storage unit 45 stores, for example, the position information of the time series of detection points in correspondence with the contact pressure (pen pressure).

[0089] The partial stroke storage unit 46 is a storage unit realized by, for example, the main memory 12, and stores data of partial strokes generated from handwritten strokes. Details of the partial strokes will be described later.

[0090] The learning data storage unit 47 is a storage unit realized by the main memory 12, for example, and stores learning data for generating the above-mentioned classification model. The learning data storage unit 47 stores learning data in which partial strokes of a character handwritten by a user in advance are associated with character elements.

[0091] The control unit 10 is a functional unit realized by, for example, the processor 11 executing a program stored in the main memory 12 or the flash memory 13, and performs various processes based on an OS (for example, Android (registered trademark)). The control unit 10 includes an input processing unit 101, a segmentation processing unit 102, a classification processing unit 103, a rendering processing unit 104, a display processing unit 105, and a learning processing unit 106.

[0092] The input processing unit 101 is a functional unit realized by the processor 11 executing a program stored in the main memory 12 or the flash memory 13. The input processing unit 101 is, for example, a device driver that controls the input of the touch sensor unit 22, and detects the position and contact of the pen 30 on the screen of the display unit 21 (on the display screen DF) through the input of the touch sensor unit 22.

[0093] The input processing unit 101 may also acquire contact pressure (writing pressure) and angle information of the pen 30 from the pen 30. In the present embodiment, the input processing unit 101 detects time-series position information of detection points and corresponding contact pressure (writing pressure).

[0094] The input processing unit 101 detects the input of a handwritten stroke based on the contact position of the operating medium (e.g., the pen 30) detected by the touch sensor unit 22. That is, the input processing unit 101 associates the contact position information (position coordinates) of the pen 30 detected, that is, the position information of the detection point in time series with the contact pressure (pen pressure) as a handwritten stroke, and stores it in the handwritten stroke storage unit 46.

[0095] In addition, a handwritten stroke, or simply called a stroke, which represents the collection data of detection points of the trajectory of the pen tip from the contact (touch) of the pen 30 to the separation (lift) of the contact of the pen 30, may also include data for displaying the trajectory of the pen tip on the screen of the display unit 21 (on the display screen DF).

[0096] The input processing unit 101 detects the input of handwritten strokes and displays the movement trajectory of the contact position of the operation medium as the input handwritten strokes on the display unit 21. The input processing unit temporarily displays the input handwritten strokes on the display unit 21 via the display processing unit 105 described later.

[0097] The segmentation processing unit 102 is a functional unit realized by the processor 11 executing a program stored in the main memory 12 or the flash memory 13. The segmentation processing unit 102 segments the handwritten strokes input by the user at the corners to generate segmented partial strokes. The segmentation processing unit 102 segments the handwritten strokes stored in the handwritten stroke storage unit 45 by the input processing unit 101 into partial strokes.

[0098] Specifically, if Fig. 9 As shown in step S11, the segmentation processing unit 102 segments the handwritten stroke ST1 having two corners at the corner portion to generate a partial stroke SS1, a partial stroke SS2, and a partial stroke SS3.

[0099] The segmentation processing unit 102 stores the segmented partial strokes in the partial stroke storage unit 46 .

[0100] The classification processing unit 103 is a functional unit realized by executing a program stored in the main memory 12 or the flash memory 13 by the processor 11. The classification processing unit 103 classifies the partial strokes segmented by the segmentation processing unit 102 into any one of a plurality of character elements that are basic patterns constituting a Chinese character. The classification processing unit 103 classifies the partial strokes using a filtering process that removes the classification into inappropriate character elements based on the angle representing the drawing direction of the partial strokes in the character element, that is, the allowable range of the stroke angle and the front-back connection relationship of the partial strokes.

[0101] The classification processing unit 103 combines shape classification processing and filtering processing to classify partial strokes into character elements. In the shape classification processing, the classification processing unit 103 classifies the shapes of partial strokes into character elements based on a classification model that classifies character elements according to partial strokes. Here, the classification model is a learned model generated by performing a learning process on learning data, and the learning data establishes a correspondence between partial strokes of a character handwritten by a user for a pre-specified character and a character element. In addition, the classification processing unit 103 can extract multiple candidates for character elements through the shape classification processing, for example, together with the confidence level.

[0102] In addition, the classification processing unit 103 performs filtering processing based on the connection permission information corresponding to the character elements stored in the filter information storage unit 44. The classification processing unit 103 removes the classification into inappropriate character elements from the multiple candidates of the character elements according to the connection permission information. The classification processing unit 103 removes inappropriate character elements from the multiple candidates through filtering processing, and classifies the partial strokes into character elements of the remaining candidates, for example, the character elements whose confidence is above the threshold and whose confidence is the highest.

[0103] Specifically, if Fig. 9 As shown in step S12, the classification processing unit 103 classifies the partial stroke SS1 as the character element CE2 and the partial stroke SS2 as the character element CE3 by using the shape classification processing of the classification model and the filtering processing based on the allowable range of the stroke angle and the front and back connection relationship of the partial strokes. In addition, the classification processing unit 103 uses the classification model to classify the partial stroke SS3 as the character element CE4.

[0104] Furthermore, when a handwritten stroke has no corners and cannot be divided into partial strokes, the classification processing unit 103 classifies the entire handwritten stroke into a character element in the same manner as the partial strokes.

[0105] The rendering processing unit 104 is a functional unit realized by the processor 11 executing a program stored in the main memory 12 or the flash memory 13. The rendering processing unit 104 adjusts the shape of a partial stroke based on the brush information and pen pressure characteristics corresponding to the text element classified by the classification processing unit 103, and displays the partial stroke on the display unit 21.

[0106] The rendering processing unit 104 obtains, for example, the brush information corresponding to the text element from the brush information storage unit 41, and obtains the pen pressure characteristic (pressure curve) corresponding to the text element from the pen pressure characteristic storage unit 42. The rendering processing unit 104 adjusts the shape of the partial stroke based on the brush information and the pen pressure characteristic (pressure curve) and performs rendering. The rendering processing unit 104 sets the brush size, aspect ratio, and brush angle according to the brush information, adjusts the thickness of the line according to the pen pressure characteristic (pressure curve), and displays the partial stroke on the display unit 21.

[0107] The rendering processing unit 104 reassembles the partial strokes whose brush angle and line thickness are adjusted to generate the adjusted handwritten strokes. The rendering processing unit 104 displays the adjusted handwritten strokes on the display unit 21 via the display processing unit 105 described later.

[0108] Specifically, if Fig. 9 As shown in step S13, the rendering processing unit 104 adjusts the partial stroke SS1, the partial stroke SS2, and the partial stroke SS3, and recombines them to generate the rendered handwritten stroke CST1.

[0109] The rendering processing unit 104 replaces the input handwritten stroke and displays the handwritten stroke based on the adjusted partial stroke on the display unit 21 .

[0110] Furthermore, when the entire handwritten stroke or a part of the stroke cannot be classified as a character element, the rendering processing unit 104 adjusts the shape of the handwritten stroke or the part of the stroke based on the pen pressure when the stroke is input, and displays it on the display unit 21. In this case, the rendering processing unit 104 adjusts the shape, for example, using a brush that is most commonly used in Chinese characters, so that the higher the pen pressure, the thicker the stroke, and the faster the stroke is drawn, the thinner the stroke.

[0111] The display processing unit 105 is a functional unit realized by the processor 11 executing a program stored in the main memory 12 or the flash memory 13. The display processing unit 105 displays a movement trajectory of the pen 30 touching and moving on the screen on the display unit 21 based on the contact position of the pen 30 detected by the touch sensor unit 22.

[0112] After temporarily displaying the input handwritten stroke on the display unit 21 , the display processing unit 105 replaces the input handwritten stroke and displays the handwritten stroke with the adjusted shape on the display unit 21 .

[0113] The learning processing unit 106 is a functional unit realized by the processor 11 executing a program stored in the main memory 12 or the flash memory 13. The learning processing unit 106 performs a learning process on the learning data stored in the learning data storage unit 47 to generate a classification model.

[0114] Here, the learning data is data in which a partial stroke of a character handwritten by a user for a pre-specified character is associated with a character element, and a plurality of characters including character elements are generated based on the handwritten strokes inputted multiple times. The learning processing unit 106 stores the generated classification model (learning result) in the CE classification information storage unit 43.

[0115] Next, the operation of the tablet terminal 1 according to the present embodiment will be described with reference to the drawings.

[0116] Fig. 9 1 is a diagram showing an overview of handwriting input processing by the tablet terminal 1 in the present embodiment.

[0117] Fig. 9 As shown, the tablet terminal 1 divides the handwritten stroke at the corner portion to generate partial strokes (step S11). The division processing unit 102 of the tablet terminal 1 divides the handwritten stroke to generate partial strokes.

[0118] Next, the tablet terminal 1 uses the classification model to classify the segmented partial strokes into simple character elements (step S12). The classification processing unit 103 of the tablet terminal 1 performs classification processing to classify the partial strokes into character elements using the classification model stored in the CE classification information storage unit 43 and the connection permission information stored in the filter information storage unit 44.

[0119] The tablet terminal 1 adjusts the shapes of the handwritten strokes based on the classified character elements for some strokes, and displays the adjusted strokes on the display unit 21 (step S13 ).

[0120] Fig.10 This is a flowchart showing an example of handwriting input processing by the tablet terminal 1 in the present embodiment.

[0121] like Fig.10 As shown, the tablet terminal 1 first determines whether a handwritten stroke is detected (step S101). The input processing unit 101 of the tablet terminal 1 determines whether a handwritten stroke is detected by the touch sensor unit 22. When the input processing unit 101 detects a handwritten stroke (step S101: Yes), the processing proceeds to step S102. In addition, when the input processing unit 101 does not detect a handwritten stroke (step S101: No), the processing returns to step S101.

[0122] In step S102, the input processing unit 101 temporarily displays the handwritten strokes on the display unit 21. The rendering used at this time is performed with a thickness corresponding to the previous pen pressure, or with the same thickness regardless of the pen pressure. That is, the input processing unit 101 displays the detected handwritten strokes on the display unit 21 via the display processing unit 105. In addition, the input processing unit 101 obtains the pen pressure corresponding to the detection point at each position from the pen 30, establishes a correspondence between the pen pressure and the handwritten stroke, and stores it in the handwritten stroke storage unit 45.

[0123] Next, the input processing unit 101 determines whether the pen 30 is separated from the screen of the display unit 21 (step S103). That is, the input processing unit 101 determines whether the input of the handwritten stroke written in one stroke is completed. When the pen 30 is separated from the screen of the display unit 21 (the input of the handwritten stroke is completed) (step S103: Yes), the input processing unit 101 advances the processing to step S104. On the other hand, when the pen 30 is not separated from the screen of the display unit 21 (the input of the handwritten stroke is not completed) (step S103: No), the input processing unit 101 returns the processing to step S102.

[0124] In step S104, the segmentation processing unit 102 of the tablet terminal 1 segments the handwritten stroke at the corner portion to generate partial strokes. Figure 7 As shown in step S11, the handwritten strokes are segmented to generate partial strokes. The segmentation processing unit 102 stores the generated partial strokes in the partial stroke storage unit 46.

[0125] Next, the classification processing unit 103 of the tablet terminal 1 classifies the partial strokes into character elements (step S105). The classification processing unit 103 combines the shape classification processing and the filtering processing to classify the partial strokes stored in the partial stroke storage unit 46 into character elements (see Figure 7 In addition, refer to step S12. Fig.11 The details of the process of step S105 of the classification processing unit 103 will be described later.

[0126] Next, the rendering processing unit 104 of the tablet terminal 1 adjusts the shape of a part of the strokes based on the brush information and pressure curve corresponding to the classified text element, and displays the handwritten strokes with the adjusted shape on the display unit 21 (step S106). That is, the rendering processing unit 104 selects the brush corresponding to the classified text element, adjusts the thickness of the part of the strokes based on the text element, and displays the handwritten strokes with the adjusted shape on the display unit 21. The rendering processing unit 104 acquires the brush information corresponding to the classified text element from the brush information storage unit 41, and adjusts the shape of the part of the strokes based on the acquired brush information, and acquires the pressure curve corresponding to the classified text element from the pen pressure characteristic storage unit 42, and adjusts the thickness of the part of the strokes based on the acquired pressure curve.

[0127] Then, the rendering processing unit 104 reassembles the adjusted partial strokes, and displays the handwritten strokes whose shapes have been adjusted on the display unit 21 (see FIG. 1 ) via the display processing unit 105. Figure 7 Step S13).

[0128] After the process of step S106 , the rendering processing unit 104 returns the process to step S101 .

[0129] Next, refer to Fig.11 , for the above Fig.10 The processing of step S105 will be described in detail.

[0130] Fig.11 This is a flowchart showing the details of the classification process of the tablet terminal 1 according to the present embodiment.

[0131] like Fig.11 As shown, the classification processing unit 103 of the tablet terminal 1 first extracts candidates of character elements corresponding to partial strokes using the classification model (step S111). The classification processing unit 103 uses the classification model stored in the CE classification information storage unit 43 to perform shape classification processing and extract candidates of character elements corresponding to partial strokes.

[0132] Next, the classification processing unit 103 removes candidates with inappropriate stroke angles and connection relationships from the character element candidates based on the filter information stored in the filter information storage unit 44 (step S112). The classification processing unit 103 obtains connection permission information corresponding to the character element from the filter information storage unit 44, and if the stroke angle is outside the allowable range or the connection relationship is not allowed, it is determined to be an inappropriate character element candidate and removed.

[0133] For example, if the "previous connection" of the connection information is "No", but there is another partial stroke before the partial stroke, the classification processing unit 103 removes the classification of the character element from the candidates. In addition, if the "no connection" of the connection information is "No", but the partial stroke exists alone, the classification processing unit 103 removes the classification of the character element from the candidates.

[0134] Next, the classification processing unit 103 classifies the partial strokes as candidate character elements having the highest degree of certainty among the remaining character element candidates and having a degree of certainty equal to or greater than a threshold value (step S113 ).

[0135] Next, the classification processing unit 103 determines whether there is a partial stroke to be classified next (step S114). If there is a partial stroke to be classified next (step S114: Yes), the classification processing unit 103 returns the process to step S111 and performs the classification process of the next partial stroke. Otherwise, if there is no partial stroke to be classified next (step S114: No), the classification processing unit 103 ends the process.

[0136] Next, refer to Fig.12 , the learning process of the tablet terminal 1 is described.

[0137] Fig.12 This is a flowchart showing an example of the learning process of the tablet terminal 1 in this embodiment.

[0138] Fig.12 As shown, the learning processing unit 106 of the tablet terminal 1 obtains the handwritten strokes of specific characters of multiple users multiple times (step S201). The learning processing unit 106 obtains the handwritten strokes of specific characters of multiple users multiple times via the input processing unit 101. In addition, it is preferred that the specific characters are multiple characters that can learn multiple predetermined character elements.

[0139] Next, the learning processing unit 106 divides each handwritten stroke into partial strokes and labels the corresponding character elements as learning data (step S202 ). The learning processing unit 106 stores the learning data in which the labels of the partial strokes and the character elements are associated in the learning data storage unit 47 .

[0140] Next, the learning processing unit 106 also performs machine learning using the learning data to generate a classification model that classifies character elements based on partial strokes (step S203). The learning processing unit 106 performs machine learning processing using the learning data stored in the learning data storage unit 47 to generate a classification model as a learning result.

[0141] Next, the learning processing unit 106 stores the classification model as the learning result in the CE classification information storage unit 43 (step S204 ). After the process of step S204 , the learning processing unit 106 ends the learning process.

[0142] As described above, the tablet terminal 1 (information processing device) of the present embodiment includes a segmentation processing unit 102, a classification processing unit 103, and a rendering processing unit 104. The segmentation processing unit 102 segments the input handwritten strokes at the corners to generate segmented partial strokes. The classification processing unit 103 classifies the partial strokes segmented by the segmentation processing unit 102 into any one of a plurality of text elements that are basic patterns constituting Chinese characters. The rendering processing unit 104 adjusts the shape of the partial strokes based on the brush information and pen pressure characteristics corresponding to the text element classified by the classification processing unit 103, and displays the partial strokes on the display unit 21. The classification processing unit 103 classifies the partial strokes using a filtering process that removes the classification into inappropriate text elements based on the angle representing the drawing direction of the partial strokes in the text element, that is, the allowable range of the stroke angle, and the front and back connection relationship of the partial strokes.

[0143] Therefore, the tablet terminal 1 of this embodiment classifies the partial strokes divided from the handwritten strokes into text elements, and adjusts the shape of each partial stroke based on the brush information and pen pressure characteristics corresponding to the text element. Therefore, in handwriting input, beautiful text (especially Chinese characters) can be displayed while maintaining the advantages of handwriting.

[0144] In addition, when the classification process of some strokes uses a technology for classification by recognizing shapes, for example, classification is performed directly based on the shapes even in the case of impossible stroke angles and connection relationships, so there is a possibility of classification as an erroneous text element. In this case, since the classification of the text element is incorrect, the shape cannot be adjusted correctly, resulting in a display of text that looks uncoordinated. In contrast, the tablet terminal 1 of this embodiment removes the classification of inappropriate text elements through filtering processing, so it is possible to suppress the classification of erroneous text elements as described above, and can display beautiful text.

[0145] In addition, in the tablet terminal 1 of this embodiment, the shape of some strokes is adjusted corresponding to the text elements based on the handwritten strokes, so that beautiful text can be displayed while maintaining the size and position of the handwritten strokes. The tablet terminal 1 of this embodiment is different from the conventional technology that simply replaces the font with a predetermined font. The user's handwriting will not disappear, and the freedom of handwriting such as the aspect ratio and size of the text based on the freedom of handwriting will not be lost.

[0146] In addition, the tablet terminal 1 of the present embodiment includes a filter information storage unit 44 for storing text elements and connection availability information in correspondence, wherein the connection availability information indicates whether the front and back of a partial stroke can be connected, and whether the partial stroke can be connected independently, according to the range of the stroke angle. The classification processing unit 103 performs filtering processing based on the connection availability information corresponding to the text elements stored in the filter information storage unit 44.

[0147] Thus, the tablet terminal 1 of the present embodiment can simply and appropriately remove classification into inappropriate text elements using the connection permission information in the filter information storage unit 44 , and can display more beautiful text using the text elements after removing the inappropriate text elements.

[0148] In addition, in the present embodiment, the classification processing unit 103 combines the shape classification processing for classifying the shapes of partial strokes based on the classification model and the filtering processing to classify the partial strokes into character elements. The classification model is a classification model generated by performing a learning process on the learning data in which the partial strokes of the characters handwritten by the user in advance are associated with the character elements, and the character elements are classified according to the partial strokes.

[0149] Thus, the tablet terminal 1 of the present embodiment can accurately classify some strokes into character elements using the classification model that is a result of machine learning, and can display more beautiful characters using the accurately classified character elements.

[0150] In addition, in the present embodiment, the classification processing unit 103 extracts multiple candidates for text elements through shape classification processing based on the classification model, removes inappropriate text elements from the multiple candidates through filtering processing, and classifies some strokes as text elements whose confidence is above a threshold and which are the candidates with the highest confidence among the remaining candidates.

[0151] Thus, the tablet terminal 1 of the present embodiment can remove inappropriate character elements and accurately and appropriately classify some strokes as character elements.

[0152] In addition, the tablet terminal 1 of the present embodiment includes a learning processing unit 106 that performs learning processing on learning data to generate a classification model, and a CE classification information storage unit 43 (model storage unit) that stores the classification model generated by the learning processing unit 106. The classification processing unit 103 classifies the partial strokes segmented by the segmentation processing unit 102 into character elements based on the classification model stored in the CE classification information storage unit 43.

[0153] As a result, the tablet terminal 1 according to the present embodiment can accurately classify some strokes as character elements using the classification model.

[0154] The tablet terminal 1 of this embodiment includes a brush information storage unit 41 for storing text elements and brush information including size, aspect ratio, and angle of a used brush in correspondence with each other, and a pen pressure characteristic storage unit 42 for storing text elements and pressure curves representing the relationship between stroke positions and pen pressures in the text elements in correspondence with each other. The rendering processing unit 104 acquires brush information corresponding to the classified text elements from the brush information storage unit 41, acquires pressure curves corresponding to the classified text elements from the pen pressure characteristic storage unit 42, and adjusts the shape of a part of the strokes based on the acquired brush information and pressure curves.

[0155] Thus, the tablet terminal 1 of this embodiment can change the brush according to the text element based on the brush information corresponding to the text element, and appropriately adjust the shape of some strokes (for example, the shape of the corner, dot, hook, etc. at the beginning and end of writing). In addition, it can appropriately adjust the thickness of some strokes according to the stroke position based on the pressure curve corresponding to the text element (for example, the change of thickness in the middle of some strokes).

[0156] In addition, the tablet terminal 1 of the present embodiment includes a display unit 21, a touch sensor unit 22 for detecting contact of an operating medium on a detection surface on the screen of the display unit 21 and a contact position, and an input processing unit 101 for detecting input of a handwritten stroke based on the contact position of the operating medium detected by the touch sensor unit 22. The input processing unit 101 detects the input of the handwritten stroke and displays the movement trajectory of the contact position of the operating medium (e.g., the pen 30) as the input handwritten stroke on the display unit 21. The rendering processing unit 104 replaces the input handwritten stroke and displays the handwritten stroke with an adjusted shape on the display unit 21.

[0157] Thus, the tablet terminal 1 of the present embodiment allows handwriting input while confirming the display by temporarily displaying the input handwriting strokes, thereby facilitating handwriting input, and can display beautiful characters by replacing the handwriting strokes with adjusted shapes.

[0158] In addition, the control method of the present embodiment is a control method of the tablet terminal 1, which includes a segmentation processing step, a classification processing step, and a rendering processing step. In the segmentation processing step, the segmentation processing unit 102 segments the input handwritten strokes at the corners to generate segmented partial strokes. In the classification processing step, the classification processing unit 103 classifies the partial strokes segmented by the segmentation processing unit 102 into any one of a plurality of text elements that are basic patterns of text constituting Chinese characters. In the rendering processing step, the rendering processing unit 104 adjusts the shape of the partial strokes based on the brush information and pen pressure characteristics corresponding to the text element classified by the classification processing unit 103, and displays the partial strokes on the display unit 21. In addition, in the classification processing step, the classification processing unit 103 uses a filtering process based on the angle representing the drawing direction of the partial strokes in the text element, that is, the allowable range of the stroke angle and the front and back connection relationship of the partial strokes to remove the classification into inappropriate text elements, and classifies the partial strokes.

[0159] Therefore, the control method of this embodiment has the same effect as that of the tablet terminal 1 described above, and can display beautiful characters (especially Chinese characters) while maintaining the advantages of handwriting in handwriting input.

[0160] In addition, the present invention is not limited to the above-mentioned embodiment, and can be modified within the scope not departing from the gist of the present invention.

[0161] For example, in the above-mentioned embodiment, the information processing device is described as an example of a tablet terminal 1, but the present invention is not limited thereto. The information processing device may be, for example, a smartphone, a notebook personal computer having a tablet mode, or the like.

[0162] In the above-mentioned embodiment, although Android (registered trademark) is used as an example of an OS to be used, the present invention is not limited to this and may be applied to other OS such as iOS (registered trademark).

[0163] In the above-described embodiment, the processing of the segmentation processing unit 102 , the classification processing unit 103 , and the rendering processing unit 104 may be implemented by an application program, or may be partially implemented by a device driver or the like.

[0164] Furthermore, when the information processing device is a notebook personal computer, part of the processing of the division processing unit 102 , the classification processing unit 103 , and the rendering processing unit 104 may be performed by an embedded controller.

[0165] In addition, in the above-mentioned embodiment, an example in which the tablet terminal 1 includes the learning processing unit 106 is described, but the present invention is not limited thereto, and for example, the tablet terminal 1 may not include the learning processing unit 106. In this case, for example, an external device such as a server device that can be connected to the tablet terminal 1 may include the learning processing unit 106.

[0166] In addition, in the above-mentioned embodiment, an example of removing inappropriate classification of stroke angles and inappropriate classification of connection relationships during filtering processing by the classification processing unit 103 is described, but it is not limited to this, and either the processing of removing inappropriate classification of stroke angles or inappropriate classification of connection relationships may be performed.

[0167] In the above-mentioned embodiment, the classification processing unit 103 may automatically detect the direction of the text input and adjust the value of the angle filter processing as the user inputs text.

[0168] In addition, each component of the tablet terminal 1 has a computer system inside. In addition, a program for realizing the functions of each component of the tablet terminal 1 is recorded on a computer-readable recording medium, and the processing in each component of the tablet terminal 1 is performed by causing the computer system to read the program recorded on the recording medium and execute it. Here, "causing the computer system to read the program recorded on the recording medium and execute it" includes installing the program on the computer system. The "computer system" mentioned here includes hardware such as OS and peripheral devices.

[0169] In addition, the "computer system" may also include a plurality of computer devices connected via a network including a communication line such as the Internet, WAN, LAN, or a dedicated line. In addition, the "computer-readable recording medium" refers to a removable medium such as a floppy disk, a magneto-optical disk, a ROM, a CD-ROM, or a storage device such as a hard disk built into the computer system. In this way, the recording medium storing the program may also be a non-temporary recording medium such as a CD-ROM.

[0170] In addition, the recording medium also includes an internal or external recording medium that can be accessed from a distribution server in order to distribute the program. In addition, the program can also be divided into multiple parts, and the components that are merged in the various components of the tablet terminal 1 after being downloaded at different time intervals, and the distribution servers that distribute the divided programs are different. And the "computer-readable recording medium" also includes a recording medium that keeps the program for a constant time, such as a server in the case of sending a program via a network, and a volatile memory (RAM) inside a computer system that becomes a client. In addition, the above program may also be a program for realizing a part of the above functions. And it may also be a program that can realize the above functions by combining with a program already recorded in a computer system, that is, a so-called differential file (differential program).

[0171] In addition, part or all of the above functions may be implemented as an integrated circuit such as LSI (Large Scale Integration). Each of the above functions may be independently implemented as a processor, or part or all of them may be integrated as a processor. In addition, the method of integrated circuitization is not limited to LSI and may also be implemented by a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears with the advancement of semiconductor technology, an integrated circuit based on the technology may also be used.

Claims

1. An information processing device, wherein: have: A segmentation processing unit that segments the input handwritten strokes at the corners to generate segmented partial strokes; a classification processing unit that classifies the partial strokes segmented by the segmentation processing unit into any one of a plurality of character elements that are basic patterns constituting Chinese characters; as well as a rendering processing unit that adjusts the shape of the partial strokes based on the brush information and pen pressure characteristics corresponding to the text element classified by the classification processing unit, and displays the partial strokes on the display unit, The classification processing unit classifies the partial strokes by filtering out the inappropriate classification of the above-mentioned character elements based on the angle representing the drawing direction of the partial strokes in the above-mentioned character elements, i.e., the allowable range of the stroke angle, and the connection relationship between the front and back of the partial strokes.

2. The information processing device according to claim 1, wherein: The invention comprises: a filter information storage unit for storing the above-mentioned character elements in correspondence with connection permission information, wherein the connection permission information indicates whether the front and back of the above-mentioned partial strokes can be connected or not, and whether the above-mentioned partial strokes can be connected independently according to the range of the above-mentioned stroke angles; The classification processing unit performs the filtering process based on the connection permission information associated with the character element and stored in the filter information storage unit.

3. The information processing device according to claim 2, wherein: The above-mentioned classification processing unit combines the shape classification processing for classifying the shapes of the above-mentioned partial strokes based on a classification model and the above-mentioned filtering processing to classify the above-mentioned partial strokes into the above-mentioned text elements. The classification model is a classification model generated by performing learning processing on the above-mentioned partial strokes of the user's handwritten characters in advance and the above-mentioned text elements to establish corresponding learning data. The classification model classifies the above-mentioned text elements according to the above-mentioned partial strokes.

4. The information processing device according to claim 3, wherein: The above-mentioned classification processing unit extracts multiple candidates of the above-mentioned text elements through the above-mentioned shape classification processing based on the above-mentioned classification model, removes inappropriate above-mentioned text elements from the above-mentioned multiple candidates through the above-mentioned filtering processing, and classifies the above-mentioned partial strokes as the above-mentioned text elements whose confidence is above a threshold and which are the candidates with the highest above-mentioned confidence among the remaining candidates.

5. The information processing device according to any one of claims 1 to 4, wherein: have: a brush information storage unit for storing the text elements in correspondence with the brush information including the size, aspect ratio, and angle of the brush used; and The pen pressure characteristic storage unit stores the above-mentioned character elements and the pressure curve representing the relationship between the stroke position and the pen pressure in the character elements in a corresponding manner. The rendering processing unit obtains the brush information corresponding to the classified text elements from the brush information storage unit, obtains the pressure curve corresponding to the classified text elements from the pen pressure characteristic storage unit, and adjusts the shape of the partial stroke based on the obtained brush information and the pressure curve.

6. The information processing device according to claim 5, wherein: have: the above-mentioned display unit; A touch sensor unit for detecting contact and a contact position of an operating medium on a detection surface on the screen of the display unit; as well as The input processing unit detects the input of the handwritten stroke based on the contact position of the operation medium detected by the touch sensor unit, The input processing unit detects the input of the handwritten strokes, and displays the moving trajectory of the contact position of the operating medium as the input handwritten strokes on the display unit. The rendering processing unit replaces the input handwritten stroke and displays the handwritten stroke with an adjusted shape on a display unit.

7. A method for controlling an information processing device, wherein: Include: The segmentation processing unit segments the input handwritten stroke at the corner portion to generate a segmentation processing step of the segmented partial stroke; A classification processing step in which the classification processing unit classifies the partial strokes segmented by the segmentation processing unit into any one of a plurality of character elements that are basic patterns constituting a Chinese character; as well as The rendering processing unit adjusts the shape of the partial strokes based on the brush information and pen pressure characteristics corresponding to the text elements classified by the classification processing unit, and displays the partial strokes on the display unit. In the above-mentioned classification processing step, the above-mentioned classification processing unit uses filtering processing based on the angle representing the drawing direction of the above-mentioned partial strokes in the above-mentioned text elements, that is, the allowable range of the stroke angle, and the connection relationship between the front and back of the above-mentioned partial strokes, to eliminate the classification of the above-mentioned text elements into inappropriate ones, and classify the above-mentioned partial strokes.