A simple demo  based in qt and opencv.