Upload README.md
Browse files
README.md
CHANGED
@@ -42,11 +42,27 @@ print(generated_text)
|
|
42 |
|
43 |
3. Open virtual machine command prompt in windows or anaconda prompt.
|
44 |
|
45 |
-
3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
```bash
|
47 |
pip install -r requirements_page.txt
|
48 |
```
|
49 |
-
|
50 |
```python
|
51 |
from recognize_page import recognize_page
|
52 |
|
@@ -75,11 +91,28 @@ print(text)
|
|
75 |
|
76 |
3. Open virtual machine command prompt in windows or anaconda prompt.
|
77 |
|
78 |
-
3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
```bash
|
80 |
pip install -r requirements_book.txt
|
81 |
```
|
82 |
-
|
|
|
83 |
```python
|
84 |
from recognize_book import recognize_book
|
85 |
|
|
|
42 |
|
43 |
3. Open virtual machine command prompt in windows or anaconda prompt.
|
44 |
|
45 |
+
3. Run this command
|
46 |
+
|
47 |
+
- Linux
|
48 |
+
```bash
|
49 |
+
sudo apt-get install poppler-utils
|
50 |
+
```
|
51 |
+
- MacOS
|
52 |
+
```bash
|
53 |
+
brew install poppler
|
54 |
+
```
|
55 |
+
- Windows
|
56 |
+
1. Download the latest poppler package from @oschwartz10612 version which is the most up-to-date.
|
57 |
+
2. Move the extracted directory to the desired place on your system
|
58 |
+
3. Add the bin/ directory to your PATH
|
59 |
+
4. Test that all went well by opening cmd and making sure that you can call pdftoppm -h
|
60 |
+
|
61 |
+
4. Install dependencies:
|
62 |
```bash
|
63 |
pip install -r requirements_page.txt
|
64 |
```
|
65 |
+
5. Use this code
|
66 |
```python
|
67 |
from recognize_page import recognize_page
|
68 |
|
|
|
91 |
|
92 |
3. Open virtual machine command prompt in windows or anaconda prompt.
|
93 |
|
94 |
+
3. Run this command
|
95 |
+
|
96 |
+
- Linux
|
97 |
+
```bash
|
98 |
+
sudo apt-get install poppler-utils
|
99 |
+
```
|
100 |
+
- MacOS
|
101 |
+
```bash
|
102 |
+
brew install poppler
|
103 |
+
```
|
104 |
+
- Windows
|
105 |
+
1. Download the latest poppler package from @oschwartz10612 version which is the most up-to-date.
|
106 |
+
2. Move the extracted directory to the desired place on your system
|
107 |
+
3. Add the bin/ directory to your PATH
|
108 |
+
4. Test that all went well by opening cmd and making sure that you can call pdftoppm -h
|
109 |
+
|
110 |
+
4. Install dependencies:
|
111 |
```bash
|
112 |
pip install -r requirements_book.txt
|
113 |
```
|
114 |
+
|
115 |
+
5. Use this code
|
116 |
```python
|
117 |
from recognize_book import recognize_book
|
118 |
|