{"id":15630728,"url":"https://github.com/jrieke/shape-detection","last_synced_at":"2025-04-09T23:18:03.059Z","repository":{"id":43406906,"uuid":"62453404","full_name":"jrieke/shape-detection","owner":"jrieke","description":"🟣  Object detection of abstract shapes with neural networks","archived":false,"fork":false,"pushed_at":"2020-10-22T22:40:03.000Z","size":1179,"stargazers_count":219,"open_issues_count":1,"forks_count":130,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-09T23:17:59.128Z","etag":null,"topics":["dataset","deep-learning","keras","machine-learning","machine-learning-tutorials","neural-networks","object-detection","object-recognition","synthetic-data","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/jrieke.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":"2016-07-02T13:59:49.000Z","updated_at":"2025-01-27T01:24:26.000Z","dependencies_parsed_at":"2022-07-08T02:58:01.770Z","dependency_job_id":null,"html_url":"https://github.com/jrieke/shape-detection","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/jrieke%2Fshape-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrieke%2Fshape-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrieke%2Fshape-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrieke%2Fshape-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrieke","download_url":"https://codeload.github.com/jrieke/shape-detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125593,"owners_count":21051771,"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","deep-learning","keras","machine-learning","machine-learning-tutorials","neural-networks","object-detection","object-recognition","synthetic-data","tutorial"],"created_at":"2024-10-03T10:35:56.541Z","updated_at":"2025-04-09T23:18:03.037Z","avatar_url":"https://github.com/jrieke.png","language":"Jupyter Notebook","readme":"# shape-detection\n\n**Read my [Medium post](https://towardsdatascience.com/object-detection-with-neural-networks-a4e2c46b4491) on this project**\n\n*Note: Some people reached out and told me that they can't replicate some of the results in this repo. I couldn't find the reason, potentially one of the dependencies changed since I did this project a few years ago. Unfortunately I don't have any notes on which exact setup I used back then. If you find anything, please reach out to me :)*\n\nThis is an example of object detection with neural networks (implemented with [keras](https://keras.io/)). The training images contain abstract geometric shapes and can be easily bootstraped. \n\nThe code is split up into several Jupyter notebooks. They increase in complexity:\n\n* Detection of rectangles in numpy arrays: [single-rectangle](single-rectangle.ipynb), [two-rectangles](two-rectangles.ipynb), [multiple-rectangles](multiple-rectangles.ipynb)\n* Additional classification between rectangles and triangles: [two-rectangles-or-triangles](two-rectangles-or-triangles.ipynb), [multiple-rectangles-or-triangles](multiple-rectangles-or-triangles.ipynb)\n* Application to more complex images (using convnets): [color-multiple-shapes](color-multiple-shapes.ipynb)\n\n\n![](plots/bw-single-rectangle_prediction.png)\n\n\n**Requirements**: Python 2.7, keras (v1.0.5), theano or tensorflow, numpy, matplotlib, jupyter, pycairo (only for color-multiple-shapes.ipynb)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrieke%2Fshape-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrieke%2Fshape-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrieke%2Fshape-detection/lists"}