{"id":34628101,"url":"https://github.com/pranftw/oddgen","last_synced_at":"2026-05-23T13:35:10.668Z","repository":{"id":189790781,"uuid":"615263457","full_name":"pranftw/oddgen","owner":"pranftw","description":"Generate object detection datasets from individual objects with automatic bounding box annotations","archived":false,"fork":false,"pushed_at":"2023-08-23T02:20:24.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-08-23T05:58:20.728Z","etag":null,"topics":["automatic-generation","bounding-box-annotations","dataset-generation","object-detection"],"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/pranftw.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}},"created_at":"2023-03-17T10:00:54.000Z","updated_at":"2023-08-21T18:06:55.000Z","dependencies_parsed_at":"2023-08-21T19:54:50.596Z","dependency_job_id":null,"html_url":"https://github.com/pranftw/oddgen","commit_stats":null,"previous_names":["pranftw/oddgen"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/pranftw/oddgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranftw%2Foddgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranftw%2Foddgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranftw%2Foddgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranftw%2Foddgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pranftw","download_url":"https://codeload.github.com/pranftw/oddgen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pranftw%2Foddgen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28004520,"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-12-24T02:00:07.193Z","response_time":83,"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":["automatic-generation","bounding-box-annotations","dataset-generation","object-detection"],"created_at":"2025-12-24T16:14:39.904Z","updated_at":"2025-12-24T16:14:42.391Z","avatar_url":"https://github.com/pranftw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ODDGen - Object Detection Dataset Generator\n### Generate object detection datasets from individual objects with automatic bounding box annotations\n\n\u003cbr\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003cimg width=\"251\" alt=\"logo\" src=\"logo.png\"\u003e\n  \u003c/div\u003e\n\u003cbr\u003e\n\n## Features\n- Automatically generates object detection dataset along with bounding box annotations\n- Background remover for objects with backgrounds along with training script for U2NET if one requires a custom background remover\n- Add backgrounds to generated images\n- Easily scalable to generate tens of thousands of images through batching\n\n## Installation\n```bash\ngit clone https://github.com/pranftw/oddgen.git\ncd oddgen\n# create and activate virtual environment\npip install -r requirements.txt\n```\n\n## Example\n\u003cbr\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"methodology\" src=\"methodology.svg\"\u003e\n  \u003c/div\u003e\n\u003cbr\u003e\n\n- A simple ShapeNet example is demonstrated in `example.py`\n- Download sample dataset from https://drive.google.com/drive/folders/1mGMq5jGSY_BmnOdYjejDg_yi8zeSmOc2?usp=sharing and sample backgrounds from https://drive.google.com/drive/folders/135ozo_lTppYSaquCMWP566fEpl0MyWff?usp=sharing\n- The sample dataset contains 3 objects - phone, ship and plane from ShapeNet. Sample backgrounds contains several background images\n- Set the required path environment variables as specified in SET ENV VARS\n- Execute `python example.py` by uncommenting only the required functions one by one\n\n\n## Download PyTorch files for Background Remover\n- `mkdir oddgen/bg_remover/models`\n- Download the required files from the following links into `oddgen/bg_remover/models`\n  - model scripts - https://drive.google.com/drive/folders/1CckJQwVC2gRu9xw0HNNw5JYhC4RHfMHQ?usp=sharing\n  - ISNET weights - https://drive.google.com/file/d/1nV57qKuy--d5u1yvkng9aXW1KS4sOpOi/view?usp=sharing (from [official link](https://github.com/xuebinqin/DIS))\n  - U2NET weights - https://drive.google.com/file/d/1ao1ovG1Qtx4b7EoskHXmi2E9rp5CHLcZ/view?usp=sharing (from [official link](https://github.com/xuebinqin/U-2-Net))\n  - U2NETP weights - https://drive.google.com/file/d/1rbSTGKAE-MTxBYHd-51l2hMOQPT_7EPy/view?usp=sharing (from [official link](https://github.com/xuebinqin/U-2-Net))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranftw%2Foddgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpranftw%2Foddgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranftw%2Foddgen/lists"}