apirrone
commited on
Commit
·
8f9b83f
1
Parent(s):
96170a8
update toolbox dependency, set model complexity to 0
Browse files- hand_tracker_v2/main.py +1 -1
- pyproject.toml +1 -1
hand_tracker_v2/main.py
CHANGED
|
@@ -37,7 +37,7 @@ class HandTrackerV2(ReachyMiniApp):
|
|
| 37 |
|
| 38 |
def update_hand_pos(self, im):
|
| 39 |
if self.hand_tracker is None:
|
| 40 |
-
self.hand_tracker = HandTracker()
|
| 41 |
hands = self.hand_tracker.get_hands_positions(im)
|
| 42 |
if hands:
|
| 43 |
self.hand_pos = np.array(hands[0])
|
|
|
|
| 37 |
|
| 38 |
def update_hand_pos(self, im):
|
| 39 |
if self.hand_tracker is None:
|
| 40 |
+
self.hand_tracker = HandTracker(model_complexity=0)
|
| 41 |
hands = self.hand_tracker.get_hands_positions(im)
|
| 42 |
if hands:
|
| 43 |
self.hand_pos = np.array(hands[0])
|
pyproject.toml
CHANGED
|
@@ -11,7 +11,7 @@ readme = "README.md"
|
|
| 11 |
requires-python = ">=3.10"
|
| 12 |
dependencies = [
|
| 13 |
"reachy-mini",
|
| 14 |
-
"reachy-mini-toolbox[vision]>=1.1.
|
| 15 |
]
|
| 16 |
keywords = ["reachy-mini-app"]
|
| 17 |
|
|
|
|
| 11 |
requires-python = ">=3.10"
|
| 12 |
dependencies = [
|
| 13 |
"reachy-mini",
|
| 14 |
+
"reachy-mini-toolbox[vision]>=1.1.2"
|
| 15 |
]
|
| 16 |
keywords = ["reachy-mini-app"]
|
| 17 |
|