Skip to content

Commit 48b4205

Browse files
author
namrun
committed
Added an example in the README
1 parent 280fba7 commit 48b4205

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

Image_to_text/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
- Dependencies and Installs:
88
- pip install pytesseract
99
- To run the script :
10-
- python3 image-to-text.py "/path to image"
10+
- python3 image-to-text.py "path to image"
1111

12+
- Considering an example :
13+
- This is the image
14+
![Image](assets/image.PNG)
1215

16+
- On running the script
17+
![Image](assets/script.PNG)
18+
19+
- This is the text file that has the extracted text from the image
20+
![Image](assets/text.PNG)

Image_to_text/Text_in_the_image.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
‘Open-source software (OSS) is a type of computer software in which source code is released under a license in which
2+
the copyright holder grants users the rights to use, study, change, and distribute the software to anyone and for any
3+
purpose.!"! Open-source software may be developed in a collaborative public manner. Open-source software is a
4+
prominent example of open collaboration.

Image_to_text/assets/image.PNG

12.1 KB
Loading

Image_to_text/assets/script.PNG

6.66 KB
Loading

Image_to_text/assets/text.PNG

10.7 KB
Loading

0 commit comments

Comments
 (0)