-
How to run a pre-trained model in TensorFlow.js
The tfjs-models repository has several JavaScript libraries that expose a pre-trained model as a friendly JavaScript API. Here I show what’s going on internally in those libraries.
-
Jim Fisher's CV
2010–12: M.Sc. with distinction in Computing Science at Imperial College. In my individual project, ‘Verifying a balanced-tree index implementation in VeriFast’, I implemented left-leaning red-blac...
-
Production-ready green screen in the browser
In this post I show a high-quality green screen implementation directly in the browser. It runs in realtime, uses WebGL for efficiency, and uses a high-quality green screen algorithm that beats your Z...
-
How to export a model for TensorFlow.js
This post shows how to save a “hello world” model in TensorFlow (Python), export it for TensorFlow.js, then run it in the browser. The model multiplies its input by 5, and you can see this exciting be...
-
Measuring audio volume in JavaScript
Click Start measuring, and this meter will show your microphone volume level: . This demo uses the Web Audio API. Here is the essential code:
-
BlazeFace hello world
BlazeFace is a neural network model that detects faces in images. It’s designed to be fast, to run at 30fps on mobile GPUs. There is a TensorFlow.js library for BlazeFace, which downloads the model, r...