Archive | Tutorials

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

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

Real-time object detection with deep learning and OpenCV

Today’s blog post was inspired by PyImageSearch reader, Emmanuel. Emmanuel emailed me after last week’s tutorial on object detection with deep learning + OpenCV and asked: “Hi Adrian, I really enjoyed last week’s blog post on object detection with deep learning and OpenCV, thanks for putting it together and for making deep learning with OpenCV […]

Continue Reading 170

Raspbian Stretch: Install OpenCV 3 + Python on your Raspberry Pi

It’s been over two years since the release of Raspbian Jessie. As of August 17th, 2017, the Raspberry Pi foundation has officially released the successor to Raspbian Jessie — Raspbian Stretch. Just as I have done in previous blog posts, I’ll be demonstrating how to install OpenCV 3 with Python bindings on Raspbian Stretch. If you […]

Continue Reading 211