Calligraphy practicing intelligent evaluation method and device
By obtaining the text pictures uploaded by the user and using the text evaluation model for intelligent analysis, the existing calligraphy practice and correction system is solved, and the problem of low efficiency and limited labor and hardware is achieved, realizing instant evaluation and guidance by users during the calligraphy practice process, and improving the efficiency and enthusiasm of calligraphy practice.
Patent Information
- Application Number
- CN202411654236.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-03-14
AI Technical Summary
The existing calligraphy practice and correction system is inefficient and limited by manpower and hardware, so it is impossible to realize user evaluation and guidance on calligraphy practice anytime, anywhere.
By obtaining the text pictures uploaded by users, using the preset text evaluation model for accurate positioning and analysis of good/bad words, providing writing standard guidance and suggestions, and improving the efficiency and enthusiasm of practicing words.
It realizes instant evaluation and guidance from users during the writing practice process, improves students' efficiency and enthusiasm for practicing calligraphy, has strong interaction, and stimulates users' interest in learning through points and badges.
Smart Images

Figure CN119625752A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent teaching technology, and in particular to an intelligent evaluation method and device for calligraphy practice. Background Art
[0002] At present, calligraphy practice after Chinese language class for lower grade primary school students plays an extremely important role and significance. On the one hand, calligraphy practice can help children better understand the structure and usage of Chinese characters and improve their reading and writing skills. On the other hand, writing different Chinese characters and words can also help children learn and accumulate more Chinese characters and vocabulary in practice.
[0003] In previous calligraphy practice and correction systems, some are based on manual correction to correct and score users' calligraphy practice data, while others use specific input hardware to obtain user data for final evaluation. The former not only introduces a large amount of human resources but also has relatively low efficiency. The latter is subject to many hardware and environmental restrictions, resulting in users being unable to use paper for writing practice anytime and anywhere. Summary of the Invention
[0004] Multiple aspects of this application provide an intelligent evaluation method and device for calligraphy practice, which can accurately locate and analyze good / bad characters in handwritten Chinese character images uploaded by users, and provide guidance and suggestions on writing standards, thereby improving students' efficiency and enthusiasm in calligraphy practice.
[0005] To achieve the above technical effects, one aspect of the present application provides an intelligent evaluation method for calligraphy practice, comprising:
[0006] Get text information uploaded by users;
[0007] Inputting the text information into a preset text evaluation model to obtain a text writing score;
[0008] Provide writing evaluation and suggestions based on the writing score.
[0009] According to a preferred embodiment of the present invention, obtaining text information uploaded by the user further includes:
[0010] Get the text and pictures uploaded by the user;
[0011] Determine whether the text image contains valid text. If not, prompt the user to upload the image again.
[0012] According to a preferred embodiment of the present invention, determining whether the text image contains valid text further includes:
[0013] The text image is preprocessed, and the preprocessed image features are extracted using a preset image recognition model to perform convolutional neural network calculations to predict whether the text in the image is valid text.
[0014] According to a preferred embodiment of the present invention, inputting the text information into a preset text evaluation model to obtain a text writing score further includes:
[0015] The text evaluation model includes a feature extraction model and a feature scoring model, the text information is input into the feature extraction model, the text position is located, and the text features are extracted from multiple dimensions;
[0016] Input the extracted text features into the feature scoring model and output the score of each feature of the text;
[0017] The score of each feature is weighted and calculated to obtain and display the writing score of the text.
[0018] According to a preferred embodiment of the present invention, the character features include: position features, structural features, size features, stroke features and high-dimensional features of the entire character.
[0019] According to a preferred embodiment of the present invention, providing writing evaluation and suggestions based on the writing score further includes:
[0020] Determine whether the writing of the text is qualified according to the writing score, and display different marks for qualified text and unqualified text respectively;
[0021] Generate a user interaction interface to display a detailed analysis of the written text;
[0022] A video window pops up, and the user clicks to play the text.
[0023] According to a preferred embodiment of the present invention, generating a user interaction interface to display a detailed analysis of the written text further includes:
[0024] When users click on qualified or unqualified text, they will be redirected to the corresponding text details page, where they can review the text based on different features.
[0025] The user-written text is fused with the standard text in an image, and a comparative visual display is performed.
[0026] Another aspect of the present application provides an intelligent evaluation device for calligraphy practice, comprising:
[0027] Information acquisition module: used to obtain text information uploaded by users;
[0028] A text scoring module is used to input the text information into a preset text evaluation model to obtain a text writing score;
[0029] Writing evaluation module: used to provide writing evaluation and suggestions based on the writing score.
[0030] Another aspect of the present application provides an intelligent evaluation device for calligraphy practice, the device comprising:
[0031] at least one processor; and
[0032] a memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.
[0034] In another aspect of the present application, a computer-readable storage medium is provided, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the above method.
[0035] In the solution provided by the embodiment of the present application, by obtaining written text pictures uploaded by users, personalized feedback and suggestions are provided according to each user's writing level and habits, helping users to identify and improve their own shortcomings, better understand the structure and usage of Chinese characters, and improve their reading and writing skills. Users can obtain instant evaluation and guidance during the calligraphy practice, which helps to correct mistakes in time. It is also highly interactive, with real-time evaluation and guidance during the calligraphy practice. Elements such as points and badges can stimulate user interest, allowing them to maintain active participation and high concentration in learning. In addition, a detailed learning report can be generated during use, so that users can understand their learning status and progress. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, a brief introduction will be given below to the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0037] Other features, objects and advantages of the present application will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0038] Figure 1 A flowchart of an intelligent evaluation method for calligraphy practice provided in one embodiment of the present application;
[0039] Figure 2 A schematic diagram of a rating interface of a user interaction interface provided in one embodiment of the present application;
[0040] Figure 3 A schematic diagram of a review interface of a user interaction interface provided in one embodiment of the present application;
[0041] Figure 4 A schematic diagram of a learning history interface of a user interaction interface provided in one embodiment of the present application;
[0042] Figure 5 A schematic diagram of an intelligent evaluation device for calligraphy practice provided in one embodiment of the present application;
[0043] Figure 6 The present invention is a schematic structural diagram of a device suitable for implementing the solution in the embodiment of the present application.
[0044] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0045] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0046] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPUs), input / output interfaces, network interfaces and memories.
[0047] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0048] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology for information storage. The information can be computer program instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc-read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0049] In actual scenarios, the execution subject of this method can be a user device, or a device formed by integrating a user device and a network device through a network, or an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, tablets, smart watches, and bracelets. The network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer collections, which can be used to implement some processing functions when setting an alarm. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing (Cloud Computing), where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computers.
[0050] This application combines the existing photo recognition technology with the needs of calligraphy practice correction, and uses AI algorithms to analyze and process the photos uploaded by users when practicing calligraphy, so as to obtain the characteristics of various dimensions of the Chinese characters written by the users. After layer-by-layer processing by the deep learning model, the final Chinese character quality score and comments are finally obtained. This can not only help parents accurately locate students' calligraphy practice problems, but also provide students with professional calligraphy improvement guidance.
[0051] Figure 1 A flowchart of an intelligent evaluation method for practicing calligraphy is provided in one embodiment of the present application. Figure 1 As shown, the method includes:
[0052] S101: Obtain text information uploaded by the user.
[0053] Specifically, the text in the present invention includes, but is not limited to, Chinese characters and English. The embodiments use Chinese characters as an example for illustration. Users can use the camera function within the app to take a picture of written text and upload it to the app. After receiving the uploaded picture, the system preprocesses the picture, including correcting the image's orientation and normalizing the image data by subtracting the mean and dividing by the variance to facilitate subsequent image feature extraction.
[0054] After preprocessing is completed, the preset image recognition model is used to extract the preprocessed image features for convolutional neural network calculation to predict whether the text in the image is valid text. The image feature extraction network is based on the convolutional neural network. The specific convolution formula is as follows:
[0055]
[0056] x is the input image, w is the convolution kernel weight, y is the output feature map, n out is the serial number of the output channel, n in is the serial number of the input channel, k x , k y is the convolution kernel weight position, i+k x , j+k y is the pixel position of the input feature map currently participating in the convolution, and i, j is the pixel position of the output feature map.
[0057] The loss function used by the network is classification loss + positioning loss:
[0058] The classification loss formula is:
[0059]
[0060] N represents the total number of categories, x i is the predicted value of the current category, y i is the probability of the current category after the activation function, y* i is the true value of the current category, L class is the classification loss.
[0061] The specific formula for positioning loss is:
[0062]
[0063] C represents the smallest box that can simultaneously frame the real box and the predicted box; in the basic I O On the basis of U loss, the area of C minus the sum of the areas of the predicted box and the true box is added, and finally divided by the area of C to reflect the distance between the true box and the predicted box.
[0064] Feature extraction is used to determine whether the image contains text similar to that in the database. If so, it means that the image contains valid text. If not, an error prompt and return will be given directly, prompting the user to upload the image again.
[0065] S102: Input the text information into a preset text evaluation model to obtain a text writing score.
[0066] Specifically, the text evaluation model includes a feature extraction model and a feature scoring model. When an image contains valid text, the image undergoes certain pre-processing to ensure that the subsequent algorithm focuses on the correct and valid text area. The image is then input into the feature extraction model to locate the text and extract text features from multiple dimensions. Text features include: positional features, structural features, size features, stroke features, and overall high-dimensional features of the text. Positional features, structural features, size features, and stroke features are image features, while overall text features are high-dimensional features.
[0067] Image features take position features and structural features as examples. When extracting position features:
[0068] X-axis deviation Cx=(aA) / W-dx,
[0069] Y-axis deviation Cy = (bB) / H-dy;
[0070] (a, b) is the center point of the Chinese character written by the user; (A, B) is the center point of the standard character; H and W are the height and width of the writing grid respectively, and dx is the correction parameter.
[0071] When extracting structural features:
[0072] Structural difference dz = abs(h / w - h' / w')
[0073] h is the height of the Chinese character written by the user after normalization, and w is the width of the Chinese character written by the user after normalization; h' is the height value of the annotated character after normalization, and w' is the width value of the standard character after normalization.
[0074] When extracting the overall features of text:
[0075] Convolutional neural networks are used for feature extraction, which consists of multiple CNN+Relu+MaxPooling modules. The specific calculation formula of CNN has been described in step S101 and will not be repeated here. The specific formula of Relue is as follows:
[0076] Relu=max(0,x)
[0077] The specific formula of Maxpooling is:
[0078] Y(i, j) = max{x(i + k, j + l), -p / 2 <= k < p / 2, -p / 2 <= l < p / 2}
[0079] k and l are integers representing positions in the input image or feature map X. For each (i, j) position, maxpooling selects a PxP region and chooses the maximum value from this region as the output, where P is the size of the pooling window.
[0080] The extracted text features are input into a feature scoring model. In the scoring model, corresponding maximum thresholds and minimum thresholds are set according to the features of the standard text. The feature values of the text written by the user are compared with the corresponding thresholds, and the score for each feature of the text is output. The system will perform weighted calculations on the scores of each feature of the text according to different texts, and finally obtain and display the writing score of the text. Figure 2 Schematic diagram of the scoring interface of the user interaction interface provided by an embodiment of the present application, as Figure 2 shown. After the user uploads a picture of the written text, the system scores the text written by the user and displays the scoring result to the user.
[0081] For example Figure 2 For the circled Chinese character "员" in [], when scoring its position feature, by calculating the gaps between the x-axis deviation Cx and y-axis deviation Cy in the extracted position feature and the threshold of the standard character, it is obtained that the position feature of the character "员" is greater than the threshold, and it is judged that the position feature score of the Chinese character written by the user is lower and the position is biased to the upper left;
[0082] When scoring its structural feature, by calculating the structural difference dz = abs(h / w - h' / w') in the extracted structural feature, the structural feature score of the Chinese character "员" written by the user can be calculated and compared with the structural difference threshold of the standard character. The dz value in the example is higher than the threshold, and it is judged that the form of the Chinese character written by the user is relatively rigid;
[0083] When scoring its size feature, obtain the maximum bounding rectangle box1 of the user-written Chinese character "员", the maximum bounding rectangle box2 of the standard Chinese character "员", and the maximum bounding rectangle box3 of the Tian character grid of the user-written area. By calculating the intersection of box1 and box3, the position area_and_1 of the effective area of the user-written Chinese character can be obtained. Then, by calculating area_ratio_1 = area_and_1 / box3, the effective occupancy ratio of the user-written Chinese character in the Tian character grid can be obtained; by calculating the intersection of box2 and box3, the position area_and_2 of the effective area of the standard character can be obtained. Then, by calculating area_ratio_2 = area_and_2 / box3, the effective occupancy ratio of the standard character in the Tian character grid can be obtained. Finally, by calculating the size difference value dr = abs(area_ratio_1 - area_ratio_2), and combining the position features Cx and Cy, a final score dsize is obtained. In the example, this value is greater than the threshold, so the size feature score is relatively low, and it is judged according to the position feature that the user's vertical writing size is smaller and the horizontal writing size is larger.
[0084] Finally, perform weighted calculation on the scores of the position feature, structural feature, and size feature to obtain the final score of the user's written character "员".
[0085] S103. Provide writing evaluation and suggestions according to the described text writing score.
[0086] Specifically, when the system outputs the text writing score, judge whether the text writing is qualified according to the described text writing score, and display different marks for qualified and unqualified texts respectively. For example Figure 2 The text with standard writing in will be marked with a small flower, and the text with non-standard writing will be circled.
[0087] There is a comment library set in the background server. The comment library stores the comments of each character. At the same time, different comments are set for different strokes of each character. Different score intervals correspond to different comments. Users can interact with this interface. When clicking on qualified and unqualified texts, they will jump to the corresponding text detailed information page respectively, and make comments from different features. For example, for the Chinese character "三", if the three strokes are written well, the corresponding comment will be "The short horizontal line achieves left low and right high, with a slightly shorter length, looking very comfortable"; when the user clicks Figure 2 "Teacher's comment" in , a video window will pop up to play the professional demonstration explanation and standard writing of this character by the teacher.
[0088] Figure 3 It is a schematic diagram of the comment interface of the user interaction interface provided by an embodiment of the present application. For example Figure 3As shown, in order to help users more intuitively see the similarities and differences between their practice characters and standard characters, the system will also fuse the user's written text with the standard text into images, and perform a comparative visual display, while providing detailed comments on the position, structure, size, strokes and other features.
[0089] Figure 4 A diagram of a learning history interface of a user interaction interface provided in an embodiment of the present application is shown as follows: Figure 4 As shown in the figure, the system stores and displays the user's writing history and learning records for easy review and practice at any time. It also provides professional demonstration videos and copybooks for different commonly misspelled characters. The system also provides a copybook printing function. Users can select the characters or copybooks to print on the interactive interface and print them out on paper for practice.
[0090] In the method provided by the embodiment of the present invention, by obtaining written text pictures uploaded by users, personalized feedback and suggestions are provided according to each user's writing level and habits, helping users to identify and improve their own shortcomings, better understand the structure and usage of Chinese characters, and improve their reading and writing abilities. Users can obtain instant evaluation and guidance during the calligraphy practice process, which helps to correct mistakes in a timely manner. It is also highly interactive, with real-time evaluation and guidance during the calligraphy practice process. Elements such as points and badges can stimulate user interest, allowing them to actively participate and be highly focused in their studies. In addition, a detailed learning report can be generated during use so that users can understand their learning status and progress.
[0091] Figure 5 This is a schematic diagram of the structure of an intelligent evaluation device for calligraphy practice provided in one embodiment of the present application. Figure 5 As shown, the device includes:
[0092] Information acquisition module 11: used to obtain text information uploaded by users;
[0093] The text scoring module 22 is used to input the text information into a preset text evaluation model to obtain a text writing score;
[0094] The writing evaluation module 33 is used to provide writing evaluation and suggestions based on the writing score.
[0095] The above device can execute the intelligent evaluation method for calligraphy practice in the above embodiment, wherein the information acquisition module 11 executes step S101; the text scoring module 22 executes step S102; and the writing evaluation module 33 executes step S103.
[0096] Based on the same inventive concept, an electronic device is also provided in an embodiment of the present application. The method corresponding to the electronic device may be the intelligent evaluation method for practicing calligraphy in the aforementioned embodiment, and the principle of solving the problem is similar to that of the method. The electronic device provided in the embodiment of the present application includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.
[0097] The electronic device may be a user device, or a device formed by integrating a user device and a network device via a network, or an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, tablets, smart watches, and bracelets. The network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer collections, and can be used to implement some of the processing functions when setting an alarm. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing (Cloud Computing), where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computers.
[0098] Figure 6 The structure of a device suitable for implementing the method and / or technical solution in the embodiment of the present application is shown. The device 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1202 or the program loaded from the storage part 1208 into the random access memory (RAM) 1203. Various programs and data required for system operation are also stored in RAM 1203. CPU 1201, ROM 1202 and RAM 1203 are connected to each other through a bus 1204. Input / output (I / O) interface 1205 is also connected to bus 1204.
[0099] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, a touch screen, a microphone, an infrared sensor, and the like; an output section 1207 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), an LED display, an OLED display, and a speaker; a storage section 1208 including one or more computer-readable media such as a hard disk, an optical disk, a magnetic disk, and a semiconductor memory; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card, a modem, and the like. The communication section 1209 performs communication processing via a network such as the Internet.
[0100] In particular, the methods and / or embodiments of the present application can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the method shown in the flowchart. When the computer program is executed by the central processing unit (CPU) 1201, the above-mentioned functions defined in the method of the present application are performed.
[0101] Another embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon, which can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application.
[0102] Specifically, the present embodiment can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0103] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0104] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0105] The computer program code for performing the operations of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).
[0106] The flow chart or block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the equipment, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code include one or more executable instructions for realizing the logical function of the specification. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs the function or operation of the specification, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0108] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0109] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0110] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0112] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a device claim may also be implemented by a single unit or device through software or hardware. Terms such as "first" and "second" are used to indicate names and do not imply any particular order.
Claims
1. A method for intelligent evaluation of calligraphy practice, characterized in that: include: Get the text information uploaded by the user; Inputting the text information into a preset text evaluation model to obtain a text writing score; Provide writing evaluation and suggestions based on the text writing score.
2. The intelligent evaluation method for practicing calligraphy according to claim 1, characterized in that: The step of obtaining text information uploaded by the user further includes: Get the text and pictures uploaded by the user; Determine whether the text image contains valid text, and if not, prompt the user to upload the image again.
3. The intelligent evaluation method for practicing calligraphy according to claim 2, characterized in that: The determining whether the text image contains valid text further includes: The text image is preprocessed, and the preprocessed image features are extracted using a preset image recognition model to perform convolutional neural network calculations to predict whether the text in the image is valid text.
4. The intelligent evaluation method for practicing calligraphy according to claim 1, characterized in that: The step of inputting the text information into a preset text evaluation model to obtain a text writing score further includes: The text evaluation model includes a feature extraction model and a feature scoring model, the text information is input into the feature extraction model, the text position is located, and the text features are extracted from multiple dimensions; Input the extracted text features into the feature scoring model and output the score of each feature of the text; The score of each feature is weighted and calculated to obtain and display the writing score of the text.
5. The intelligent evaluation method for practicing calligraphy according to claim 4, characterized in that: The text features include: position features, structural features, size features, stroke features and high-dimensional features of the text as a whole.
6. The intelligent evaluation method for calligraphy practice according to claim 1, characterized in that: The providing writing evaluation and suggestions according to the writing score of the text further comprises: Determine whether the writing of the text is qualified according to the writing score of the text, and display different marks for qualified text and unqualified text respectively; Generate a user interaction interface to display a detailed analysis of the written text; A video window pops up, and the user clicks on it to play the video.
7. The intelligent evaluation method for practicing calligraphy according to claim 6, characterized in that: The generating of the user interaction interface to display the detailed analysis of the written text further comprises: When users click on qualified or unqualified text, they will be redirected to the corresponding text details page and evaluated based on different features; The user-written text is fused with the standard text as an image, and a comparative visual display is performed.
8. An intelligent evaluation device for calligraphy practice, characterized in that: include: Information acquisition module: used to obtain text information uploaded by users; A text scoring module: used to input the text information into a preset text evaluation model to obtain a text writing score; Writing evaluation module: used to provide writing evaluation and suggestions based on the writing score.
9. A device for intelligent evaluation of calligraphy practice, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 1 to 7.