All Projects → infinitered → ai-lab

infinitered / ai-lab

Licence: MIT license
Library of components for TensorFlow.js in web frameworks.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ai-lab

digit-recognizer-live
Recognize Digits using Deep Neural Networks in Google Chrome live!
Stars: ✭ 29 (-29.27%)
Mutual labels:  tensorflowjs
emotion-detector.js
👹 Emotion recognition in Node.js
Stars: ✭ 30 (-26.83%)
Mutual labels:  tensorflowjs
handwritten-digit-recognition-tensorflowjs
In-Browser Digit recognition with Tensorflow.js and React using Mnist dataset
Stars: ✭ 40 (-2.44%)
Mutual labels:  tensorflowjs
splat
Motion-controlled Fruit Ninja clone using Three.js & Tensorflow.js
Stars: ✭ 84 (+104.88%)
Mutual labels:  tensorflowjs
pytorch2keras
PyTorch to Keras model convertor
Stars: ✭ 788 (+1821.95%)
Mutual labels:  tensorflowjs
time-series-forecasting-tensorflowjs
Pull stock prices from online API and perform predictions using Long Short Term Memory (LSTM) with TensorFlow.js framework
Stars: ✭ 96 (+134.15%)
Mutual labels:  tensorflowjs
incogly
Incogly is a video conferencing app aimed to remove any implicit bias in an interview and easing the process of remote collaboration.
Stars: ✭ 24 (-41.46%)
Mutual labels:  tensorflowjs
Wisty.js
🧚‍♀️ Chatbot library turning conversations into actions, locally, in the browser.
Stars: ✭ 24 (-41.46%)
Mutual labels:  tensorflowjs
food-vision-mobile-tensorflowjs
Food Vision project for mobile devices using TensorFlowJS
Stars: ✭ 19 (-53.66%)
Mutual labels:  tensorflowjs
Face Api.js
JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
Stars: ✭ 13,258 (+32236.59%)
Mutual labels:  tensorflowjs
tensorflowjs-webcam-transfer-learning
Tensorflowjs Webcam Transfer Learning
Stars: ✭ 49 (+19.51%)
Mutual labels:  tensorflowjs
lyrics-generator
Generating lyrics with a recurrent neural network
Stars: ✭ 36 (-12.2%)
Mutual labels:  tensorflowjs
angular-tensorflowjs-example
Using TensorflowJS detection models in Angular
Stars: ✭ 24 (-41.46%)
Mutual labels:  tensorflowjs
tictactoe-ai-tfjs
Train your own TensorFlow.js Tic Tac Toe
Stars: ✭ 45 (+9.76%)
Mutual labels:  tensorflowjs
teachablemachine-node
Using Teachable Machine Models in Node.js
Stars: ✭ 45 (+9.76%)
Mutual labels:  tensorflowjs
color-pop
🌈 Automatic Color Pop effect on any image inspired by Google Photos
Stars: ✭ 21 (-48.78%)
Mutual labels:  tensorflowjs
doctr-tfjs-demo
Javascript demo of docTR, powered by TensorFlowJS
Stars: ✭ 21 (-48.78%)
Mutual labels:  tensorflowjs
ml gallery
This is a master project of some experiments with Neural Networks. Every project here is runnable, visualized and explained clearly.
Stars: ✭ 18 (-56.1%)
Mutual labels:  tensorflowjs
face-mask-detection
Real-time Face Mask Detection using TensorFlow and Keras.
Stars: ✭ 32 (-21.95%)
Mutual labels:  tensorflowjs
Nsfwjs
NSFW detection on the client-side via TensorFlow.js
Stars: ✭ 5,223 (+12639.02%)
Mutual labels:  tensorflowjs

Docs Working CodeQL

AI-Lab Bring the power of AI to Web easily. (currently in ALPHA).

This project wires together frameworks for Artificial Intelligence on the edge. The current focus is popular computer vision models in TensorFlow.js on React. The goal is to support React Native, and multiple web frameworks.

Quick Look

To play with AI-Lab, check out the latest storybook build.

React Native (broken for now) React
app example web example

Install

yarn add ai-lab @tensorflow/tfjs

Then add it

import React from 'react';
import { AILabImage } from 'ai-lab';

Dev Requirements

The packages in this repository require Node v14+ and pnpm.

Examples

📷 AILabImage

The following code automatically runs the SSD model and places bounding boxes for detections.

  <AILabImage
    model={SSD_MODEL_HERE}
    modelConfig={{
      modelType: 'ssd'
    }}
    src={require('./cat.jpeg')}
    visual
  />  

📺 AILabLocalVideo

This code runs the model on the supplied video and logs the results

  <AILabLocalVideo
    model={ClassificationModel}
    onInference={console.log}
    modelConfig={{
      modelType: 'classification',
    }}
    src={theVideo}
  />

🕸🎥 AILabWebCam

This code runs the model on the webcam feed and logs the results

    <AILabWebCam
      model={BlazePoseModel}
      onInference={console.log}
      modelConfig={{
        modelType: 'pose',
      }}
    />

Installation

Check Requirements

Assure Node > v14 Installed

node -v

Assure TypeScript Installed

tsc -v

Assure/Install PNPM

npm install -g pnpm

If you ran yarn/npm - delete all node_modules from those and start fresh.

Install project code at project root

pnpm install

Windows Users: The package tsconfig files are symlinks. If you're looking for a quick fix, you can copy the contents of the shared/tsconfig.json to these files as a temporary fix. These should not be committed like this, and should be reverted or linked in Windows.

pnpm build

Now you can run example projects that are depending on

E.G. of running the ai-lab-example example

cd examples/ai-lab-example
pnpm start

Contributing

Working within this repository requires Node v14. A Node Version Manager is recommended, such as nvm.

This repository is a monorepo, and managed by pnpm. To install it, run:

$ npm install pnpm -g

From the repository root directory, run the following command to install all dependencies:

$ pnpm install

Once install completes, development can begin.

Stacks we use :

tsdx

storybook

pnpm


⁉️ If you run into problems, first search the issues in this repository. Otherwise you can report the bug.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].