Thank you all for the information and quick response! So I understand now that I was not installing HSI correctly. I had installed a Flatpak pre-compiled version that was apparently not installing HSI: I used the `sudo apt install hugin` from Mint (21). So I decided to build hugin myself. I followed instructions from https://wiki.panotools.org/Hugin_Compiling_Ubuntu to try to build it but instructions are a bit outdated there.
*Is there a more indicated url to build Hugin from source?* Please find below the notes I took during my tentative of build: Below line is not correct anymore: sudo echo 'deb-src ftp://ftp.at.debian.org/debian ../project/experimental main' > /etc/apt/sources.list.d/debian-experimental.list I also had difficulties with Vigra, I replaced part: cd ~/src wget http://hci.iwr.uni-heidelberg.de/vigra/vigra-1.9.0-src.tar.gz tar -zxvf vigra-1.9.0-src.tar.gz cd vigra-1.9.0 by the below: cd ~/src git clone https://github.com/ukoethe/vigra.git cd vigra So that I had "recent" Vigra. Mamy a not-so-good idea but worth a try... But then, later when I `cmake ../hugin.hg [...]` it's failing with: -- VIGRA version: 1.11.1 CMake Error at CMakeModules/FindVIGRA.cmake:78 (MESSAGE): Libvigraimpex found. But vigraimpex seems to compiled without OpenEXR support. OpenEXR support is required for Hugin. Call Stack (most recent call first): CMakeLists.txt:226 (FIND_PACKAGE) [image: cmake_..._hugin.hg.png] Le dimanche 30 octobre 2022 à 13:24:57 UTC+1, T. Modes a écrit : > Thomas B. schrieb am Sonntag, 30. Oktober 2022 um 11:38:38 UTC+1: > >> Hello all, >> >> I have some Python scripts for automated panorama creation. Those are >> relying on HSI (Hugin Scripting Interface). But since I installed a new >> machine, I was not able to make passing "pip install hsi": no matter what I >> tried (installing opencv, building it from source, ...) installation always >> fails with : >> src/classifiedhsimage.h:7:10: fatal error: opencv2/core.hpp: No such file >> or directory >> >> pip install hsi installs another program: https://pypi.org/project/HSI/ > Hugins scripting interface does not use opencv. Also the mentioned file is > not part of Hugin. > You have probably to install Hugin via the package manager of your > distribution (or compile and install from source) and not via pip. > > Thomas > > PS: PTBatcherGUI has already some feature for automatic processing also of > folders. > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/20764142-5ea7-4713-ba8b-120bca3913d6n%40googlegroups.com.
