• Skip to primary navigation
  • Skip to main content
  • Skip to footer

PyImageSearch

You can master Computer Vision, Deep Learning, and OpenCV - PyImageSearch

  • University Login
  • Get Started
  • Topics
    • Deep Learning
    • Dlib Library
    • Embedded/IoT and Computer Vision
    • Face Applications
    • Image Processing
    • Interviews
    • Keras and TensorFlow
    • Machine Learning and Computer Vision
    • Medical Computer Vision
    • Optical Character Recognition (OCR)
    • Object Detection
    • Object Tracking
    • OpenCV Tutorials
    • Raspberry Pi
  • Books and Courses
  • AI & Computer Vision Programming
  • Reviews
  • Blog
  • Consulting
  • About
  • FAQ
  • Contact
  • University Login
Deep Learning
Machine Learning
Python Programming
TensorFlow
Tutorial
how-to-use-tf-gradientTape-featured.png

How to Use ‘tf.GradientTape’

August 12, 2024

Table of Contents How to Use ‘tf.GradientTape’ Configuring Your Development Environment Introduction What Is tf.GradienTape? Simple Example of tf.GradienTape Image Classification with the COCO Dataset Prepare the Dataset Define the Model Train the Model Using model.fit Custom Training Loop with…

Read More of How to Use ‘tf.GradientTape’

dlib
Face Applications
Facial Landmarks
Shape Predictors
Tutorials

Optimizing dlib shape predictor accuracy with find_min_global

January 13, 2020

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…

Read More of Optimizing dlib shape predictor accuracy with find_min_global

Deep Learning
Object Detection
OpenCV Tutorials
Raspberry Pi

Raspberry Pi: Deep learning object detection with OpenCV

October 16, 2017

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…

Read More of Raspberry Pi: Deep learning object detection with OpenCV

Deep Learning
OpenCV Tutorials
Raspberry Pi

Optimizing OpenCV on the Raspberry Pi

October 9, 2017

This tutorial is meant for advanced Raspberry Pi users who are looking to milk every last bit of performance out of their Pi for computer vision and image processing using OpenCV. I’ll be assuming: You have worked through my previous…

Read More of Optimizing OpenCV on the Raspberry Pi

Deep Learning
DL4CV

macOS for deep learning with Python, TensorFlow, and Keras

September 29, 2017

In today’s tutorial, I’ll demonstrate how you can configure your macOS system for deep learning using Python, TensorFlow, and Keras. This tutorial is the final part of a series on configuring your development environment for deep learning. I created these…

Read More of macOS for deep learning with Python, TensorFlow, and Keras

Deep Learning
DL4CV

Setting up Ubuntu 16.04 + CUDA + GPU for deep learning with Python

September 27, 2017

Welcome back! This is the fourth post in the deep learning development environment configuration series which accompany my new book, Deep Learning for Computer Vision with Python. Today, we will configure Ubuntu + NVIDIA GPU + CUDA with everything you…

Read More of Setting up Ubuntu 16.04 + CUDA + GPU for deep learning with Python

Resources
Tutorials

Fast, optimized ‘for’ pixel loops with OpenCV and Python

August 28, 2017

Have you ever had to loop over an image pixel-by-pixel using Python and OpenCV? If so, you know that it’s a painfully slow operation even though images are internally represented by NumPy arrays. So why is this? Why are individual…

Read More of Fast, optimized ‘for’ pixel loops with OpenCV and Python

You can learn Computer Vision, Deep Learning, and OpenCV.

Get your FREE 17 page Computer Vision, OpenCV, and Deep Learning Resource Guide PDF. Inside you’ll find our hand-picked tutorials, books, courses, and libraries to help you master CV and DL.


Footer

Topics

  • Deep Learning
  • Dlib Library
  • Embedded/IoT and Computer Vision
  • Face Applications
  • Image Processing
  • Interviews
  • Keras & Tensorflow
  • OpenCV Install Guides
  • Machine Learning and Computer Vision
  • Medical Computer Vision
  • Optical Character Recognition (OCR)
  • Object Detection
  • Object Tracking
  • OpenCV Tutorials
  • Raspberry Pi

Books & Courses

  • PyImageSearch University
  • FREE CV, DL, and OpenCV Crash Course
  • Practical Python and OpenCV
  • Deep Learning for Computer Vision with Python
  • PyImageSearch Gurus Course
  • Raspberry Pi for Computer Vision

PyImageSearch

  • Affiliates
  • Get Started
  • About
  • Consulting
  • Coaching
  • FAQ
  • YouTube
  • Blog
  • Contact
  • Privacy Policy

© 2025 PyImageSearch. All Rights Reserved.