Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterWaIIace authored Jan 6, 2025
1 parent 2254d6c commit faf4195
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ python3 examples/simple_example.py [legacy tracker, will become obsolete]

### 🔧 Build your own:

#### Using EyeGesture Engine V2 - Machine Learning Approach [Recommended]:
#### Using EyeGesture Engine V3 - Faster smaller better:

```python
from eyeGestures.utils import VideoCapture
from eyeGestures import EyeGestures_v2
from eyeGestures import EyeGestures_v3

# Initialize gesture engine and video capture
gestures = EyeGestures_v2()
cap = VideoCapture(0)
gestures = EyeGestures_v3()
cap = VideoCapture(0)
calibrate = True
screen_width = 500
screen_height= 500
Expand All @@ -108,21 +108,22 @@ while True:
if event:
cursor_x, cursor_y = event.point[0], event.point[1]
fixation = event.fixation
saccades = event.saccadess # saccadess movement detector
# calibration_radius: radius for data collection during calibration
```

<!-- POLAR type=ads id=eizdelwu subscription_benefit_id=bb272b6d-f698-44e3-a417-36a6fa203bbe width=240 height=100 -->
<!-- POLAR-END id=eizdelwu -->

#### Using EyeGesture Engine V3 - Faster smaller better [New and experimental]:
#### Using EyeGesture Engine V2 - [Stable]:

```python
from eyeGestures.utils import VideoCapture
from eyeGestures import EyeGestures_v3
from eyeGestures import EyeGestures_v2

# Initialize gesture engine and video capture
gestures = EyeGestures_v3()
cap = VideoCapture(0)
gestures = EyeGestures_v2()
cap = VideoCapture(0)
calibrate = True
screen_width = 500
screen_height= 500
Expand All @@ -139,7 +140,6 @@ while True:
if event:
cursor_x, cursor_y = event.point[0], event.point[1]
fixation = event.fixation
saccades = event.saccadess # saccadess movement detector
# calibration_radius: radius for data collection during calibration
```

Expand Down

0 comments on commit faf4195

Please sign in to comment.