Skip to content

Commit 5a7ef6b

Browse files
authored
Update README.md
1 parent 23fffec commit 5a7ef6b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
## libTesseract
1+
Downloads are available here https://github.com/ollydev/libtesseract/releases
22

3-
This is a shared library (dll, so, dylib) which exports basic [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) functions. Tesseract and it's dependencies have been statically linked so no other libraries are required.
3+
-----
4+
5+
This is a shared library (dll, so, dylib) which exports basic C [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) functions for basic text recognition. Tesseract and it's dependencies have been statically linked so only a single library is required.
46

57
The following methods are exported:
68
```c++
@@ -20,5 +22,11 @@ void Tesseract_GetLineMatch(tesseract::TessBaseAPI* tesseract_ptr, int index, ch
2022
void Tesseract_GetWordMatch(tesseract::TessBaseAPI* tesseract_ptr, int index, char* &text, int* len, float* confidence, int* x1, int* y1, int* x2, int* y2);
2123
void Tesseract_GetCharacterMatch(tesseract::TessBaseAPI* tesseract_ptr, int index, char* &text, int* len, float* confidence, int* x1, int* y1, int* x2, int* y2);
2224
```
25+
Example Pascal header:
26+
27+
```pascal
28+
function Tesseract_Init(ptr: Pointer; datapath, language: PChar): Int32; external 'libtesseract32.dll'
29+
```
30+
----
2331

24-
See the [Github Action](https://github.com/ollydev/libTesseract/blob/master/.github/workflows/build.yml) to see how this is built. Thanks to [SoftwareNetwork](https://github.com/SoftwareNetwork/sw) for making this so simple!
32+
See the [Github Action](https://github.com/ollydev/libTesseract/blob/master/.github/workflows/build.yml) to see how this is built. Thanks to [SoftwareNetwork](https://github.com/SoftwareNetwork/sw) for making this a lot easier than it used to be.

0 commit comments

Comments
 (0)