O'Reilly logo

Emgu CV Essentials by Shin Shi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Troubleshooting

This part lists several basic Emgu troubleshooting steps.

Windows

One of the most common issues is The type initializer for 'Emgu.CV.CvInvoke' threw an exception as shown in the following screenshot:

Windows

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required