I am trying to use opencv for one of my projects in azure ubuntu vm. Whenever I tried to connect to camera using VideoCapture(0) or 1 its shows can't access camera with index and when i try to put -1 inplace of 0 it shows didn't find the camera device. Already installed libraries and even cheese is not working. Its showing connection refused error and cannot initialize libcheese-gtk. I am new to vm on azure. Can anyone guide me in this?