# cmd
conda create --name sfm python=3.8 -y
conda activate sfm
pip install uv
uv pip install "git+https://github.com/Jordan-Pierce/Metashape-Azure.git"Fallback: if you get an error related to
--prerelease=allow, run the command below
uv pip install "git+https://github.com/Jordan-Pierce/Metashape-Azure.git" --prerelease=allowFinally, to run the application, use the following command:
# cmd
metashape-azure-mls# cmd
conda activate sfm
uv pip install -U "git+https://github.com/Jordan-Pierce/Metashape-Azure.git"- Open Azure Machine Learning Studio in Microsoft Edge and login
- Navigate to your workspace
- Copy the following credentials from the top-right of the page:
- Subscription ID
- Resource Group
- Workspace Name
- Enter credentials in the application:
- Use "Save Credentials" to store for future use
- Click "Authenticate"
- Select your compute cluster from the dropdown
- Configure project paths:
- Input Path: Azure URI to image folder
- Output Path: Azure URI for project destination
- Project Name: Unique name for your project
Note:
{output path}/{project name}must not already exist
- Select desired SfM parameters
- Click "Run on Azure" to start processing
- Azure Machine Learning Studio and Authentication must be done in
Microsoft Edge - You must be connected to the network (i.e.,
VPN) to access theAzureservices. - Currently using python 3.8, and Metashape 2.2.3
- See here for older versions of Metashape Python API wheels
To ensure you can run Metashape on a Linux distro (e.g., Ubuntu), please ensure you do the following:
echo 'export AGISOFT_FLS=10.71.68.13:5842' >> ~/.bashrc && source ~/.bashrc
sudo apt install libglu1-mesa libgl1-mesa-glx libcurl4Then you should be able to run python in the terminal, import Metashape and see that the license was pulled.