Hi@akhtar,
Yes, you can use cv2 module for video streaming. Use the bellow given code for video streaming.
import cv2
cap = cv2.VideoCapture(0)
while True:
status , photo = cap.read()
cv2.imshow('My Window' , photo)
if cv2.waitKey(10) == 13:
break
cv2.destroyAllWindows()
cap.release()
Hope this will help you.