Accord.Video.DirectShow doesn't work with usb camera on Windows 10
What would you like to submit? (put an 'x' inside the bracket that applies)
- [ ] question
- [x] bug report
- [ ] feature request
Issue description This code from Accord.Video.DirectShow doesn't work with usb camera on Windows 10.
var devices = new FilterInfoCollection(FilterCategory.VideoInputDevice);
var cVideoCaptureDevice = new VideoCaptureDevice(devices[0].MonikerString);
cVideoCaptureDevice.NewFrame += getFrame;
cVideoCaptureDevice.Start();
After Start method is called IsRunning property equals true, but NewFrame event never triggers.
var isRunning = cVideoCaptureDevice.IsRunning; // true
I have this same issue, using 3.8.0 out of Nuget
- The camera works if the project is built with "Any CPU"
- The camera does not work if the project is built with x64.
Accord.Video.DirectShow doesn't work with usb camera on Windows 10. I have this same issue, using 3.8.0 out of Nuget and .net 4.0, on Microsoft Visual Studio Community 2019. All build type, x86, Any CPU, Mixed Platforms do not work.
NewFrameEvent and VideoSourceErrorEvent never been triggered.