How to get Orfeo PatchesExtraction working in qgis 3.8 with orfeo 6.6.1

Hello all,

I am quite new to Orfeo.

I am trying to use Orfeo to extract patches from a raster file in Qgis. The locations of the extraction points are in a shp file. I read Orfeo Has a process called PatchesExtraction which does exactly what in need. I installed the plugin from this tutorial https://www.sigterritoires.fr/index.php/en/add-orfeo-toolbox-to-qgis-3-x/ . Sadly, after installing Orfeo I could not find the PatchesExtraction process. Has the name been changed or has it been removed? The reason I want to use this plug in is to create a data set for Google vision AI deep learning.

If any one has any Idea how to get this task done please let me know.

Kind regards,
Thomas

According to https://mdl4eo.irstea.fr/2019/01/04/an-introduction-to-deep-learning-on-remote-sensing-images-tutorial/ the Patchesextraction tool is in a new remote module for OTB called OTBTF. I have found the module on github but haven’t the slightest idea of how to use it.

Hi Thomas,
In order to use applications provided in otbtf you must compile otb+otbtf from sources.
You can find build instructions in the readme.
There is also a dockerfile that builds everything for you (you must have docker installed, there is plenty of tutorials online how to build/use a docker image)

Hope that will help you :slight_smile:

Rémi