hybridgroup / gocv

Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, OpenCV Contrib, and OpenVINO.
https://gocv.io
Other
6.74k stars 868 forks source link

Doesn't show or save any frames on Windows 10. #1245

Open noluvv opened 1 month ago

noluvv commented 1 month ago

Description

gocv doesn't show or save any frames. using "gocv.NewWindow()" just shows a black screen, and attempting to save any frames will result in an unusable video file.

Steps to Reproduce

  1. Download opencv 4.10.0
  2. Install gocv 0.39.0
  3. Try to run main.go file with gocv imported, get "exit status 0xc0000135" error code
  4. Add "C:\opencv\build\install\x64\mingw\bin" to system path
  5. Install opencv 4.10.0 using "win_build_opencv.cmd script"
  6. Try to run main.go file with gocv imported, see that the pop-up window just shows a black screen and that frames aren't recorded to video files.

Your Environment