My first foray into using a GPU has been disappointing due to weird timing results. Below is a snippet of code using UMat in OpenCV to find dead-space at the top and bottom