gocv
gocv copied to clipboard
window resize on Windows
Description
gocv not respecting higui window properties on Windows. None of the WindowFlag values really keep the aspect ratio of the mat on ResizeWindow.
Steps to Reproduce
- create a window
- set WindowPropertyAspectRatio to WindowKeepRatio
- IMShow with a fixed size Mat
- Resize the generated window
- expect the resize to respect the aspect ratio of the content but it is always free resize
Your Environment
- Operating System and version: Win 10 64-bit
- OpenCV version used: 4.5.4
- How did you install OpenCV? win_build_opencv.cmd
- GoCV version used: 0.29.0
- Go version: 1.17.2
- Did you run the
env.sh
orenv.cmd
script before trying togo run
orgo build
? no