Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def detect_hand(frame, hand_cascade):
|
|
| 13 |
return hands
|
| 14 |
|
| 15 |
# Load Haar Cascade for hand detection
|
| 16 |
-
hand_cascade_path = '
|
| 17 |
hand_cascade = cv2.CascadeClassifier(hand_cascade_path)
|
| 18 |
|
| 19 |
# Open the video file
|
|
|
|
| 13 |
return hands
|
| 14 |
|
| 15 |
# Load Haar Cascade for hand detection
|
| 16 |
+
hand_cascade_path = 'hand.xml' # Replace with your actual path
|
| 17 |
hand_cascade = cv2.CascadeClassifier(hand_cascade_path)
|
| 18 |
|
| 19 |
# Open the video file
|