This part lists several basic Emgu troubleshooting steps.
One of the most common issues is The type initializer for 'Emgu.CV.CvInvoke' threw an exception as shown in the following screenshot:
If you see this exception, please check the following:
- Make sure you have installed the MS Visual C++ Redistributable Package. If you haven't, go to the Emgu CV folder and open
vcredist_x86.exe (for 32-bit OS) or
vcredist_x64.exe (for 64-bit OS).
- Make sure you have copied all the OpenCV DLLs to the execution directory.
- Make sure you are doing everything right with the 32-bit or 64-bit Windows. If you are running 64-bit Windows, make sure you ...