First time here? Check out the FAQ!
answered 2016-01-05 16:50:51 -0600
This issue was being caused by a bug in OpenCV 3.1.0 - https://github.com/Itseez/opencv/issues/5908.
By reverting my OpenCV version back to 2.4.9, the program works properly again.