Update 'readme.md'

master
Pedro Sá Couto 5 years ago
parent 5437a0aaca
commit f4548806f1

@ -121,24 +121,12 @@ mkdir cropped
python3 burstpdf.py python3 burstpdf.py
``` ```
###Rotate the pdfs
<p>The book scanner takes pictures of the pdfs, this scrip iterates through the odd and even pages rotating them to their original position.</p>
```bash
python3 rotation.py
```
###Cropping the bounding boxes ###Cropping 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
<p>The pages are now cropped, but the mirror is still visible in the middle.</p>
```bash
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, turning these into PDFs.</p>
```bash ```bash

Loading…
Cancel
Save