'Zooming functionality in OpenCV imshow in ubuntu

In Ubuntu, OpenCV's imshow function has a window where different options such as zoom in, zoom out, pan window, etc, are available by python, like this:

enter image description here

Why doesn't that exist in the C + + version?



Solution 1:[1]

You need Qt GUI. You can check this solution.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 xinyu