ilVecc/ComputerVision

'StitchingMethod' object has no attribute 'mosaic_mask'

Opened this issue · 1 comments

File "H:\Panorama\ImageStitching\stitching\stitcher_classes.py", line 245, in __call__
  ref__mosaic_mask_in_patch = self.mosaic_mask[patch_y_range_wrt_mosaic, patch_x_range_wrt_mosaic]
AttributeError: 'StitchingMethod' object has no attribute 'mosaic'

//help //help //help

Due to non-initialization or it's something else. I have initialized this but error is there...

please resolve this issue.
will be very thankful....

Hi, thanks for reporting this issue.

The code on this repo is very WIP and unstable and you are probably running a broken commit since the line you mention is a comment and the mosaic attribute is not present in the line you sent.
Anyway, I'm working on some fixes now so in a few hours/days you might see a new commit.

By the way, if you need to stitch some photos I suggest you use Hugin, which is way better than this university project. If instead, you are trying to skip your school/uni duties, I suggest you to start writing your own code, since you'll learn nothing here just cloning my repo ;)