kostovaelena / Python-Image-Stitching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Stitching in Python

Setup

  • Install Python 3.7.6
  • Install PyCharm
  • In Command Prompt type:
python -m pip install numpy
python -m pip install opencv-python
pip install matplotlib
pip install opencv-contrib-python==3.4.2.16
pip install imutils
  1. Open the file "image_stitching.py" in PyCharm
  • Open Command Prompt and go to the folder where the project is saved, using "cd"
  • Type:
python image_stitching.py
  1. Open the file "image_stitching_multiple_pics.py" in PyCharm
  • Open Command Prompt and go to the folder where the project is saved, using "cd"
  • Type:
python image_stitching_multiple_pics.py --images images --output image_output.jpg

"--images images" means that all images will be taken from the folder named "images"
"--output image_output.jpg" means that the resulting stitched image will be written in "image_output.jpg" format

About


Languages

Language:Python 100.0%