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  vs. cv2.boxPoints  methods come to mind off the top of my head). […]

Continue Reading 2

Checking your OpenCV version using Python

It was unavoidable — the OpenCV 3 release was bound to break backwards compatibility with some OpenCV 2.4.X functions: cv2.findContours  and cv2.normalize  come to mind right off the top of my head. So how do you ensure that your code will work no matter which version of OpenCV your production environment is using? Well, the […]

Continue Reading 1

Where did SIFT and SURF go in OpenCV 3?

If you’ve had a chance to play around with OpenCV 3 (and do a lot of work with keypoint detectors and feature descriptors) you may have noticed that the SIFT and SURF implementations are no longer included in the OpenCV 3 library by default. Unfortunately, you probably learned this lesson the hard way by opening up a terminal, […]

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 19