Skip to content

Commit ed7d11e

Browse files
Andrew CampbellAndrew Campbell
authored andcommitted
Update readme
1 parent 5a6060b commit ed7d11e

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
@@ -14,16 +14,25 @@ This project makes use of the transform and imutils modules from pyimagesearch (
1414
* The scanner can also process an entire directory of images automatically and save the output in an output directory:
1515
![Image Directory of images to be processed](https://github.com/andrewdcampbell/doc_scanner/blob/master/before_after.gif)
1616

17+
#### Here are some examples of images before and after scan:
18+
<img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/sample_images/cell_pic.jpg" height="450"> <img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/output/cell_pic.jpg" height="450">
19+
20+
<img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/sample_images/receipt.jpg" height="450"> <img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/output/receipt.jpg" height="450">
21+
22+
<img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/sample_images/math_cheat_sheet.JPG" height="450"> <img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/output/math_cheat_sheet.JPG" height="450">
23+
24+
<img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/sample_images/dollar_bill.JPG" width="350"> <img src="https://github.com/andrewdcampbell/doc_scanner/blob/master/output/dollar_bill.JPG" width="350">
25+
1726

1827
### Usage
1928
```
2029
python scan.py (--images <IMG_DIR> | --image <IMG_PATH>) [-i]
2130
```
2231
* For example, to scan a single image with interactive mode:
2332
```
24-
python scan.py --image images/page.jpg -i
33+
python scan.py --image sample_images/desk.JPG -i
2534
```
2635
* To scan all images in a directory automatically:
2736
```
28-
python scan.py --images images
37+
python scan.py --images sample_images
2938
```

0 commit comments

Comments
 (0)