1. Set up miniconda3 on macOS \
1.1 To install miniconda, you can follow the instructions provided in the official documentation at this link: Miniconda Installation Guide for macOS. \
1.2 First, download the Miniconda installer for macOS from the following location: Miniconda3-latest-MacOSX-x86_64.sh. Make sure to save the installer to the path ~/Miniconda3-latest-MacOSX-x86_64.sh
. \
1.3 After downloading the installer, open your terminal and run the following command to install miniconda: \
bash ~/Miniconda3-latest-MacOSX-x86_64.sh -b -p ~/miniconda3
2. Install conda virtual environment and python3.6
source ~/miniconda3/bin/activate
conda create -n myenv python=3.6
3. Activate myenv environment
source ~/miniconda3/bin/activate
conda activate myenv
4. Install required python packages \ 4.1 reference https://github.com/azieren/DevEv \ 4.2 open terminal with step 5
pip install numpy scipy matplotlib opencv-python-headless==4.5.5.62 pyqtgraph PyQt5 PyOpenGL trimesh pandas labelme colorama gdown scikit-image onnxruntime
Download the data and save it on your local computer.
Establish a symbolic link for the Flex data and substitute the existing empty Flex directory in the project using the guidance outlined in ./Flex/symlink.md.
Tips \ 3.1. Download all files excluding dataset and dataset2 \ 3.2. dataset folder \ 2021_Flex1_Sxx_SlopeProtractor.mp4 is needed. You may copy it from local, rename it and place it in the corresponding path. \ 3.3. dataset2 folder \ You may download the video you coded first.
cd .../FLEX
source ~/miniconda3/bin/activate
conda activate myenv
python 1.py