You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
713 B
19 lines
713 B
#!/bin/bash
|
|
set -e
|
|
|
|
# Install UltraLeap repository and key
|
|
wget -qO - https://repo.ultraleap.com/keys/apt/gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/ultraleap.gpg
|
|
|
|
echo 'deb [arch=amd64] https://repo.ultraleap.com/apt stable main' | sudo tee /etc/apt/sources.list.d/ultraleap.list
|
|
sudo apt update
|
|
|
|
# Install UltraLeap hand tracking (auto-accept license)
|
|
sudo apt install -y ultraleap-hand-tracking
|
|
|
|
# Clone and install leapc-python-bindings
|
|
git clone https://github.com/ultraleap/leapc-python-bindings /tmp/leapc-python-bindings
|
|
cd /tmp/leapc-python-bindings
|
|
pip install -r requirements.txt
|
|
python -m build leapc-cffi
|
|
pip install leapc-cffi/dist/leapc_cffi-0.0.1.tar.gz
|
|
pip install -e leapc-python-api
|