{"id":15672962,"url":"https://github.com/robmarkcole/streamlit-segmentation-app","last_synced_at":"2025-09-06T11:40:50.637Z","repository":{"id":59365556,"uuid":"535513913","full_name":"robmarkcole/streamlit-segmentation-app","owner":"robmarkcole","description":"streamlit app for binary segmentation","archived":false,"fork":false,"pushed_at":"2022-09-15T04:47:24.000Z","size":3513,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T22:11:36.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robmarkcole.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-12T04:43:40.000Z","updated_at":"2024-11-20T17:18:46.000Z","dependencies_parsed_at":"2022-09-15T21:21:44.657Z","dependency_job_id":null,"html_url":"https://github.com/robmarkcole/streamlit-segmentation-app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fstreamlit-segmentation-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fstreamlit-segmentation-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fstreamlit-segmentation-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fstreamlit-segmentation-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/streamlit-segmentation-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776600,"owners_count":21802469,"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":[],"created_at":"2024-10-03T15:34:19.867Z","updated_at":"2025-05-06T22:12:05.621Z","avatar_url":"https://github.com/robmarkcole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# segmentation-annotation-app\nStreamlit app to perform annotation for binary segmentation. \n\n- Use the file picker to load an image to annotate with polygons covering target class pixels\n- Save the mask file: this will use the input filename and save to the masks directory\n- The generated masks are 8-bit images with 0 representing background and 255 representing target\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"images/usage.png\" width=\"900\"\u003e\n\u003c/p\u003e\n\n## Tips\n- The file picker is used to select the image to annotate, if you are working through a long list of images it is easy to loose your place and spend lots of time searching for the next file. A workaround is to periodically move the annotated images to a folder called `annotated`, making it easier to find the unannotated images\n- If you refresh the app page, be sure to update the `Mask directory path:` or masks will be saved in the default location (they can be just copied over so not a big deal)\n\n## Development (mac)\n```\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\nstreamlit run app.py\n```\n\n## References\n- [streamlit-drawable-canvas](https://github.com/andfanilo/streamlit-drawable-canvas)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fstreamlit-segmentation-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Fstreamlit-segmentation-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fstreamlit-segmentation-app/lists"}