The invention provides a teaching document anti-
copy protection method and
system based on OCR
interference resistance, and belongs to the technical field of
information security and digital copyright protection. According to the method, anti-OCR
font processing is applied to document characters, invisible disturbance symbols are inserted between characters or paragraphs,
watermark information is embedded in document typesetting or
font strokes, and finally a standard PDF or DOCX file is compiled.
Watermark information is embedded through
stroke thickness change,
paragraph row spacing indentation perturbation and other
modes. The
system comprises a
font disturbance module, a character disturbance module, a
watermark embedding module, a compiling output module and a
verification module. According to the method, the human eyes can normally read the document, but messy codes or disorder can occur when the OCR tool extracts the document, and the document cannot be directly reused; meanwhile,
watermark information cannot be stripped, so that leakage tracking is facilitated; and the output file keeps a standard format and is compatible with the existing office teaching process. The method is suitable for anti-
copying protection of teaching documents, scientific
research data, test papers, contract files and the like.