WillBrennan / ImageStitching

Conducts image stitching upon an input video to generate a panorama in 3D
272 stars 58 forks source link

error when running program #7

Closed akshayacharya97 closed 3 years ago

akshayacharya97 commented 3 years ago

When i execute the video stitch program from termincal , the following error comes. Wha should I do?

/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import fnmatch, glob, traceback, errno, sys, atexit, locale, imp Traceback (most recent call last): File "image_stitching.py", line 12, in import image_stitching File "/home/akshay/VideoStitcher/image_stitching/init.py", line 5, in from matching import * AttributeError: module 'matching' has no attribute 'Matching'

WillBrennan commented 3 years ago

Hi;

It looks like this is where the project was written for python 2 instead of python 3, the import syntax is now,

from .matching import * 

. It should be a really simple change and it'd be much appreciated if you could make a PR?

akshayacharya97 commented 3 years ago

Hello, I have a question. I want to create a panorama from around 30 to 40 images obtained from frames of a video. The video is obtained by linearly moving and capturing the subject. The frames are pretty close and has a good overlap. Now what is the best way to create a long panorama of this?