0.0.14 • Published 5 months ago

sveltetf v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

SvelteTF

this is a typescript version of the library built by John Kane: https://github.com/john--kane/svelteml

:warning: W.I.P. not ready for production use :warning:

:warning: For personal use and focusing on face detection for now... :warning:

sveltetf

Overview 🤖 📖

The purpose of SvelteTF is to offer simple Components that can make ML more accessible. It leverages TensorflowJS to offer Svelte apps ML features out-of-the-box. It relies heavily on Svelte's reactivity feature and event hooks can be used to extend out the ML flow. e.g. on:poses in the Pose Estimator will give you the raw poses directfrom TensorflowJS.

Quick Start

npm install sveltetf --save

What's inside?

Classification / Segmentation

  • Image Classification
  • Body Segmentation
  • Basic Multi-Pose Estimation
  • Object Detection

Text-based inference

  • Sentence Encoding
  • Text Toxicity
  • Question and Answers

Image Effects

  • Blur Body Parts
  • Bokeh Effect
  • Face Landmarks Detection
  • Hand Pose Detection

Experiments

  • Switching to Lerna for multiple repos so the lib can expand in the different areas. Also helpful for tfjs3 when it will have code-splitting 😃
    • @sveltetf/ui
    • @sveltetf/classification
    • @sveltetf/segmentation
    • @sveltetf/automl
    • @sveltetf/text
    • @sveltetf/audio
  • Unlock slots with Facial recognition, maybe use faceapi.js
  • Demo site for more details
  • Audio and speech recognition features
  • Additional models using the lower level tfjs apis
  • .... and a few other top secret ideas 🤭

Note

All Components try to be reactive so although it feels very declarative, it is also reacting to your input. Add an issue in Github if you need a specific behaviour or if there is a bug or would like to recommend something. You know the drill.