{"id":16359355,"url":"https://github.com/gaborvecsei/dummy-objects-dataset","last_synced_at":"2026-05-06T18:36:17.618Z","repository":{"id":84266122,"uuid":"146561821","full_name":"gaborvecsei/Dummy-Objects-Dataset","owner":"gaborvecsei","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-03T19:53:51.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T17:17:01.468Z","etag":null,"topics":["dataset","machine-learning","opencv","python","python3","sklearn"],"latest_commit_sha":null,"homepage":null,"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/gaborvecsei.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":"2018-08-29T07:25:10.000Z","updated_at":"2020-06-03T19:53:54.000Z","dependencies_parsed_at":"2023-05-24T04:45:26.983Z","dependency_job_id":null,"html_url":"https://github.com/gaborvecsei/Dummy-Objects-Dataset","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/gaborvecsei%2FDummy-Objects-Dataset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaborvecsei%2FDummy-Objects-Dataset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaborvecsei%2FDummy-Objects-Dataset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaborvecsei%2FDummy-Objects-Dataset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaborvecsei","download_url":"https://codeload.github.com/gaborvecsei/Dummy-Objects-Dataset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239726013,"owners_count":19687085,"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":["dataset","machine-learning","opencv","python","python3","sklearn"],"created_at":"2024-10-11T02:08:10.892Z","updated_at":"2026-05-06T18:36:17.575Z","avatar_url":"https://github.com/gaborvecsei.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dummy Object Dataset\n\n**This tool is under development and not completed - contains lot of problems**\n\nThe purpose of this \"tool\" is that we can easily debug our Machine Learning solutions for **object detection** (in the\nnear future: **segmentation** and **keypoint detection**)\n\nI always had trouble finding small datasets where my model can easily overfit, or where I can check if it works\nas it is supposed to. So the best solution is: generate the simplest images in the fly.\n\nThis tool is highly influenced by the idea in: [matterport/Mask_RCNN](https://github.com/matterport/Mask_RCNN/blob/master/samples/shapes/shapes.py#L63)\n\n## Sample images\n\nWe can change the min number of shapes, max number of shapes, image size, etc...\n\n![](/art/shapes_1.png)\n![](/art/shapes_2.png)\n![](/art/shapes_3.png)\n\n## Install\n\n- Required packages\n    - OpenCV 3\n    - Numpy\n\n`python3 setup.py install` or you can do this directly from github\n\n\n## Usage\n\n```\nimport dummy_dataset\n\n\nimage, bboxes, labels = dummy_dataset.DummyObjectsDataset.get_image_with_labels(image_height, image_width)\n\n# image shape: (image_height, image_width, 3)\n# bboxes shape: (n_boxes, 4) --\u003e (x0, y0, x1, y1)\n# labels shape: (n_boxes, 1) --\u003e int\n\nfig, ax = plt.subplots(1, 1)\nax.imshow(image)\nfor b in bboxes:\n    x0, y0, x1, y1 = b\n    rec = patches.Rectangle((x0, y0), x1-x0, y1-y0, fill=0)\n    ax.add_patch(rec)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaborvecsei%2Fdummy-objects-dataset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaborvecsei%2Fdummy-objects-dataset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaborvecsei%2Fdummy-objects-dataset/lists"}