{"id":15105005,"url":"https://github.com/akari2600/pdf_analyzer_poc","last_synced_at":"2026-03-07T07:31:58.977Z","repository":{"id":248911416,"uuid":"830135564","full_name":"akari2600/pdf_analyzer_poc","owner":"akari2600","description":"PDF layout analysis with OpenCV","archived":false,"fork":false,"pushed_at":"2024-07-17T21:46:48.000Z","size":668,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-08T14:51:15.799Z","etag":null,"topics":["kivy","opencv","pdf-document-processor"],"latest_commit_sha":null,"homepage":"","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/akari2600.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-07-17T16:58:08.000Z","updated_at":"2024-07-17T21:46:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c86bc05-3346-4d71-8251-e601fb225980","html_url":"https://github.com/akari2600/pdf_analyzer_poc","commit_stats":null,"previous_names":["akari2600/pdf_analyzer_poc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akari2600/pdf_analyzer_poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akari2600%2Fpdf_analyzer_poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akari2600%2Fpdf_analyzer_poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akari2600%2Fpdf_analyzer_poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akari2600%2Fpdf_analyzer_poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akari2600","download_url":"https://codeload.github.com/akari2600/pdf_analyzer_poc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akari2600%2Fpdf_analyzer_poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["kivy","opencv","pdf-document-processor"],"created_at":"2024-09-25T20:20:19.946Z","updated_at":"2026-03-07T07:31:58.945Z","avatar_url":"https://github.com/akari2600.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Analyzer PoC\n\nThis project is a Proof of Concept (PoC) for a PDF Analyzer tool. It provides a graphical user interface for loading PDF files, analyzing their layout, and visualizing the results.\n\n## Features\n\n- Load PDF files and convert them to images\n- Analyze the layout of PDF pages\n- Visualize layout analysis results with adjustable thresholds\n- Option to preprocess images before analysis\n- Display of detected horizontal and vertical cuts in the document layout\n\n## Installation\n\n1. Clone this repository:\n   ```\n   git clone https://github.com/yourusername/pdf_analyzer_poc.git\n   cd pdf_analyzer_poc\n   ```\n\n2. Create a virtual environment and activate it:\n   ```\n   python -m venv venv\n   source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n   ```\n\n3. Install the required dependencies:\n   ```\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\nTo run the application, execute the following command from the project root directory:\n\n```\npython gui.py\n```\n\nThis will launch the graphical user interface. From there, you can:\n\n1. Click \"Choose File\" to select a PDF file for analysis.\n2. Adjust the X and Y thresholds as needed.\n3. Toggle the \"Enable Preprocessing\" checkbox if desired.\n4. Click \"Analyze Layout\" to process the PDF and view the results.\n\n## Project Structure\n\n- `gui.py`: Main entry point of the application, contains the GUI implementation\n- `pdf_processor.py`: Handles loading and processing of PDF files\n- `image_analyzer.py`: Contains functions for image preprocessing and layout analysis\n- `main.py`: Currently not used, may be used for future command-line interface\n- `requirements.txt`: Lists all Python dependencies for the project\n- `test_pdfs/`: Directory containing PDF files for testing (ignored in git except for sample.pdf)\n\n## Contributing\n\nThis is a Proof of Concept project. For any major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakari2600%2Fpdf_analyzer_poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakari2600%2Fpdf_analyzer_poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakari2600%2Fpdf_analyzer_poc/lists"}