{"id":19764391,"url":"https://github.com/ynstf/automated-document-analysis-and-question-generation","last_synced_at":"2026-05-11T13:03:12.935Z","repository":{"id":217892612,"uuid":"745050132","full_name":"ynstf/Automated-Document-Analysis-and-Question-Generation","owner":"ynstf","description":"Explore automated document processing with OCR techniques and utilize GPT-3.5-turbo for generating insightful questions and answers. Enhance your document analysis workflow with this versatile Python project.","archived":false,"fork":false,"pushed_at":"2024-01-18T15:00:51.000Z","size":2899,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T10:38:06.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ynstf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-18T14:45:59.000Z","updated_at":"2024-01-18T14:51:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bdc9ffe-0a9a-41e9-b89b-50da15e91946","html_url":"https://github.com/ynstf/Automated-Document-Analysis-and-Question-Generation","commit_stats":null,"previous_names":["ynstf/automated-document-analysis-and-question-generation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ynstf/Automated-Document-Analysis-and-Question-Generation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynstf%2FAutomated-Document-Analysis-and-Question-Generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynstf%2FAutomated-Document-Analysis-and-Question-Generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynstf%2FAutomated-Document-Analysis-and-Question-Generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynstf%2FAutomated-Document-Analysis-and-Question-Generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynstf","download_url":"https://codeload.github.com/ynstf/Automated-Document-Analysis-and-Question-Generation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynstf%2FAutomated-Document-Analysis-and-Question-Generation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32895978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T04:13:46.375Z","updated_at":"2026-05-11T13:03:12.930Z","avatar_url":"https://github.com/ynstf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCR-QA Project\n\nAutomate document analysis and question generation using Optical Character Recognition (OCR) techniques and OpenAI's GPT-3.5-turbo model.\n\ninput:\n\n![pdf](https://github.com/ynstf/Automated-Document-Analysis-and-Question-Generation/assets/107154559/64ac355c-c6ab-408d-8f23-1f34e57c1543)\n\noutput:\n\n![Capture](https://github.com/ynstf/Automated-Document-Analysis-and-Question-Generation/assets/107154559/07e84483-c586-4a87-b146-14b9b6951284)\n\n\n## Overview\n\nThis project utilizes PyPDFium, EasyOCR, Tesseract, and OpenAI's GPT-3.5-turbo to extract text from images and generate insightful questions and answers based on the content. Enhance your document analysis workflow with this versatile Python project.\n\n## Features\n\n- **OCR Techniques:** Utilize PyPDFium, EasyOCR, and Tesseract for efficient text extraction from images.\n- **Question Generation:** Leverage GPT-3.5-turbo to automatically generate questions based on extracted text.\n- **Versatile Usage:** Easily adapt the project for various document types and languages.\n\n## Getting Started\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/ynstf/Automated-Document-Analysis-and-Question-Generation.git\n    cd OCR-QA-Project\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Set up your environment variables:\n\n    ```bash\n    # Add your OpenAI GPT-3.5-turbo API key to the .env file\n    echo \"chatgpt_token=your-api-key\" \u003e .env\n    ```\n\n4. Run the script:\n\n   **This module is much faster with a GPU.**\n\n    ```bash\n    python main.py\n    ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynstf%2Fautomated-document-analysis-and-question-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynstf%2Fautomated-document-analysis-and-question-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynstf%2Fautomated-document-analysis-and-question-generation/lists"}