Skip to content

dof not working when stitching #15

Description

@laurenchen0631

dof algorithm will show an error on video1 on my macbook m1 Ventura.

# ...
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  5 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  5 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  5 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  4 had an illegal value
** On entry to DLASCL, parameter number  5 had an illegal value
go stitching ...
stitch Failed! error:  3
Traceback (most recent call last):
  File "/Users/lorne/programs/panoramaProject/main.py", line 132, in <module>
    main(args)
  File "/Users/lorne/programs/panoramaProject/main.py", line 106, in main
    cv2.imwrite("simplePanorama.jpg", sp.simpleStitch())
  File "/Users/lorne/programs/panoramaProject/StitchPanorama.py", line 41, in simpleStitch
    return prev
NameError: name 'prev' is not defined

My python version is 3.11.0, and downgrading 3.9.5 doesn't work as well.

For some input, the dof stitching will create the vertically inverted image.
simplePanorama

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions