San Francisco

Jason Mayes

Elite
@jasonmayes

Web AI Lead @Google enabling AI & Machine Learning in JS for DeepMind, TensorFlow.js, LiteRT, & Chrome. 20+ years experience developing innovative web solutions

Real-Time-Person-Removal. Removing people from complex backgrounds in real time using TensorFlow.js in the web browser

5.2k

Twitter-Post-Fetcher. Fetch your twitter posts without using the new Twitter 1.1 API. Pure JavaScript! By Jason Mayes

902

Smart-Content-Placer. A small JavaScript class to programmatically position content with variable widths and heights and minimizing whitespace gaps. Imagine Pinterest on steroids (Pinterest only allows for variable height). By Jason Mayes

186

WebAIAgent. A Web AI Agent running entirely client side in browser, that's capable of controlling a fictional flights webpage, to get the job done by using Google's Gemma 2 (2B) model in JavaScript via WebGPU thanks to the MediaPipe Web LLM library, combined with some extra function calling logic to enable advanced user experiences.

141

JS-Motion-Detection. A simple yet fast motion revealing algorithm using the live webcam feed

113

VectorSearch.js. Client side vector search using EmbeddingGemma with Web AI (LiteRT.js, TensorFlow.js, and Transformers.js)

112

headless-chrome-nvidia-t4-gpu-support. Using headless Chrome on server side environments for true client side browser emulation with NVIDIA T4 GPUs for Web AI model testing or graphical workloads

88

Tensor-Flow-on-Google-Compute-Engine. A simple script to set up GCE environment in Google Cloud so it is ready to run TensorFlow - an Open Source Software Library for Machine Intelligence

82

doesVideoContain. This little utility library allows you to ask the most common question when working with video content - does the video contain something you care about? Get videos to watch themselves for you with Web AI entirely client side!

67

mdl-component-design-pattern. A design pattern that elegantly handles the registration of new components such that DOM upgrades are automatically performed on document load, as well as making it super easy to handle upgrades of elements that may be added after initial page load.

63

web-ai-model-proxy-cache. Retrieve large (GBs) AI binary model files from cloud, cache locally as sharded blobs to load faster on 2nd page load, returns stored file as data URL

46

Web-AI-Spotify-DJ. Spotify Web AI DJ - client side agentic smarts using Gemma 2, two billion parameter LLM, to play what a user wants via natural speech input

40

Particle-Engine. A simple efficient configurable particle engine written in JavaScript using HTML5 canvas 2D which works on desktop and mobile by Jason Mayes

34

MP4-video-to-JPG-batch-converter. Specify a directory, this script will search it to find all MP4 videos, convert them to JPGs at a desired FPS and resize them to a given size. Super easy!

28

Retraining-TensorFlow-Classifier-Using-Video. Script to convert all MP4 videos in a zip archive to JPG frames at a desired FPS with unique names. It will then retrain the top layers of a binary image classifier using TensorFlow using these extracted images.

12

wsk-component-design-pattern. A design pattern that elegantly handles the registration of new components such that DOM upgrades are automatically performed on document load, as well as making it super easy to handle upgrades of elements that may be added after initial page load.

8

handlebars-helper. A helper component to make it super easy to use handlebars templates in a re-usable manner. Instead of defining script tags inline in your HTML to define templates you can instead write "template files" which will be bought in using AJAX.

7

Tessel-Multibox-Pointer. Use your Tessel with Google Compute Engine GPU instance running Darknet YOLO via a Node.js server to perform multibox detection over websockets. We can then point a servo at the object of interest and speak out what we see via the speaker.

7

facenet. Face recognition using Tensorflow made easier and faster with Node.js + precached Python RPC server

4

essential-js-design-patterns. Repo for 'Learning JavaScript Design Patterns'

4

Creative-Technologist-Toolkit. A small library written in Google Closure to do common things fast, useful for rapid prototyping in JavaScript.

4

tfjs-models. Pretrained models for TensorFlow.js

2

tfjs-website. WebGL-accelerated ML // linear algebra // automatic differentiation for JavaScript.

1

dynamic-pages. HTML

1

WebGL2Samples. Short and easy to understand samples demonstrating WebGL 2 features

1

tfjs. A WebGL accelerated JavaScript library for training and deploying ML models.

1

web-starter-kit. Google Web Starter Kit (Beta)

1

web-ai-demos. TypeScript

1
28
Apply