aiji-logo

A curated collection of inspirational AI-powered JavaScript apps

footer-icon

Built by Elle, Asim, Osama - hosted on Azure

PAC-MAN


Play the classic game PAC-MAN with your movements as the controller

DemoCode

  • TensorFlow.js
  • MobileNet
  • Transfer Learning

Animation

This example uses the pretrained model MobileNet to train another model using an internal mobilenet activation to predict 4 different classes from the webcam defined by the user.

To train the model in the demo, click 'Train Model' then click and train the four samples with images of what you want to trigger up, down, left and right with.

Then, hit 'Play' and enjoy!

You can also play around with the learning rate and batch size etc.,