mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-06 04:52:14 -07:00
fix cv2 window
This commit is contained in:
parent
e4776c4568
commit
c0efaa1900
1 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,8 @@ class StreamOutputWorker(BackendWorker):
|
|||
def hide_window(self):
|
||||
state, cs = self.get_state(), self.get_control_sheet()
|
||||
if self._wnd_showing:
|
||||
cv2.destroyWindow(self._wnd_name)
|
||||
cv2.destroyAllWindows()
|
||||
#cv2.destroyWindow(self._wnd_name) # requires check if window exists
|
||||
self._wnd_showing = False
|
||||
|
||||
def on_cs_show_hide_window_signal(self,):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue