narner / Cursor-Control-Demo

Demo of using Eye Gaze to Control a Mac Cursor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor-Control

Demo of using Eye Gaze to Control a Cursor on a Mac with Roboflow.

To run, instal Roboflow Inference, and get an API key. Download the examples here, and run the Gaze Detection example. More info on gaze tracking can be found here.

In the Mac app, add your API key here:

let roboflowAPIKey = "YOUR_API_KEY"

And make sure that the let the url is set to the IP address that the Inference server is running on:

gazeDetectionURL = "http://127.0.0.1:9001/gaze/gaze_detection?api_key=\(roboflowAPIKey)"

About

Demo of using Eye Gaze to Control a Mac Cursor

License:MIT License