Skip to content
Advertisement

Tag: opencv

Flipping an image vertically in Python without using flip() method

I’m trying to flip an image vertically without using any default flip() or similar functions.I tried to iterate along the pixels and by using loops tried to reverse it so i can flip the image vertically. But the flipped image is looking like this: https://ibb.co/KKVkd2d What am i doing wrong? Answer To flip vertically you have to reverse rows in

Advertisement