{"id":22185705,"url":"https://github.com/prgermux/image-scrapper","last_synced_at":"2025-03-24T19:41:21.912Z","repository":{"id":263786310,"uuid":"891379485","full_name":"PrGermux/image-scrapper","owner":"PrGermux","description":"\"Image Scrapper\" is a Python application that recursively scrapes images from directories and displays them on an interactive, zoomable, and scrollable canvas. Ideal for organizing and navigating large image datasets.","archived":false,"fork":false,"pushed_at":"2025-01-07T16:26:35.000Z","size":332,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T00:17:44.664Z","etag":null,"topics":["data-visualization","desktop-application","file-explorer","graphics-view","gui-tool","image-organization","image-processing","image-scraper","image-viewer","interactive-visualization","pyqt5","python","recursive-directory","zoom-and-pan"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrGermux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-11-20T08:26:39.000Z","updated_at":"2025-01-07T16:26:39.000Z","dependencies_parsed_at":"2024-11-20T11:07:13.753Z","dependency_job_id":"6e2b490e-1c6b-4f34-a0c5-80357e073308","html_url":"https://github.com/PrGermux/image-scrapper","commit_stats":null,"previous_names":["prgermux/image-scrapper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrGermux%2Fimage-scrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrGermux%2Fimage-scrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrGermux%2Fimage-scrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrGermux%2Fimage-scrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrGermux","download_url":"https://codeload.github.com/PrGermux/image-scrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245342101,"owners_count":20599743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["data-visualization","desktop-application","file-explorer","graphics-view","gui-tool","image-organization","image-processing","image-scraper","image-viewer","interactive-visualization","pyqt5","python","recursive-directory","zoom-and-pan"],"created_at":"2024-12-02T10:16:55.189Z","updated_at":"2025-03-24T19:41:21.891Z","avatar_url":"https://github.com/PrGermux.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Scrapper\n\n**Image Scrapper** is a Python application designed for efficiently scraping, displaying, and navigating through images stored in a hierarchical folder structure. This tool leverages PyQt5 for its graphical user interface, providing an interactive, zoomable, and scrollable canvas to visualize images from multiple directories.\n\n#### Key Features:\n- **Folder Traversal**: Automatically scans a root directory and recursively includes all subfolders, displaying images from every level of the hierarchy.\n- **Interactive Canvas**: Displays images on a dynamic, infinite canvas with zoom and pan capabilities, allowing for easy navigation of large datasets.\n- **Image Organization**: Groups images from each folder into vertical columns, with folder names and image names clearly labeled below each image.\n- **File Type Support**: Supports commonly used image file formats, including JPG, PNG, and TIFF.\n- **Customizable Layout**: Dynamically adjusts the canvas size to accommodate all images and folders, ensuring a smooth viewing experience.\n- **Performance Optimization**: Handles large image datasets efficiently while maintaining interactivity and responsiveness.\n\n#### Usage\nThis tool is ideal for:\n- Researchers or analysts working with image datasets.\n- Professionals who need to explore images organized in nested folders.\n- Developers requiring an easy-to-use image visualization tool.\n\n#### Python Branch and Complexity\n- **Python Branch**: This project utilizes PyQt5 for GUI development, with Python’s `os` module for file handling and `QGraphicsView` for interactive graphics rendering.\n- **Complexity**: The application handles recursive folder traversal, dynamic canvas resizing, and interactive image rendering, making it moderately complex. The integration of zoom and pan functionalities ensures a professional-grade user experience.\n\n#### Code Structure\n- **Main Interface**: Built using PyQt5's `QGraphicsView` and `QGraphicsScene` to support infinite canvas functionality with zoom and pan capabilities.\n- **Folder and File Handling**: Recursively traverses directories to identify image files and display them in structured columns.\n- **Dynamic Canvas Layout**: Automatically adjusts the canvas size and positioning of images and labels, ensuring clarity and usability.\n\n#### Demonstration:\n\n![Animation](https://github.com/user-attachments/assets/ada908f3-0b9e-4a6e-b5bc-4dfabc9667df)\n\n#### Installation\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/yourusername/image-scrapper.git\n   cd image-scrapper\n   ```\n2. Install the required packages:\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n#### Usage\nRun the main application:\n```sh\npython main.py\n```\n\nSelect the root folder containing images, and the application will automatically scrape all subfolders and display the images in an organized layout on the canvas.\n\n#### Freezing\nTo package the application as a standalone executable:\n```sh\npyinstaller --onefile --windowed --icon=icon.png --add-data \"icon.png;.\" --name \"Image Scrapper\" main.py\n```\n\n#### Dependencies\n- Python 3.x\n- PyQt5\n\n#### Future Enhancements\n- **Thumbnail Generation**: Add an option to load smaller thumbnails for improved performance with extremely large datasets.\n- **Image Filtering**: Allow filtering by file type or other metadata.\n- **Annotation Support**: Add support for basic annotation or markup on images.\n- **Save Layout**: Provide the ability to save the current canvas layout for later use.\n\n#### License\nThis project is licensed under the MIT License for non-commercial use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprgermux%2Fimage-scrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprgermux%2Fimage-scrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprgermux%2Fimage-scrapper/lists"}