Lorem Ipsum
Here is the ReadTheDocs documentation : https://amap-scripts-ts-arosics.readthedocs.io/en/latest/
- Python : https://www.python.org/downloads/
- Anaconda : https://www.anaconda.com/download/
- R and RStudio : https://posit.co/download/rstudio-desktop/
Open an anaconda prompt and type the following commands :
- conda env create -n env_name --file='path_to_cloned_repo/scripts_TS_arosics/environment.yaml'
- conda activate env_name
To install the Metashape python API, download the wheel file corresponding to your operating system here : https://www.agisoft.com/downloads/installer/ Then, run the following command :
- pip install 'path_to_downloaded_whl_file'
Install reticulate package : type install.packages('reticulate') in the console
Two solutions :
- Copy the path of the environment you just created in the beginning of the script "exec_python_recalage.R" (you can access it by using the command 'conda info --envs' in an anaconda prompt). The python env will be used only for this script.
- If you're using RStudio, go to Tools -> Global Options -> Python -> Select... -> Conda Environments, and select the env you just created. Warning : It will become the default python interpreter for all your R scripts
Add the line "scan.License().activate('your_license_key')" at the beginning of 2023-07-13_TimeSIFT_scripts_auto.py, right after the imports