Shouldn't you be asking that question on an OpenCV forum?