https://github.com/poly-glot/tensorflowjs-remove-background
Remove Background from the picture using WebAssembly & TensorFlow.js
https://github.com/poly-glot/tensorflowjs-remove-background
canvas javascript jest-tests micro-app tdd-javascript tensorflow-experiments tensorflow-model tensorflowjs vanilla-javascript vanilla-js vanillajs webassembly-demo year-2020
Last synced: 12 days ago
JSON representation
Remove Background from the picture using WebAssembly & TensorFlow.js
- Host: GitHub
- URL: https://github.com/poly-glot/tensorflowjs-remove-background
- Owner: poly-glot
- License: mit
- Created: 2020-04-04T21:24:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T23:09:17.000Z (almost 2 years ago)
- Last Synced: 2025-04-07T01:53:07.158Z (about 1 month ago)
- Topics: canvas, javascript, jest-tests, micro-app, tdd-javascript, tensorflow-experiments, tensorflow-model, tensorflowjs, vanilla-javascript, vanilla-js, vanillajs, webassembly-demo, year-2020
- Language: JavaScript
- Homepage: https://removebg.junaid.guru
- Size: 2.88 MB
- Stars: 113
- Watchers: 8
- Forks: 14
- Open Issues: 11
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# tensorflowjs-remove-background

[](https://codecov.io/gh/poly-glot/tensorflowjs-remove-background)
[](https://percy.io/328a6753/tensorflowjs-remove-background)
[](https://dashboard.cypress.io/projects/jp2thc/runs)
[](https://deepscan.io/dashboard#view=project&tid=8408&pid=10623&bid=149386)
[](https://codeclimate.com/github/poly-glot/tensorflowjs-remove-background/maintainability)
[](https://gitpod.io/#https://github.com/poly-glot/tensorflowjs-remove-background)Remove Background from the picture using WebAssembly & TensorFlow.js
# Getting Started
```
npm install
npm start
```## Demonstration
Canvas
How to manipulate ImageData to build a new image.
Canvas
Save Canvas image.
SEO
Excluding Unwanted Text from the Google Index<!--googleoff: index-->
HTML
Usereferrerpolicy="no-referrer"
to disable hotlink protection.
HTML
Use accept attribute e.g.accept=".jpg,.png,.jpeg"
to allow users to select required file type.
JS
Handle events using Event Bubbling.
Accessibility
A small & Accessible Collapse implementation.
# Browser Support
2 most recent versions of Chrome, Firefox, Safari & MS Edge.