👋 Hello!

In this article, you’ll see the following:

Here is a famous face that has been automatically anonymized and cropped.

Do you guess who this is?

Note: We’re talking about face detection, not face recognition. Though technically possible, face recognition can have harmful applications. Responsible companies have established AI principles and avoid exposing such potentially harmful technologies (e.g. Google AI Principles).

🛠️ Tools

A few tools will do:

👋 Hello!

In this article, you’ll see the following:

Here is an example of an auto-generated object summary for the video <animals.mp4>:

Tracked object summary for animals.mp4
Tracked object summary for animals.mp4

🛠️ Tools

A few tools will do:

🧱 Architecture

Here is a possible architecture using 3 Google Cloud services (Cloud Storage, Cloud Functions, and the Video Intelligence API):

Video summary example
Video summary example
A visual summary generated from a 2'42" video made of 35 sequences (shots). The summary is a grid where each cell is a frame representing a video shot.

👋 Hello!

Dear developers,

Do you like the adage “a picture is worth a thousand words”? I do! Let’s check if it also works for “a picture is worth a thousand frames”.

In this tutorial, you’ll see the following:

🔭 Objectives

This tutorial has 2 objectives, 1 practical and 1 technical:

f( ☁️, 🐍 ) = 🌈🌤️🐍🐍🐍…

Hey Pythonistas, we can deploy Python functions!

Wikipedia is my source of truth to list an author’s bibliography, filmography… Unfortunately, not everything is available in digital form. For example, I’d like to list books actually available as ebooks. This is a very simple task, a microservice in fact. GCP’s Cloud Functions looks perfect for this. Let’s check it out, starting from scratch.

A few questions

What is Cloud Functions?

Cloud Functions is a managed service for serverless functions. The acronym describing such a service is FaaS (Function as a Service).

What’s a managed service?

It’s a service I don’t have to manage. I just use it.

What’s a serverless function?

Like a function in a program…

Souvenir picture of Next ’18 — That’s how we deploy cloud functions ;) See animation

Before 2017, little did I know about Google Cloud Platform. By chance, a few videos from Cloud Next ’17 led me to dive in and discover GCP. I was impressed by the developer friendliness and technological performance of Google’s public cloud, and — long story short — I’m super happy to have joined the team.

One year later, I still find it most interesting to have a look at Cloud Next from a developer point of view. This Google Cloud annual milestone gives an extensive snapshot of where GCP is and also a good idea of where it’s heading.


UPDATE: Python 3 is now available. This article is going to be rewritten asap. You can have a look at “Deploying a Python serverless function in minutes with GCP” for a more recent article.

After getting a Python “Hello World” to run with the App Engine (see previously), deploying an actual app should be as easy. Let’s create an app that returns available ebooks by a given author.

Create a New Project

First, let’s create a new project in GCP console (IAM & Admin / All projects):

Let’s call this project “Get Ebooks By”. The project ID changes to “get-ebooks-by”. This will be the appspot.com subdomain.

Once the GCP account is set up (see previously), only a few additional minutes are needed to launch a serverless app from an actual production environment.

Select App Engine

Google Cloud Next 2017 event was huge. Over 200 sessions (about 45 min each) are available, covering many subjects: IaaS, PaaS, Containers, Web Apps, APIs, Machine Learning, Databases, G Suite, Chrome, Android… The momentum around Google Cloud Platform (GCP) is just impressive.

For a great/fun overview of GCP, my favorite session:

Navigating Google Cloud Platform: a guide for new GCP users

If you want to dive in, especially on IaaS/PaaS/WebApps, here are some more sessions to check out:

Laurent Picard

Tech lover, passionate about software, hardware, science and anything shaping the future • ⛅ explorer at Google • Opinions my own • You can DM me @PicardParis

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