Skip to content

Commit 4fc74ce

Browse files
committed
Updated readme
1 parent 56d8238 commit 4fc74ce

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,27 @@ The following are examples and projects built by the community using Tesseract.j
9999

100100
If you have a project or example repo that uses Tesseract.js, feel free to add it to this list using a pull request. Examples submitted should be well documented such that new users can run them; projects should be functional and actively maintained.
101101

102+
## Major changes in v6
103+
Version 6 changes are documented in [this issue](https://github.com/naptha/tesseract.js/issues/993). Highlights are below.
104+
- Fixed memory leak in previous versions
105+
- Overall reductions in runtime and memory usage
106+
- Breaking changes:
107+
- All outputs formats other than `text` are disabled by default.
108+
- To re-enable the `hocr` output (for example), set the following: `worker.recognize(image, {}, { hocr: true })`
109+
- Minor changes to the structure of the JavaScript object (`blocks`) output
110+
- See [this issue](https://github.com/naptha/tesseract.js/issues/993) for full list
111+
102112
## Major changes in v5
103113
Version 5 changes are documented in [this issue](https://github.com/naptha/tesseract.js/issues/820). Highlights are below.
104114

105115
- Significantly smaller files by default (54% smaller for English, 73% smaller for Chinese)
106116
- This results in a ~50% reduction in runtime for first-time users (who do not have the files cached yet)
107117
- Significantly lower memory usage
108-
- Compatible with iOS 17 (using default settings)
109118
- Breaking changes:
110119
- `createWorker` arguments changed
111120
- Setting non-default language and OEM now happens in `createWorker`
112121
- E.g. `createWorker("chi_sim", 1)`
113-
- `worker.initialize` and `worker.loadLanguage` functions now do nothing and can be deleted from code
122+
- `worker.initialize` and `worker.loadLanguage` functions should be deleted from code
114123
- See [this issue](https://github.com/naptha/tesseract.js/issues/820) for full list
115124

116125
Upgrading from v2 to v5? See [this guide](https://github.com/naptha/tesseract.js/issues/771).
@@ -125,17 +134,6 @@ Version 4 includes many new features and bug fixes--see [this issue](https://git
125134
- `createWorker` is now async
126135
- `getPDF` function replaced by `pdf` recognize option
127136

128-
## Major changes in v3
129-
- Significantly faster performance
130-
- Runtime reduction of 84% for Browser and 96% for Node.js when recognizing the [example images](./examples/data)
131-
- Upgrade to Tesseract v5.1.0 (using emscripten 3.1.18)
132-
- Added SIMD-enabled build for supported devices
133-
- Added support:
134-
- Node.js version 18
135-
- Removed support:
136-
- ASM.js version, any other old versions of Tesseract.js-core (<3.0.0)
137-
- Node.js versions 10 and 12
138-
139137
## Contributing
140138

141139
### Development

0 commit comments

Comments
 (0)