How quickly add a Dark Theme alternative to an existing Ruby on Rails application using SCSS and the Assets Pipeline.

The new Dark Theme of whatthemovie.com.

Introduction

Dark themes recently attracted a lot of attention since enterprises such as Apple or Google deployed on most of their operating systems — iOS, macOS, Android –, an alternative to the default interface colors which were mainly light.

Microsoft followed the trend and added the same option on Windows. While it is a great feature to allow people to use their computer or mobile at night without hurting their eyes, this implementation is incomplete. Indeed, to make this feature really shine, having the operating system interface dark is not enough. Developers must follow the rules too and add a dark…


After creating and cleaning a dataset from scratch with Pandas in our first article, we are now going to train an AI with our datas to distinguish several elements in movie snapshots.

Gérard Depardieu and Patrick Dewaere in “Les Valseuses” (1974).

This project has been splitted into four different articles:

  1. Create our dataset from the database to Pandas ;

2. Use FastAI to create an AI capable of tagging movie snapshots ;

3. Deploy our AI to production as a REST API with Docker ;

4. Make a script to re-train our AI every month.

Where are we?

Through our previous article, we successfully created a dataset that combines movie snapshots and their respective tags describing what the image contains.

As a reminder, the dataset consists of 243 558 images with 183 different labels. It is a simple CSV file that looks like this:


Using Pandas to create our dataset, Deep Learning with the FastAI library and Python to develop a REST API, we are going to make an AI capable of distinguishing several elements in movie stills and deploy it to production.

Françoise Dorléac and Jean-Paul Belmondo in “L’homme de Rio” (1964).

This project will be splitted into four different articles:

  1. Create our dataset from the database to Pandas ;

2. Use FastAI to create an AI capable of tagging movie snapshots ;

3. Deploy our AI to production as a REST API with Docker ;

4. Make a script to re-train our AI every month.

Introducing Whatthemovie.com

Created in 2008, Whatthemovie is a unique movie quiz game where people upload movie stills and the others have to guess from what movie the image was taken. …

Yann Defretin

Developer at whatthemovie.com. Creator of @whattheshot. AI enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store