This project demonstrates image scaling techniques using OpenCV and Matplotlib in Python. Specifically, it showcases zooming and scaling down of a K-Pop image.
- Original Image: The initial image loaded in RGB format.
- Zoomed Image: The image is enlarged by a factor of 3 using cubic interpolation.
- Scaled Image: The image is reduced to one-third of its original size using area interpolation.
- Python 3.x
- OpenCV
- NumPy
- Matplotlib
- Clone the repository.
- Install the required libraries using pip:
pip install
- Place your image in the specified directory (
./4minute/hyuna/95790_FBac.jpg
). - Run the script:
python your_script_name.py
The script generates a plot displaying the original image, the zoomed image, and the scaled image side by side.