Archive | Libraries

Installing Keras with TensorFlow backend

A few months ago I demonstrated how to install the Keras deep learning library with a Theano backend. In today’s blog post I provide detailed, step-by-step instructions to install Keras using a TensorFlow backend, originally developed by the researchers and engineers on the Google Brain Team. I’ll also (optionally) demonstrate how you can integrate OpenCV into […]

Continue Reading 28

Unifying picamera and cv2.VideoCapture into a single class with OpenCV

Over the past two weeks on the PyImageSearch blog, we have discussed how to use threading to increase our FPS processing rate on both built-in/USB webcams, along with the Raspberry Pi camera module. By utilizing threading, we learned that we can substantially reduce the affects of I/O latency, leaving the main thread to run without being blocked as […]

Continue Reading 47

How to find functions by name in OpenCV

OpenCV can be a big, hard to navigate library, especially if you are just getting started learning computer vision and image processing. The release of OpenCV 3 has only further complicated matters, moving a few important functions around and even slightly altering their names (the cv2.cv.BoxPoints  vs. cv2.boxPoints  methods come to mind off the top of my head). […]

Continue Reading 4

Generating art with guided deep dreaming.

One of the main benefits of the bat-country Python package for deep dreaming and visualization is its ease of use, extensibility, and customization. And let me tell you, that customization really came in handy last Friday when the Google Research team released an update to their deep dream work, demonstrating a method to “guide” your input images […]

Continue Reading 7

bat-country: an extendible, lightweight Python package for deep dreaming with Caffe and Convolutional Neural Networks

We can’t stop here, this is bat country. Just a few days ago, the Google Research blog published a post demonstrating a unique, interesting, and perhaps even disturbing method to visualize what’s going inside the layers of a Convolutional Neural Network (CNN). Note: Before you go, I suggest taking a look at the images generated using […]

Continue Reading 23