{"id":14958850,"url":"https://github.com/poly-glot/tensorflowjs-remove-background","last_synced_at":"2025-05-02T12:31:24.425Z","repository":{"id":40288006,"uuid":"253101440","full_name":"poly-glot/tensorflowjs-remove-background","owner":"poly-glot","description":"Remove Background from the picture using WebAssembly \u0026 TensorFlow.js","archived":false,"fork":false,"pushed_at":"2023-07-07T23:09:17.000Z","size":3020,"stargazers_count":113,"open_issues_count":11,"forks_count":14,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-07T01:53:07.158Z","etag":null,"topics":["canvas","javascript","jest-tests","micro-app","tdd-javascript","tensorflow-experiments","tensorflow-model","tensorflowjs","vanilla-javascript","vanilla-js","vanillajs","webassembly-demo","year-2020"],"latest_commit_sha":null,"homepage":"https://removebg.junaid.guru","language":"JavaScript","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/poly-glot.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-04T21:24:22.000Z","updated_at":"2025-02-20T08:00:22.000Z","dependencies_parsed_at":"2024-09-22T08:01:26.336Z","dependency_job_id":null,"html_url":"https://github.com/poly-glot/tensorflowjs-remove-background","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.1875,"last_synced_commit":"61238235f55b2e9a49ed831fff5df5f7821b2d8f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"poly-glot/vanilla-front-end-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly-glot%2Ftensorflowjs-remove-background","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly-glot%2Ftensorflowjs-remove-background/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly-glot%2Ftensorflowjs-remove-background/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poly-glot%2Ftensorflowjs-remove-background/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poly-glot","download_url":"https://codeload.github.com/poly-glot/tensorflowjs-remove-background/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252038150,"owners_count":21684632,"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":["canvas","javascript","jest-tests","micro-app","tdd-javascript","tensorflow-experiments","tensorflow-model","tensorflowjs","vanilla-javascript","vanilla-js","vanillajs","webassembly-demo","year-2020"],"created_at":"2024-09-24T13:18:23.833Z","updated_at":"2025-05-02T12:31:23.575Z","avatar_url":"https://github.com/poly-glot.png","language":"JavaScript","readme":"# tensorflowjs-remove-background\n![CI/CD](https://github.com/poly-glot/tensorflowjs-remove-background/workflows/CI/CD/badge.svg)\n[![codecov](https://codecov.io/gh/poly-glot/tensorflowjs-remove-background/branch/master/graph/badge.svg)](https://codecov.io/gh/poly-glot/tensorflowjs-remove-background)\n[![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/328a6753/tensorflowjs-remove-background)\n[![Cypress.io Dashboard](https://img.shields.io/badge/cypress-dashboard-brightgreen.svg)](https://dashboard.cypress.io/projects/jp2thc/runs)\n[![DeepScan grade](https://deepscan.io/api/teams/8408/projects/10623/branches/149386/badge/grade.svg)](https://deepscan.io/dashboard#view=project\u0026tid=8408\u0026pid=10623\u0026bid=149386)\n[![Maintainability](https://api.codeclimate.com/v1/badges/e9ab18c4667689e347de/maintainability)](https://codeclimate.com/github/poly-glot/tensorflowjs-remove-background/maintainability)\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/poly-glot/tensorflowjs-remove-background)\n\nRemove Background from the picture using WebAssembly \u0026 TensorFlow.js\n\n# Getting Started\n```\nnpm install\nnpm start\n```\n\n## Demonstration\n\u003ctable width=\"100%\"\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eCanvas\u003c/td\u003e\n        \u003ctd\u003eHow to manipulate \u003ca href=\"https://developer.mozilla.org/en-US/docs/Web/API/ImageData\" target=\"_blank\"\u003eImageData\u003c/a\u003e to build a new image.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eCanvas\u003c/td\u003e\n        \u003ctd\u003e\u003ca href=\"https://github.com/poly-glot/tensorflowjs-remove-background/blob/00b6333c660ea1ecf7d1562dae56b68eea137041/src/component/output/events.js#L42\" target=\"_blank\"\u003eSave Canvas image.\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eSEO\u003c/td\u003e\n        \u003ctd\u003e\u003ca href=\"https://support.google.com/gsa/answer/6329153?hl=en#82542\"\u003eExcluding Unwanted Text from the Google Index\u003c/a\u003e \u003ccode\u003e\u0026lt;!--googleoff: index--\u0026gt;\u003c/code\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eHTML\u003c/td\u003e\n        \u003ctd\u003eUse \u003ccode\u003ereferrerpolicy=\"no-referrer\"\u003c/code\u003e to disable hotlink protection.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eHTML\u003c/td\u003e\n        \u003ctd\u003eUse accept attribute e.g. \u003ccode\u003eaccept=\".jpg,.png,.jpeg\"\u003c/code\u003e to allow users to select required file type.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eJS\u003c/td\u003e\n        \u003ctd\u003eHandle events using \u003ca href=\"https://javascript.info/bubbling-and-capturing\"\u003eEvent Bubbling\u003c/a\u003e.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"100\"\u003eAccessibility\u003c/td\u003e\n        \u003ctd\u003eA small \u0026amp; Accessible Collapse implementation.\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n# Browser Support\n2 most recent versions of Chrome, Firefox, Safari \u0026 MS Edge.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoly-glot%2Ftensorflowjs-remove-background","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoly-glot%2Ftensorflowjs-remove-background","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoly-glot%2Ftensorflowjs-remove-background/lists"}