i cant seem to resize the frame output of my ip camera opened in opencv python3
import cv2
cap = cv2.VideoCapture('rtsp://admin:password@192.168.1.13/1')
cap.set(3, 176)
cap.set(4, 144)
while(True):
ret, frame = cap.read()
cv2.imshow('frame',frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
cv2.destroyAllWindows()
break
outputting a large frame