Data

Emoji Scavenger Hunt showcases TensorFlow.js

2 min read

What is Emoji Scavenger Hunt?

Emoji Scavenger Hunt is a game built using neural networks. Developed by Google using TensorFlow.js, a version of the machine learning library designed to run on browsers, the game showcases how machine learning can be brought to web applications. But more importantly, TensorFlow.js, which was announced at the end of March at the TensorFlow Developer Summit looks like it could be a tool to define the next few years of web development, making machine learning more accessible to JavaScript developers than ever before.

Start playing now.

At the moment Emoji Scavenger Hunt is pretty basic, but the central idea is pretty cool. When you open up the web page in your browser and click ‘Let’s Play’, the app asks for access to your camera. The game then starts: you’ll see a countdown, before your camera opens and the web application asks you to find an example of an emoji in the real world. If you find yourself easily irritated you’re probably not going to get addicted, as Google seem to have done their best to cultivate an emoji-esque mise en scene. But the game nevertheless highlights not only how neural networks work, but also, in the context of TensorFlow.js, how they might operate in a browser.

Of course, one of the reasons Emoji Scavenger Hunt is so basic is because a core part of the game is training the neural network. Presumably, as more people play it, the neural network will improve at ‘guessing’ what objects in the real world relate to which emoji on your keyboard.

TensorFlow.js will bring machine learning to the browser

What’s exciting is how TensorFlow.js might help shape the future of web development. It’s going to make it much easier for JavaScript developers to get started with machine learning – on Reddit a number of users were thankful that they could now use TensorFlow without touching a line of Python code. On the other hand – perhaps a little less likely – TensorFlow.js might lead to more machine learning developers using JavaScript. If games like Emoji Scavenger Hunt become the norm, engineers and data scientists will have a new way to train algorithms – getting users to do it for them.

TensorFlow.js and deeplearn.js

Eagle-eyed readers who have been watching TensorFlow closely might be thinking here – what about deeplearn.js? Fortunately, the TensorFlow team have an answer: TensorFlow.js… is the successor to deeplearn.js, which is now called TensorFlow.js Core.

TensorFlow.js and the future of machine learning

The announcement of TensorFlow.js highlights that Google and the core development team behind TensorFlow have a clear focus on the future. They’re already the definitive library for machine learning and deep learning. What this will do is spread its dominance into new domains. Emoji Scavenger Hunt is pointing the way – we’re sure to see plenty of machine learning imitators and innovators over the next few years.

Richard Gall

Co-editor of the Packt Hub. Interested in politics, tech culture, and how software and business are changing each other.

Share
Published by
Richard Gall

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago