Semi-Automatic Classification Plugin version 8 release date and dependency installation

This post is to announce that the new version 8 (codename "Infinity") of the Semi-Automatic Classification Plugin (SCP) for QGIS will be released the 8th of October 2023.
This new version is based on a completely new Python processing framework that is Remotior Sensus, which will expand the processing capabilities of SCP, also allowing for the creation of Python scripts.




The SCP requires Remotior Sensus, GDAL, NumPy and SciPy for most functionalities. Optionally, scikit-learn and PyTorch are required for machine learning. GDAL, NumPy and SciPy should already be installed along with QGIS.
It might be useful to illustrate the installation steps of these dependencies before SCP is released.

For Windows, the installation will require the following steps:

  • Close QGIS;

  • From the Start menu, open OSGeo4W Shell (administrative rights may be required);

  • Enter the following command:

pip3 install --upgrade remotior-sensus scikit-learn torch

For macOS, the installation will require the following steps:

  • Close QGIS;

  • Open the terminal (administrative rights may be required);

  • Type the following command (you may need to adapt the path /Applications/QGIS.app to the actual QGIS installation directory):

/Applications/QGIS.app/Contents/MacOS/bin/pip3 install --upgrade remotior-sensus scikit-learn torch


For Linux, the installation will require the following steps:

  • Open a terminal and type:

sudo apt-get update
  • Press Enter and type the user password;

  • Type in a terminal:

sudo apt-get install qgis python3-matplotlib python3-scipy
  • Press Enter and wait until the software is downloaded and installed.

Advanced installations using Conda:

In case of issues with the installation of SCP in the operating system, QGIS and the dependencies can be installed using a Conda environment (if you don’t know Conda please read https://conda-forge.org/docs). For instance, you can use Miniforge to create a Conda environment.

  • Once installed conda, open the terminal and run the following commands to create a new environment:

conda create -c conda-forge --name environment python=3.10
Proceed ([y]/n)? y
  • Next:
conda activate environment

  • Now install QGIS and the dependencies (it could take some time):

conda install -c conda-forge qgis gdal remotior-sensus scikit-learn pytorch

  • Now, QGIS is installed. To launch it run in the terminal:

qgis

Of course, in the next few months several tutorials will be available for illustrating the new features.


For any comment or question, join the Facebook group or GitHub discussions about the Semi-Automatic Classification Plugin.

Newer posts Older posts