Handling errors in HSI

15 views
Skip to first unread message

maris

unread,
Nov 1, 2021, 4:55:18 AM11/1/21
to hugin and other free panoramic software
Hi there, i'm experimenting with HSI python interface and i'm trying to automate the panorama stitching process. One of my biggest fears now is debugging. 

For example, doing something in wrong order (editing image after it is added to panorama)
1) p = hsi.Panorama()
2) img = hsi.SrcPanoImage()
3) p.addImage(le_img)
4) img.setYaw(yaw)

in this example lines 3 and 4 should be swapped in order. However, the program just exits, without showing any errors. Is there any way to get some info from swig or c++ backend where / why the error was caused? Thanks
Reply all
Reply to author
Forward
0 new messages