Using Python 3.6, OpenCV, Dlib and the face_recognition module

The new Nvidia Jetson Nano 2GB dev board (announced today!) is a single-board computer that goes for $59 and runs AI software with GPU-acceleration.

With face recognition and python, you can easily track everyone who creeps up to your door.

The kind performance you can get out of a $59 single-board computer in 2020 is kind of amazing. Let’s use it to create a simple version of a doorbell camera that tracks everyone that walks up to the front door of your house. With face recognition, it will instantly know whether the person at your door has ever visited you before — even if they were dressed differently.

What is the Nvidia Jetson Nano 2GB?

The Jetson Nano 2GB is a single-board computer…


Natural Language Processing is Fun! Part 5

This article is part of an on-going series on NLP: Part 1, Part 2, Part 3, Part 4, Part 5.

In the last few years, there has been a revolution in machine translation. New translation systems built using deep learning have replaced older systems built by linguists using decades of research in statistics. Popular translation products like Google Translate have switched their internals out and replaced their old code with new deep learning models.

Real output from the Spanish-to-English translation model that we’ll train

This is great for everyone. The deep learning approach is not only more accurate, but it doesn’t require you to have a graduate degree in linguistics…


You can read a reader-translated version of this article in فارسی.

Machine learning and data science tools are more accessible than ever. But along with learning the tools themselves, it’s just as important to learn how to effectively explore data and figure out its limitations before you feed the data into your modeling tools.

You’d be surprised how often people jump into building models without looking at the data. This is a mistake. To build effective models, you need to understand how the data was collected and where it has gaps. …


I’ve written about lots of computer vision and machine learning projects like object recognition systems and face recognition projects. I also have an open source Python face recognition library that is somehow one of the top 10 most popular machine learning libraries on Github. Together, that means that I get asked a lot of questions from people new to Python and computer vision.

In my experience, there is one technical problem that trips people up more often than any other. No, it’s not a complicated theoretical issue or an issue with expensive GPUs. It’s the fact that almost everyone is…


Natural Language Processing is Fun Part 4

This article is part of an on-going series on NLP: Part 1, Part 2, Part 3, Part 4, Part 5. You can also read a reader-translated version of this article in فارسی.

In February 2019, OpenAI announced (and refused to release) a new natural language processing model architecture called GPT-2. With GPT-2, you give it a piece of starting text, say “Machine Learning”, and it continually predicts the next most likely word:

Machine Learning is a field of research that seeks to understand how the brain processes information. It is a field that…
Machine Learning is a field of research that seeks to understand how the brain processes information. It is a field that…
Real text being generated by GPT-2 with “Machine Learning” as the input.

GPT-2 generates text that is far more realistic than any text generation system before it. OpenAI was so shocked by the quality of the output that they decided…


Using Python 3.6, OpenCV, Dlib and the face_recognition module

With the Nvidia Jetson Nano, you can build stand-alone hardware systems that run GPU-accelerated deep learning models on a tiny budget. It’s just like a Raspberry Pi, but a lot faster.

With face recognition and python, you can easily track everyone who creeps up to your door.

To get you inspired, let’s build a real hardware project with a Jetson Nano. We’ll create a simple version of a doorbell camera that tracks everyone that walks up to the front door of your house. With face recognition, it will instantly know whether the person at your door has ever visited you before — even if they were dressed differently. …


Using Deep Learning to Solve Minor Annoyances

I live in a great city. But like in most cities, finding a parking space here is always frustrating. Spots get snapped up quickly and even if you have a dedicated parking space for yourself, it’s hard for friends to drop by since they can’t find a place to park.

My solution was to point a camera out the window and use deep learning to have my computer text me when a new parking spot opens up:


Using LIME to Peek Inside the Black Box

This article is part of an on-going series on NLP: Part 1, Part 2, Part 3, Part 4, Part 5. You can also read a reader-translated version of this article in فارسی.

Giant update: I’ve written a new book! It expands on my ML articles with tons of brand new content and lots of hands-on coding projects. Check it out now!

In this series, we are learning how to write programs that understand English text written by humans. In Part 1, we learned how to use an NLP pipeline to understand a sentence by painstakingly picking apart its grammar. In…


A stroll through the process of getting a UK Tier 1 Visa

Update February 27, 2020: The UK Tier 1 Visa no longer exists and has been replaced by the Global Talent Visa. It sounds like basically the thing with the same application process, but this information is now out of date.

I’m an American. I’ve lived in several different countries in my career, but never in Europe. But like many Americans, I’ve had visions of living in Europe for a while - particularly in London.

Visiting London with my wife and son

For years, I thought my dream of living in London would never happen. As an American, I can’t move to the UK without getting a full-time…


Natural Language Processing is Fun! Part 2

This article is part of an on-going series on NLP: Part 1, Part 2, Part 3, Part 4, Part 5. You can also read a reader-translated version of this article in 普通话 or فارسی.

Giant update: I’ve written a new book based on these articles! It not only expands and updates all my articles, but it has tons of brand new content and lots of hands-on coding projects. Check it out now!

In this series, we are learning how to write programs that can understand text written by humans. …

Adam Geitgey

Interested in computers and machine learning. Likes to write about it.

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