edited text

master
simon 4 years ago
parent f96a27dfdc
commit ade9a0f013

@ -22,7 +22,7 @@ This set of scripts was written for the Text Laundrette workshop. The workshop t
xcode-select --install xcode-select --install
``` ```
<p>After install Homebrew.</p> <p>After, install Homebrew.</p>
```bash ```bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@ -133,20 +133,20 @@ python3 burstpdf.py
python3 rotation.py python3 rotation.py
``` ```
###Cropping the bounding boxes ###Crop the bounding boxes
<p>The pages are now in their original position, but they have a bounding box. This script iterates through them and crops the highest contrast area found.</p> <p>The pages are now in their original position, but they have a bounding box. This script iterates through them and crops the highest contrast area found.</p>
```bash ```bash
python3 bounding_box.py python3 bounding_box.py
``` ```
###Cropping the mirror ###Crop the mirror
<p>The pages are now cropped, but the mirror is still visible in the middle.</p> <p>The pages are now cropped, but the mirror is still visible in the middle.</p>
```bash ```bash
python3 mirror_crop.py python3 mirror_crop.py
``` ```
###OCR ###OCR
<p>In this part we OCR the jpg, turning these into PDFs.</p> <p>In this part we OCR the jpg files, turning these into PDFs.</p>
```bash ```bash
python3 tesseract_ocr.py python3 tesseract_ocr.py
``` ```

Loading…
Cancel
Save