These instructions can help you get started with HandIK. While some parts are specific to Ubuntu, these instructions should serve as a general outline of how to install HandIK other operating systems.
Prerequisites. Ensure the following are installed on your terminal.
-
node (once installed, run
node -v
to ensure the version is 12 or higher) -
unbuffer (included in the package
expect
, dosudo apt install expect
on Ubuntu e.g.) -
Run
python3 -m pip install numpy flask scikit-learn scipy scikit-image matplotlib requests Werkzeug
to install the necessary packages -
Install OpenCV 2 for Python 3. Use this guide for Ubuntu, or follow a similar guide for other operating systems.
- cd to server (folder)
- Run
yarn install
to install dependencies - Run
yarn compile
to build - Run
yarn start
to start the server
Prerequisites. Ensure Blender (version at least 2.83) is installed.
- Start blender
- Open
server/res/hand.blend
- Press the play icon in the lower right of the left panel (you may have to expand the panel to see the button). The right panel will update automatically.
Prerequisites. It is recommended to use Android Studio for this portion.
-
Using Android Studio, import
device/android
as a Gradle project. -
Edit
android/HandIK/src/main/java/com/figlab/handik/MainActivity.java
, line 27 to reflect the local ip address of the computer running the servers above. -
Use Android Studio to compile and upload the app to your tablet.
Navigate to http://localhost:5000/view/hand/blender2 to start!