CN117236283A - Word stock file data processing method, device and equipment - Google Patents

Word stock file data processing method, device and equipment Download PDF

Info

Publication number
CN117236283A
CN117236283A CN202311499436.5A CN202311499436A CN117236283A CN 117236283 A CN117236283 A CN 117236283A CN 202311499436 A CN202311499436 A CN 202311499436A CN 117236283 A CN117236283 A CN 117236283A
Authority
CN
China
Prior art keywords
outline vector
vector curve
word stock
font
font outline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311499436.5A
Other languages
Chinese (zh)
Other versions
CN117236283B (en
Inventor
侯家林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinzhihuitong Technologies Beijing Co ltd
Original Assignee
Xinzhihuitong Technologies Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinzhihuitong Technologies Beijing Co ltd filed Critical Xinzhihuitong Technologies Beijing Co ltd
Priority to CN202311499436.5A priority Critical patent/CN117236283B/en
Publication of CN117236283A publication Critical patent/CN117236283A/en
Application granted granted Critical
Publication of CN117236283B publication Critical patent/CN117236283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method, a device and equipment for processing word stock file data, wherein the method comprises the following steps: obtaining first font outline vector curve data of a first template word stock, second font outline vector curve data of a first watermark template word stock and third font outline vector curve data of a second word stock to be modified, wherein the first watermark template word stock is a watermark template word stock corresponding to the first template word stock; determining a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data; position mapping is carried out on font outline vector curve points in a first modification area of a first watermark template word stock, and a second modification area of a third font outline vector curve is determined; and modifying the coordinate points in the second modification area to obtain a second water printing database. The scheme of the invention can realize automatic generation of batch water printing library files, and solves the problems of long manufacturing period, large workload, easy error and the like of the existing water printing library files.

Description

Word stock file data processing method, device and equipment
Technical Field
The invention relates to the technical field of processing of computer word stock file data, in particular to a method, a device and equipment for processing word stock file data.
Background
Words are very important information carriers, such as the document confidentiality field, secret information with a certain meaning can be embedded in text document data by using vector watermark database files, and the problem of secret leakage tracing and evidence obtaining is solved by detecting watermark information. Therefore, in a similar scenario, a large number of word stock files are required as carriers for information embedding, and the production efficiency of the word stock files becomes critical.
Most word stock files are manually manufactured by a designer at present, and the basic flow is as follows: firstly, designing and positioning fonts; then, relevant data searching is carried out, analysis is started, and sketches are drawn manually; then, designing on a computer according to the feeling of the sketch; finally, the manuscript file is finalized and saved as a new word stock file. The method for manufacturing the word stock file has long period, high cost and low efficiency.
Disclosure of Invention
The invention aims to solve the technical problems of long production cycle, large workload, easy error, low automation degree and the like of the conventional watered-ink library file.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a processing method of word stock file data comprises the following steps:
obtaining first font outline vector curve data of a first template word stock, second font outline vector curve data of a first watermark template word stock and third font outline vector curve data of a second word stock to be modified, wherein the first watermark template word stock is a watermark template word stock corresponding to the first template word stock;
determining a first modification area of a first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data;
performing position mapping on font outline vector curve points in a first modification area of the first watermark template word stock, and determining a second modification area of the third font outline vector curve;
and modifying the coordinate points in the second modification area to obtain a second water printing library.
Optionally, obtaining the first glyph outline vector curve data of the first template word stock, the second glyph outline vector curve data of the first watermark template word stock, and the third glyph outline vector curve data of the second word stock to be modified includes:
Acquiring a first template word stock, a first watermark template word stock and a second word stock to be modified;
analyzing the font outline vector curve of the characters in the first template word library to obtain first font outline vector curve data of the first template word library;
analyzing the font outline vector curve of the characters in the first watermark template word stock to obtain second font outline vector curve data of the first watermark template word stock;
analyzing the character font outline vector curve of the characters in the second character library to obtain third font outline vector curve data; wherein the first glyph outline vector curve data, the second glyph outline vector curve data, and the third glyph outline vector curve data all include: the method comprises the steps of head information of a font outline vector curve, index information of the last point of each stroke of the font outline vector curve, description information of the font outline vector curve, attribute information of each coordinate point in the font outline vector curve, abscissa information of the coordinate point in the font outline vector curve and ordinate information of the coordinate point in the font outline vector curve.
Optionally, determining a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data includes:
Analyzing the first font contour vector curve data and the second font contour vector curve data to obtain coordinate values of each point in the first font contour vector curve and the second font contour vector curve;
according to the coordinate values of the points, the coordinate values of the corresponding points in the first font outline vector curve and the second font outline vector curve are differenced to obtain a difference vector;
determining a difference vector with equal abscissa and ordinate and not being 0 as a target vector in the difference vectors;
and determining a first modification area and a modification mode of the first watermark template word stock according to the target vector.
Optionally, analyzing the first font contour vector curve data and the second font contour vector curve data to obtain coordinate values of each point in the first font contour vector curve and the second font contour vector curve, including:
reading curve header information of the font outline vector curve data to obtain the number of strokes of the first font outline vector curve and the number of points contained in each stroke, and the number of strokes of the second font outline vector curve and the number of points contained in each stroke;
the attribute value information of each point of the font outline vector curve is read;
And reading each point in turn according to the attribute value information to obtain the information of the horizontal coordinate value of the midpoint of the first font outline vector curve and the second font outline vector curve.
Optionally, performing location mapping on the glyph outline vector curve points in the first modification area of the first watermark template word stock to determine a second modification area of the third glyph outline vector curve, including:
performing image matching on the character image of the first template word stock and the character image of the second word stock to be modified to obtain an image offset value when the matching degree is optimal;
according to the image offset value, mapping coordinate points in a first modification area of the first font outline vector curve to a third font outline vector curve to obtain mapped corresponding point coordinates;
and obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates.
Optionally, performing image matching on the character image of the first template word stock and the character image of the second word stock to be modified to obtain an image offset value when the matching degree is optimal, including:
sliding the character image of the first template word stock on the character image of the second word stock to be modified, and calculating a normalized autocorrelation coefficient when sliding to each point;
Determining the sliding position when the normalized autocorrelation coefficient is the maximum as the optimal matching position;
and determining the offset value when the normalized autocorrelation coefficient is the maximum value as the image offset value when the matching degree is the best.
Optionally, according to the image offset value, mapping the coordinate point in the first modification area of the first font outline vector curve to the third font outline vector curve to obtain a mapped corresponding point coordinate, including:
converting the point coordinates of the first font outline vector curve into a coordinate system of a second font library according to the font unit to obtain coordinate values after coordinate system conversion;
aligning the centers of the minimum circumscribed rectangle of the first font outline vector curve and the minimum circumscribed rectangle of the third font outline vector curve according to the coordinate values converted by the coordinate system to obtain a first X-direction offset value and a first Y-direction offset value;
acquiring a width value and a height value of a character image of a first template word stock and a width value and a height value of a minimum circumscribed rectangle of a first font outline vector curve;
according to the ratio of the width value of the minimum circumscribed rectangle to the width value of the character image, the image offset value is equal to the second X-direction offset value of the font outline vector curve;
According to the ratio of the height value of the minimum circumscribed rectangle to the height value of the character image, the image offset value is subjected to equal ratio to obtain a second Y-direction offset value of the font outline vector curve;
and obtaining mapped corresponding point coordinates according to the converted coordinate values, the first X-direction offset value, the first Y-direction offset value, the second X-direction offset value and the second Y-direction offset value.
Optionally, obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates includes:
searching for complete strokes near the mapped corresponding point set on the third font outline vector curve according to the coordinates of the mapped corresponding points;
determining the lattice sequence of the complete strokes as an initial lattice sequence;
adjusting the initial lattice sequence according to the angular point distribution condition of the first font outline vector curve to obtain a target lattice sequence;
and determining the target lattice sequence as a second modification region.
The invention also provides a processing device of the word stock file data, which comprises:
the system comprises an acquisition module, a first watermark template word stock and a second watermark template word stock, wherein the acquisition module is used for acquiring first font outline vector curve data of a first template word stock, second font outline vector curve data of the first watermark template word stock and third font outline vector curve data of a second word stock to be modified, and the first watermark template word stock is a watermark template word stock corresponding to the first template word stock;
The processing module is used for determining a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data; performing position mapping on font outline vector curve points in a first modification area of the first watermark template word stock, and determining a second modification area of the third font outline vector curve; and modifying the coordinate points in the second modification area to obtain a second water printing library.
The invention also provides a computer readable storage medium storing instructions that, when executed on a computer, cause the computer to perform a method as described above.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, the first font outline vector curve data of the first template word stock, the second font outline vector curve data of the first watermark template word stock and the third font outline vector curve data of the second word stock to be modified are obtained, and the first watermark template word stock is the watermark template word stock corresponding to the first template word stock; determining a first modification area of a first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data; performing position mapping on font outline vector curve points in a first modification area of the first watermark template word stock, and determining a second modification area of the third font outline vector curve; and modifying the coordinate points in the second modification area to obtain a second water printing library. The automatic generation of batch database files can be realized, and the problems of long production period, large workload, easy error, low automation degree and the like of the existing database files are solved.
Drawings
FIG. 1 is a flow chart of a method for processing word stock file data according to an embodiment of the present invention;
FIG. 2 is a first template word stock of the method for processing word stock file data according to an embodiment of the present invention;
FIG. 3 is a first watermark template word stock of the method for processing word stock file data according to an embodiment of the invention;
FIG. 4 is a character "year" in a second word stock of the method for processing word stock file data according to an embodiment of the present invention;
FIG. 5 is a schematic diagram showing the comparison effect of the "year" of a character in a first template word stock and the "year" of a character in a first watermark template word stock in the processing method of word stock file data according to the embodiment of the present invention;
FIG. 6 is a diagram showing the best matching effect of the characters "year" in the first template word stock and the second word stock of the processing method of the word stock file data according to the embodiment of the present invention;
FIG. 7 is a diagram showing the effect of the characters "years" in the second waterword stock after modification of the method for processing the word stock file data according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of a word stock file data processing device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a method for processing word stock file data, including:
step 11, obtaining first font outline vector curve data of a first template word stock, second font outline vector curve data of a first watermark template word stock and third font outline vector curve data of a second word stock to be modified, wherein the first watermark template word stock is a watermark template word stock corresponding to the first template word stock;
step 12, determining a first modification area of a first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data;
step 13, mapping the positions of the font outline vector curve points in the first modification area of the first watermark template word stock, and determining the second modification area of the third font outline vector curve;
and 14, modifying the coordinate points in the second modification area to obtain a second water printing library.
In this embodiment, a fixed template word stock file is selected, and the modification mode of each watermark word stock is determined by comparing the difference of the font outline vector curve data of the same watermark character of the template word stock and the watermark word stock. For each character of other word stock files, a new watermark word stock file is generated by quickly modifying the point pairs on the character contour curve by referring to the corresponding modification mode of the same encoded watermark character. Compared with the pure manual operation, the method can be extended to a plurality of word stock files, and the efficiency of generating the water printing stock is greatly improved.
In the application, the first watermark template word stock is modified by the first template word stock, and the modification mode generally comprises one or a combination of the following contents: stroke continuity, stroke movement, stroke rotation, and stroke length variation. And referring to the modification mode of the first watermark template word stock, carrying out the same modification on the second word stock to be modified to obtain a new watermark word stock.
In an alternative embodiment of the present application, step 11 obtains first font contour vector curve data of a first template word stock, second font contour vector curve data of a first watermark template word stock, and third font contour vector curve data of a second word stock to be modified, including:
step 111, obtaining a first template word stock, a first watermark template word stock and a second word stock to be modified;
step 112, analyzing the font outline vector curve of the characters in the first template word stock to obtain first font outline vector curve data of the first template word stock;
step 113, analyzing the font outline vector curve of the characters in the first watermark template word stock to obtain second font outline vector curve data of the first watermark template word stock;
step 114, analyzing the character shape outline vector curve of the character in the second character library to obtain third character shape outline vector curve data; wherein the first glyph outline vector curve data, the second glyph outline vector curve data, and the third glyph outline vector curve data all include: the method comprises the steps of head information of a font outline vector curve, index information of the last point of each stroke of the font outline vector curve, description information of the font outline vector curve, attribute information of each coordinate point in the font outline vector curve, abscissa information of the coordinate point in the font outline vector curve and ordinate information of the coordinate point in the font outline vector curve.
In an alternative embodiment, as shown in fig. 2, 3 and 4, taking a first template word stock with a font of regular script of square and regular script and a second word stock with a font of regular script as an example, a "year" word is selected as an example. Wherein, figure 2 shows the 'year' word of the first template word stock, figure 3 shows the watermark font after transformation, namely the first watermark template word stock, and figure 4 shows the 'year' word of the regular script in the second word stock to be modified. The annual words are each composed of a font outline vector curve, the font outline vector curve is controlled by a set of coordinate points, and the coordinate points comprise on-line points and control points. The data construction of the font outline vector curve comprises:
curve header information: the method comprises the steps of stroke number of a font, minimum abscissa of all coordinate points, minimum ordinate of all coordinate points, maximum abscissa of all coordinate points and maximum ordinate of all coordinate points, wherein all data are stored in a two-byte signed short format.
Index information of last point of each stroke: the storage format of each element in the array is a two-byte signed short format through the format storage of one array. Set the elements of the array as A specification font has k strokes in total, where the first stroke contains a point whose range in the array of points is 0The second stroke contains points whose range in the array of points isTo the point of. And so on, the k-th stroke contains points whose range in the array of coordinate points isTo the point of. Thus, the number of points of the font-co-contained curve is
Description of vector curves: this piece of information contains a two-byte unsigned short type of data for storing the length p of the descriptive information, followed by p bytes of descriptive information content. In the word stock file, if the value of p is 0, no description information is indicated.
Attribute information of each coordinate point: the attribute values are stored in the form of an unsigned byte type array, with 0 or 1 on different bits of each data in the array representing different attributes of the corresponding coordinate point. The attribute types include:
on_protection_point: the value is 0x01, after setting, the coordinate point is explained to be on the curve, otherwise, the coordinate point is not on the curve and is a control point;
b.X _short_vector: the value is 0x02, and the setting indicates that one abscissa data occupies one byte;
c.Y _short_VECTO: the value is 0x04, and the setting indicates that one ordinate data occupies one byte;
Repeat_flag: the value is 0x08, and when the attribute is set, a specific number is arranged behind the attribute, which indicates how many points behind the point are identical to the attribute of the current point;
e.X _IS_SAME_OR_POSITIVE_X_SHORT_VECTOR: the value is 0X10, the meaning of which depends on whether X_SHORT_VECTOR is set. If X_SHORT_VECTOR is set, the attribute determines the sign of the abscissa value of the point; if the attribute is set, indicating that the abscissa value of the current point is positive, otherwise, indicating that the abscissa value of the point is negative; if the attribute value is set without setting X_SHORT_VECTOR, the abscissa value of the current point is identical to the abscissa value of the previous point;
f.Y _IS_SAME_OR_POSITIVE_Y_SHORT_VECTOR: the value is 0x20, the meaning of which depends on whether Y_SHORT_VECTOR is set. If Y_SHORT_VECTOR is set, the attribute determines the positive and negative of the ordinate value of the point, if the attribute is set, the ordinate value of the current point is positive, otherwise, the ordinate value of the point is negative; if the attribute value is set without setting Y_SHORT_VECTOR, it is interpreted that the ordinate value of the current point is identical to the ordinate value of the previous point.
Abscissa information of all coordinate points: in the abscissa array of the coordinate points, each element is the abscissa of the coordinate point on the corresponding curve. Wherein the first entry in the array is the abscissa of the first point relative to the starting point (0, 0) and the remaining elements are all the abscissa offsets of the current point relative to the previous point. Let the element sequences in the array be The abscissa of the first point:
abscissa of the second point:
abscissa of the third point:
and so on, wherein if the abscissa of the kth point is the same as the abscissa of the k-1 th point, in principleThe value of (2) is 0.
Ordinate information of all coordinate points: similar to the abscissa array, the first term in the ordinate array is the ordinate of the first point relative to the starting point (0, 0), and the remaining elements are all the ordinate offsets of the current point relative to the previous point.
In an alternative embodiment of the present invention, step 12 determines a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data, including:
step 121, analyzing the first font contour vector curve data and the second font contour vector curve data to obtain coordinate values of each point in the first font contour vector curve and the second font contour vector curve;
step 122, according to the coordinate values of the points, making a difference between the coordinate values of the corresponding points in the first font outline vector curve and the second font outline vector curve to obtain a difference vector;
step 123, determining a difference vector with equal abscissa and non-0 as a target vector in the difference vectors;
And step 124, determining a first modification area and modification mode of the first watermark template word stock according to the target vector.
In this embodiment, the set of coordinate points of the first font contour vector curve is set asCorresponding second font contour vector curve coordinate pointIs set asThe number of elements contained in both sets is the same. As shown in FIG. 5, the misaligned stroke part of the two character glyphs is the first modified region. The specific detection method comprises the following steps:
step1, two sets are assembledAndand (5) carrying out difference on coordinate values of the corresponding points to obtain a difference vector:
step2, finding out the largest subset satisfying the following condition in D
1. If two-dimensional vectorThen satisfyAnd (3) withCannot be 0 at the same time;
2、all elements of (2) are equal.
Step3, willThe points in (a) correspond to the original coordinate points, and a continuous stroke formed by surrounding a continuous point with the same modification mode is obtained.
All stroke areas obtained in the process are the first modification areas of the first watermark template word stock, and modification modes are obtained at the same time.
In an alternative embodiment of the present invention, step 121 includes:
step 1211, reading the curve header information of the font outline vector curve data to obtain the number of strokes of the first font outline vector curve and the number of points contained in each stroke, and the number of strokes of the second font outline vector curve and the number of points contained in each stroke;
Step 1212, reading attribute value information of each point of the glyph outline vector curve;
and 1213, sequentially reading each point according to the attribute value information to obtain the information of the horizontal coordinate value of the midpoint of the first font outline vector curve and the second font outline vector curve.
In this embodiment, the method for analyzing the font outline vector curve data is as follows:
step1: reading the stroke number of a glyphAnd the number of points contained in each stroke, and calculate the total number of points contained in the whole font outline vector curveI.e. in the attribute values mentioned above
Step2: the attribute value of each point is read, and the specific sub-process is as follows:
(a) Reading coordinate pointsAttribute values of (2)
(b) If it isNo REPEAT_FLAG attribute is set inAdding inArray of arraysIn,i.e. coordinate pointsIf not, entering (c);
(c) Will beClearing the REPEAT_FLAG attribute in the database to obtain an attribute valueReading the font curveThe following numbersI.e. the attribute of the n points stored later is the same as the attribute of the current point, willPersonal (S)Storing into an arrayIn (a) and (b);
(d) The reading of the attributes of the subsequent points continues until the last point.
After the above process, the arrayThe number of the elements is equal to the number of the outline vector curve points of the font.
Step3: and reading the abscissa of all curve points according to the attribute of each point. The specific sub-process is as follows:
(a) Setting an initial value x=0;
(b) Reading an arrayEach of the attribute values in (a)Setting an initial offset value
(c) If it isX_SHORT_VECTOR is set, one byte of unsigned char data is read from the current pointer of the abscissa data and assigned toSimultaneously moving the pointer one byte forward, otherwise entering (d);
(d) Reading two bytes of signed short data from the current pointer of the abscissa data, and assigning toSimultaneously moving the pointer forward by two bytes;
(e) Will beAssigning a value to X and storing the value into an array X;
(f) The actual abscissa of each point on the font outline vector curve can be obtained by repeating the above process.
Step4: according to the attribute of each point, the ordinate of the point on the outline vector curve of all the fonts is read, and the processing process is similar to Step 3.
Through the analysis process, the actual coordinate values of the on-line points and the control points of all strokes and the attribute values of all points can be obtained to form a curve point set.
In an optional embodiment of the present invention, step 13 performs position mapping on a glyph outline vector curve point in a first modification area of the first watermark template word library to determine a second modification area of the third glyph outline vector curve, and includes:
Step 131, performing image matching on the character image of the first template word stock and the character image of the second word stock to be modified to obtain an image offset value when the matching degree is optimal;
step 132, according to the image offset value, mapping the coordinate point in the first modification area of the first font outline vector curve to the third font outline vector curve to obtain the mapped corresponding point coordinate;
and step 133, obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates.
In this embodiment, for the word stock composed of two different fonts, in order to modify the second word stock by referring to the modification manner of the first template word stock, the same text of the two fonts needs to be matched to achieve the best comparison effect. Under the condition of the optimal comparison effect, mapping the first modification area of the first template word stock to the character image of the second word stock to obtain a second modification area of the second word stock. The specific matching process comprises the steps of firstly matching character images, mapping curve point positions under the condition of image matching, and detecting a second modification area according to a mapping result.
In an alternative embodiment of the present invention, step 131 includes:
step 1311, sliding the character image of the first template word stock on the character image of the second word stock to be modified, and calculating a normalized autocorrelation coefficient when sliding to each point;
step 1312, determining the sliding position when the normalized autocorrelation coefficient is maximum as the best matching position;
step 1313, determining the offset value when the normalized autocorrelation coefficient has the maximum value as the image offset value when the matching degree is optimal.
As shown in fig. 6, in this embodiment, since the character structures of the first template word stock and the second word stock to be modified are not completely identical, in order to perform region mapping more accurately, it is necessary to implement image matching between the characters in the first template word stock and the characters to be modified in the second word stock, so that two character imagesThe similarity is highest. In this embodiment, the method for calculating the similarity between two images is as follows: is provided with a size (M A *N A ) Is a template image M and has a size M B *N B) And (3) sliding the template image M on the image N to be matched, and calculating normalized autocorrelation coefficients when the template image M slides to each point of N, wherein the maximum value in all the coefficients is the similarity of the two images. The calculation method of the normalized autocorrelation coefficient is as follows:
Wherein,is that the image N to be matched is positioned at the coordinatesGray value of point,Is that the template image M is located at coordinatesGray value at the position,And (3) withRespectively the average gray level value of the image N to be matched and the template image M in the sliding window,Namely the offset of the template image on the image to be matched when the two images reach the best matching result,I.e. normalized autocorrelation coefficients.
When the normalized autocorrelation coefficient reaches the maximum value, the best matching effect is achieved, and the character image matching effect is shown in fig. 6, wherein the lower gray characters are the characters in the first template character library, and the upper black characters are the characters to be matched in the second character library.
In an optional embodiment of the present invention, step 132 maps the coordinate point in the first modification area of the first glyph outline vector curve to the third glyph outline vector curve according to the image offset value to obtain the mapped corresponding point coordinate, and includes:
step 1321, converting the point coordinates of the first font outline vector curve into the coordinate system of the second font library according to the font unit, and obtaining coordinate values after coordinate system conversion;
step 1322, aligning the centers of the minimum bounding rectangle of the first font outline vector curve and the minimum bounding rectangle of the third font outline vector curve according to the coordinate values converted by the coordinate system, so as to obtain a first X-direction offset value and a first Y-direction offset value;
Step 1323, acquiring a width value and a height value of a character image of the first template word stock, and a width value and a height value of a minimum circumscribed rectangle of the first font outline vector curve;
step 1324, according to the ratio of the width value of the minimum circumscribed rectangle and the width value of the character image, the image offset value is equal to obtain a second X-direction offset value of the font outline vector curve;
step 1325, according to the ratio of the height value of the minimum bounding rectangle and the height value of the character image, the image offset value is equal to the second Y-direction offset value of the font outline vector curve;
step 1326, obtaining mapped corresponding point coordinates according to the converted coordinate values, the first X-direction offset value, the first Y-direction offset value, the second X-direction offset value, and the second Y-direction offset value.
In this embodiment, on the basis of matching the character lattice images, the characters in the first template word stock are summedAnd performing position mapping on the character outline vector curve points of the character to be modified in the second character library, so that the matching effect of the character lattice image is consistent with the alignment effect of the character outline vector curve. Setting the upper point of the character form outline vector curve of the character in the first template word stock as The corresponding point of the font outline vector curve of the character to be modified in the second character library on the plane is. Setting the minimum circumscribed rectangle of the character form wheel vector curve of the characters in the first template word stock asThe width, height and center point coordinates are respectivelyThe method comprises the steps of carrying out a first treatment on the surface of the Correspondingly, the minimum circumscribed rectangle of the font outline vector curve of the character to be modified in the second character library isThe width, height and center point coordinates are respectively. The specific mapping process is as follows:
step1: conversion of corresponding coordinate system
Obtaining UnitsPerEm values in the first template word library and the second word library, and calculating the ratio of the UnitsPerEm values. By means ofWill beFrom the original coordinate system, the coordinate system corresponding to the second word stock, namely:
step2: minimum circumscribed rectangleAndthe vertical and horizontal offsets are respectively:
wherein,and (3) withAll are the results obtained by mapping the original coordinates through a coordinate system.
Step3: obtaining the offset in the horizontal and vertical directions in the optimal matching state based on the matching result of the dot matrix image of the character in the first template word stock and the dot matrix image of the character to be modified in the second word stockAnd (3) with. Setting the point of the character to be modified in the second character libraryThe width and height of the array image are respectively And (3) withUnder the state that the centers of the character lattice images are aligned, if the character outline vector curves of the two characters reach the optimal matching, the offset required by the optimal matching is as follows:
step4 for coordinatesCorresponding theretoThe calculation mode of (2) is as follows:
wherein,is the abscissa after mapping,Is the unit ratio of the font,Is the original abscissa,Is a first X-direction offset value,A second X-direction offset value,Is the mapped ordinate,Is the original ordinate,Is a first Y-direction offset value,Is the second Y-direction offset value.
In an alternative embodiment of the present invention, step 133 includes:
step 1331, searching for a complete stroke near the mapped corresponding point set on the third font outline vector curve according to the coordinates of the mapped corresponding point;
step 1332, determining the lattice sequence of the complete strokes as an initial lattice sequence;
step 1333, adjusting the initial lattice sequence according to the angular point distribution condition of the first font outline vector curve to obtain a target lattice sequence;
step 1334, determining the target lattice sequence as a second modified region.
In this embodiment, the first modification area of the detected first template word stock is used forMapping to the third font outline vector curve by the method to obtain a point set . The second modified region of the third glyph outline vector curve of the second word stock is located in the collectionNearby. The detection process comprises the following steps: first, in the aggregateSearching a section of continuous complete strokes nearby; next, an initial lattice sequence is obtained on a third font outline vector curve of the characters in the second font libraryThe method comprises the steps of carrying out a first treatment on the surface of the Then, according to the point setAdding and deleting adjustment is carried out on corresponding points under the middle angular point distribution condition; finally, rearranging to obtain a final point set sequence to be movedAnd obtaining a second modification area.
After the second modification area is obtained, the points in the second modification area can be modified according to the modification mode of the first watermark template library, and the second watermark library is obtained. The specific method comprises the following steps:
setting a first font outline vector curve corresponding to characters in a first template word library, wherein a second font outline vector curve of watermark characters in the first watermark template word library is arranged in a point setThe offset in the upper horizontal and vertical directions are fatter x and fatter y respectively, and then a third character outline vector curve point set of the character to be modified in the second character libraryThe horizontal and vertical offset of the points in (a)And (3) with. Respectively collectAnd after the deviation is carried out on all the points in the watermark, the font outline vector curve of the modified watermark character can be obtained. Then all characters are modified by the same method, and the generated second watermark word is saved Library files. The specific file preservation process is as follows:
step1: writing auxiliary information
And sequentially writing information heads of font outline vector curve data of the generated watermark characters, indexes of each stroke and description information of the vector curve.
Step2: processing attribute information of coordinate points
Acquiring attribute information of all coordinate points of a third font outline vector curve of characters in a second character library, and removing the REPEAT_FLAG attribute information to obtain an attribute setThe number of the elements is the same as the number of the coordinate points; removing the attribute set because the coordinates of the point are changed after the stroke is movedThe possible adjacent points in the grid have the same attribute on the abscissa or the ordinate to obtain an attribute set
Step3: acquiring an initial abscissa array X and an ordinate array Y
The first term of the abscissa array X is the actual abscissa of the first point, and its value is the difference between the abscissa of the current point and the abscissa of the previous point from the second term; the ordinate array Y is handled in a similar manner.
Step4: readjusting attributes based on the positive and negative of elements in arrays X and Y and whether there are adjacent repeating elementsObtaining attribute setAnd writing into a second word stock file.
Step5: and writing the abscissa and ordinate data into a second word stock file respectively, so as to obtain a second water printing stock file.
As shown in fig. 7, the character in the second waterword library is obtained.
As shown in fig. 8, an embodiment of the present invention further provides a processing apparatus 80 for word stock file data, including:
the obtaining module 81 is configured to obtain first font outline vector curve data of a first template word stock, second font outline vector curve data of a first watermark template word stock, and third font outline vector curve data of a second word stock to be modified, where the first watermark template word stock is a watermark template word stock corresponding to the first template word stock;
a processing module 82, configured to determine a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data; performing position mapping on font outline vector curve points in a first modification area of the first watermark template word stock, and determining a second modification area of the third font outline vector curve; and modifying the coordinate points in the second modification area to obtain a second water printing library.
Optionally, obtaining the first glyph outline vector curve data of the first template word stock, the second glyph outline vector curve data of the first watermark template word stock, and the third glyph outline vector curve data of the second word stock to be modified includes:
Acquiring a first template word stock, a first watermark template word stock and a second word stock to be modified;
analyzing the font outline vector curve of the characters in the first template word library to obtain first font outline vector curve data of the first template word library;
analyzing the font outline vector curve of the characters in the first watermark template word stock to obtain second font outline vector curve data of the first watermark template word stock;
analyzing the character font outline vector curve of the characters in the second character library to obtain third font outline vector curve data; wherein the first glyph outline vector curve data, the second glyph outline vector curve data, and the third glyph outline vector curve data all include: the method comprises the steps of head information of a font outline vector curve, index information of the last point of each stroke of the font outline vector curve, description information of the font outline vector curve, attribute information of each coordinate point in the font outline vector curve, abscissa information of the coordinate point in the font outline vector curve and ordinate information of the coordinate point in the font outline vector curve.
Optionally, determining a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data includes:
Analyzing the first font contour vector curve data and the second font contour vector curve data to obtain coordinate values of each point in the first font contour vector curve and the second font contour vector curve;
according to the coordinate values of the points, the coordinate values of the corresponding points in the first font outline vector curve and the second font outline vector curve are differenced to obtain a difference vector;
determining a difference vector with equal abscissa and ordinate and not being 0 as a target vector in the difference vectors;
and determining a first modification area and a modification mode of the first watermark template word stock according to the target vector.
Optionally, analyzing the first font contour vector curve data and the second font contour vector curve data to obtain coordinate values of each point in the first font contour vector curve and the second font contour vector curve, including:
reading curve header information of the font outline vector curve data to obtain the number of strokes of the first font outline vector curve and the number of points contained in each stroke, and the number of strokes of the second font outline vector curve and the number of points contained in each stroke;
the attribute value information of each point of the font outline vector curve is read;
And reading each point in turn according to the attribute value information to obtain the information of the horizontal coordinate value of the midpoint of the first font outline vector curve and the second font outline vector curve.
Optionally, performing location mapping on the glyph outline vector curve points in the first modification area of the first watermark template word stock to determine a second modification area of the third glyph outline vector curve, including:
performing image matching on the character image of the first template word stock and the character image of the second word stock to be modified to obtain an image offset value when the matching degree is optimal;
according to the image offset value, mapping coordinate points in a first modification area of the first font outline vector curve to a third font outline vector curve to obtain mapped corresponding point coordinates;
and obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates.
Optionally, performing image matching on the character image of the first template word stock and the character image of the second word stock to be modified to obtain an image offset value when the matching degree is optimal, including:
sliding the character image of the first template word stock on the character image of the second word stock to be modified, and calculating a normalized autocorrelation coefficient when sliding to each point;
Determining the sliding position when the normalized autocorrelation coefficient is the maximum as the optimal matching position;
and determining the offset value when the normalized autocorrelation coefficient is the maximum value as the image offset value when the matching degree is the best.
Optionally, according to the image offset value, mapping the coordinate point in the first modification area of the first font outline vector curve to the third font outline vector curve to obtain a mapped corresponding point coordinate, including:
converting the point coordinates of the first font outline vector curve into a coordinate system of a second font library according to the font unit to obtain coordinate values after coordinate system conversion;
aligning the centers of the minimum circumscribed rectangle of the first font outline vector curve and the minimum circumscribed rectangle of the third font outline vector curve according to the coordinate values converted by the coordinate system to obtain a first X-direction offset value and a first Y-direction offset value;
acquiring a width value and a height value of a character image of a first template word stock and a width value and a height value of a minimum circumscribed rectangle of a first font outline vector curve;
according to the ratio of the width value of the minimum circumscribed rectangle to the width value of the character image, the image offset value is equal to the second X-direction offset value of the font outline vector curve;
According to the ratio of the height value of the minimum circumscribed rectangle to the height value of the character image, the image offset value is subjected to equal ratio to obtain a second Y-direction offset value of the font outline vector curve;
and obtaining mapped corresponding point coordinates according to the converted coordinate values, the first X-direction offset value, the first Y-direction offset value, the second X-direction offset value and the second Y-direction offset value.
Optionally, obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates includes:
searching for complete strokes near the mapped corresponding point set on the third font outline vector curve according to the coordinates of the mapped corresponding points;
determining the lattice sequence of the complete strokes as an initial lattice sequence;
adjusting the initial lattice sequence according to the angular point distribution condition of the first font outline vector curve to obtain a target lattice sequence;
and determining the target lattice sequence as a second modification region.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved.
Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform a method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
Furthermore, it should be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. Also, the steps of performing the series of processes described above may naturally be performed in chronological order in the order of description, but are not necessarily performed in chronological order, and some steps may be performed in parallel or independently of each other. It will be appreciated by those of ordinary skill in the art that all or any of the steps or components of the methods and apparatus of the present invention may be implemented in hardware, firmware, software, or a combination thereof in any computing device (including processors, storage media, etc.) or network of computing devices, as would be apparent to one of ordinary skill in the art after reading this description of the invention.
The object of the invention can thus also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general purpose device. The object of the invention can thus also be achieved by merely providing a program product containing program code for implementing said method or apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is apparent that the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. The steps of executing the series of processes may naturally be executed in chronological order in the order described, but are not necessarily executed in chronological order. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method for processing word stock file data, comprising:
obtaining first font outline vector curve data of a first template word stock, second font outline vector curve data of a first watermark template word stock and third font outline vector curve data of a second word stock to be modified, wherein the first watermark template word stock is a watermark template word stock corresponding to the first template word stock;
determining a first modification area of a first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data;
performing position mapping on font outline vector curve points in a first modification area of the first watermark template word stock, and determining a second modification area of the third font outline vector curve;
and modifying the coordinate points in the second modification area to obtain a second water printing library.
2. The method of processing the library file data according to claim 1, wherein obtaining the first glyph outline vector curve data of the first template library, the second glyph outline vector curve data of the first watermark template library, and the third glyph outline vector curve data of the second library to be modified comprises:
acquiring a first template word stock, a first watermark template word stock and a second word stock to be modified;
analyzing the font outline vector curve of the characters in the first template word library to obtain first font outline vector curve data of the first template word library;
analyzing the font outline vector curve of the characters in the first watermark template word stock to obtain second font outline vector curve data of the first watermark template word stock;
analyzing the character font outline vector curve of the characters in the second character library to obtain third font outline vector curve data; wherein the first glyph outline vector curve data, the second glyph outline vector curve data, and the third glyph outline vector curve data all include: the method comprises the steps of head information of a font outline vector curve, index information of the last point of each stroke of the font outline vector curve, description information of the font outline vector curve, attribute information of each coordinate point in the font outline vector curve, abscissa information of the coordinate point in the font outline vector curve and ordinate information of the coordinate point in the font outline vector curve.
3. The method of claim 1, wherein determining a first modification region of a first watermark template word library from the first glyph outline vector curve data and the second glyph outline vector curve data comprises:
analyzing the first font contour vector curve data and the second font contour vector curve data to obtain coordinate values of each point in the first font contour vector curve and the second font contour vector curve;
according to the coordinate values of the points, the coordinate values of the corresponding points in the first font outline vector curve and the second font outline vector curve are differenced to obtain a difference vector;
determining a difference vector with equal abscissa and ordinate and not being 0 as a target vector in the difference vectors;
and determining a first modification area and a modification mode of the first watermark template word stock according to the target vector.
4. A method of processing font library file data according to claim 3, wherein analyzing the first font outline vector curve data and the second font outline vector curve data to obtain the coordinate values of each point in the first font outline vector curve and the second font outline vector curve comprises:
Reading curve header information of the font outline vector curve data to obtain the number of strokes of the first font outline vector curve and the number of points contained in each stroke, and the number of strokes of the second font outline vector curve and the number of points contained in each stroke;
the attribute value information of each point of the font outline vector curve is read;
and reading each point in turn according to the attribute value information to obtain the information of the horizontal coordinate value of the midpoint of the first font outline vector curve and the second font outline vector curve.
5. The method of claim 1, wherein mapping the glyph outline vector curve points in the first modification region of the first watermark template word library to determine the second modification region of the third glyph outline vector curve comprises:
performing image matching on the character image of the first template word stock and the character image of the second word stock to be modified to obtain an image offset value when the matching degree is optimal;
according to the image offset value, mapping coordinate points in a first modification area of the first font outline vector curve to a third font outline vector curve to obtain mapped corresponding point coordinates;
And obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates.
6. The method for processing word stock file data according to claim 5, wherein performing image matching between the character image of the first template word stock and the character image of the second word stock to be modified to obtain the image offset value when the matching degree is optimal, comprises:
sliding the character image of the first template word stock on the character image of the second word stock to be modified, and calculating a normalized autocorrelation coefficient when sliding to each point;
determining the sliding position when the normalized autocorrelation coefficient is the maximum as the optimal matching position;
and determining the offset value when the normalized autocorrelation coefficient is the maximum value as the image offset value when the matching degree is the best.
7. The method for processing font library file data according to claim 5, wherein mapping the coordinate point in the first modification area of the first font outline vector curve to the third font outline vector curve according to the image offset value to obtain the mapped corresponding point coordinate comprises:
converting the point coordinates of the first font outline vector curve into a coordinate system of a second font library according to the font unit to obtain coordinate values after coordinate system conversion;
Aligning the centers of the minimum circumscribed rectangle of the first font outline vector curve and the minimum circumscribed rectangle of the third font outline vector curve according to the coordinate values converted by the coordinate system to obtain a first X-direction offset value and a first Y-direction offset value;
acquiring a width value and a height value of a character image of a first template word stock and a width value and a height value of a minimum circumscribed rectangle of a first font outline vector curve;
according to the ratio of the width value of the minimum circumscribed rectangle to the width value of the character image, the image offset value is equal to the second X-direction offset value of the font outline vector curve;
according to the ratio of the height value of the minimum circumscribed rectangle to the height value of the character image, the image offset value is subjected to equal ratio to obtain a second Y-direction offset value of the font outline vector curve;
and obtaining mapped corresponding point coordinates according to the converted coordinate values, the first X-direction offset value, the first Y-direction offset value, the second X-direction offset value and the second Y-direction offset value.
8. The method for processing word stock file data according to claim 5, wherein obtaining a second modification area of the second word stock to be modified according to the mapped corresponding point coordinates comprises:
Searching for complete strokes near the mapped corresponding point set on the third font outline vector curve according to the coordinates of the mapped corresponding points;
determining the lattice sequence of the complete strokes as an initial lattice sequence;
adjusting the initial lattice sequence according to the angular point distribution condition of the first font outline vector curve to obtain a target lattice sequence;
and determining the target lattice sequence as a second modification region.
9. A processing apparatus for word stock file data, comprising:
the system comprises an acquisition module, a first watermark template word stock and a second watermark template word stock, wherein the acquisition module is used for acquiring first font outline vector curve data of a first template word stock, second font outline vector curve data of the first watermark template word stock and third font outline vector curve data of a second word stock to be modified, and the first watermark template word stock is a watermark template word stock corresponding to the first template word stock;
the processing module is used for determining a first modification area of the first watermark template word stock according to the first font outline vector curve data and the second font outline vector curve data; performing position mapping on font outline vector curve points in a first modification area of the first watermark template word stock, and determining a second modification area of the third font outline vector curve; and modifying the coordinate points in the second modification area to obtain a second water printing library.
10. A computer readable storage medium storing instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 8.
CN202311499436.5A 2023-11-13 2023-11-13 Word stock file data processing method, device and equipment Active CN117236283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311499436.5A CN117236283B (en) 2023-11-13 2023-11-13 Word stock file data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311499436.5A CN117236283B (en) 2023-11-13 2023-11-13 Word stock file data processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN117236283A true CN117236283A (en) 2023-12-15
CN117236283B CN117236283B (en) 2024-01-23

Family

ID=89084542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311499436.5A Active CN117236283B (en) 2023-11-13 2023-11-13 Word stock file data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN117236283B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055585A1 (en) * 2008-07-25 2011-03-03 Kok-Wah Lee Methods and Systems to Create Big Memorizable Secrets and Their Applications in Information Engineering
CN103488711A (en) * 2013-09-09 2014-01-01 北京大学 Method and system for fast making vector font library
CN108763879A (en) * 2018-05-30 2018-11-06 北京溯斐科技有限公司 A kind of automatic generation method and device of watermark character library
CN115630343A (en) * 2022-12-20 2023-01-20 北京国隐科技有限公司 Electronic document information processing method, device and equipment
CN116542835A (en) * 2022-01-25 2023-08-04 合肥高维数据技术有限公司 Character watermark generation and extraction method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055585A1 (en) * 2008-07-25 2011-03-03 Kok-Wah Lee Methods and Systems to Create Big Memorizable Secrets and Their Applications in Information Engineering
CN103488711A (en) * 2013-09-09 2014-01-01 北京大学 Method and system for fast making vector font library
CN108763879A (en) * 2018-05-30 2018-11-06 北京溯斐科技有限公司 A kind of automatic generation method and device of watermark character library
CN116542835A (en) * 2022-01-25 2023-08-04 合肥高维数据技术有限公司 Character watermark generation and extraction method and system
CN115630343A (en) * 2022-12-20 2023-01-20 北京国隐科技有限公司 Electronic document information processing method, device and equipment

Also Published As

Publication number Publication date
CN117236283B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN106156761B (en) Image table detection and identification method for mobile terminal shooting
CN110084239B (en) Method for reducing overfitting of network training during off-line handwritten mathematical formula recognition
CN111160343B (en) Off-line mathematical formula symbol identification method based on Self-Attention
CN1107283C (en) Method and apparatus for character recognition of handwriting input
CN102982330B (en) Character identifying method and identification device in character image
CN108428229A (en) It is a kind of that apparent and geometric properties lung's Texture Recognitions are extracted based on deep neural network
CN110070053B (en) Font feature extraction method and device
CN107194400A (en) A kind of finance reimbursement unanimous vote is according to picture recognition processing method
CN109919076B (en) Method and medium for confirming reliability of OCR recognition result based on deep learning
CN111191649A (en) Method and equipment for identifying bent multi-line text image
CN113762269B (en) Chinese character OCR recognition method, system and medium based on neural network
CN111401099A (en) Text recognition method, device and storage medium
CN116030453A (en) Digital ammeter identification method, device and equipment
CN111274762A (en) Computer expression method based on diversified fonts in Tibetan classical documents
CN117236283B (en) Word stock file data processing method, device and equipment
CN110119693A (en) A kind of English handwriting identification method based on improvement VGG-16 model
CN116343237A (en) Bill identification method based on deep learning and knowledge graph
CN113657377A (en) Structured recognition method for airplane ticket printing data image
JP4541995B2 (en) Figure recognition method
CN110222660B (en) Signature authentication method and system based on dynamic and static feature fusion
CN103473518A (en) Waybill information input and black-and-white block coding and decoding system
Darma Implementation of Zoning and K-Nearest Neighbor in Character Recognition of Wrésastra Script
CN108898149A (en) Texture image feature extracting method based on the transformation of delta modulation mark
CN111612045B (en) Universal method for acquiring target detection data set
CN113516103A (en) Table image inclination angle determining method based on support vector machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant