Fixed OpenCV double definition of variable.