Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Remove Background from the picture using WebAssembly & TensorFlow.js

Awesome Lists containing this project

README

        

# tensorflowjs-remove-background
![CI/CD](https://github.com/poly-glot/tensorflowjs-remove-background/workflows/CI/CD/badge.svg)
[![codecov](https://codecov.io/gh/poly-glot/tensorflowjs-remove-background/branch/master/graph/badge.svg)](https://codecov.io/gh/poly-glot/tensorflowjs-remove-background)
[![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)
[![Cypress.io Dashboard](https://img.shields.io/badge/cypress-dashboard-brightgreen.svg)](https://dashboard.cypress.io/projects/jp2thc/runs)
[![DeepScan grade](https://deepscan.io/api/teams/8408/projects/10623/branches/149386/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=8408&pid=10623&bid=149386)
[![Maintainability](https://api.codeclimate.com/v1/badges/e9ab18c4667689e347de/maintainability)](https://codeclimate.com/github/poly-glot/tensorflowjs-remove-background/maintainability)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](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
Use referrerpolicy="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.