Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
|
|
61 |
result = hands.process(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
|
62 |
|
63 |
# Create a blank canvas for drawing the keyboard
|
64 |
-
keyboard_canvas = np.zeros_like(img)
|
65 |
buttonList = []
|
66 |
# Define buttons in each row of the virtual keyboard
|
67 |
for key in keys[0]:
|
|
|
61 |
result = hands.process(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
|
62 |
|
63 |
# Create a blank canvas for drawing the keyboard
|
64 |
+
# keyboard_canvas = np.zeros_like(img)
|
65 |
buttonList = []
|
66 |
# Define buttons in each row of the virtual keyboard
|
67 |
for key in keys[0]:
|