{"id":18918810,"url":"https://github.com/towhidkashem/image-dataset-prepper","last_synced_at":"2025-10-11T09:09:39.860Z","repository":{"id":65004301,"uuid":"537264813","full_name":"TowhidKashem/image-dataset-prepper","owner":"TowhidKashem","description":"A desktop file explorer with keyboard shortcuts to quickly prep images when collecting datasets for training image classification models","archived":false,"fork":false,"pushed_at":"2022-12-31T04:21:03.000Z","size":91887,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-15T09:13:37.376Z","etag":null,"topics":["data-set-organizer","data-wrangling","electron","file-explorer","image-classification","machine-learning-images","reactjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/TowhidKashem.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}},"created_at":"2022-09-16T01:33:38.000Z","updated_at":"2024-10-03T23:16:08.000Z","dependencies_parsed_at":"2022-12-31T06:58:40.611Z","dependency_job_id":null,"html_url":"https://github.com/TowhidKashem/image-dataset-prepper","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/TowhidKashem/image-dataset-prepper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TowhidKashem%2Fimage-dataset-prepper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TowhidKashem%2Fimage-dataset-prepper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TowhidKashem%2Fimage-dataset-prepper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TowhidKashem%2Fimage-dataset-prepper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TowhidKashem","download_url":"https://codeload.github.com/TowhidKashem/image-dataset-prepper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TowhidKashem%2Fimage-dataset-prepper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006752,"owners_count":26084176,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":["data-set-organizer","data-wrangling","electron","file-explorer","image-classification","machine-learning-images","reactjs"],"created_at":"2024-11-08T10:33:48.305Z","updated_at":"2025-10-11T09:09:39.829Z","avatar_url":"https://github.com/TowhidKashem.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg\n    src=\"./assets/icon.svg\"\n    alt=\"\"\n    width=\"27\"\n    style=\"margin-right: 8px\"\n  /\u003e\n  Image Classification Dataset Prepper\n\u003c/h1\u003e\n\nhttps://user-images.githubusercontent.com/1139927/209875258-38f3774f-0d5e-4926-964c-a2f3a80ec60a.mp4\n\n\u003cbr /\u003e\n\n\u003cp\u003eWhen preparing datasets for training image classification models it's a real pain to manually sift through thousands of images to weed out the inaccurate, duplicate and broken ones. This cross-platform app aims to make the process a little more tolerable by allowing you to use keyboard shortcuts to quickly cycle through all the images in a folder and delete the ones you don't want.\u003c/p\u003e\n\n## Installation\n\nFirst install the dependencies:\n\n```\n\u003e yarn install or npm install\n```\n\nthen build the executable:\n\n```\n\u003e yarn package or npm run package\n```\n\nThe resultant launch file can be found in the `release/build/*` folder e.g. on a mac it's `release/build/mac/ImageReviewer.app`. You can move this anywhere like to your desktop and run it as a standalone app going forward.\n\n## Development\n\n```\n\u003e yarn start or npm start\n```\n\nThis will spin up a dev server which auto-reloads on file changes.\n\n## Files\n\n- Electron backend - `src/main/*`\n- React frontend - `src/renderer/*`\n\n## Usage\n\n- \u003ckbd\u003e→\u003c/kbd\u003e - next image\n- \u003ckbd\u003e←\u003c/kbd\u003e - prev image\n- \u003ckbd\u003eSpace\u003c/kbd\u003e - delete image\n- \u003ckbd\u003eCMD\u003c/kbd\u003e / \u003ckbd\u003eCTRL\u003c/kbd\u003e + \u003ckbd\u003eZ\u003c/kbd\u003e - undo delete\n- \u003ckbd\u003ea\u003c/kbd\u003e - pick image (this moves the image into a subfolder called `_picked`)\n- \u003ckbd\u003eCMD\u003c/kbd\u003e / \u003ckbd\u003eCTRL\u003c/kbd\u003e + \u003ckbd\u003eR\u003c/kbd\u003e - refresh the app\n- click the \"\u0026#x21bb;\" icon on the top right of the screen to reset history (visited folders whose contents were looped through at least once appear at a lower opacity for tracking purposes)\n- \u0026#9835; pop noise sounds each time a full loop completes when cycling through a directory\n\n## Folder structure\n\nThis is a common folder structure for image classification datasets:\n\n```\ndog-breeds/\n- doberman/\n  - a.jpg\n  - b.png\n- german-shepherd/\n  - c.jpg\n  - d.webp\n- miniature-poodle/\n  - e.png\n  - f.jpg\n```\n\nIn other words you have a root folder with sub-folders for each _class_, and inside those sub-folders are the images. You can browse such a root folder using this app, same for individual folders with images.\n\nJust make sure that the selected folder contains either **only images** or **only sub-folders**. This app isn't a full fledged file explorer and can't handle anything else at the moment.\n\n## Roadmap\n\n- Automate deleting duplicate images\n- Automate deleting broken images\n- Crop and keep only part of an image\n- Convert all images to a particular format\n\n## Credits\n\n- [IOS Camera Icon](https://iconscout.com/icon/photos-30) by Giulio Smedile\n- [Electron React Boilterplate](https://github.com/electron-react-boilerplate/electron-react-boilerplate)\n- [Chakra UI component library](https://github.com/chakra-ui/chakra-ui)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowhidkashem%2Fimage-dataset-prepper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftowhidkashem%2Fimage-dataset-prepper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowhidkashem%2Fimage-dataset-prepper/lists"}