Didier commited on
Commit
7109571
·
verified ·
1 Parent(s): 33b7638

Update setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +4 -9
setup.sh CHANGED
@@ -1,14 +1,5 @@
1
  #!/bin/bash
2
 
3
- # Install Tesseract OCR
4
- apt-get update && apt-get install -y tesseract-ocr
5
-
6
- # Verify installation
7
- tesseract --version
8
-
9
- chmod +x setup.sh
10
- #!/bin/bash
11
-
12
  # Update package list
13
  apt-get update
14
 
@@ -18,6 +9,10 @@ apt-get install -y tesseract-ocr
18
  # Install Poppler for PDF processing
19
  apt-get install -y poppler-utils
20
 
 
 
 
21
  # Verify installation
22
  tesseract --version
23
  pdfinfo -v
 
 
1
  #!/bin/bash
2
 
 
 
 
 
 
 
 
 
 
3
  # Update package list
4
  apt-get update
5
 
 
9
  # Install Poppler for PDF processing
10
  apt-get install -y poppler-utils
11
 
12
+ # Install Ghostscript for OCRMyPDF
13
+ apt-get install -y ghostscript
14
+
15
  # Verify installation
16
  tesseract --version
17
  pdfinfo -v
18
+ gs --version