I have a PCI-E capture card, and I have to use APIs for it supplied by the manufacturer. They provide prebuilt .lib and .dll file. How can I use it in Golang? Or is it possible to get the output of capture card by using GOCV?
There three ways:
I would use the first. They are all documented in https://github.com/golang/go/wiki/WindowsDLLs with examples.
You can also look on Github for examples by searching for syscall.syscall9.
If your machine has the drivers and it’s openCV compatible you could use GOCV to capture data.