{"id":25748330,"url":"https://github.com/serhaturtis/tool-fastbatchimagecrop","last_synced_at":"2025-05-12T14:25:42.107Z","repository":{"id":156601473,"uuid":"559623721","full_name":"serhaturtis/TOOL-FastBatchImageCrop","owner":"serhaturtis","description":"A simple UI tool to batch crop images to prepare datasets from images and videos.","archived":false,"fork":false,"pushed_at":"2024-02-28T11:19:43.000Z","size":978,"stargazers_count":27,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T14:25:28.071Z","etag":null,"topics":["cropping-images","dataset-generation","extract-data","gui","image-classification","machine-learning","python","stable-diffusion","ui"],"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/serhaturtis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-10-30T17:30:11.000Z","updated_at":"2025-03-01T17:04:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"7050fd76-404d-425c-9320-d868dddd3e2f","html_url":"https://github.com/serhaturtis/TOOL-FastBatchImageCrop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhaturtis%2FTOOL-FastBatchImageCrop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhaturtis%2FTOOL-FastBatchImageCrop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhaturtis%2FTOOL-FastBatchImageCrop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhaturtis%2FTOOL-FastBatchImageCrop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serhaturtis","download_url":"https://codeload.github.com/serhaturtis/TOOL-FastBatchImageCrop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754395,"owners_count":21958855,"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":["cropping-images","dataset-generation","extract-data","gui","image-classification","machine-learning","python","stable-diffusion","ui"],"created_at":"2025-02-26T12:28:08.507Z","updated_at":"2025-05-12T14:25:42.050Z","avatar_url":"https://github.com/serhaturtis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TOOL-FastBatchImageCrop\nA simple UI tool to batch crop images to prepare datasets.\n\n\n![Preview](./mat/preview.gif)\n\n## Features\n- Crop images from videos and image folders with custom aspect ratios\n- Resize cropped images automatically\n- Extract frames from videos\n- Crop iamges from videos while playing the video\n- Save cropped images to different class folders\n- Tag images to txt files while cropping\n\n## Usage\n\nInstall requirements (only pillow and opencv) with;\n\n\u003epip install -r requirements.txt\n\nRun with;\n\n\u003epython main.py\n\nSelect input folder, adjust crop rectangle size with mousewheel, click, repeat.\n\nThere are options to enter class names and image descriptions per crop. Class name creates seperate directories to save in the output folder and image descriptions create txt files with the same names per image.\n\nShortcut keys when cursor is on canvas;\n\n    - q: Rotate image CCW\n    - e: Rotate image CW\n    - r: Toggle roll to next image on crop\n    - space: Roll to next image\n\nHack away.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhaturtis%2Ftool-fastbatchimagecrop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserhaturtis%2Ftool-fastbatchimagecrop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhaturtis%2Ftool-fastbatchimagecrop/lists"}