Skip to content

Commit 4d9c57a

Browse files
iText-CIDmitry Radchuk
authored andcommitted
Add missing copyright headers
Autoported commit. Original commit hash: [1868a88]
1 parent 779260e commit 4d9c57a

File tree

4 files changed

+47
-3
lines changed

4 files changed

+47
-3
lines changed

itext.tests/itext.pdfocr.onnxtr.tests/itext/pdfocr/onnxtr/OnnxDoImageOcrTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ public virtual void BasicDoImageOcrTest() {
6363
String src = TEST_IMAGE_DIRECTORY + "example_04.png";
6464
FileInfo imageFile = new FileInfo(src);
6565
String textFromImage = OnnxTestUtils.GetTextFromImage(imageFile, OCR_ENGINE);
66-
NUnit.Framework.Assert.AreEqual("Does\nthis\nOCR\nthing\nreally\nwork\nHi\nHow\nabout\na\nbigger\nfont?\n"
67-
+ "123456789\n123\nWhat\nabowt\ntis\nfont?\n", textFromImage);
66+
NUnit.Framework.Assert.AreEqual("Does\nthis\nOCR\nthing\nreally\nwork?\nHi\nHow\nabout\na\nbigger\nfont?\n"
67+
+ "123456789\n123\nWhat\nabowt\ntris\nfont?\n", textFromImage);
6868
}
6969

7070
[NUnit.Framework.Test]

itext/itext.pdfocr.onnxtr/itext/pdfocr/onnxtr/OnnxTrEngineProperties.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
This file is part of the iText (R) project.
3+
Copyright (c) 1998-2025 Apryse Group NV
4+
Authors: Apryse Software.
5+
6+
This program is offered under a commercial and under the AGPL license.
7+
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
8+
9+
AGPL licensing:
10+
This program is free software: you can redistribute it and/or modify
11+
it under the terms of the GNU Affero General Public License as published by
12+
the Free Software Foundation, either version 3 of the License, or
13+
(at your option) any later version.
14+
15+
This program is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
GNU Affero General Public License for more details.
19+
20+
You should have received a copy of the GNU Affero General Public License
21+
along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
*/
123
namespace iText.Pdfocr.Onnxtr {
224
/// <summary>
325
/// Properties that are used by the

itext/itext.pdfocr.onnxtr/itext/pdfocr/onnxtr/TextPositioning.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
This file is part of the iText (R) project.
3+
Copyright (c) 1998-2025 Apryse Group NV
4+
Authors: Apryse Software.
5+
6+
This program is offered under a commercial and under the AGPL license.
7+
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
8+
9+
AGPL licensing:
10+
This program is free software: you can redistribute it and/or modify
11+
it under the terms of the GNU Affero General Public License as published by
12+
the Free Software Foundation, either version 3 of the License, or
13+
(at your option) any later version.
14+
15+
This program is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
GNU Affero General Public License for more details.
19+
20+
You should have received a copy of the GNU Affero General Public License
21+
along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
*/
123
namespace iText.Pdfocr.Onnxtr {
224
/// <summary>Enumeration of the possible types of text positioning.</summary>
325
/// <remarks>

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8e3fa39a5a95200441f8d59ec98ddc1168155e3a
1+
1868a88e2c515215363eece25e6c61e25ec61435

0 commit comments

Comments
 (0)