From 22e4778dcef2acec9852468cfaa6f8919f2e6f39 Mon Sep 17 00:00:00 2001 From: Fiber Date: Mon, 21 Oct 2024 08:37:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/esd_bleeding_view_tool/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/esd_bleeding_view_tool/__init__.py b/src/esd_bleeding_view_tool/__init__.py index 5efd9b5..5b725fe 100644 --- a/src/esd_bleeding_view_tool/__init__.py +++ b/src/esd_bleeding_view_tool/__init__.py @@ -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