<p>我有低FPB~5,我已经检查了不同摄像机的代码罗技c270和罗技9000,同样的情况。在</p>
<p>我完成了关右灯的所有提示</p>
<pre><code>import urllib.request as urllib
import cv2
import numpy as np
import time
while True:
# Use urllib to get the image and convert into a cv2 usable format
cap = cv2.VideoCapture(0)
width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
hiegh = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
ret, frame = cap.read()
# put the image on screen
cv2.imshow('Webcam', frame)
if cv2.waitKey(1) & 0xFF == 27:
break
cap.release()
cv2.destroyAllWindows()
</code></pre>
<p>我应该怎么做来增加FPS?在</p>