Collaborative paper archive digital processing method and system
Through the collaborative digital processing method of paper archives, AI and OCR technology are used to convert paper archives into electronic documents, solving the problem of inefficiency of the paper archive system, achieving efficient information management and sharing, and promoting the development of paper archives. The transformation of electronic archives.
Patent Information
- Application Number
- CN202410869772.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-11
AI Technical Summary
The existing paper archive system consumes a lot of manpower and material resources in collection, archiving, maintenance, search and retrieval, is inefficient, and cannot achieve real-time multi-person collaborative editing and version control, making sharing difficult.
Adopt a collaborative paper archive digital processing method, convert paper archives into editable electronic documents through AI correction, OCR technology and AI marking, and provide intelligent search functions, using deep learning models and frameworks (such as YOLOv5, PaddlePaddle) Perform image preprocessing and document recognition to achieve automated file digitization and labeling.
Save storage space, improve information management efficiency, promote information sharing and collaboration, significantly improve retrieval efficiency, and promote the transformation of paper archives into electronic archives.
Smart Images

Figure CN118760797A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of paper archive digital processing, in particular to a collaborative paper archive digital processing method and system. Background Art
[0002] The existing paper archive system has the following problems:
[0003] 1. Archive collection, archiving, and maintenance require a lot of manpower and material resources, take up a lot of space, and are costly.
[0004] 2. Searching and retrieving information requires manually searching through files, which is time-consuming and inefficient.
[0005] 3. Sharing and collaboration require the physical transfer of files or the making of copies, which makes it impossible to achieve real-time multi-person collaborative editing and version control.
[0006] In contrast, digital archive systems reduce storage and management costs, provide fast retrieval and collaboration capabilities, can improve work efficiency, and are highly reliable, and are the direction that will be vigorously promoted in the future. Summary of the invention
[0007] In view of the needs and shortcomings of current technological development, the present invention provides a collaborative paper archive digitization processing method and system to save archive storage space, promote information sharing and collaboration, and improve information management efficiency, so as to convert existing paper archives into digital archives and provide intelligent search functions.
[0008] In the first aspect, the present invention provides a collaborative paper archive digitization processing method, and the technical solution adopted to solve the above technical problems is as follows:
[0009] A collaborative paper archive digitization processing method comprises the following steps:
[0010] Scan paper archive files through acquisition equipment or directly import electronic files to obtain original images;
[0011] First, AI de-skew, whiten and remove black edges, and perform super-resolution operations on the original image. Then, OCR technology is used to intelligently identify and analyze the original image and export it as an editable electronic document. Finally, AI tagging technology is used to intelligently identify different labels in the original image and label the corresponding content of the editable electronic document.
[0012] The original images and editable electronic documents with classification labels are manually reviewed for AI correction, whitening, black edge removal and super-resolution operations. After passing the review, they are synthesized and exported as double-layer OFD files and saved in the archive database.
[0013] Optionally, perform AI de-skew on the original image. The process is as follows:
[0014] Obtain historical images from historical application scenarios, which contain various possible tilts and offsets;
[0015] Perform pre-processing operations such as scaling, cropping and rotating the acquired images;
[0016] Randomly divide the preprocessed images into training sets and test sets;
[0017] Using the YOLOv5 framework, the training set is input into the deep learning model for training, and an AI model is obtained that can identify the core content in the image and eliminate surrounding obstacles.
[0018] Use the test set to test the trained AI model. When the output of the AI model exceeds the set threshold, output the AI model for subsequent use.
[0019] The output AI model is deployed to the actual application scenario, and the original image of the paper document or electronic document is obtained from the actual application scenario. The AI model identifies the core content of the original image, and uses the text recognition model to determine the direction of the text. According to the direction of the text, the tilt angle of the original image is calculated, and then the original image is rotated to correct the tilt of the image. Finally, the corrected original image is output.
[0020] Optionally, the original image after AI correction can be whitened and black edges can be removed. The operation process is as follows:
[0021] First, grayscale the original image to convert the color image into a grayscale image;
[0022] Next, the Canny edge detection algorithm is used to obtain the edge of the grayscale image. After determining that the edge position is a black edge, the black edge is refilled using the pixel values of the adjacent area.
[0023] Optionally, for the original image after AI correction, whitening and black edge removal, and super-resolution operations, use OCR technology to intelligently identify and analyze the original image. The operation process is as follows:
[0024] Obtain historical images from historical application scenarios after AI correction, whitening and black edge removal, and super-resolution operations, find historical images containing handwritten fonts, and form a data set;
[0025] Perform preprocessing operations such as denoising, binarization and correction on the dataset;
[0026] The preprocessed data set is randomly divided into training set and test set;
[0027] Use the PaddlePaddle deep learning framework to build an OCR model, use the training set to train the built OCR model, and use the test set to test the trained OCR model. When the test accuracy of the OCR model exceeds the set threshold, the OCR model can be output for subsequent use.
[0028] The output OCR model is deployed to the actual application scenario, and the OCR model is used to recognize and analyze the original image after AI correction, whitening and black edge removal and super-resolution operations, output the recognition results, and export them as editable electronic documents.
[0029] Optionally, for the original image after AI correction, whitening and black edge removal, and super-resolution operations, AI labeling technology is used to label the content on the original image. The operation process is as follows:
[0030] Collect historical images of various layout files containing titles, texts and page numbers from historical application scenarios, and perform preprocessing operations such as denoising and contrast enhancement;
[0031] The preprocessed historical images are divided into training set and test set.
[0032] Use the LabelImg tool to label the historical images of the training set and create the corresponding label file. Then, train the YOLOv5 model based on the labeled training set. During the training process, optimize the YOLOv5 model through the positive feedback mechanism. Then, test the YOLOv5 model based on the unlabeled test set. When the test accuracy of the YOLOv5 model exceeds the set threshold, the YOLOv5 model can be output for subsequent use.
[0033] The output YOLOv5 model is deployed to the actual application scenario. The YOLOv5 model is used to intelligently identify the title, text and page number in the original image, and the content contained in the editable electronic document is labeled with "title", "text" and "page number" classification labels.
[0034] In a second aspect, the present invention provides a collaborative paper archive digital processing system, and the technical solution adopted to solve the above technical problems is as follows:
[0035] A collaborative paper archive digital processing system, comprising:
[0036] The acquisition and import module is used to scan paper archive files through acquisition equipment or directly import electronic files to obtain original images;
[0037] The pre-processing module is used to perform AI de-skew, whiten and remove black edges, and perform super-resolution operations on the original image.
[0038] The recognition and analysis module is used to intelligently recognize and analyze the original image using OCR technology and export it as an editable electronic document;
[0039] The recognition and tagging module is used to intelligently identify different tags in the original image using AI tagging technology and to label the corresponding content of the editable electronic document with classification tags;
[0040] The review and export module is used to assist manual review of original images and editable electronic documents with classification labels after AI correction, whitening and black edge removal, and super-resolution operations, and synthesize and export them into a double-layer OFD file after the review is passed, and save it in the archive database.
[0041] Optionally, the preprocessing module involved uses a pre-trained AI model to perform AI correction on the original image. The specific correction process is: use the pre-trained AI model to identify the core content of the original image, and use the text recognition model to determine the direction of the text. According to the direction of the text, calculate the tilt angle of the original image, and then rotate the original image to correct the tilt of the image. Finally, output the corrected original image;
[0042] The pre-training process of the AI model involved is as follows:
[0043] Obtain historical images from historical application scenarios, which contain various possible tilts and offsets.
[0044] Perform pre-processing operations such as scaling, cropping and rotating the acquired images.
[0045] The preprocessed images are randomly divided into training sets and test sets.
[0046] Using the YOLOv5 framework, the training set is input into the deep learning model for training, and an AI model is obtained that can identify the core content in the image and eliminate surrounding obstacles.
[0047] Use the test set to test the trained AI model. When the output result of the AI model exceeds the set threshold, the output AI model is deployed to the actual application scenario.
[0048] Further optionally, the pre-processing module involved performs whitening and black edge removal operations on the original image after AI correction. The specific process is as follows:
[0049] First, grayscale the original image to convert the color image into a grayscale image;
[0050] Next, the Canny edge detection algorithm is used to obtain the edge of the grayscale image. After determining that the edge position is a black edge, the black edge is refilled using the pixel values of the adjacent area.
[0051] Further optionally, for the original image after AI correction, whitening and black edge removal and super-resolution operations, the recognition and analysis module uses a pre-trained OCR model to recognize and analyze the original image, output the recognition result, and export it as an editable electronic document;
[0052] The pre-training process of the OCR model involved is as follows:
[0053] Obtain historical images from historical application scenarios after AI correction, whitening, black edge removal, and super-resolution operations, find historical images containing handwritten fonts, and form a data set.
[0054] Perform preprocessing operations such as denoising, binarization and correction on the data set.
[0055] The preprocessed data set is randomly divided into training set and test set.
[0056] The PaddlePaddle deep learning framework is used to build the OCR model, the training set is used to train the built OCR model, and the test set is used to test the trained OCR model. When the test accuracy of the OCR model exceeds the set threshold, the OCR model can be output and deployed to the actual application scenario.
[0057] Further optionally, for the original image after AI correction, whitening and black edge removal and super-resolution operations, the identification and marking module uses a pre-trained YOLOv5 model to intelligently identify the title, text and page number in the original image, and assigns classification labels of "title", "text" and "page number" to the content contained in the editable electronic document;
[0058] The pre-training process of the YOLOv5 model involved is as follows:
[0059] Collect historical images of various layout files containing titles, texts and page numbers from historical application scenarios, and perform preprocessing operations such as denoising and contrast enhancement.
[0060] The preprocessed historical images are divided into training set and test set.
[0061] Use the LabelImg tool to label the historical images of the training set and create the corresponding label file. Then, train the YOLOv5 model based on the labeled training set. During the training process, optimize the YOLOv5 model through the positive feedback mechanism. Then, test the YOLOv5 model based on the unlabeled test set. When the test accuracy of the YOLOv5 model exceeds the set threshold, the YOLOv5 model can be output and deployed to the actual application scenario.
[0062] Compared with the prior art, the collaborative paper archive digitization processing method and system of the present invention has the following beneficial effects:
[0063] 1. The present invention can efficiently promote the process of transformation from paper archives to electronic archives, save the storage space of paper archives, improve the quality of electronic archives, promote information sharing and collaboration, and improve information management efficiency;
[0064] 2. The present invention uses AI marking and OCR technology to mark and store information at key locations of documents, which can greatly improve retrieval efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Attached Figure 1 is a flow chart of a method according to Embodiment 1 of the present invention;
[0066] Attached Figure 2 This is a module connection block diagram of the second embodiment of the present invention. DETAILED DESCRIPTION
[0067] In order to make the technical solution, the technical problem solved and the technical effect of the present invention more clearly understood, the technical solution of the present invention is clearly and completely described below in conjunction with specific embodiments.
[0068] Embodiment 1:
[0069] Combined with Figure 1 This embodiment proposes a collaborative paper archive digitization processing method, which includes the following steps:
[0070] (1) Scan paper archive documents through acquisition equipment or directly import electronic files to obtain original images.
[0071] The acquisition device can be a high-speed camera, a high-speed scanner, or a USB flash drive.
[0072] (ii) First, AI de-skew, whiten, remove black edges, and perform super-resolution operations on the original image. Then, OCR technology is used to intelligently identify and analyze the original image and export it as an editable electronic document. Finally, AI tagging technology is used to intelligently identify different labels in the original image and assign classification labels to the corresponding content of the editable electronic document.
[0073] 1. Perform AI deflection correction on the original image. The operation process is as follows:
[0074] (1.1) Training model:
[0075] Obtain historical images from historical application scenarios, which contain various possible tilts and offsets;
[0076] Perform pre-processing operations such as scaling, cropping and rotating the acquired images;
[0077] Randomly divide the preprocessed images into training sets and test sets;
[0078] Using the YOLOv5 framework, the training set is input into the deep learning model for training, and an AI model is obtained that can identify the core content in the image and eliminate surrounding obstacles.
[0079] Use the test set to test the trained AI model. When the output of the AI model exceeds the set threshold, output the AI model for subsequent use.
[0080] (1.2)Usage model:
[0081] The output AI model is deployed to the actual application scenario, and the original image of the paper document or electronic document is obtained from the actual application scenario. The AI model identifies the core content of the original image, and uses the text recognition model to determine the direction of the text. According to the direction of the text, the tilt angle of the original image is calculated, and then the original image is rotated to correct the tilt of the image. Finally, the corrected original image is output.
[0082] 2. Whiten and remove the black edges of the original image after AI correction. The operation process is as follows:
[0083] First, grayscale the original image to convert the color image into a grayscale image;
[0084] Next, the Canny edge detection algorithm is used to obtain the edge of the grayscale image. After determining that the edge position is a black edge, the black edge is refilled using the pixel values of the adjacent area.
[0085] 3. Use any of the interpolation-based methods (such as nearest neighbor interpolation, bilinear interpolation, bicubic interpolation), reconstruction-based methods (such as iterative back projection method IBP, convex set projection method POCS, maximum a posteriori probability method MAP), learning-based methods (such as manifold learning, sparse coding methods), and deep learning-based methods (such as SRCNN, ESPCN, EDSR, SRGAN) to perform super-resolution operations on the original image after AI correction and whitening and black edge removal.
[0086] 4. For the original image after AI correction, whitening and black edge removal and super-resolution operations, use OCR technology to intelligently identify and analyze the original image. The operation process is as follows:
[0087] (4.1) Training model:
[0088] Obtain historical images from historical application scenarios after AI correction, whitening and black edge removal, and super-resolution operations, find historical images containing handwritten fonts, and form a data set;
[0089] Perform preprocessing operations such as denoising, binarization and correction on the dataset;
[0090] The preprocessed data set is randomly divided into training set and test set;
[0091] Use the PaddlePaddle deep learning framework to build an OCR model, use the training set to train the built OCR model, and use the test set to test the trained OCR model. When the test accuracy of the OCR model exceeds the set threshold, the OCR model can be output for subsequent use.
[0092] (4.2)Usage model:
[0093] The output OCR model is deployed to the actual application scenario, and the OCR model is used to recognize and analyze the original image after AI correction, whitening and black edge removal and super-resolution operations, output the recognition results, and export them as editable electronic documents.
[0094] 5. For the original image after AI correction, whitening and black edge removal and super-resolution operation, use AI labeling technology to label the content on the original image. The operation process is as follows:
[0095] (5.1) Training model:
[0096] Collect historical images of various layout files containing titles, texts and page numbers from historical application scenarios, and perform preprocessing operations such as denoising and contrast enhancement;
[0097] The preprocessed historical images are divided into training set and test set.
[0098] Use the LabelImg tool to label the historical images of the training set and create the corresponding label file. Then, train the YOLOv5 model based on the labeled training set. During the training process, optimize the YOLOv5 model through the positive feedback mechanism. Then, test the YOLOv5 model based on the unlabeled test set. When the test accuracy of the YOLOv5 model exceeds the set threshold, the YOLOv5 model can be output for subsequent use.
[0099] (5.2)Usage model:
[0100] The output YOLOv5 model is deployed to the actual application scenario. The YOLOv5 model is used to intelligently identify the title, text and page number in the original image, and the content contained in the editable electronic document is labeled with "title", "text" and "page number" classification labels.
[0101] (3) Manual review of the original images after AI correction, whitening and black edge removal, and super-resolution operations, and the editable electronic documents with classification labels. After passing the review, they are synthesized and exported as a two-layer OFD file and saved in the archive database.
[0102] Embodiment 2:
[0103] Combined with Figure 2 This embodiment proposes a collaborative paper archive digital processing system, which includes:
[0104] The acquisition and import module is used to scan paper archive files through acquisition equipment, or directly import electronic files to obtain original images;
[0105] The pre-processing module is used to perform AI de-skew, whiten and remove black edges, and perform super-resolution operations on the original image.
[0106] The recognition and analysis module is used to intelligently recognize and analyze the original image using OCR technology and export it as an editable electronic document;
[0107] The recognition and tagging module is used to intelligently identify different tags in the original image using AI tagging technology and to label the corresponding content of the editable electronic document with classification tags;
[0108] The review and export module is used to assist manual review of original images and editable electronic documents with classification labels after AI correction, whitening and black edge removal, and super-resolution operations, and synthesize and export them into a double-layer OFD file after the review is passed, and save it in the archive database.
[0109] In this embodiment, the preprocessing module involved uses a pretrained AI model to perform AI correction on the original image. The specific correction process is: use the pretrained AI model to identify the core content of the original image, and use the text recognition model to determine the direction of the text. According to the direction of the text, calculate the tilt angle of the original image, and then rotate the original image to correct the tilt of the image. Finally, output the corrected original image. Among them, the pre-training process of the AI model is as follows: obtain historical images from historical application scenarios, which contain various possible tilts and offsets, perform pre-processing operations such as scaling, cropping and rotating the obtained images, randomly divide the pre-processed images into training sets and test sets, use the YOLOv5 framework, input the training set into the deep learning model for training, and obtain an AI model that can identify the core content in the image and eliminate surrounding obstacles. Use the test set to test the trained AI model. When the output result of the AI model exceeds the set threshold, the output AI model is deployed to the actual application scenario.
[0110] In this embodiment, the pre-processing module performs whitening and black edge removal operations on the original image after AI correction. The specific process is as follows:
[0111] First, grayscale the original image to convert the color image into a grayscale image;
[0112] Next, the Canny edge detection algorithm is used to obtain the edge of the grayscale image. After determining that the edge position is a black edge, the black edge is refilled using the pixel values of the adjacent area.
[0113] In this embodiment, for the original picture after AI correction, smearing and super-resolution, the recognition and analysis module involved uses a pre-trained OCR model to recognize and analyze the original picture, output the recognition result, and export it as an editable electronic document. Among them, the pre-training process of the OCR model is as follows: obtain historical pictures after AI correction, smearing and super-resolution from historical application scenarios, find historical pictures containing handwritten fonts, form a data set, perform denoising, binarization and correction pre-processing operations on the data set, randomly divide the pre-processing data set into a training set and a test set, use the PaddlePaddle deep learning framework to build an OCR model, use the training set to train the built OCR model, use the test set to test the trained OCR model, and when the test accuracy of the OCR model exceeds the set threshold, the OCR model can be output and deployed to the actual application scenario.
[0114] In this embodiment, for the original image after AI correction, whitening and black edge removal and super-resolution operation, the identification and marking module involved uses the pre-trained YOLOv5 model to intelligently identify the title, text and page number in the original image, and labels the content contained in the editable electronic document with the classification labels of "title", "text" and "page number". Among them, the pre-training process of the YOLOv5 model is as follows: collect historical images of various layout files containing titles, texts and page numbers from historical application scenarios, perform pre-processing operations of denoising and contrast enhancement, divide the pre-processed historical images into training sets and test sets, use the LabelImg tool to annotate the historical images of the training set, create corresponding label files, and then train the YOLOv5 model based on the annotated training set. During the training process, the YOLOv5 model is optimized through a positive feedback mechanism; then, the YOLOv5 model is tested based on the unlabeled test set, and when the test accuracy of the YOLOv5 model exceeds the set threshold, the YOLOv5 model can be output and deployed to the actual application scenario.
[0115] In summary, the collaborative paper archive digitization processing method and system of the present invention can efficiently promote the process of transformation from paper archives to electronic archives, save the storage space of paper archives, and improve the quality of electronic archives.
[0116] The above specific examples are used to explain the principles and implementation methods of the present invention in detail. These examples are only used to help understand the core technical content of the present invention. Based on the above specific embodiments of the present invention, any improvements and modifications made by technicians in this technical field without departing from the principles of the present invention should fall within the scope of patent protection of the present invention.
Claims
1. A collaborative paper archive digitization processing method, characterized in that: The steps include: Scan paper archive files through acquisition equipment or directly import electronic files to obtain original images; First, AI de-skew, whiten and remove black edges, and perform super-resolution operations on the original image. Then, OCR technology is used to intelligently identify and analyze the original image and export it as an editable electronic document. Finally, AI tagging technology is used to intelligently identify different labels in the original image and label the corresponding content of the editable electronic document. The original images and editable electronic documents with classification labels are manually reviewed for AI correction, whitening, black edge removal and super-resolution operations. After passing the review, they are synthesized and exported as double-layer OFD files and saved in the archive database.
2. A collaborative paper archive digitization processing method according to claim 1, characterized in that: Perform AI deflection correction on the original image. The operation process is as follows: Obtain historical images from historical application scenarios, which contain various possible tilts and offsets; Perform pre-processing operations such as scaling, cropping and rotating the acquired images; Randomly divide the preprocessed images into training sets and test sets; Using the YOLOv5 framework, the training set is input into the deep learning model for training, and an AI model is obtained that can identify the core content in the image and eliminate surrounding obstacles. Use the test set to test the trained AI model. When the output of the AI model exceeds the set threshold, output the AI model for subsequent use. The output AI model is deployed to the actual application scenario, and the original image of the paper document or electronic document is obtained from the actual application scenario. The AI model identifies the core content of the original image, and uses the text recognition model to determine the direction of the text. According to the direction of the text, the tilt angle of the original image is calculated, and then the original image is rotated to correct the tilt of the image. Finally, the corrected original image is output.
3. A collaborative paper archive digitization processing method according to claim 2, characterized in that: The original image after AI correction is smeared and black edges are removed. The operation process is as follows: First, grayscale the original image to convert the color image into a grayscale image; Next, the Canny edge detection algorithm is used to obtain the edge of the grayscale image. After determining that the edge position is a black edge, the black edge is refilled using the pixel values of the adjacent area.
4. A collaborative paper archive digitization processing method according to claim 3, characterized in that: For the original image after AI correction, whitening and black edge removal, and super-resolution operations, use OCR technology to intelligently identify and analyze the original image. The operation process is as follows: Obtain historical images from historical application scenarios after AI correction, whitening and black edge removal, and super-resolution operations, find historical images containing handwritten fonts, and form a data set; Perform preprocessing operations such as denoising, binarization and correction on the dataset; The preprocessed data set is randomly divided into training set and test set; Use the PaddlePaddle deep learning framework to build an OCR model, use the training set to train the built OCR model, and use the test set to test the trained OCR model. When the test accuracy of the OCR model exceeds the set threshold, the OCR model can be output for subsequent use. The output OCR model is deployed to the actual application scenario, and the OCR model is used to recognize and analyze the original image after AI correction, whitening and black edge removal and super-resolution operations, output the recognition results, and export them as editable electronic documents.
5. A collaborative paper archive digitization processing method according to claim 4, characterized in that: For the original image after AI correction, whitening and black edge removal and super-resolution operations, AI labeling technology is used to label the content on the original image. The operation process is as follows: Collect historical images of various layout files containing titles, texts and page numbers from historical application scenarios, and perform preprocessing operations such as denoising and contrast enhancement; The preprocessed historical images are divided into training set and test set. Use the LabelImg tool to label the historical images of the training set and create the corresponding label file. Then, train the YOLOv5 model based on the labeled training set. During the training process, optimize the YOLOv5 model through the positive feedback mechanism. Then, test the YOLOv5 model based on the unlabeled test set. When the test accuracy of the YOLOv5 model exceeds the set threshold, the YOLOv5 model can be output for subsequent use. The output YOLOv5 model is deployed to the actual application scenario. The YOLOv5 model is used to intelligently identify the title, text and page number in the original image, and the content contained in the editable electronic document is labeled with "title", "text" and "page number" classification labels.
6. A collaborative paper archive digital processing system, characterized in that: It includes: The acquisition and import module is used to scan paper archive files through acquisition equipment or directly import electronic files to obtain original images; The pre-processing module is used to perform AI de-skew, whiten and remove black edges, and perform super-resolution operations on the original image. The recognition and analysis module is used to intelligently recognize and analyze the original image using OCR technology and export it as an editable electronic document; The recognition and tagging module is used to intelligently identify different tags in the original image using AI tagging technology and to label the corresponding content of the editable electronic document with classification tags; The review and export module is used to assist manual review of original images and editable electronic documents with classification labels after AI correction, whitening and black edge removal, and super-resolution operations, and synthesize and export them into a double-layer OFD file after the review is passed, and save it in the archive database.
7. A collaborative paper archive digitization processing system according to claim 6, characterized in that: The preprocessing module uses the pre-trained AI model to perform AI correction on the original image. The specific correction process is: use the pre-trained AI model to identify the core content of the original image, and use the text recognition model to determine the direction of the text. According to the direction of the text, the tilt angle of the original image is calculated, and then the original image is rotated to correct the tilt of the image. Finally, the corrected original image is output; The pre-training process of the AI model is as follows: Obtain historical images from historical application scenarios, which contain various possible tilts and offsets. Perform pre-processing operations such as scaling, cropping and rotating the acquired images. The preprocessed images are randomly divided into training sets and test sets. Using the YOLOv5 framework, the training set is input into the deep learning model for training, and an AI model is obtained that can identify the core content in the image and eliminate surrounding obstacles. Use the test set to test the trained AI model. When the output result of the AI model exceeds the set threshold, the output AI model is deployed to the actual application scenario.
8. The collaborative paper archive digitization processing system according to claim 7 is characterized in that: The pre-processing module performs whitening and black edge removal operations on the original image after AI correction. The specific process is as follows: First, grayscale the original image to convert the color image into a grayscale image; Next, the Canny edge detection algorithm is used to obtain the edge of the grayscale image. After determining that the edge position is a black edge, the black edge is refilled using the pixel values of the adjacent area.
9. The collaborative paper archive digitization processing system according to claim 8, characterized in that: For the original image after AI correction, whitening and black edge removal and super-resolution operations, the recognition and analysis module uses the pre-trained OCR model to recognize and analyze the original image, output the recognition result, and export it as an editable electronic document; The pre-training process of the OCR model is as follows: Obtain historical images from historical application scenarios after AI correction, whitening, black edge removal, and super-resolution operations, find historical images containing handwritten fonts, and form a data set. Perform preprocessing operations such as denoising, binarization and correction on the data set. The preprocessed data set is randomly divided into training set and test set. The PaddlePaddle deep learning framework is used to build the OCR model, the training set is used to train the built OCR model, and the test set is used to test the trained OCR model. When the test accuracy of the OCR model exceeds the set threshold, the OCR model can be output and deployed to the actual application scenario.
10. The collaborative paper archive digitization processing system according to claim 9, characterized in that: For the original image after AI correction, whitening and black edge removal and super-resolution operation, the recognition and marking module uses the pre-trained YOLOv5 model to intelligently identify the title, text and page number in the original image, and labels the content contained in the editable electronic document with classification labels of "title", "text" and "page number" accordingly; The pre-training process of the YOLOv5 model is as follows: Collect historical images of various layout files containing titles, texts and page numbers from historical application scenarios, and perform preprocessing operations such as denoising and contrast enhancement. The preprocessed historical images are divided into training set and test set. Use the LabelImg tool to label the historical images of the training set and create the corresponding label file. Then, train the YOLOv5 model based on the labeled training set. During the training process, optimize the YOLOv5 model through the positive feedback mechanism. Then, test the YOLOv5 model based on the unlabeled test set. When the test accuracy of the YOLOv5 model exceeds the set threshold, the YOLOv5 model can be output and deployed to the actual application scenario.
Citation Information
Patent Citations
Digital archive system
CN102637268A
Contract verification method and device, computer equipment and storage medium
CN112001818A
Paper archive digital processing method and system based on highway engineering BIM
CN113360506A
Double-layer PDF (Portable Document Format) generation and proofreading method and device
CN114494679A
Automatic black edge detection and restoration method based on scanned image
CN116777783A
Cited By
Single / multi-page file mixed scanning and automatic merging method based on AI classification
CN120451994A
