Face-tracking cursor controller
Project description
Telepointer
Ever wanted to use your head to move the mouse cursor around? Now you can, with Telepointer!
Usage
[!IMPORTANT] Telepointer requires the face_landmarker.task model bundle downloadable at https://ai.google.dev/edge/mediapipe/solutions/vision/face_landmarker . The telepointer_MEDIAPIPE_LANDMARKER_PATH environment variable must point to the location of face_landmarker.task.
Telepointer has two components: the telepointer mouse controller and the tpctrl command-line tool.
telepointer
This is the main program in charge of translating your head movements into mouse movements.
This functionality may, however, not always be needed. Therefore, this program is equipped with the ability to receive various commands to enable or disable
mouse control among other things. These commands may be sent via terminal or optionally by socket as well by using the -s flag.
This is where tpctrl comes into play.
tpctrl
This a command line tool to send commands to the main telepointer program via socket.
It is not meant for direct use by humans but as an interface for other software, like hotkey software, to control telepointer.
You can find examples of hotkey scripts for sxhkd and AutoHotkey in the examples/ directory.
The available commands are:
tpctrl start
Start controlling the cursor
tpctrl stop
Stop controlling the cursor
tpctrl calibrate
Triggers calibration for the current landmarker processor.
The behaviour of this command depends on the landmarker processor.
With the default processor, (i.e. TrackballLandmarkerProcessor), this will reset the cursor to the center of the screen.
tpctrl click
Triggers a left mouse click.
tpctrl press
Keeps the left mouse button down until tpctrl lift is called
tpctrl lift
Releases the left mouse button
tpctrl quit
Stops the execution of telepointer. While tpctrl stop will simply pause telepointer until tpctrl start is called, tpctrl quit will cause telepointer to exit entirely.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telepointer-0.0.5.tar.gz.
File metadata
- Download URL: telepointer-0.0.5.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b4b7eca0064a3483667527b5b547f6af4a3d2c13c363888d85b7f26188c3ac
|
|
| MD5 |
8ff08f2dd0fa971027b51d4e980f88a3
|
|
| BLAKE2b-256 |
af0c08cf59e89408a41e7d220d4ddddaea5a1049a080e8f8554f96650fdaa3b7
|
Provenance
The following attestation bundles were made for telepointer-0.0.5.tar.gz:
Publisher:
python-publish.yml on J-Dufour/telepointer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
telepointer-0.0.5.tar.gz -
Subject digest:
a2b4b7eca0064a3483667527b5b547f6af4a3d2c13c363888d85b7f26188c3ac - Sigstore transparency entry: 850296338
- Sigstore integration time:
-
Permalink:
J-Dufour/telepointer@428bab37754f8e6fd392f5516b4080741486cc1d -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/J-Dufour
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@428bab37754f8e6fd392f5516b4080741486cc1d -
Trigger Event:
release
-
Statement type:
File details
Details for the file telepointer-0.0.5-py3-none-any.whl.
File metadata
- Download URL: telepointer-0.0.5-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed6ecaa9ca3483dbc7512a0f3059e6ca889691b192fe3ac057ff4c8351ea81cd
|
|
| MD5 |
199b35fc7f8665e05fcd309a16b3facf
|
|
| BLAKE2b-256 |
dbb8406ae3e4cd88603a3756f65923777f28359ab92e1b970903cd3f81347de0
|
Provenance
The following attestation bundles were made for telepointer-0.0.5-py3-none-any.whl:
Publisher:
python-publish.yml on J-Dufour/telepointer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
telepointer-0.0.5-py3-none-any.whl -
Subject digest:
ed6ecaa9ca3483dbc7512a0f3059e6ca889691b192fe3ac057ff4c8351ea81cd - Sigstore transparency entry: 850296343
- Sigstore integration time:
-
Permalink:
J-Dufour/telepointer@428bab37754f8e6fd392f5516b4080741486cc1d -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/J-Dufour
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@428bab37754f8e6fd392f5516b4080741486cc1d -
Trigger Event:
release
-
Statement type: