disable some logs

This commit is contained in:
NuoDaJia02
2025-11-05 15:13:31 +08:00
parent 4233d3e79d
commit ada14a30e3
14 changed files with 456 additions and 87 deletions

15
cv.py Normal file
View File

@@ -0,0 +1,15 @@
import cv2
import time
cap = cv2.VideoCapture(2) # 0表示第一个摄像头
start=time.time()
while True:
ret, frame = cap.read()
if not ret: break
end=time.time()
diff=end-start
print('cap img',1/diff)
start=end
###cv2.imshow('USB Camera', frame)
if cv2.waitKey(1) == 27: break # 按ESC退出
cap.release()
cv2.destroyAllWindows()