It's not giving continuous data. I am getting only one frame until I quit after running sample.py file.