install_posetracker_linux.sh 744 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/bash
  2. # Copyright (c) OpenMMLab. All rights reserved.
  3. # Download pre-compiled files
  4. wget https://github.com/open-mmlab/mmdeploy/releases/download/v1.0.0/mmdeploy-1.0.0-linux-x86_64-cxx11abi.tar.gz
  5. # Unzip files
  6. tar -xzvf mmdeploy-1.0.0-linux-x86_64-cxx11abi.tar.gz
  7. # Go to the sdk folder
  8. cd mmdeploy-1.0.0-linux-x86_64-cxx11abi
  9. # Init environment
  10. source set_env.sh
  11. # If opencv 3+ is not installed on your system, execute the following command.
  12. # If it is installed, skip this command
  13. bash install_opencv.sh
  14. # Compile executable programs
  15. bash build_sdk.sh
  16. # Download models
  17. wget https://download.openmmlab.com/mmpose/v1/projects/rtmpose/rtmpose-cpu.zip
  18. # Unzip files
  19. unzip rtmpose-cpu.zip
  20. # Success
  21. echo "Installation completed."