Author Archive | Adrian Rosebrock

How to create a deep learning dataset using Google Images

PyImageSearch reader José asks: Hey Adrian, thanks for putting together Deep Learning for Computer Vision with Python. This is by far the best resource I’ve seen for deep learning. My question is this: I’m working on a project where I need to classify the scenes of outdoor photographs into four distinct categories: cities, beaches, mountains, and […]

Continue Reading 38

Save the Date: PyImageConf 2018

Imagine taking the practical, hands-on teaching style of the PyImageSearch blog… …and translating it to a live, in person conference. Sound interesting? If so, mark the date on your calendar now: PyImageConf is taking place on August 26th-28th 2018 at the San Francisco Hyatt Regency. Confirmed speaker/workshop hosts include: François Chollet (creator of Keras, researcher at Google) […]

Continue Reading 11

Deep learning: How OpenCV’s blobFromImage works

Today’s blog post is inspired by a number of PyImageSearch readers who have commented on previous deep learning tutorials wanting to understand what exactly OpenCV’s blobFromImage  function is doing under the hood. You see, to obtain (correct) predictions from deep neural networks you first need to preprocess your data. In the context of deep learning […]

Continue Reading 26

How-To: Multi-GPU training with Keras, Python, and deep learning

Keras is undoubtedly my favorite deep learning + Python framework, especially for image classification. I use Keras in production applications, in my personal deep learning projects, and here on the PyImageSearch blog. I’ve even based over two-thirds of my new book, Deep Learning for Computer Vision with Python on Keras. However, one of my biggest […]

Continue Reading 38

Raspberry Pi: Facial landmarks + drowsiness detection with OpenCV and dlib

Today’s blog post is the long-awaited tutorial on real-time drowsiness detection on the Raspberry Pi! Back in May I wrote a (laptop-based) drowsiness detector that can be used to detect if the driver of a motor vehicle was getting tired and potentially falling asleep at the wheel. The driver drowsiness detector project was inspired by […]

Continue Reading 53

Raspberry Pi: Deep learning object detection with OpenCV

A few weeks ago I demonstrated how to perform real-time object detection using deep learning and OpenCV on a standard laptop/desktop. After the post was published I received a number of emails from PyImageSearch readers who were curious if the Raspberry Pi could also be used for real-time object detection. The short answer is “kind […]

Continue Reading 70