Task-4 OpenCV Image Processing
Task Description:
- Create an image by yourself using Python code.
- Crop some parts from two images and swap them.
- Take two images and combine it to form a single image.
STEP 1:
Creating an image using Python code. For this showing the color code supported by the OpenCV library.
Code snippet
Generated image
STEP 2:
Cropping parts from both image and swapping it.
Code snippet
Generated images
STEP 3:
Taking two images and combining them to form a single image.
Code snippet
Generated image- combining images horizontally.
Generated image- combining images vertically.
Thank You.