Author Archive | Adrian Rosebrock

Intro to anomaly detection with OpenCV, Computer Vision, and scikit-learn

In this tutorial, you will learn how to perform anomaly/novelty detection in image datasets using OpenCV, Computer Vision, and the scikit-learn machine learning library. Imagine this — you’re fresh out of college with a degree in Computer Science. You focused your studies specifically on computer vision and machine learning. Your first job out of school […]

Continue Reading 2

Optimizing dlib shape predictor accuracy with find_min_global

In this tutorial you will learn how to use dlib’s find_min_global function to optimize the options and hyperparameters to dlib’s shape predictor, yielding a more accurate model. A few weeks ago I published a two-part series on using dlib to train custom shape predictors: Part one: Training a custom dlib shape predictor Part two: Tuning […]

Continue Reading 0

Label smoothing with Keras, TensorFlow, and Deep Learning

In this tutorial, you will learn two ways to implement label smoothing using Keras, TensorFlow, and Deep Learning. When training your own custom deep neural networks there are two critical questions that you should constantly be asking yourself: Am I overfitting to my training data? Will my model generalize to data outside my training and […]

Continue Reading 8

Tuning dlib shape predictor hyperparameters to balance speed, accuracy, and model size

In this tutorial, you will learn how to optimally tune dlib’s shape predictor hyperparameters and options to obtain a shape predictor that balances speed, accuracy, and model size. Today is part two in our two-part series on training custom shape predictors with dlib: Part #1: Training custom dlib shape predictors (last week’s tutorial) Part #2: Tuning […]

Continue Reading 2

How to install TensorFlow 2.0 on Ubuntu

In this tutorial, you will learn to install TensorFlow 2.0 on your Ubuntu system either with or without a GPU. There are a number of important updates in TensorFlow 2.0, including eager execution, automatic differentiation, and better multi-GPU/distributed training support, but the most important update is that Keras is now the official high-level deep learning API for TensorFlow. […]

Continue Reading 37

How to install TensorFlow 2.0 on macOS

In this tutorial, you will learn to install TensorFlow 2.0 on your macOS system running either Catalina or Mojave There are a number of important updates in TensorFlow 2.0, including eager execution, automatic differentiation, and better multi-GPU/distributed training support, but the most important update is that Keras is now the official high-level deep learning API for TensorFlow. Furthermore, […]

Continue Reading 6

OpenCV Vehicle Detection, Tracking, and Speed Estimation

In this tutorial, you will learn how to use OpenCV and Deep Learning to detect vehicles in video streams, track them, and apply speed estimation to detect the MPH/KPH of the moving vehicle. This tutorial is inspired by PyImageSearch readers who have emailed me asking for speed estimation computer vision solutions. As pedestrians taking the […]

Continue Reading 50

Human Activity Recognition with OpenCV and Deep Learning

In this tutorial you will learn how to perform Human Activity Recognition with OpenCV and Deep Learning. Our human activity recognition model can recognize over 400 activities with 78.4-94.5% accuracy (depending on the task). A sample of the activities can be seen below: archery arm wrestling baking cookies counting money driving tractor eating hotdog flying […]

Continue Reading 87
[email]
[email]