Following steps arebeing followed in this project 1- Using PIL library I loaded image of a notice downloaded from google. 2- Text from the image was extraxcted using OCR tool of python called Pytesseract. 3- After extracting the text was stord in a variable. 4- In the next step I downloaded pegasus xsum pretrained model and created tokens of the text that was extracted. 5- Those tokens were used to create the summary of the text. 6- Summary tokens were decoded to get the text format of the summary.
-
Notifications
You must be signed in to change notification settings - Fork 0
AtharvaSolanki/Image-Text-Summarization-using-Pegasus-xsum
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This project provides a short summary of a notice or any article
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published