An intelligent detection method and system for book cover damage based on image recognition
Through intelligent detection methods based on image recognition, the invasion, damage and spread of pollutants in the inner pages of the book are analyzed, the risk of destruction is evaluated and early warning is issued, which solves the problem of neglecting the storage environment and pollutant invasion in the existing technology, improves detection efficiency and accuracy, and improves management level.
Patent Information
- Application Number
- CN202510361640.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-03-26
AI Technical Summary
When detecting book cover defilement, the prior art ignores the impact of the storage environment on book aging and the risk of pollutants entering the inner page. The detection efficiency and accuracy are insufficient, making it difficult to meet the management needs of large libraries and publishing industries.
Using an intelligent detection method based on image recognition, data on the book cover and inner pages are obtained through image sensors, combined with the book storage status data, the degree of invasion, damage and diffusion of pollutants in the inner pages of the book are analyzed, the risk of defilement on the inner pages is evaluated, and the processing warning is issued to the librarian.
It improves the efficiency and accuracy of book destruction detection, reduces labor costs, improves the management level of the library and publishing industries, and can more effectively identify and warn of destruction risks in the inner pages of the book.
Smart Images

Figure CN119888506B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power monitoring, and particularly to an intelligent detection method and system for book cover damage based on image recognition. Background Art
[0002] With the rapid development of information technology, both libraries and the book publishing industry are faced with a huge amount of book management and maintenance tasks. Traditional book cover damage detection mainly relies on manual inspection of whether there is damage on the surface or inside pages. This method is not only time-consuming and laborious, prone to omission or misjudgment, but also there is a possibility of causing secondary damage to the books during the inspection process. Especially in large libraries, the circulation of books is large, and the cover damage situations are complex and diverse, and the efficiency and quality of manual detection are difficult to meet the actual needs. Therefore, image recognition technology has been introduced and has become an important technology for detecting whether there is damage to books.
[0003] Image recognition technology is an important branch in the field of artificial intelligence. It can extract useful information from images and classify, recognize, and understand them. In the process of book cover damage detection, image recognition technology can play an important role. Therefore, existing book cover damage detection technologies usually collect images of book covers and use image recognition algorithms to process and analyze the images to automatically identify the damage situations on the covers, such as stains, scratches, tears, etc.
[0004] However, when existing technologies perform damage detection, they often only consider whether there is damage on the book surface and conduct intuitive detection of surface damage. They not only ignore that the storage environment will accelerate the aging of books, but also ignore that the pollutants on the book covers will gradually penetrate into the inside pages due to various reasons such as cover damage or environmental impact, resulting in damage to the inside pages. At the same time, existing technologies also do not consider analyzing the damage risk of the inside pages of books based on the storage environment of the books and the damage conditions on the book exteriors.
[0005] To solve these problems, the present application designs an intelligent detection method and system for book cover damage based on image recognition. Summary of the Invention
[0006] In order to overcome the defects and deficiencies existing in the prior art, the present invention provides an intelligent detection method and system for book cover damage based on image recognition. By comprehensively analyzing the degree of pollutant penetration, damage degree, and damage diffusion degree of the inside pages of books, and then evaluating the damage risk of the inside pages of books, it can improve the efficiency and accuracy of book damage detection, reduce labor costs, and enhance the management level of libraries and the publishing industry.
[0007] To achieve the above object, the present invention adopts the following technical solutions:
[0008] In a first aspect, an embodiment of the present invention provides an intelligent detection method for book cover damage based on image recognition, including the following steps:
[0009] S1. Obtain the pollutant status data and damage status data of the book cover through an image sensor, and at the same time obtain the book storage status data;
[0010] S2. Analyze the degree of pollutant intrusion into the inner pages of the book based on the book storage status data and the pollutant status data of the book cover;
[0011] S3. Analyze the degree of damage to the inner pages of the book based on the book storage status data and the damage status data of the book cover;
[0012] S4. Analyze the degree of stain spread of the inner pages of the book based on the pollutant status data and the damage status data of the book cover;
[0013] S5. Evaluate the stain risk of the inner pages of the book according to the analysis results of the degree of pollutant intrusion, the degree of damage, and the degree of stain spread of the inner pages of the book;
[0014] S6. Based on the evaluation result of the stain risk of the inner pages of the book, give a warning to the librarian for book processing.
[0015] In an implementation manner of the present invention, in step S2, analyzing the degree of pollutant intrusion into the inner pages of the book based on the book storage status data and the pollutant status data of the book cover includes the following specific steps:
[0016] S21. Extract the book storage status data and the pollutant status data of the book cover;
[0017] S22. Analyze the degree of pollutant intrusion into the inner pages of the book based on the book storage status data and the pollutant status data of the book cover, and obtain the analysis result of the degree of pollutant intrusion into the inner pages of the book.
[0018] In an implementation manner of the present invention, step S22 includes the following specific steps:
[0019] S221. Analyze the pollution intensity of the book cover based on the pollutant status data of the book cover, and obtain the analysis result of the pollution intensity of the book cover;
[0020] S222. Analyze the degree of environmental penetration of pollutants based on the book storage status data, and obtain the analysis result of the degree of environmental penetration of pollutants;
[0021] S223. Analyze the interlayer diffusion state of the pollutants on the inner pages of the book based on the analysis results of the pollution intensity of the book cover and the environmental penetration degree of the pollutants, and obtain the analysis result of the interlayer diffusion state of the pollutants on the inner pages of the book;
[0022] S224. Analyze the intrusion degree of the pollutants on the inner pages of the book based on the analysis result of the interlayer diffusion state of the pollutants on the inner pages of the book, and obtain the analysis result of the intrusion degree of the pollutants on the inner pages of the book.
[0023] In an implementation manner of the present invention, in step S3, based on the book storage state data and the damage state data of the book cover, analyze the damage degree of the inner pages of the book, including the following specific steps:
[0024] S31. Extract the book storage state data and the damage state data of the book cover;
[0025] S32. Analyze the damage degree of the inner pages of the book based on the book storage state data and the damage state data of the book cover, and obtain the analysis result of the damage degree of the inner pages of the book.
[0026] In an implementation manner of the present invention, step S32 includes the following specific steps:
[0027] S321. Analyze the damage intensity of the book cover based on the damage state data of the book cover, and obtain the analysis result of the damage intensity of the book cover;
[0028] S322. Analyze the aging degree of the book based on the book storage state data, and obtain the analysis result of the aging degree of the book;
[0029] S323. Analyze the damage degree of the inner pages of the book according to the analysis result of the damage intensity of the book cover and the analysis result of the aging degree of the book, and obtain the analysis result of the damage degree of the inner pages of the book.
[0030] In an implementation manner of the present invention, in step S4, based on the pollutant state data and the damage state data of the book cover, analyze the pollution diffusion degree of the inner pages of the book, including the following specific steps:
[0031] S41. Extract the pollutant state data and the damage state data of the book cover;
[0032] S42. Analyze the pollution diffusion degree of the inner pages of the book based on the pollutant state data and the damage state data of the book cover, and obtain the analysis result of the pollution diffusion degree of the inner pages of the book.
[0033] In an implementation manner of the present invention, in step S5, according to the analysis results of the pollutant intrusion degree, the damage degree, and the stain diffusion degree of the book inner pages, the stain risk of the book inner pages is evaluated, including the following specific contents:
[0034] S51. Obtain the analysis results of the pollutant intrusion degree, the damage degree, and the stain diffusion degree of the book inner pages obtained through analysis;
[0035] S52. Based on the analysis results of the pollutant intrusion degree, the damage degree, and the stain diffusion degree of the book inner pages, evaluate the stain risk of the book inner pages to obtain the stain risk evaluation result of the book inner pages.
[0036] In an implementation manner of the present invention, in step S6, based on the stain risk evaluation result of the book inner pages, a warning for book processing is sent to the librarian, including the following specific steps:
[0037] S61. Obtain the stain risk evaluation result of the book inner pages obtained through evaluation;
[0038] S62. Preset a stain risk threshold. When the stain risk evaluation result of the book inner pages is greater than the stain risk threshold, a warning for book processing is sent to the librarian.
[0039] In a second aspect, an intelligent detection system for book cover stains based on image recognition provided by an embodiment of the present invention includes:
[0040] A data acquisition module, configured to acquire the pollutant state data and the damage state data of the book cover through an image sensor, and at the same time acquire the book storage state data;
[0041] A pollutant intrusion degree analysis module, configured to analyze the pollutant intrusion degree of the book inner pages based on the book storage state data and the pollutant state data of the book cover;
[0042] A damage degree analysis module, configured to analyze the damage degree of the book inner pages based on the book storage state data and the damage state data of the book cover;
[0043] A stain diffusion degree analysis module, configured to analyze the stain diffusion degree of the book inner pages based on the pollutant state data and the damage state data of the book cover;
[0044] A stain risk evaluation module, configured to evaluate the stain risk of the book inner pages according to the analysis results of the pollutant intrusion degree, the damage degree, and the stain diffusion degree of the book inner pages;
[0045] A book processing warning module, which is used to give a book processing warning to the librarian based on the evaluation result of the damage risk of the inner pages of the book;
[0046] A control module, which is used to control the operation of the data acquisition module, the pollutant intrusion degree analysis module, the damage degree analysis module, the damage spread degree analysis module, the damage risk assessment module and the book processing warning module.
[0047] In a third aspect, an electronic device provided by an embodiment of the present invention includes: a processor and a memory. Among them, a computer program that can be called by the processor is stored in the memory, and the processor executes an intelligent detection method for book cover damage based on image recognition by calling the computer program stored in the memory.
[0048] In a fourth aspect, a computer-readable storage medium provided by an embodiment of the present invention stores instructions. When the instructions run on a computer, the computer is made to execute an intelligent detection method for book cover damage based on image recognition.
[0049] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0050] Based on the book storage status data and the pollutant status data of the book cover, the present invention analyzes the degree of pollutant intrusion into the inner pages of the book; based on the book storage status data and the damage status data of the book cover, the present invention analyzes the degree of damage to the inner pages of the book; based on the pollutant status data and the damage status data of the book cover, the present invention analyzes the degree of damage spread of the inner pages of the book; according to the analysis results of the degree of pollutant intrusion, the degree of damage and the degree of damage spread of the inner pages of the book, the present invention evaluates the damage risk of the inner pages of the book; based on the evaluation result of the damage risk of the inner pages of the book, the present invention gives a book processing warning to the librarian. It can improve the efficiency and accuracy of book damage detection, reduce labor costs, and improve the management level of libraries and the publishing industry. Description of the Drawings
[0051] By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
[0052] Figure 1 It is a schematic diagram of the overall process of an intelligent detection method for book cover damage based on image recognition of the present invention;
[0053] Figure 2 It is a flowchart of the operation of step S2 in an intelligent detection method for book cover damage based on image recognition of the present invention;
[0054] Figure 3This is the flowchart of step S3 in an intelligent detection method for book cover damage based on image recognition according to the present invention;
[0055] Figure 4 This is the schematic structural diagram of an intelligent detection system for book cover damage based on image recognition according to the present invention. Specific embodiments
[0056] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations on the technical solution of the present invention. Without conflict, the technical features in the embodiments of the present invention and the embodiments can be combined with each other.
[0057] Embodiment 1
[0058] As Figure 1 shown, this embodiment provides an intelligent detection method for book cover damage based on image recognition, which specifically includes the following steps:
[0059] S1. Obtain the pollutant state data and damage state data of the book cover through an image sensor, and at the same time obtain the book storage state data;
[0060] S2. Analyze the degree of pollutant intrusion into the inner pages of the book based on the book storage state data and the pollutant state data of the book cover;
[0061] S3. Analyze the degree of damage to the inner pages of the book based on the book storage state data and the damage state data of the book cover;
[0062] S4. Analyze the degree of pollutant spread in the inner pages of the book based on the pollutant state data and damage state data of the book cover;
[0063] S5. Evaluate the damage risk of the inner pages of the book according to the analysis results of the degree of pollutant intrusion, the degree of damage, and the degree of pollutant spread in the inner pages of the book;
[0064] S6. Based on the damage risk assessment result of the inner pages of the book, give a warning to the librarian for book processing.
[0065] As a preferred technical solution of the present invention, as Figure 2 shown, in step S2, analyzing the degree of pollutant intrusion into the inner pages of the book based on the book storage state data and the pollutant state data of the book cover includes the following specific steps:
[0066] S21. Extract the book storage state data and the pollutant state data of the book cover;
[0067] S22. Analyze the degree of pollutant intrusion into the inner pages of the book based on the book storage status data and the pollutant status data of the book cover, and obtain the analysis result of the degree of pollutant intrusion into the inner pages of the book.
[0068] As a preferred technical solution of the present invention, step S22 includes the following specific steps:
[0069] S221. Analyze the pollution intensity of the book cover based on the pollutant status data of the book cover, and obtain the analysis result of the pollution intensity of the book cover; this step quantifies the pollution status of the cover by comprehensively measuring the similarity and proportion of the color characteristics of the polluted area and the clean area, which can improve the detection sensitivity to complex pollution on the book cover. The calculation formula for the pollution intensity of the book cover is: , where Sc is the pollution intensity of the book cover, At is the total area of the book cover, Aw is the area of the polluted area in the pollutant status data of the book cover, SSIM() is the function for calculating the image similarity, Ic is the original reference image of the book cover obtained from the pre-stored database, and Ia is the current detected image of the book cover in the pollutant status data of the book cover;
[0070] S222. Analyze the degree of environmental penetration of pollutants based on the book storage status data, and obtain the analysis result of the degree of environmental penetration of pollutants; this step comprehensively considers the influence of temperature on the diffusion rate of pollutants and the influence of humidity on the penetration effect of pollution, and at the same time incorporates the storage angle of the book into the formula for calculating the degree of environmental penetration of pollutants, avoiding the influence of gravity on the penetration direction of liquid in pollutants when the book is stored; the calculation formula for the degree of environmental penetration of pollutants is: , where Ep is the degree of environmental penetration of pollutants, H is the average environmental humidity during book storage in the book storage status data, Hs is the maximum environmental humidity during book storage in the book storage status data, ac is the inclination angle of the book during storage in the book storage status data, Ea is the activation energy of water penetration, R is the gas constant, and T is the average environmental temperature during book storage in the book storage status data;
[0071] S223. Analyze the interlayer diffusion state of pollutants in the inner pages of the book according to the analysis result of the pollution intensity of the book cover and the analysis result of the degree of environmental penetration of pollutants, and obtain the analysis result of the interlayer diffusion state of pollutants in the inner pages of the book; this step comprehensively considers the combined effect of the pollution intensity of the book cover and the degree of environmental penetration of pollutants on the interlayer diffusion state of pollutants in the inner pages, avoiding the influence of only considering the pollution intensity in the prior art and ignoring the influence of the storage environment on the diffusion state. The calculation formula for the interlayer diffusion state of pollutants in the inner pages of the book is: , where D is the interlayer diffusion state of pollutants in the inner pages of the book;
[0072] S224. Analyze the degree of pollutant intrusion into the inner pages of the book based on the analysis result of the interlayer diffusion state of pollutants on the inner pages of the book, and obtain the analysis result of the degree of pollutant intrusion into the inner pages of the book. This step quantifies the progressive blockage of the sealing layer thickness on pollutant penetration by substituting the data related to the thickness of the book sealing layer into the Sigmoid function, and combines the interlayer diffusion state of pollutants on the inner pages of the book analyzed in S223 to achieve the analysis of the degree of pollutant intrusion into the inner pages of the book. The calculation formula for the degree of pollutant intrusion into the inner pages of the book is: , where Qw is the degree of pollutant intrusion into the inner pages of the book, dm is the thickness of the book sealing layer, and df is the total thickness of the book cover.
[0073] As a preferred technical solution of the present invention, as Figure 3 shown, in step S3, based on the book storage state data and the damaged state data of the book cover, analyze the damaged degree of the inner pages of the book, including the following specific steps:
[0074] S31. Extract the book storage state data and the damaged state data of the book cover;
[0075] S32. Based on the book storage state data and the damaged state data of the book cover, analyze the damaged degree of the inner pages of the book, and obtain the analysis result of the damaged degree of the inner pages of the book.
[0076] As a preferred technical solution of the present invention, step S32 includes the following specific steps:
[0077] S321. Based on the damaged state data of the book cover, analyze the damaged strength of the book cover, and obtain the analysis result of the damaged strength of the book cover; this step analyzes the expansion state of the crack by analyzing the crack area and number on the book cover. At the same time, judge the damage risk by analyzing the stress state of the cover material, and then realize the quantification of the damaged strength of the cover. The calculation formula for the damaged strength of the book cover is: , where Bs is the damaged strength of the book cover, n is the number of cracks in the damaged state data of the book cover, Sw is the average area of a single crack in the damaged state data of the book cover, At is the total area of the book cover, Ymax is the maximum stress when the book cover is stored in the damaged state data of the book cover, and Yc is the yield strength of the book cover material in the damaged state data of the book cover;
[0078] S322. Based on the book storage state data, analyze the aging degree of the book, and obtain the analysis result of the aging degree of the book; this step quantifies the influence of the ultraviolet environment on the aging degree of the book, thereby realizing the analysis of the damage condition of the inner pages of the book through the aging degree of the book. The calculation formula for the aging degree of the book is: , where Ag is the aging degree of the book, uv is the average ultraviolet intensity that the book contacts during the storage process in the book storage status data, uvmax is the maximum ultraviolet intensity that the book contacts during the storage process in the book storage status data, tb is the exposure time of the book under ultraviolet light during the storage process in the book storage status data, and tc is the storage time of the book in the book storage status data;
[0079] S323. According to the analysis results of the damage intensity of the book cover and the analysis results of the aging degree of the book, analyze the damage degree of the inner pages of the book to obtain the analysis results of the damage degree of the inner pages of the book. This step realizes the quantification of the damage degree by comprehensively considering the combined effects of the damage intensity and the aging degree of the book. At the same time, during the analysis process, considering that the binding thickness and the thickness of the inner pages of the book will affect the risk of damage to the inner pages, therefore, this step uses an exponential decay model to quantify the non-linear decay of the binding protection effect. The calculation formula for the damage degree of the inner pages of the book is: , where Din is the damage degree of the inner pages of the book, dz is the binding thickness of the book, and dn is the thickness of the inner pages of the book;
[0080] As a preferred technical solution of the present invention, in step S4, based on the pollutant status data and the damage status data of the book cover, analyze the pollution diffusion degree of the inner pages of the book, including the following specific steps:
[0081] S41. Extract the pollutant status data and the damage status data of the book cover;
[0082] S42. Based on the pollutant status data and the damage status data of the book cover, analyze the pollution diffusion degree of the inner pages of the book to obtain the analysis results of the pollution diffusion degree of the inner pages of the book. This step analyzes the pollution diffusion degree of the inner pages of the book by quantifying the pollutant status at the damaged part of the book cover, and can reflect the pollutant penetration ability at the damaged position. The calculation formula for the pollution diffusion degree of the inner pages of the book is: , where Dy is the pollution diffusion degree of the inner pages of the book, NI is the number of pixel points in the current detection image of the book cover, Np is the set of pixel points corresponding to the pollutants in the current detection image of the book cover in the pollutant status data of the book cover, Nw is the set of pixel points corresponding to the cracks in the current detection image of the book cover in the pollutant status data of the book cover, respectively represent taking the union and intersection, and num() represents taking the number of pixel points in the parentheses.
[0083] As a preferred technical solution of the present invention, in step S5, according to the analysis results of the pollutant intrusion degree, the damage degree, and the pollution diffusion degree of the inner pages of the book, evaluate the pollution risk of the inner pages of the book, including the following specific contents:
[0084] S51. Obtain the analysis results of the degree of pollutant intrusion, the degree of damage, and the degree of stain diffusion on the inner pages of the book;
[0085] S52. Based on the analysis results of the degree of pollutant intrusion, the degree of damage, and the degree of stain diffusion on the inner pages of the book, evaluate the stain risk of the inner pages of the book to obtain the stain risk assessment result of the inner pages of the book. This step comprehensively analyzes the degree of pollutant intrusion, the degree of damage to the inner pages, and the degree of stain diffusion, so as to be able to quantify the impacts of chemical pollution, mechanical damage, and pollutant diffusion on the stain risk of the inner pages at the same time, improving the efficiency of book stain detection. The stain risk assessment formula for the inner pages of the book is: , where WS is the stain risk of the inner pages of the book, and a, b, and c are the influence weights of the degree of pollutant intrusion, the degree of damage, and the degree of stain diffusion respectively.
[0086] As a preferred technical solution of the present invention, in step S6, based on the stain risk assessment result of the inner pages of the book, give a warning to the librarian about book processing, including the following specific steps:
[0087] S61. Obtain the stain risk assessment result of the inner pages of the book obtained by evaluation;
[0088] S62. Preset a stain risk threshold. When the stain risk assessment result of the inner pages of the book is greater than the stain risk threshold, give a warning to the librarian about book processing; it should be noted that the acquisition method of the set parameters (such as weights and thresholds) in this embodiment is obtained through experiments by those skilled in the art. The specific experimental method is: obtain the pollutant state data and damage state data of the covers of multiple historical books, and at the same time obtain the corresponding book storage state data, substitute them into each step of this embodiment to evaluate the stain risk of the inner pages of multiple historical books, and at the same time obtain the judgment results of the stain conditions in the inner pages of multiple historical books. Import the judgment results of the stain conditions in the inner pages of multiple historical books and the evaluation results of the stain risk of the inner pages of multiple historical books obtained by each step into the fitting software for continuous fitting to obtain the values of the set parameters (such as weights and thresholds) that meet the maximum stain risk judgment accuracy rate.
[0089] Embodiment 2
[0090] As Figure 4 shown, this embodiment provides an intelligent detection system for book cover stains based on image recognition, including:
[0091] A data acquisition module, configured to obtain the pollutant state data and damage state data of the book cover through an image sensor, and at the same time obtain the book storage state data;
[0092] A pollutant intrusion degree analysis module, which is used to analyze the pollutant intrusion degree of the inner pages of a book based on the book storage status data and the pollutant status data of the book cover;
[0093] A damage degree analysis module, which is used to analyze the damage degree of the inner pages of a book based on the book storage status data and the damage status data of the book cover;
[0094] A stain diffusion degree analysis module, which is used to analyze the stain diffusion degree of the inner pages of a book based on the pollutant status data and the damage status data of the book cover;
[0095] A stain risk assessment module, which is used to assess the stain risk of the inner pages of a book according to the analysis results of the pollutant intrusion degree, the damage degree, and the stain diffusion degree of the inner pages of the book;
[0096] A book processing warning module, which is used to give a book processing warning to the librarian based on the stain risk assessment result of the inner pages of the book;
[0097] A control module, which is used to control the operation of the data acquisition module, the pollutant intrusion degree analysis module, the damage degree analysis module, the stain diffusion degree analysis module, the stain risk assessment module, and the book processing warning module.
[0098] For the parameters and the steps for each unit module in the above-mentioned intelligent detection system for book cover stains based on image recognition of the present invention to achieve corresponding functions, reference can be made to the parameters and steps in the embodiments of the intelligent detection method for book cover stains based on image recognition in the above text, which will not be elaborated here.
[0099] Embodiment 3
[0100] An electronic device according to an embodiment of the present invention includes: a processor and a memory. Among them, a computer program that can be called by the processor is stored in the memory, and the processor executes an intelligent detection method for book cover stains based on image recognition by calling the computer program stored in the memory. It should be noted that: all computer programs of the intelligent detection method for book cover stains based on image recognition are implemented using the C language. Among them, the data acquisition module, the pollutant intrusion degree analysis module, the damage degree analysis module, the stain diffusion degree analysis module, the stain risk assessment module, the book processing warning module, and the control module are all controlled by a remote server.
[0101] Embodiment 4
[0102] This embodiment provides a computer-readable storage medium, on which a rewritable computer program is stored;
[0103] When the computer program runs on a computer device, the computer device is caused to execute the above-mentioned intelligent detection method for book cover damage based on image recognition.
[0104] Each embodiment in the present invention is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the Internet of Things devices and media, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the partial description of the method embodiments.
[0105] The systems and media provided by the embodiments of the present invention correspond one-to-one with the methods. Therefore, the systems and media also have beneficial technical effects similar to those of the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the systems and media will not be elaborated here.
[0106] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0107] The present invention is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.
[0108] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device realizes the functions specified in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.
[0109] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0110] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0111] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0112] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0113] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. An intelligent detection method for book cover damage based on image recognition, characterized in that: The steps include: S1, obtaining the pollution status data and damage status data of the book cover through the image sensor, and obtaining the book storage status data at the same time; S2. Analyze the degree of pollutant intrusion into the inner pages of the book based on the book storage status data and the pollutant status data of the book cover; S3, analyzing the degree of damage to the inner pages of the book based on the book storage status data and the damage status data of the book cover; S4. Analyze the degree of contamination spread of the inner pages of the book based on the pollutant status data and damage status data of the book cover; S5. Evaluate the risk of contamination of the inner pages of the book based on the results of the analysis of the degree of pollutant intrusion, the degree of damage and the degree of contamination diffusion of the inner pages of the book; S6. Based on the risk assessment results of the book pages being damaged, the librarian is given a warning on the handling of the book; In step S2, based on the book storage status data and the pollutant status data of the book cover, the degree of pollutant intrusion into the inner pages of the book is analyzed, including the following specific steps: S21, extracting book storage status data and pollutant status data of book covers; S22, analyzing the degree of pollutant intrusion of the inner pages of the book based on the book storage status data and the pollutant status data of the book cover, and obtaining the analysis result of the degree of pollutant intrusion of the inner pages of the book; The step S22 includes the following specific steps: S221, analyzing the pollution intensity of the book cover based on the pollutant status data of the book cover to obtain a pollution intensity analysis result of the book cover; S222, analyzing the environmental penetration degree of pollutants based on the book storage status data to obtain the environmental penetration degree analysis results of pollutants; S223, analyzing the interlayer diffusion state of pollutants on the inner pages of the book based on the pollution intensity analysis results of the book cover and the environmental penetration degree analysis results of pollutants, and obtaining the interlayer diffusion state analysis results of pollutants on the inner pages of the book; S224, analyzing the degree of pollutant intrusion into the inner pages of the book according to the results of the interlayer diffusion state analysis of pollutants in the inner pages of the book, and obtaining the results of the analysis of the degree of pollutant intrusion into the inner pages of the book; In step S4, based on the pollutant status data and damage status data of the book cover, the degree of contamination diffusion of the inner pages of the book is analyzed, including the following specific steps: S41, extracting pollutant status data and damage status data of the book cover; S42. Based on the pollutant status data and damage status data of the book cover, the degree of contamination diffusion of the inner pages of the book is analyzed to obtain the analysis result of the degree of contamination diffusion of the inner pages of the book; the calculation formula of the degree of contamination diffusion of the inner pages of the book is: , where Dy is the degree of contamination diffusion of the inner pages of the book, NI is the number of pixels in the current detection image of the book cover, Np is the set of pixels corresponding to the pollutants in the current detection image of the book cover in the pollutant status data of the book cover, and Nw is the set of pixels corresponding to the cracks in the current detection image of the book cover in the pollutant status data of the book cover. They are respectively used to obtain the union and intersection, and num() is used to obtain the number of pixels in the brackets.
2. According to the method of intelligent detection of book cover damage based on image recognition in claim 1, it is characterized in that: In step S3, the damage degree of the inner pages of the book is analyzed based on the book storage status data and the damage status data of the book cover, and the specific steps include: S31, extracting the book storage status data and the book cover damage status data; S32: Based on the book storage status data and the damage status data of the book cover, the damage degree of the inner pages of the book is analyzed to obtain the damage degree analysis result of the inner pages of the book.
3. The method for detecting book cover damage based on image recognition according to claim 2, characterized in that: The step S32 includes the following specific steps: S321, analyzing the damage strength of the book cover based on the damage state data of the book cover to obtain a damage strength analysis result of the book cover; S322, analyzing the aging degree of the books based on the book storage status data to obtain a book aging degree analysis result; S323. Analyze the damage degree of the inner pages of the book according to the damage strength analysis result of the book cover and the book aging degree analysis result, and obtain the damage degree analysis result of the inner pages of the book.
4. The method for detecting book cover damage based on image recognition according to claim 3 is characterized in that: In step S5, the contamination risk of the inner pages of the book is evaluated according to the analysis results of the degree of contaminant intrusion, the degree of damage and the degree of contamination diffusion of the inner pages of the book, including the following specific contents: S51, obtaining the results of the pollutant intrusion degree analysis, the damage degree analysis, and the contamination diffusion degree analysis of the inner pages of the book; S52. Based on the analysis results of the degree of pollutant intrusion, the degree of damage and the degree of contamination diffusion of the inner pages of the book, the contamination risk of the inner pages of the book is assessed to obtain a contamination risk assessment result of the inner pages of the book.
5. The method for intelligent detection of book cover damage based on image recognition according to claim 4, characterized in that: In step S6, based on the risk assessment result of the book inner pages being damaged, a book handling warning is issued to the librarian, including the following specific steps: S61, obtaining the defacement risk assessment result of the inner pages of the book; S62: A contamination risk threshold is preset. When the contamination risk assessment result of the inner pages of a book is greater than the contamination risk threshold, a book handling warning is issued to the librarian.
6. An intelligent detection system for book cover damage based on image recognition, which is implemented based on an intelligent detection method for book cover damage based on image recognition as claimed in any one of claims 1 to 5, characterized in that: The system comprises: A data acquisition module, used to acquire the contaminant status data and damage status data of the book cover through an image sensor, and acquire the book storage status data at the same time; A pollutant intrusion degree analysis module is used to analyze the pollutant intrusion degree of the inner pages of a book based on the book storage status data and the pollutant status data of the book cover; A damage degree analysis module is used to analyze the damage degree of the inner pages of the book based on the book storage status data and the damage status data of the book cover; A contamination diffusion degree analysis module is used to analyze the contamination diffusion degree of the inner pages of the book based on the contaminant state data and damage state data of the book cover; A contamination risk assessment module is used to assess the contamination risk of the inner pages of the book based on the results of the analysis of the degree of contaminant intrusion, the degree of damage and the degree of contamination diffusion of the inner pages of the book; The book processing warning module is used to issue book processing warnings to librarians based on the risk assessment results of the book pages being damaged; A control module is used to control the operation of the data acquisition module, the pollutant intrusion degree analysis module, the damage degree analysis module, the contamination spread degree analysis module, the contamination risk assessment module and the book processing early warning module.
7. An electronic device comprising: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; characterized in that the processor executes the intelligent detection method for book cover defacement based on image recognition as described in any one of claims 1 to 5 by calling the computer program stored in the memory.
Citation Information
Patent Citations
Second-hand book trading assessment system and method based on mobile Internet
CN106779912A
Unmanned library book cover detection system and method
CN109682838A