Author Archive | Adrian Rosebrock

How to use Keras fit and fit_generator (a hands-on tutorial)

In this tutorial, you will learn how the Keras .fit  and .fit_generator  functions work, including the differences between them. To help you gain hands-on experience, I’ve included a full example showing you how to implement a Keras data generator from scratch. Today’s blog post is inspired by PyImageSearch reader, Shey. Shey asks: Hi Adrian, thanks […]

Continue Reading 28

Image Stitching with OpenCV and Python

In this tutorial, you will learn how to perform image stitching using Python, OpenCV, and the cv2.createStitcher  and cv2.Stitcher_create  functions. Using today’s code you’ll be able to stitch multiple images together, creating a panorama of stitched images. Just under two years ago I published two guides on image stitching and panorama construction: Fundamentals of image […]

Continue Reading 25

Creating GIFs with OpenCV

In this tutorial, you will learn how to create animated GIFs using OpenCV, Python, and ImageMagick. You’ll then combine all of these techniques to build a meme generator with OpenCV! We all need a good laugh every now and then. And perhaps the best way to find LOLs is from memes. Some of my favorite […]

Continue Reading 19

Object tracking with dlib

This tutorial will teach you how to perform object tracking using dlib and Python. After reading today’s blog post you will be able to track objects in real-time video with dlib. A couple months ago we discussed centroid tracking, a simple, yet effective method to (1) assign unique IDs to each object in an image […]

Continue Reading 50
[email]
[email]