Skip to content

An automation Python project that uses Gemini OCR to read text from newspaper article images, summarize them and sync the results with Google Drive.

Notifications You must be signed in to change notification settings

EternalBlue445/InsightAI

Repository files navigation

Assumptions

  1. Only images are given in a folder.
  2. I provided titles and links of each news alongside summaries in a CSV file.
    • "title_link.json" contains the titles and links.

Execution

  • main.py -> Program starts here
  • ocr_gemini.py -> Used to extract text from given images and summarize it
  • google_drive.py -> Used to push CSV files to a specific folder on Google Drive using API

Visualization

visual

Preview of Output

  • index.html is a GPT-generated file that takes CSV as input and generates a table on the browser with the contents of the CSV file.

About

An automation Python project that uses Gemini OCR to read text from newspaper article images, summarize them and sync the results with Google Drive.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •