Object Detection using OpenCV and QT