Skip to main content

Build your own virtual drives and drivers for DATAGLOVES to manage PC Visual Systems

Project description

PHANTOM-OS DATAGLOVE RAG-DRIVERS

Build your own virtual drivers for DATAGLOVES to manage PC Visual Systems

#like the modern graphics systems virtual drivers by phantom-os datagloves


📜 About

PHANTOM-OS DATAGLOVE is a virtual plug-and-play driver system designed for RAG Developers, initially supporting webcam or file-based gesture capture using colored gloves for motion plotting.
The project integrates with LIONS MAPPER for coordinate tracking and gesture mapping, enabling precise cursor and keyboard control from simple movie captures.

Made by developers, for developers — with the flexibility to extend and add support for multiple glove types in virtual driver mode.

This project is part of CineOS Barsotti Unix-Like @BuskPlay, currently under construction and coming soon with support for RAG and Gen-AI makers, targeted at Officers, Studios, Desktop/Server environments, and Developers.


⚙ Minimal Requirements

Install dependencies:

pip install opencv-python numpy matplotlib scikit-image webcam keyboard PyAutoGUI pillow PIL  lionsmapper

or

pip install phantomos

🖥 Screen & Device Configuration

Set Screen Source

set_ecran(ecran_src=0)  # Set the screen index (0 for primary)

Keyboard Mapping

set_keyboard(_axis)               # Assign key for press action
set_keyboard_return(_axis)        # Assign key for backspace/return
find_map_keyboard(_x, _y, _value) # Map virtual keys by x/y position, append char to list

Mouse Mapping

set_mouse({"x": 0, "y": 0}) # Move cursor pointer by axis

Open Virtual Interfaces

open_virtual_keyboard()  
# Opens a keyboard window using keyboard.png layout

open_virtual_mouse(
    RGB_DATAGLOVE_LEFT, RGB_DATAGLOVE_RIGHT, RGB_LEFT_CLICK,
    RGB_RIGHT_CLICK, RGB_SCROLL_DOWN, RGB_SCROLL_UP, RGB_CURSOR
)
# Assign gesture-to-mouse driver mappings

🧤 Data Glove Configuration

Edit data_glover.py to set your glove side and finger color mappings.

set_dataglove_side("LEFT")  # Options: "LEFT" or "RIGHT"

LEFT_GLOVE = {
    "FINGER_1": "0,0,0",
    "FINGER_2": "0,0,0",
    "FINGER_3": "0,0,0",
    "FINGER_4": "0,0,0",
    "FINGER_5": "0,0,0"
}

Retrieve Configurations

get_dataglove()         # Returns dataglove color/position configuration
get_dataglove_cursor()  # Returns cursor mapping configuration

🚀 Starting the DataGlove

start_dataglove()  # Starts webcam-based gesture detection (after configuration)

📚 Examples

Example: Left Glove Cursor Control

set_ecran(0)
set_mouse({"x": 100, "y": 200})
open_virtual_mouse(
    RGB_DATAGLOVE_LEFT="255,0,0",
    RGB_DATAGLOVE_RIGHT="0,255,0",
    RGB_LEFT_CLICK="0,0,255",
    RGB_RIGHT_CLICK="255,255,0",
    RGB_SCROLL_DOWN="128,128,128",
    RGB_SCROLL_UP="64,64,64",
    RGB_CURSOR="0,255,255"
)
start_dataglove()

📖 Complete Manual

📄 Full Documentation: PHANTOM-OS DATAGLOVE Manual for RAG Developers


💬 Comments

This project is part of CineOS Barsotti Unix-Like under @BuskPlay, in pre-release stage. We are building this with RAG + Gen-AI support for Officers, Studios, Desktop, Servers, and Developers.

Contact: @asytrick 📧 eusmool@gmail.com 🔗 https://github.com/ssmool


Project details


Release history Release notifications | RSS feed

This version

2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phantomos-2.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phantomos-2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file phantomos-2.0.tar.gz.

File metadata

  • Download URL: phantomos-2.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for phantomos-2.0.tar.gz
Algorithm Hash digest
SHA256 7962e984cecd822cac1009b79b429b85b2796cf3fd1972e81b52114ce1e3db61
MD5 4f71bf4c9bcf9b7111bd6560f0ded3b2
BLAKE2b-256 ab6d284e8a2b42ee61d28a9c5d30677b6134813db9b34c567c69fed7da017c24

See more details on using hashes here.

File details

Details for the file phantomos-2.0-py3-none-any.whl.

File metadata

  • Download URL: phantomos-2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for phantomos-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc29e29b1fa4253883b2232f5347bef1d2ff1ddf4151e87959ff307dbded85e
MD5 244c8b9004f193c6735f7e4cd931d468
BLAKE2b-256 cf1257ebb50f8d5b810203c53dcb66377d6c258782d8f63e7d88a7c51966c2c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page