A method and device for displaying the history of calligraphy and painting
By identifying the seal areas in the calligraphy and painting images and analyzing historical information, the problem that ordinary viewers find it difficult to understand the history of calligraphy and painting is solved, and the effect of ordinary users to quickly obtain historical information of calligraphy and painting is achieved.
Patent Information
- Application Number
- CN201910549746.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-24
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2039-06-24
AI Technical Summary
Ordinary viewers do not have professional knowledge of calligraphy and painting, and it is difficult to understand the history of calligraphy and painting creation, collection, etc.
By obtaining calligraphy and painting images, determining the seal area, identifying the text information of the seal area, obtaining the historical information of the calligraphy and painting images based on this information, and finally displaying it.
This enables ordinary users who do not have professional knowledge of calligraphy and painting to quickly understand the relevant history of calligraphy and painting images, and enhances the ability of ordinary viewers to appreciate calligraphy and painting.
Smart Images

Figure CN112132126B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a method and device for displaying calligraphy and painting history. Background Art
[0002] Chinese calligraphy and painting have a very long history. Many calligraphy and painting works can display the humanistic features and creative style of the time. Some works also contain high-level writing or painting skills, so they are of great collection value and artistic value.
[0003] As people's living standards improve, they have more and more opportunities to come into contact with calligraphy and painting works, such as appreciating calligraphy and painting works at calligraphy and painting exhibitions, or appreciating calligraphy and painting in calligraphy and painting appreciation courses, etc. However, ordinary appreciators do not have professional knowledge related to calligraphy and painting, so it is usually difficult for ordinary appreciators to understand the history of calligraphy and painting creation, collection, etc. Summary of the invention
[0004] The present invention provides a method and device for displaying calligraphy and painting history, so as to solve the problem that ordinary appreciators without professional calligraphy and painting knowledge have difficulty in understanding calligraphy and painting history.
[0005] In order to solve the above problems, the present invention discloses a method for displaying calligraphy and painting history, comprising:
[0006] Get calligraphy and painting images;
[0007] Determine at least one seal area in the calligraphy and painting image;
[0008] Performing text recognition on each of the seal areas to obtain text information corresponding to each of the seal areas;
[0009] Determining the historical information corresponding to the calligraphy and painting image according to the text information corresponding to each of the seal areas;
[0010] The history information is displayed.
[0011] Optionally, determining the historical information corresponding to the calligraphy and painting image according to the text information corresponding to each of the seal areas includes:
[0012] According to the text information corresponding to the seal area, searching the first database for the seal author corresponding to the text information;
[0013] Determine the identity type of the seal author, and obtain the seal author historical information corresponding to the calligraphy and painting image;
[0014] Among them, the corresponding relationship between the seal author and the text information is pre-stored in the first database; the identity type includes at least one of the author of calligraphy and painting, the author of inscriptions and collectors.
[0015] Optionally, determining the type of identity of the seal author includes:
[0016] Obtaining the name of the calligraphy and painting corresponding to the calligraphy and painting image;
[0017] Searching for at least one of the first calligraphy and painting author, the first inscription author, and the first collector corresponding to the name of the calligraphy and painting in the second database;
[0018] When the seal author is the same as the first calligraphy and painting author, determining the type of identity of the seal author as the calligraphy and painting author;
[0019] When the seal author is the same as the first inscription author, determining the type of identity of the seal author as the inscription author;
[0020] When the seal author is the same as the first collector, determining the type of identity of the seal author as the collector;
[0021] Wherein, at least one of the corresponding relationship between the name of the calligraphy and painting and the first calligraphy and painting author, the corresponding relationship between the name of the calligraphy and painting and the first inscription author, and the corresponding relationship between the name of the calligraphy and painting and the first collector is pre-stored in the second database.
[0022] Optionally, the determining the historical information corresponding to the calligraphy and painting image according to the text information corresponding to each seal area further includes:
[0023] Searching for the birth and death years of the seal author in the third database;
[0024] When the type of identity of the seal author is the calligraphy and painting author, determining the birth and death years as the historical information of the creation era corresponding to the calligraphy and painting image;
[0025] When the type of identity of the seal author is the inscription author, determining the birth and death years as the historical information of the inscription era corresponding to the calligraphy and painting image;
[0026] When the type of identity of the seal author is the collector, determining the birth and death years as the historical information of the collection era corresponding to the calligraphy and painting image;
[0027] Wherein, the corresponding relationship between the seal author and the birth and death years is pre-stored in the third database.
[0028] Optionally, the displaying the historical information includes:
[0029] Displaying each seal area in the order of the birth and death years of each seal author;
[0030] Display at least one of the text information corresponding to each of the seal areas, the seal author, the identity type of the seal author, the historical information of the creation era, the historical information of the inscription era, and the historical information of the collection era.
[0031] To solve the above problems, the present invention also discloses a calligraphy and painting historical display device, including:
[0032] An acquisition module, configured to acquire a calligraphy and painting image;
[0033] A first determination module, configured to determine at least one seal area in the calligraphy and painting image;
[0034] An identification module, configured to perform character recognition on each of the seal areas respectively to obtain the text information corresponding to each of the seal areas;
[0035] A second determination module, configured to determine the historical information corresponding to the calligraphy and painting image according to the text information corresponding to each of the seal areas;
[0036] A display module, configured to display the historical information.
[0037] Optionally, the second determination module includes:
[0038] A search sub-module, configured to search for the seal author corresponding to the text information from a first database according to the text information corresponding to the seal area;
[0039] A determination sub-module, configured to determine the identity type of the seal author to obtain the historical information of the seal author corresponding to the calligraphy and painting image;
[0040] Wherein, the first database prestores the corresponding relationship between the seal author and the text information; the identity type includes at least one of a calligraphy and painting author, an inscription author, and a collector.
[0041] Optionally, the determination sub-module includes:
[0042] An acquisition unit, configured to acquire the name of the calligraphy and painting corresponding to the calligraphy and painting image;
[0043] A first search unit, configured to search for at least one of a first calligraphy and painting author, a first inscription author, and a first collector corresponding to the name of the calligraphy and painting from a second database;
[0044] A first determination unit, configured to determine that the identity type of the seal author is a calligraphy and painting author when the seal author is the same as the first calligraphy and painting author;
[0045] A second determination unit, configured to determine that the identity type of the seal author is an inscription author when the seal author is the same as the first inscription author;
[0046] A third determination unit, configured to determine that the identity type of the seal author is a collector when the seal author is the same as the first collector;
[0047] Wherein, at least one of the corresponding relationships between the painting and calligraphy name and the first painting and calligraphy author, the corresponding relationship between the painting and calligraphy name and the first postscript author, and the corresponding relationship between the painting and calligraphy name and the first collector is pre-stored in the second database.
[0048] Optionally, the determination sub-module further includes:
[0049] A second search unit, configured to search for the birth and death years of the seal author from a third database;
[0050] A fourth determination unit, configured to determine the birth and death years as the historical information of the creation era corresponding to the painting and calligraphy image when the identity type of the seal author is a painting and calligraphy author;
[0051] A fifth determination unit, configured to determine the birth and death years as the historical information of the postscript era corresponding to the painting and calligraphy image when the identity type of the seal author is a postscript author;
[0052] A sixth determination unit, configured to determine the birth and death years as the historical information of the collection era corresponding to the painting and calligraphy image when the identity type of the seal author is a collector;
[0053] Wherein, the corresponding relationship between the seal author and the birth and death years is pre-stored in the third database.
[0054] Optionally, the display module includes:
[0055] A first display sub-module, configured to display each of the seal areas in the order of the birth and death years of each seal author;
[0056] A second display sub-module, configured to display at least one of the text information, the seal author, the identity type of the seal author, the historical information of the creation era, the historical information of the postscript era, and the historical information of the collection era corresponding to each seal area.
[0057] To solve the above problems, the present invention also discloses a computer device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the calligraphy and painting historical display method of the present invention are implemented.
[0058] To solve the above problems, the present invention also discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the calligraphy and painting history display method of the present invention are implemented.
[0059] Compared with the prior art, the present invention has the following advantages:
[0060] In the embodiment of the present invention, the computer device can first obtain a calligraphy and painting image, then determine at least one seal area in the calligraphy and painting image, and then perform character recognition on each seal area respectively to obtain the character information corresponding to each seal area, and determine the historical information corresponding to the calligraphy and painting image according to the character information corresponding to each seal area, and then display the historical information. In the embodiment of the present invention, the computer device can determine the historical information related to the calligraphy and painting image based on the character information corresponding to the seal area in the calligraphy and painting image and can display it. In this way, even ordinary users who do not have professional knowledge related to calligraphy and painting can quickly understand the relevant history of the calligraphy and painting image. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 Shows a flowchart of a calligraphy and painting history display method according to Embodiment 1 of the present invention;
[0062] Figure 2 Shows a flowchart of a calligraphy and painting history display method according to Embodiment 2 of the present invention;
[0063] Figure 3 Shows a schematic diagram of a calligraphy and painting image including a seal area according to Embodiment 2 of the present invention;
[0064] Figure 4 Shows a schematic diagram of a calligraphy and painting history display device according to Embodiment 3 of the present invention;
[0065] Figure 5 Shows a schematic diagram of a determination sub-module according to Embodiment 3 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0066] To make the above objects, features, and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0067] Embodiment 1
[0068] Figure 1 Shows a step flowchart of a calligraphy and painting history display method according to Embodiment 1 of the present invention. Referring to Figure 1 , the method may specifically include the following steps:
[0069] Step 101: Obtain a calligraphy and painting image.
[0070] In an embodiment of the present invention, a user can take a picture of a calligraphy and painting work through a computer device with a camera, so that the computer device can obtain a calligraphy and painting image. Alternatively, the user can download the calligraphy and painting image from the network to the computer device. Or, the user's computer device can also receive a calligraphy and painting image sent by other devices. The embodiment of the present invention does not specifically limit the way for the computer device to obtain the calligraphy and painting image.
[0071] In practical applications, the calligraphy and painting image can be an image of a complete calligraphy and painting work, or of course, it can also be a part of the calligraphy and painting work. The embodiment of the present invention does not specifically limit this.
[0072] Step 102: Determine at least one seal area in the calligraphy and painting image.
[0073] In an embodiment of the present invention, seals are usually stamped on calligraphy and painting works, such as the seals of calligraphy and painting authors, the seals of inscription authors, etc. Correspondingly, when the computer device obtains a calligraphy and painting image, it can perform seal recognition on the calligraphy and painting image to determine at least one seal area in the calligraphy and painting image.
[0074] Step 103: Perform character recognition on each seal area respectively to obtain the character information corresponding to each seal area.
[0075] The characters on the seal are usually information closely related to the calligraphy and painting, such as the name, style, and alias of the seal author. Therefore, the computer device can perform character recognition on each seal area in the calligraphy and painting image respectively to obtain the character information corresponding to each seal area.
[0076] Step 104: Determine the historical information corresponding to the calligraphy and painting image according to the character information corresponding to each seal area.
[0077] Among them, the computer device can determine the historical information of the seal author corresponding to the calligraphy and painting image based on the character information recognized from each seal area, and then can determine historical information such as the creation era, inscription era, and collection era according to the author identities of each seal.
[0078] Step 105: Display the historical information.
[0079] In an embodiment of the present invention, the computer device can display historical information such as the seal author, creation era, inscription era, and collection era. In this way, even ordinary users who do not have professional knowledge related to calligraphy and painting can quickly understand the relevant history of the calligraphy and painting image.
[0080] In an embodiment of the present invention, a computer device can first obtain a painting and calligraphy image, then determine at least one seal area in the painting and calligraphy image, and then perform character recognition on each seal area respectively to obtain the character information corresponding to each seal area, and determine the historical information corresponding to the painting and calligraphy image according to the character information corresponding to each seal area, and then display the historical information. In an embodiment of the present invention, the computer device can determine the historical information related to the painting and calligraphy image based on the character information corresponding to the seal area in the painting and calligraphy image and can display it. In this way, ordinary users who do not have professional knowledge related to painting and calligraphy can also quickly understand the relevant history of the painting and calligraphy image.
[0081] Embodiment 2
[0082] Figure 2 The flowchart of the steps of a method for displaying the history of painting and calligraphy according to Embodiment 2 of the present invention is shown. Referring to Figure 2 , this method may specifically include the following steps:
[0083] Step 201: Obtain a painting and calligraphy image.
[0084] The implementation process of this step is similar to that of step 101 above and will not be elaborated here.
[0085] For example, the user can use a computer device with a camera to take a picture of the painting and calligraphy work "Ladies with Peonies", so that the computer device can obtain the image of "Ladies with Peonies", and this image can be a partial image of the "Ladies with Peonies" work.
[0086] Step 202: Determine at least one seal area in the painting and calligraphy image.
[0087] In a painting and calligraphy image, the area where the seal is located is usually in a blank area, that is, the seal area usually does not overlap with the text area and the portrait main area in the painting and calligraphy image, and moreover, the seal usually also has a large difference in color from the background color of the blank area of the painting and calligraphy image. For example, the seal is usually red, and the background color of the blank area of the painting and calligraphy image is usually white, light yellow, light gray, etc. Therefore, in specific applications, at least one seal area can be extracted from the blank area of the painting and calligraphy image by combining parameters such as color and shape.
[0088] Of course, this step can also be implemented by existing seal recognition methods, such as seal recognition methods based on model training, etc. The specific process can refer to related technologies and will not be elaborated in the embodiments of the present invention.
[0089] For example, the computer device can input the image of "Ladies with Peonies" into a pre-trained seal recognition model, and then the seal recognition model can extract the seal features of the image of "Ladies with Peonies" to identify the seal area A and seal area B in the image of "Ladies with Peonies", asFigure 3 as shown
[0090] Step 203: Perform character recognition on each seal area respectively to obtain the character information corresponding to each seal area.
[0091] In the embodiment of the present invention, after the computer device extracts at least one seal area from the calligraphy and painting image, it can perform character recognition on each seal area respectively. In an optional implementation manner, the computer device can first determine the character font corresponding to the seal area, and then can determine each character corresponding to the seal area from the font library corresponding to the character font, that is, obtain the character information corresponding to the seal area.
[0092] For example, the computer device can perform character recognition on seal area A, seal area B, seal area C, and seal area D respectively, so as to obtain that the character information corresponding to seal area A is "Nanjing Jieyuan", and the character information corresponding to seal area B is "Liuru Jushi".
[0093] Step 204: According to the character information corresponding to the seal area, search for the seal author corresponding to the character information in the first database.
[0094] Since the characters on the seal are usually the name, style, or alias of the seal author, etc., the computer device can search for the seal author corresponding to the character information in the first database. Among them, the first database pre-stores the corresponding relationship between the seal author and the character information.
[0095] For example, the computer device can search for the seal author corresponding to the character information "Nanjing Jieyuan" in the first database according to the character information corresponding to seal area A being "Nanjing Jieyuan", and the computer device can search for the seal author corresponding to the character information "Liuru Jushi" in the first database according to the character information corresponding to seal area B being "Liuru Jushi".
[0096] Step 205: Determine the identity type of the seal author to obtain the historical information of the seal author corresponding to the calligraphy and painting image.
[0097] In this step, after the computer device determines the seal author, it can determine the identity type of the seal author. Among them, the identity type can include at least one of the calligraphy and painting author, the inscription author, and the collector. That is, the computer device can determine whether the author of the seal is the author of the calligraphy and painting work, the inscription author of the calligraphy and painting work, or the collector of the calligraphy and painting work, so as to obtain the historical information of the seal author corresponding to the calligraphy and painting image.
[0098] Specifically, the steps of determining the identity type of the seal author can be implemented in the following manner, including: obtaining the painting and calligraphy name corresponding to the painting and calligraphy image; searching for at least one of the first painting and calligraphy author, the first inscription author, and the first collector corresponding to the painting and calligraphy name in the second database; when the seal author is the same as the first painting and calligraphy author, determining the identity type of the seal author as the painting and calligraphy author; when the seal author is the same as the first inscription author, determining the identity type of the seal author as the inscription author; when the seal author is the same as the first collector, determining the identity type of the seal author as the collector; wherein, at least one of the corresponding relationships between the painting and calligraphy name and the first painting and calligraphy author, the corresponding relationship between the painting and calligraphy name and the first inscription author, and the corresponding relationship between the painting and calligraphy name and the first collector is pre-stored in the second database.
[0099] Optionally, in practical applications, the computer device can implement the painting and calligraphy history display method described in the present invention through application software. The application software can collect the painting and calligraphy images of various famous painting and calligraphy artists or famous painting and calligraphy works in advance, and store the painting and calligraphy images corresponding to the painting and calligraphy names. Of course, it can also obtain the painting and calligraphy images and painting and calligraphy names uploaded by each user to increase the corresponding relationship between the new painting and calligraphy images and painting and calligraphy names. Correspondingly, the computer device can determine the similarity between the current painting and calligraphy image and each of the painting and calligraphy images collected by the application software. When the similarity with the first painting and calligraphy image exceeds the similarity threshold, the computer device can determine that the current painting and calligraphy image is the first painting and calligraphy image, and then can determine the first painting and calligraphy name corresponding to the first painting and calligraphy image from the corresponding relationships between multiple groups of painting and calligraphy images and painting and calligraphy names collected by the application software, and then can determine the first painting and calligraphy name corresponding to the first painting and calligraphy image as the painting and calligraphy name corresponding to the current painting and calligraphy image.
[0100] The computer device can search for at least one of the first painting and calligraphy author, the first inscription author, and the first collector corresponding to the painting and calligraphy name in the second database, and can compare each seal author with the first painting and calligraphy author, the first inscription author, and the first collector respectively to determine whether the identity type of each seal author is the painting and calligraphy author, the inscription author, or the collector, so as to obtain the seal author history information corresponding to the current painting and calligraphy image.
[0101] In specific applications, since the inscriptions on the painting and calligraphy works can be created by the same person or different people, the inscription author can be specifically divided into the title author and the postscript author. The embodiments of the present invention do not make specific limitations on this.
[0102] For example, the computer device can determine that the name of the painting and calligraphy corresponding to the image of "Portrait of a Lady with Peonies" is "Portrait of a Lady with Peonies", and then the computer device can search in the second database to find that the first painting and calligraphy author corresponding to "Portrait of a Lady with Peonies" is Tang Yin. The seal author corresponding to the seal area A is Tang Yin, which is the same as the first painting and calligraphy author. Furthermore, the computer device can determine that the identity type of the seal author corresponding to the seal area A is a painting and calligraphy author. The seal author corresponding to the seal area B is also Tang Yin, which is the same as the first painting and calligraphy author. Furthermore, the computer device can determine that the identity type of the seal author corresponding to the seal area B is a painting and calligraphy author.
[0103] Step 206: Search for the birth and death years of the seal author in the third database.
[0104] In the embodiment of the present invention, the corresponding relationship between the seal author and the birth and death years is pre-stored in the third database. The computer device can search in the third database for the birth and death years of each seal author.
[0105] For example, the computer device can search in the third database to find that the birth and death years of the seal author Tang Yin corresponding to the seal areas A and B are from the sixth year of Chenghua in the Ming Dynasty to the second year of Jiajing in the Ming Dynasty.
[0106] Step 207: When the identity type of the seal author is a painting and calligraphy author, determine the birth and death years as the historical information of the creation era corresponding to the painting and calligraphy image.
[0107] For any seal area, when the identity type of the seal author corresponding to the seal area is a painting and calligraphy author, the creation time of the painting and calligraphy work corresponding to the painting and calligraphy image must be between the birth and death years of the painting and calligraphy author. However, the specific creation time is often unknowable. Therefore, the birth and death years of the painting and calligraphy author can be determined as the historical information of the creation era corresponding to the painting and calligraphy image, and this historical information of the creation era can indicate approximately when the painting and calligraphy image was created.
[0108] For example, the identity type of the seal author Tang Yin corresponding to the seal areas A and B is a painting and calligraphy author. The computer device can determine the birth and death years of Tang Yin, "from the sixth year of Chenghua in the Ming Dynasty to the second year of Jiajing in the Ming Dynasty", as the historical information of the creation era corresponding to the image of "Portrait of a Lady with Peonies".
[0109] Step 208: When the identity type of the seal author is an inscription author, determine the birth and death years as the historical information of the inscription era corresponding to the painting and calligraphy image.
[0110] For any seal area, when the identity type of the seal author corresponding to the seal area is the inscription author, the inscription creation time of the calligraphy and painting work corresponding to the calligraphy and painting image must be between the birth and death years of the inscription author. However, the specific creation time is often unknowable. Therefore, the birth and death years of the inscription author can be determined as the historical information of the inscription age corresponding to the calligraphy and painting image, and this historical information of the inscription age can indicate approximately when the inscription of the calligraphy and painting image was created.
[0111] Step 209: When the identity type of the seal author is the collector, determine the birth and death years as the historical information of the collection age corresponding to the calligraphy and painting image.
[0112] For any seal area, when the identity type of the seal author corresponding to the seal area is the collector, the collection time of the calligraphy and painting work corresponding to the calligraphy and painting image must be between the birth and death years of the collector. However, the specific collection time is often unknowable. Therefore, the birth and death years of the collector can be determined as the historical information of the collection age corresponding to the calligraphy and painting image, and this historical information of the collection age can indicate approximately when the calligraphy and painting image was collected by the collector.
[0113] Step 210: Display the historical information.
[0114] In the embodiment of the present invention, the computer device can display historical information such as the seal author historical information, the creation age historical information, the inscription age historical information, and the collection age historical information, so that ordinary users without professional knowledge related to calligraphy and painting can quickly understand the relevant history of the calligraphy and painting image.
[0115] Optionally, this step can be implemented in the following manner, including: displaying each seal area in the order of the birth and death years of each seal author; displaying at least one of the text information, the seal author, the identity type of the seal author, the creation age historical information, the inscription age historical information, and the collection age historical information corresponding to each seal area.
[0116] Among them, the computer device can display each separately extracted seal area in the order of the birth and death years of each seal author, that is, it can display each seal area in the order of the time when each seal appears on the calligraphy and painting work, so as to facilitate the user to understand the history of the calligraphy and painting image in chronological order. Furthermore, the computer device can also display at least one of the text information, the seal author, the identity type of the seal author, the creation age historical information, the inscription age historical information, and the collection age historical information corresponding to each seal area. For example, the above information can be displayed adjacent to the corresponding separately extracted seal area, that is, the above information can be displayed below, to the right, etc. of the corresponding seal area.
[0117] Optionally, in practical applications, the computer device can also display various corresponding historical information in the peripheral areas of each seal area in the calligraphy and painting image in the form of a similar annotation box. The embodiments of the present invention do not specifically limit the display method of various historical information.
[0118] For example, the computer device can separately extract the seal area A for display, and adjacent to the right of the seal area A, display the text information "Nanjing Jieyuan", the seal author "Tang Yin", the identity type of the seal author "Calligraphy and painting author", and the historical information of the creation era "From the sixth year of Chenghua in the Ming Dynasty to the second year of Jiajing in the Ming Dynasty". The computer device can separately extract the seal area B for display, and adjacent to the right of the seal area B, display the text information "Liuru Jushi", the seal author "Tang Yin", the identity type of the seal author "Calligraphy and painting author", and the historical information of the creation era "From the sixth year of Chenghua in the Ming Dynasty to the second year of Jiajing in the Ming Dynasty". The specific display form of the historical information can be as follows:
[0119] Text information of seal area A: Nanjing Jieyuan
[0120] Seal author: Tang Yin
[0121] Identity: Calligraphy and painting author
[0122] Creation era: From the sixth year of Chenghua in the Ming Dynasty to the second year of Jiajing in the Ming Dynasty
[0123] Text information of seal area B: Liuru Jushi
[0124] Seal author: Tang Yin
[0125] Identity: Calligraphy and painting author
[0126] Creation era: From the sixth year of Chenghua in the Ming Dynasty to the second year of Jiajing in the Ming Dynasty
[0127] In the embodiments of the present invention, the computer device can first obtain the calligraphy and painting image, then determine at least one seal area in the calligraphy and painting image, and then separately perform character recognition on each seal area to obtain the text information corresponding to each seal area. And based on the text information corresponding to each seal area, determine the historical information of the seal author, the creation era, the inscription era, the collection era, etc. corresponding to the calligraphy and painting image, and then can display the above historical information. In the embodiments of the present invention, the computer device can determine the historical information such as the seal author, the creation era, the inscription era, and the collection era related to the calligraphy and painting image based on the text information corresponding to the seal area in the calligraphy and painting image, and can display it. In this way, even ordinary users who do not have professional knowledge related to calligraphy and painting can quickly understand the relevant history of the calligraphy and painting image.
[0128] Embodiment 3
[0129] Figure 4The structure block diagram of a calligraphy and painting history display device according to Embodiment 3 of the present invention is shown. Referring to Figure 4 , the device 400 includes:
[0130] An acquisition module 401, configured to acquire a calligraphy and painting image;
[0131] A first determination module 402, configured to determine at least one seal area in the calligraphy and painting image;
[0132] An identification module 403, configured to perform character recognition on each of the seal areas respectively to obtain character information corresponding to each of the seal areas;
[0133] A second determination module 404, configured to determine historical information corresponding to the calligraphy and painting image according to the character information corresponding to each of the seal areas;
[0134] A display module 405, configured to display the historical information.
[0135] Optionally, referring to Figure 4 , the second determination module 404 includes:
[0136] A search sub-module 4041, configured to search for a seal author corresponding to the character information from a first database according to the character information corresponding to the seal area;
[0137] A determination sub-module 4042, configured to determine the identity type of the seal author to obtain seal author historical information corresponding to the calligraphy and painting image;
[0138] Wherein, the corresponding relationship between the seal author and the character information is pre-stored in the first database; the identity types include at least one of a calligraphy and painting author, an inscription author, and a collector.
[0139] Optionally, referring to Figure 5 , the determination sub-module 4042 includes:
[0140] An acquisition unit 40421, configured to acquire a calligraphy and painting name corresponding to the calligraphy and painting image;
[0141] A first search unit 40422, configured to search for at least one of a first calligraphy and painting author, a first inscription author, and a first collector corresponding to the calligraphy and painting name from a second database;
[0142] A first determination unit 40423, configured to determine that the identity type of the seal author is a calligraphy and painting author when the seal author is consistent with the first calligraphy and painting author;
[0143] A second determination unit 40424, configured to determine that the identity type of the seal author is an inscription author when the seal author is consistent with the first inscription author;
[0144] A third determination unit 40425, configured to determine that the identity type of the seal author is a collector when the seal author is consistent with the first collector;
[0145] Wherein, at least one of the corresponding relationships between the painting and calligraphy name and the first painting and calligraphy author, the corresponding relationship between the painting and calligraphy name and the first postscript author, and the corresponding relationship between the painting and calligraphy name and the first collector is pre-stored in the second database.
[0146] Optionally, referring to Figure 5 , the determination sub-module 4042 further includes:
[0147] A second search unit 40426, configured to search for the birth and death years of the seal author from a third database;
[0148] A fourth determination unit 40427, configured to determine the birth and death years as the historical information of the creation era corresponding to the painting and calligraphy image when the identity type of the seal author is a painting and calligraphy author;
[0149] A fifth determination unit 40428, configured to determine the birth and death years as the historical information of the postscript era corresponding to the painting and calligraphy image when the identity type of the seal author is a postscript author;
[0150] A sixth determination unit 40429, configured to determine the birth and death years as the historical information of the collection era corresponding to the painting and calligraphy image when the identity type of the seal author is a collector;
[0151] Wherein, the corresponding relationship between the seal author and the birth and death years is pre-stored in the third database.
[0152] Optionally, referring to Figure 4 , the display module 405 includes:
[0153] A first display sub-module 4051, configured to display each of the seal areas in the order of the birth and death years of each seal author;
[0154] A second display sub-module 4052, configured to display at least one of the text information, the seal author, the identity type of the seal author, the historical information of the creation era, the historical information of the postscript era, and the historical information of the collection era corresponding to each seal area.
[0155] In an embodiment of the present invention, a computer device may first obtain a painting and calligraphy image through an acquisition module, then determine at least one seal area in the painting and calligraphy image through a first determination module. After that, it may perform character recognition on each seal area respectively through a recognition module to obtain the character information corresponding to each seal area, and determine the historical information corresponding to the painting and calligraphy image through a second determination module according to the character information corresponding to each seal area. Furthermore, the historical information is displayed through a display module. In an embodiment of the present invention, the computer device can determine the historical information related to the painting and calligraphy image based on the character information corresponding to the seal area in the painting and calligraphy image and can display it. In this way, even ordinary users who do not have professional knowledge related to painting and calligraphy can quickly understand the relevant history of the painting and calligraphy image.
[0156] An embodiment of the present invention also discloses a computer device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the painting and calligraphy history display method of the present invention are implemented.
[0157] An embodiment of the present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the painting and calligraphy history display method of the present invention are implemented.
[0158] For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0159] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other.
[0160] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, commodity or device comprising the said element.
[0161] The above provides a detailed introduction to a calligraphy and painting history display method and device of the present invention. Specific examples are used in this text to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for displaying the history of calligraphy and painting, characterized in that, the method includes: Obtain calligraphy and painting images; Determine at least one seal area in the calligraphy and painting image; Perform character recognition on each of the seal areas respectively to obtain the character information corresponding to each of the seal areas; Determine the historical information corresponding to the calligraphy and painting image according to the character information corresponding to each of the seal areas; Display the historical information; The determining the historical information corresponding to the calligraphy and painting image according to the character information corresponding to each of the seal areas includes: According to the character information corresponding to the seal area, search in the first database for the seal author corresponding to the character information; Determine the identity type of the seal author to obtain the historical information of the seal author corresponding to the calligraphy and painting image; Wherein, the corresponding relationship between the seal author and the character information is pre-stored in the first database; the identity type includes at least one of a calligraphy and painting author, an inscription author, and a collector; The determining the identity type of the seal author includes: Obtain the name of the calligraphy and painting corresponding to the calligraphy and painting image; Search in the second database for at least one of the first calligraphy and painting author, the first inscription author, and the first collector corresponding to the name of the calligraphy and painting; When the seal author is the same as the first calligraphy and painting author, determine the identity type of the seal author as the calligraphy and painting author; When the seal author is the same as the first inscription author, determine the identity type of the seal author as the inscription author; When the seal author is the same as the first collector, determine the identity type of the seal author as the collector; Wherein, at least one of the corresponding relationship between the name of the calligraphy and painting and the first calligraphy and painting author, the corresponding relationship between the name of the calligraphy and painting and the first inscription author, and the corresponding relationship between the name of the calligraphy and painting and the first collector is pre-stored in the second database; The displaying the historical information includes: Display each seal area in the order of the time when each seal appears on the calligraphy and painting work; In the peripheral area of the seal area, display the corresponding historical information in the form of an annotation box.
2. The method according to claim 1, characterized in that, the determining the historical information corresponding to the calligraphy and painting image according to the character information corresponding to each of the seal areas further includes: Search in the third database for the birth and death years of the seal author; When the identity type of the seal author is the calligraphy and painting author, determine the birth and death years as the historical information of the creation era corresponding to the calligraphy and painting image; When the identity type of the seal author is the inscription author, determine the birth and death years as the historical information of the inscription era corresponding to the calligraphy and painting image; When the identity type of the seal author is the collector, determine the birth and death years as the historical information of the collection era corresponding to the calligraphy and painting image; Wherein, the corresponding relationship between the seal author and the birth and death years is pre-stored in the third database.
3. The method according to claim 2, characterized in that, the displaying the historical information includes: Display each seal area in the order of the birth and death eras of each seal author; Display at least one of the text information corresponding to each of the seal areas, the seal author, the identity type of the seal author, the historical information of the creation era, the historical information of the inscription era, and the historical information of the collection era.
4. A calligraphy and painting historical display device, characterized in that, the device includes: an acquisition module for acquiring a calligraphy and painting image; a first determination module for determining at least one seal area in the calligraphy and painting image; an identification module for separately performing character recognition on each of the seal areas to obtain the text information corresponding to each of the seal areas; a second determination module for determining the historical information corresponding to the calligraphy and painting image according to the text information corresponding to each of the seal areas; a display module for displaying the historical information; the second determination module includes: a search sub-module for searching for the seal author corresponding to the text information from a first database according to the text information corresponding to the seal area; a determination sub-module for determining the identity type of the seal author to obtain the historical information of the seal author corresponding to the calligraphy and painting image; wherein, the corresponding relationship between the seal author and the text information is pre-stored in the first database; the identity type includes at least one of a calligraphy and painting author, an inscription author, and a collector; the determination sub-module includes: an acquisition unit for acquiring the name of the calligraphy and painting corresponding to the calligraphy and painting image; a first search unit for searching for at least one of a first calligraphy and painting author, a first inscription author, and a first collector corresponding to the name of the calligraphy and painting from a second database; a first determination unit for determining that the identity type of the seal author is a calligraphy and painting author when the seal author is the same as the first calligraphy and painting author; a second determination unit for determining that the identity type of the seal author is an inscription author when the seal author is the same as the first inscription author; a third determination unit for determining that the identity type of the seal author is a collector when the seal author is the same as the first collector; wherein, at least one of the corresponding relationship between the name of the calligraphy and painting and the first calligraphy and painting author, the corresponding relationship between the name of the calligraphy and painting and the first inscription author, and the corresponding relationship between the name of the calligraphy and painting and the first collector is pre-stored in the second database; the display of the historical information includes: displaying each seal area in the order of the time when each seal appears on the calligraphy and painting work; displaying the corresponding historical information in the form of an annotation box in the peripheral area of the seal area.
5. The device according to claim 4, characterized in that, the determination sub-module further includes: a second search unit for searching for the birth and death years of the seal author from a third database; a fourth determination unit for determining the historical information of the creation era corresponding to the calligraphy and painting image as the birth and death years when the identity type of the seal author is a calligraphy and painting author; a fifth determination unit for determining the historical information of the inscription era corresponding to the calligraphy and painting image as the birth and death years when the identity type of the seal author is an inscription author; A sixth determination unit, configured to determine the birth and death years as the historical collection age information corresponding to the calligraphy and painting image when the identity type of the seal author is a collector; Wherein, a corresponding relationship between the seal author and the birth and death years is pre-stored in the third database.
6. The apparatus according to claim 5, characterized in that, the display module includes: A first display sub-module, configured to display each of the seal areas in the order of the birth and death years of each of the seal authors; A second display sub-module, configured to display at least one of the text information, the seal author, the identity type of the seal author, the historical creation age information, the historical inscription age information, and the historical collection age information corresponding to each of the seal areas.
7. A computer device, characterized in that, it includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the calligraphy and painting history display method according to any one of claims 1 to 3 are implemented.
8. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the calligraphy and painting history display method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Integrated query platform and method of arts
CN106919698A