Skip to content

Commit 88f2ee7

Browse files
authored
Merge pull request #1 from Alfaxad/patch-1
Fixed "Module 'cv2' has no 'VideoCapture' member"
2 parents e41ae63 + 66b3bb3 commit 88f2ee7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import cv2
22
import time
33
import threading
4+
from cv2 import cv2
45
from PIL import Image, ImageTk
56
from tkinter import Label, Button, Tk, PhotoImage
67

@@ -71,4 +72,4 @@ def StartCamera(self):
7172

7273
root = Tk()
7374
App = CameraApp(root)
74-
root.mainloop()
75+
root.mainloop()

0 commit comments

Comments
 (0)