Carly Richmond

Is it (F)ake?! Image Classification with TensorFlow.js

Can JavaScript tell a real object from a hyper-realistic cake? This talk charts the journey from failed models to a successful cake detector using TensorFlow.js.

Is it (F)ake?! Image Classification with TensorFlow.js
#1about 3 minutes

Using JavaScript and ML to solve a baking show challenge

The speaker introduces the goal of using machine learning to identify hyper-realistic cakes from the TV show "Is it Cake?".

#2about 2 minutes

Collecting and balancing the cake vs not-cake dataset

Images of cakes and non-cakes are collected using Playwright and the Unsplash API to create a balanced binary classification dataset.

#3about 5 minutes

Evaluating pre-trained models for image classification and object detection

Pre-existing models like MobileNet and Coco-SSD are tested on the dataset, but they produce inaccurate and strange classifications.

#4about 6 minutes

Building a custom convolutional neural network from scratch

A custom convolutional neural network is built using TensorFlow.js sequential models and convolution layers, but it fails to accurately classify images.

#5about 5 minutes

Applying transfer learning to improve model accuracy

Transfer learning is used by combining a pre-trained MobileNet feature vector model with a custom classification head, significantly improving results.

#6about 4 minutes

Playing an interactive game to compare human and model performance

An interactive web game allows the audience to test their cake-spotting skills against the various machine learning models.

#7about 1 minute

Key takeaways and resources for getting started with TensorFlow.js

The talk concludes by summarizing the journey from using pre-existing models to applying transfer learning and provides resources for further learning.

Related jobs
Jobs that call for the skills explored in this talk.

test

Milly
Vienna, Austria

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
CH
Chris Heilmann
WWC24 Talk - Scott Hanselman - AI: Superhero or Supervillain?
Join Scott Hanselman at WWC24 to explore AI's role as a superhero or supervillain. Scott shares his 32 years of experience in software engineering, discusses AI myths, ethical dilemmas, and tech advancements. Engage with his live demos and insights o...
WWC24 Talk - Scott Hanselman - AI: Superhero or Supervillain?

From learning to earning

Jobs that call for the skills explored in this talk.