Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ class VideoProcessor:
|
|
| 43 |
self.actions = np.array(['curl', 'press', 'squat'])
|
| 44 |
self.sequence_length = 30
|
| 45 |
self.colors = [(245,117,16), (117,245,16), (16,117,245)]
|
| 46 |
-
self.threshold =
|
| 47 |
|
| 48 |
# Detection variables
|
| 49 |
self.sequence = []
|
|
|
|
| 43 |
self.actions = np.array(['curl', 'press', 'squat'])
|
| 44 |
self.sequence_length = 30
|
| 45 |
self.colors = [(245,117,16), (117,245,16), (16,117,245)]
|
| 46 |
+
self.threshold = 0.5
|
| 47 |
|
| 48 |
# Detection variables
|
| 49 |
self.sequence = []
|