Skip to content

Commit 9093c52

Browse files
committed
2 parents d58c490 + 9cc7054 commit 9093c52

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,23 @@ It can recognize text from remote image(url)
88
also support multi-language recognization.
99

1010

11+
https://github.com/Devichand1/react-native-tesseractocr/assets/57847076/efc378b9-9d57-454f-8cf8-5d4571790fd2
12+
13+
14+
1115
For multi-language
1216
Just Use '@' between two languages
1317
Examples - for Hindi and english - 'hin@eng'
1418
## Installation
1519

1620
```sh
17-
npm install react-native-tesseractocr
21+
npm install @devinikhiya/react-native-tesseractocr
1822
```
1923

2024
## Usage
2125

2226
```js
23-
import TesseractOcr, { useEventListener } from 'react-native-tessractocr';
27+
import TesseractOcr, { useEventListener } from '@devinikhiya/react-native-tesseractocr';
2428

2529
// ...
2630

@@ -46,6 +50,11 @@ import TesseractOcr, { useEventListener } from 'react-native-tessractocr';
4650

4751
## TessData
4852
Strict requirement on language files existing in a referenced "tessdata" folder.
53+
For Android
54+
55+
Save TessData Files into - android/app/src/main/assets/tessdata
56+
57+
exaample - for the language english - android/app/src/main/assets/tessdata/eng.traineddata
4958
## Contributing
5059

5160
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

0 commit comments

Comments
 (0)