This project contains a program to combine images of two people taken at the same location with similar perspectives to obtain a single image that contains both people. It is achieved using python with the help of opencv.
Documentation of the project can be found here.
Presentation for the final evals can be found here
- Install python 3 (version
$\geq$ 3.9) from here
- Clone and enter into this repository with the command
git clone https://github.com/Digital-Image-Processing-IIITH/dip-m22-project-big-dipper-22.git
cd dip-m22-project-big-dipper-22
-
Download the test images and outputs from here and extract it to the
data
directory in the cloned repository -
Create and activate a python virtual environment inside the repository using
python -m venv .venv
./.venv/scripts/activate
- To download all the required python modules, run
pip install -r requirements.txt
- The project code is in the notebook
/src/full_new.ipynb
- Replace the variable
image_num
with numbers1-15
in the notebook to run any desired image. - The output will be shown at the end of the notebook and is also exported to
data/outs/image_num.jpg
Inputs:
Output: Perspective warping fails in the above case since the background does not have enough texture.
Team name: Big Dipper Team members:
- Maulesh Gandhi - 2020112009
- Sankeerthana Venugopal - 2020102008
- Sreenya Chitluri - 2020102065
- Tejah S S - 2020112028
- [1] FriendBlend: The paper that we tried to replicate
- [2] OpenCV Documentation: The library used for image processing
- [3] Python: The programming language used
- [4] StackOverflow: The website that helped us with the code