更新测试代码
This commit is contained in:
parent
ea0f0829b1
commit
22e4778dce
@ -88,8 +88,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
self.txt = ""
|
||||
|
||||
|
||||
def show_video(self, now_frame=0):
|
||||
img = self.video.read(now_frame) # 读入opencv视频流
|
||||
def show_video(self):
|
||||
img = self.video.read() # 读入opencv视频流
|
||||
y, x = img.shape[:-1]
|
||||
#视频帧如果过大需要在此进行缩放,如
|
||||
max_width = 1000
|
||||
|
Loading…
x
Reference in New Issue
Block a user