Skip to content

Commit f39d974

Browse files
GerHobbeltstweil
authored andcommitted
fix OS sections' hierarchy and add a parent heading for them all.
1 parent b5bb187 commit f39d974

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Installation.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ If you are experimenting with OCR Engine modes, you will need to manually instal
2222

2323
Training data for obsolete Tesseract versions [=< 3.02](https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar) reside in another location.
2424

25+
## Platforms
26+
2527
If Tesseract is not available for your distribution, or you want to use a newer version than they offer, you can [compile your own](Compiling).
2628

2729
### Ubuntu
@@ -110,13 +112,13 @@ For distributions that are supported by snapd you may also run the following com
110112

111113
The traineddata is currently not shipped with the snap package and must be placed manually to `~/snap/tesseract/current`.
112114

113-
## macOS
115+
### macOS
114116

115117
You can install Tesseract using either [MacPorts](https://www.macports.org/) or [Homebrew](http://brew.sh).
116118

117119
A macOS wrapper for the Tesseract API is also available at [Tesseract macOS](https://github.com/scott0123/Tesseract-macOS).
118120

119-
### MacPorts
121+
#### MacPorts
120122

121123
To install Tesseract run this command:
122124
```
@@ -128,7 +130,7 @@ sudo port install tesseract-<langcode>
128130
```
129131
List of available langcodes can be found on [MacPorts tesseract page](https://www.macports.org/ports.php?by=name&substr=tesseract-).
130132

131-
### Homebrew
133+
#### Homebrew
132134

133135
To install Tesseract run this command:
134136
```
@@ -138,7 +140,7 @@ brew install tesseract
138140
The tesseract directory can then be found using `brew info tesseract`,
139141
e.g. `/usr/local/Cellar/tesseract/3.05.02/share/tessdata/`.
140142

141-
## Windows
143+
### Windows
142144

143145
Installer for Windows for Tesseract 3.05, Tesseract 4 and Tesseract 5 are available from [Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki). These include the training tools. Both 32-bit and 64-bit installers are available.
144146

@@ -151,13 +153,13 @@ To access tesseract-OCR from any location you may have to add the directory wher
151153

152154
Experts can also get binaries build with Visual Studio from the build artifacts of the [Appveyor Continuous Integration](https://ci.appveyor.com/project/zdenop/tesseract/history).
153155

154-
### Cygwin
156+
#### Cygwin
155157

156158
Released version >= 3.02 of tesseract-ocr [are part of ](https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/tesseract-ocr/) [Cygwin](https://www.cygwin.com/)
157159

158160
The latest version available is 4.1.0. Please see [announcement](https://www.cygwin.com/ml/cygwin-announce/2019-07/msg00009.html).
159161

160-
### MSYS2
162+
#### MSYS2
161163

162164
Install tesseract-OCR:
163165

0 commit comments

Comments
 (0)