{"id":19815183,"url":"https://github.com/akbartus/yolov5-segmentation-on-browser","last_synced_at":"2026-06-11T00:31:38.070Z","repository":{"id":130694255,"uuid":"603965863","full_name":"akbartus/Yolov5-Segmentation-on-Browser","owner":"akbartus","description":"Example of YOLOv5 object segmentation on the browser, powered by Onnx. Written in JavaScript without any frameworks. ","archived":false,"fork":false,"pushed_at":"2023-02-20T04:27:27.000Z","size":10307,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T19:26:47.177Z","etag":null,"topics":["artificial-intelligence","computer-vision","object-segmentation","onnxruntime","yolov5"],"latest_commit_sha":null,"homepage":"https://yolov5-segmentation.glitch.me/","language":"JavaScript","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/akbartus.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":"2023-02-20T03:24:41.000Z","updated_at":"2024-01-07T14:30:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"d718f3e6-0126-4a94-8e30-5ac729696017","html_url":"https://github.com/akbartus/Yolov5-Segmentation-on-Browser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akbartus/Yolov5-Segmentation-on-Browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akbartus%2FYolov5-Segmentation-on-Browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akbartus%2FYolov5-Segmentation-on-Browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akbartus%2FYolov5-Segmentation-on-Browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akbartus%2FYolov5-Segmentation-on-Browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akbartus","download_url":"https://codeload.github.com/akbartus/Yolov5-Segmentation-on-Browser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akbartus%2FYolov5-Segmentation-on-Browser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34177445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["artificial-intelligence","computer-vision","object-segmentation","onnxruntime","yolov5"],"created_at":"2024-11-12T10:04:59.728Z","updated_at":"2026-06-11T00:31:38.032Z","avatar_url":"https://github.com/akbartus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"img/screenshot.jpg\" /\u003e\r\n\u003c/p\u003e\r\n\r\n\r\nThis is adapted and reduced version of YOLOv5 object segmentation (powered by onnx) created by \u003ca href=\"https://github.com/Hyuto/yolov5-seg-onnxruntime-web\"\u003eWahyu Setianto\u003c/a\u003e. This version can be run on JavaScript without any frameworks.\r\n\r\n## Setup\r\nTo see it at work, just run index.html file. \r\n\r\n## Models\r\n\r\n**Main Model**\r\n\r\nYOLOv5n-seg model converted to onnx.\r\n\r\n```\r\nused model : yolov5n-seg.onnx\r\nsize       : ~ 8Mb\r\n```\r\n\r\n**NMS**\r\n\r\nONNX model to perform NMS operator [CUSTOM].\r\n\r\n```\r\nnms-yolov5.onnx\r\n```\r\n\r\n**Mask**\r\n\r\nONNX model to produce mask for every object detected [CUSTOM].\r\n\r\n```\r\nmask-yolov5-seg.onnx\r\n```\r\n\r\n## Use another model\r\n\r\nIt is possible to use bigger models converted to onnx, however this might impact the total loading time.\r\n\r\nTo use another YOLOv5 model, download it from Ultralytics and convert it to onnx file format. Read more on the [official documentation](https://docs.ultralytics.com/tasks/segmentation/#export)\r\n\r\n**Custom YOLOv5 Segmentation Models**\r\n\r\nPlease update labels object inside of main.js file.\r\n\r\n## Demo\r\nTo see it at work, please visit the \u003ca href=\"https://yolov5-segmentation.glitch.me/\"\u003efollowing page\u003c/a\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakbartus%2Fyolov5-segmentation-on-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakbartus%2Fyolov5-segmentation-on-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakbartus%2Fyolov5-segmentation-on-browser/lists"}