Skip to main content

Tactigon Gear

The tactigon team

This package enables the wearable device Tactigon Skin to connect to your python project using Bluetooth Low Energy.

Architecture

Tactigon Gear environment has the following architecture:

Server is located on the cloud and it is manteined by Next Industries s.r.l. Server has a web interface where you can handle your profile and your data (models and gestures)

Provided Tactigon Gear SDK is the implementation of Tactigon Gear environment client side

Tactigon Gear SDK is used for collecting new raw data, send the data to server, ask server to train a model using the raw data, and download the model from server. Finally use the model for testing real-time gesture recognition.

Tactigon Gear architecture definition

Prerequisites

In order to use the Tactigon Gear SDK the following prerequisites needs to be observed:

  • Python version: following versions has been used and tested. It is STRONGLY recommended to use these ones depending on platform.
    • Win10: 3.8.x
    • Linux: 3.8.x
    • Mac osx: 3.8.x
    • Raspberry: 3.8.x

Installing

Install and update using pip:

pip install tactigon-gear

A Simple Example

import time
from tactigon_gear import TSkin, TSkinConfig, Hand, OneFingerGesture

def main():
    TSKIN_MAC = "change-me"
    tskin_cfg = TSkinConfig(TSKIN_MAC, Hand.RIGHT) # Hand.LEFT if the TSkin is wear on left hand.

    with TSkin(tskin_cfg) as tskin:
        i = 0

        while True:
            if not tskin.connected:
                print("Connecting..")
                time.sleep(0.5)
                continue

            if i > 5:
                break

            a = tskin.angle
            t = tskin.touch
            acc = tskin.acceleration
            gyro = tskin.gyro

            print(a, t, acc, gyro)

            if t and t.one_finger == OneFingerGesture.TAP_AND_HOLD:
                i += 1
            else:
                i = 0

            time.sleep(0.02)
        
if __name__ == "__main__":
    main()

Links

Metadata

Release files for tactigon-gear 5.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tactigon-gear 5.3.1
File Size Uploaded
tactigon_gear-5.3.1.tar.gz 373.5 kB Details

Release files / tactigon_gear-5.3.1.tar.gz

Download URL tactigon_gear-5.3.1.tar.gz
Size 373.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cf54b6c08da55c8f26cdd5dc0be8a304d3a77b134bec162a5de7e7805b6db74f
BLAKE2b-256 checksum
How to use checksums
f0e3e18419cf1bab6f1e1659e4da9716263461f002f4580d17e45b91fc60eed2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.10

Release history Release notifications | RSS feed

5.5.2

1 release file

5.5.1

1 release file

5.5.0

1 release file

5.4.6

1 release file

5.4.5

1 release file

5.4.4

1 release file

5.4.3

1 release file

5.4.2

1 release file

5.4.1

1 release file

5.4.0

1 release file

This release

5.3.1 This release

1 release file

5.3.0

1 release file

5.2.5

1 release file

5.2.4

1 release file

5.2.3

1 release file

5.2.2

1 release file

5.2.1

1 release file

5.2.0

1 release file

5.1.1

1 release file

5.1.0

1 release file

5.0.4

1 release file

5.0.3

1 release file

5.0.2

1 release file

5.0.1

1 release file

4.1.9

1 release file

4.1.8

1 release file

4.1.7

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page