The analysis of human movement is fundamental in both health and sports biomechanics, providing valuable insights into various aspects of physical performance, rehabilitation, and injury prevention. However, existing software often restricts user control and customization, acting as a "black box." With vailΓ‘, users have the freedom to explore, customize, and create their own tools in a truly open-source and collaborative environment.
vailΓ‘ (Versatile Anarcho Integrated Liberation Γnalysis) is an open-source multimodal toolbox that leverages data from multiple biomechanical systems to enhance human movement analysis. It integrates data from:
- Retroreflective Motion Capture Systems (e.g., Vicon, OptiTrack)
- Inertial Measurement Unit (IMU) Systems (e.g., Delsys, Noraxon)
- Markerless Video Capture Technology (e.g., OpenPose, MediaPipe)
- Electromyography (EMG) Systems (e.g., Delsys, Noraxon)
- Force Plate Systems (e.g., AMTI, Bertec)
- GPS/GNSS Systems (e.g., Garmin, Trimble)
- MEG/EEG Systems (for brain activity monitoring)
- HR/ECG Systems (for heart rate and electrical activity)
By integrating these diverse data sources, vailΓ‘ allows for comprehensive and accurate analysis of movement patterns, which is particularly beneficial for research and clinical applications.
- Multimodal Data Analysis: Analyze data from various sources such as IMU sensors, motion capture, markerless tracking, EMG, force plates, and GPS/GNSS systems.
- File Management: Tools for file operations, including rename, import, export, copy, move, remove, tree, find, and transfer.
- Data Conversion: Convert between C3D and CSV formats, and perform Direct Linear Transformation (DLT) methods for 2D and 3D reconstructions.
- Video Processing: Tools for converting videos to images, cutting videos, compressing (H.264 and HEVC H.265), synchronizing videos, and extracting pixel coordinates.
- Data Visualization: Display and plot 2D and 3D graphs; visualize CSV and C3D data.
This multimodal toolbox integrates data from various motion capture systems to facilitate advanced biomechanical analysis by combining multiple data sources. The primary objective is to improve understanding and evaluation of movement patterns across different contexts.
Join us in the liberation from paid software with the "vailΓ‘ - Versatile Anarcho Integrated Liberation Γnalysis in Multimodal Toolbox."
In front of you stands a versatile tool designed to challenge the boundaries of commercial systems. This software is a symbol of innovation and freedom, determined to eliminate barriers that protect the monopoly of expensive software, ensuring the dissemination of knowledge and accessibility.
With vailΓ‘, you are invited to explore, experiment, and create without constraints. "vailΓ‘" means "go there and do it!" β encouraging you to harness its power to perform analysis with data from multiple systems.
Junte-se a nós na libertação do software pago com o "vailÑ: AnÑlise VersÑtil da Libertação Anarquista Integrada na Caixa de Ferramentas Multimodal".
Diante de vocΓͺ estΓ‘ uma ferramenta versΓ‘til, projetada para desafiar as fronteiras dos sistemas comerciais. Este software Γ© um sΓmbolo de inovação e liberdade, determinado a eliminar as barreiras que protegem o monopΓ³lio do software caro, garantindo a disseminação do conhecimento e a acessibilidade.
Com vailΓ‘, vocΓͺ Γ© convidado a explorar, experimentar e criar sem restriçáes. "vailΓ‘" significa "vai lΓ‘ e faΓ§a!" β encorajando vocΓͺ a aproveitar seu poder para realizar anΓ‘lises com dados de mΓΊltiplos sistemas.
-
Conda: Ensure that Anaconda is installed and accessible from the command line.
-
FFmpeg: Required for video processing functionalities.
git clone https://github.com/vaila-multimodaltoolbox/vaila
cd vaila
- Make the installation script executable:
sudo chmod +x install_vaila_linux.sh
- Run instalation script:
./install_vaila_linux.sh
-
The script will:
- Set up the Conda environment using
./yaml_for_conda_env/vaila_linux.yaml
. - Copy program files to your home directory (~/vaila).
- Install ffmpeg from system repositories.
- Create a desktop entry for easy access.
- Set up the Conda environment using
- Notes:
- Run the script as your regular user, not with sudo.
- Ensure that Conda is added to your PATH and accessible from the command line.
- Make the installation script executable:
sudo chmod +x install_vaila_mac.sh
- Run the installation script:
./install_vaila_mac.sh
- The script will:
- Set up the Conda environment using
./yaml_for_conda_env/vaila_mac.yaml
. - Copy program files to your home directory (
~/vaila
). - Install ffmpeg using Homebrew.
- Convert the .iconset folder to an .icns file for the app icon.
- Create an application bundle (
vaila.app
) in your Applications folder. - Create a symbolic link in
/Applications
to the app in your home directory.
- Set up the Conda environment using
- Notes:
- You may be prompted for your password when the script uses sudo to create the symbolic link.
- Ensure that Conda is added to your PATH and accessible from the command line.
- Download and Install Anaconda:
- Make sure to download and install Anaconda.
- Ensure that Conda is installed and accessible from the command line.
- Download vailΓ‘: You can either:
-
Clone the repository using git:
git clone https://github.com/vaila-multimodaltoolbox/vaila cd vaila
-
Or download the vailΓ‘ zip file directly from your browser:
- Go to
https://github.com/vaila-multimodaltoolbox/vaila/archive/refs/heads/main.zip
- Unzip the downloaded file (for example, into your Downloads folder).
- Go to
- Run the Installation Script as Administrator:
Now you need to install vailΓ‘ Anaconda Powershell Prompt
as an administrator:
-
Press the Windows key and search for "Anaconda PowerShell Prompt".
-
Right-click on Anaconda PowerShell Prompt and select "Run as administrator".
-
Navigate to the directory where you git clone or downloaded unzipped the vailΓ‘ files (e.g., C:\Users\YourUserName\Downloads\vaila).
-
Run the installation script:
./install_vaila_win.ps1
- Allow Script Execution (if necessary):
If the script execution is blocked, you may need to change the execution policy. Run this command in PowerShell as Administrator:
Set-ExecutionPolicy RemoteSigned
- The Instructions Displayed by the Script:
The script will:
- Set up the Conda environment using
vaila_win.yaml
inside directory/folderyaml_for_conda_env
. - Install FFmpeg using winget or Chocolatey if necessary.
- Copy program files to C:\ProgramData\vaila.
- Configure the vaila profile in Windows Terminal (recommend you have Windows Terminal installed on your computer).
- Create a Desktop a Start Menu shortcut.
- If the Windows Terminal profile was not automatically added, follow the instructions below to manually add it. (if necessary)
{
"name": "vaila",
"commandline": "pwsh.exe -ExecutionPolicy Bypass -NoExit -Command '& \"%ProgramData%\\Anaconda3\\shell\\condabin\\conda-hook.ps1\" ; conda activate \"vaila\" ; cd \"C:\\ProgramData\\vaila\" ; python \"vaila.py\"'",
"startingDirectory": "C:\\ProgramData\\vaila",
"icon": "C:\\ProgramData\\vaila\\docs\\images\\vaila_ico.png",
"colorScheme": "Vintage",
"guid": "{17ce5bfe-17ed-5f3a-ab15-5cd5baafed5b}",
"hidden": false
}
Now the installation instructions are simplified, ensuring users download vailΓ‘, run the script with administrator privileges, and see the vailΓ‘ icon in all the intended places (Desktop, Start Menu, and Windows Terminal).
When vailΓ‘ is installed on Windows, the files are copied to the following directory:
C:\ProgramData\vaila
This location is used to store data and configuration files that are accessible to all users on the system. However, the ProgramData
directory is usually hidden in Windows. To access it, follow these steps:
- Open File Explorer.
- Go to the View tab in the top menu.
- Check the Hidden items box to display the
C:\ProgramData
directory. - Navigate to
C:\ProgramData\vaila
.
For more information about the ProgramData folder on Windows, you can refer to the official Microsoft documentation
Running the Application After installation, you can launch vailΓ‘ from your applications menu or directly from the terminal, depending on your operating system.
- π Linux and βͺ macOS: From the Terminal bash or zsh
- Navigate to the
vaila
directory:
cd ~/vaila
and run command:
conda activate vaila
python3 vaila.py
-
π΅ Windows
-
Click on the
vaila
icon in the Applications menu or use the shortcut in desktop or Windows Terminal. -
Windows: From the Windows Terminal (Anaconda in path) or use Anaconda PowerShell
- Open Anaconda Prompt or Anaconda Powershell Prompt (Anaconda Powershell is recommended) and run command:
conda activate vaila
python vaila.py
-
From the Applications Menu:
- Look for
vaila
in your applications menu and launch it by clicking on the icon.
- Look for
From the Terminal If you prefer to run vailΓ‘ from the terminal or if you encounter issues with the applications menu, you can use the provided launch scripts.
-
Make the script executable (if you haven't already):
-
π Linux
sudo chmod +x ~/vaila/linux_launch_vaila.sh
- Run the script:
~/vaila/linux_launch_vaila.sh
- βͺ macOS
sudo chmod +x ~/vaila/mac_launch_vaila.sh
- Run the script:
~/vaila/mac_launch_vaila.sh
-
Ensure Conda is in the Correct Location:
- The launch scripts assume that Conda is installed in
~/anaconda3
. - If Conda is installed elsewhere, update the
source
command in the scripts to point to the correct location.
- The launch scripts assume that Conda is installed in
-
Verify Paths:
- Make sure that the path to
vaila.py
in the launch scripts matches where you have installed the program. - By default, the scripts assume that
vaila.py
is located in~/vaila
.
- Make sure that the path to
-
Permissions:
- Ensure you have execute permissions for the launch scripts and read permissions for the program files.
- Run the uninstall script:
sudo chmod +x uninstall_vaila_linux.sh
./uninstall_vaila_linux.sh
- The script will:
- Remove the
vaila
Conda environment. - Delete the
~/vaila
directory. - Remove the desktop entry.
- Remove the
- Notes:
- Run the script
./uninstall_vaila_linux.sh
as your regular user, not with sudo. - Ensure that Conda is added to your PATH and accessible from the command line.
- Run the uninstall script:
sudo chmod +x uninstall_vaila_mac.sh
./uninstall_vaila_mac.sh
- The script will:
- Remove the
vaila
Conda environment. - Delete the
~/vaila
directory. - Remove
vaila.app
from /Applications. - Refresh the Launchpad to remove cached icons.
- Remove the
- Notes:
- Run the script as your regular user, not with sudo.
- You will prompted for your password when the script uses
sudo
to remove the app from/Applications
.
- Run the uninstallation script as Administrator in Anaconda PowerShell Prompt:
- PowerShell Script:
- Execute
.\uninstall_vaila_win.ps1
.
- Execute
- Follow the Instructions Displayed by the Script:
- The script will:
- Remove the
vaila
Conda environment. - Delete the
C:\ProgramData\vaila
directory. - Remove the Windows Terminal profile (settings.json file).
- Delete the desktop shortcut if it exists.
- Remove the
- Manual Removal of Windows Terminal Profile (if necessary):
- If the Windows Terminal profile is not removed automatically (e.g., when using the
uninstall_vaila_win.ps1
script), you may need to remove it manually:
conda remove -n vaila --all
Remove directory vaila
inside C:ProgramData\
.
An overview of the project structure:
tree vaila
vaila
βββ __init__.py
βββ __pycache__
βββ batchcut.py
βββ cluster_analysis.py
βββ cluster_analysis_cli.py
βββ common_utils.py
βββ compress_videos_h264.py
βββ compress_videos_h265.py
βββ compressvideo.py
βββ cop_analysis.py
βββ cop_calculate.py
βββ data_processing.py
βββ dialogsuser.py
βββ dialogsuser_cluster.py
βββ dlt2d.py
βββ dlt3d.py
βββ drawboxe.py
βββ ellipse.py
βββ emg_labiocom.py
βββ extractpng.py
βββ filemanager.py
βββ filter_utils.py
βββ filtering.py
βββ fixnoise.py
βββ fonts
βββ force_cmj.py
βββ force_cube_fig.py
βββ forceplate_analysis.py
βββ getpixelvideo.py
βββ gnss_analysis.py
βββ images
βββ imu_analysis.py
βββ listjointsnames.py
βββ maintools.py
βββ markerless_2D_analysis.py
βββ markerless_3D_analysis.py
βββ mergestack.py
βββ mocap_analysis.py
βββ modifylabref.py
βββ modifylabref_cli.py
βββ numberframes.py
βββ plotting.py
βββ readc3d_export.py
βββ readcsv.py
βββ readcsv_export.py
βββ rearrange_data.py
βββ rearrange_data_dask.py
βββ rec2d.py
βββ rec2d_one_dlt2d.py
βββ rotation.py
βββ run_vector_coding.py
βββ run_vector_coding_GUI.py
βββ showc3d.py
βββ showc3d_nodash.py
βββ spectral_features.py
βββ stabilogram_analysis.py
βββ standardize_header.py
βββ sync_flash.py
βββ syncvid.py
βββ utils.py
βββ vaila_manifest.py
βββ vaila_upscaler.py
βββ vailaplot2d.py
βββ vailaplot3d.py
βββ vector_coding.py
βββ videoprocessor.py
βββ videoprocessor2.py
-
Paulo Roberto Pereira Santiago ORCID: 0000-0002-9460-8847
Biomechanics and Motor Control Lab, School of Physical Education and Sport of RibeirΓ£o Preto, University of SΓ£o Paulo, Brazil
Graduate Program in Rehabilitation and Functional Performance, RibeirΓ£o Preto Medical School, University of SΓ£o Paulo, Brazil -
Abel Gonçalves Chinaglia ORCID: 0000-0002-6955-7187
Graduate Program in Rehabilitation and Functional Performance, RibeirΓ£o Preto Medical School, University of SΓ£o Paulo, Brazil -
Kira Flanagan ORCID: 0000-0003-0317-6346
College of Computing, Engineering and Construction, University of North Florida, USA -
Bruno Luiz de Souza Bedo ORCID: 0000-0003-3821-2327
Laboratory of Technology and Sports Performance Analysis, School of Physical Education and Sport, University of SΓ£o Paulo, Brazil -
Ligia Yumi Mochida ORCID: 0009-0005-7266-3799
Laboratory of Applied Biomechanics and Engineering, Brooks College of Health, University of North Florida, USA
Department of Physical Therapy, Brooks College of Health, University of North Florida, USA -
Juan Aceros ORCID: 0000-0001-6381-7032
Laboratory of Applied Biomechanics and Engineering, Brooks College of Health, University of North Florida, USA
College of Computing, Engineering and Construction, University of North Florida, USA -
Aline Bononi ORCID: 0000-0001-8169-0864 Municipal Pharmacy of RibeirΓ£o Preto - Brazil
-
Guilherme Manna Cesar ORCID: 0000-0002-5596-9439
Laboratory of Applied Biomechanics and Engineering, Brooks College of Health, University of North Florida, USA
Department of Physical Therapy, Broo~/vaila/linux_launch_vaila.sh ks College of Health, University of North Florida, USA
We encourage creativity and innovation to enhance and expand the functionality of this toolbox. You can make a difference by contributing to the project! To get involved, feel free to fork the repository, experiment with new ideas, and create a branch for your changes. When you're ready, submit a pull request so we can review and potentially integrate your contributions.
Don't hesitate to learn, explore, and experiment. Be bold, and don't be afraid to make mistakesβevery attempt is a step towards improvement!
This project is primarily licensed under the GNU Lesser General Public License v3.0. Please cite our work if you use the code or data. Let's collaborate and push the boundaries together!