Emgu TF Download And Installation

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Revision as of 16:12, 3 April 2020 by Canming (talk | contribs) (Created page with "==Windows== ===Nuget=== Using nuget package manager is probably the easiest way to include Emgu TF library in your project. ====Open Source Release==== *From your project, ri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Windows

Nuget

Using nuget package manager is probably the easiest way to include Emgu TF library in your project.

Open Source Release

  • From your project, right click on "References" and select "Manager Nuget Packages..." option. It will open up nuget package manager. In package source, make sure that "nuget.org" is selected. (If you are using the commercial release, please check the instruction in the commercial download area for instructions to setup the commercial release nuget repository.)
Emgu TF
  • Under "Browse", enter the search text "emgu.tf.runtime" and you should be able to find the Emgu.TF.runtime.windows nuget package.

Please make sure the package is created by "Emgu Corporation" for the official release.

  • Click the "Install" button. Nuget will download Emgu.TF.runtime.windows and configure the project for you.
Emgu TF Lite
  • Under "Browse", enter the search text "emgu.tf.lite.runtime" and you should be able to find the Emgu.TF.Lite.runtime.windows nuget package.

Please make sure the package is created by "Emgu Corporation" for the official release.

  • Click the "Install" button. Nuget will download Emgu.TF.Lite.runtime.windows and configure the project for you.

Commercial Release

  • If you are using the commercial release, please check the instruction in the commercial download area for instructions to setup the commercial release nuget repository.
  • Commercial release download link can be found in the "Download Instructions" at the bottom of your purchase complete page. It is also available on the product delivery email, under the "CUSTOMER SERVICE" session, it appears as a link under "Your Order Data". Please click on the link to access the Commercial release download session.
  • If you have the Professional / Ultimate license. The instruction can be found in "windows/nuget.txt" file.
  • If you have the Windows only license. The instructions can be found in "nuget.txt" file
  • Once the commercial nuget repository is set up, you can browse it, there should be serveral packages: Emgu.TF.runtime.windows-CR is the commercial release runtime of TF without CUDA; Emgu.TF.runtime.windows.cuda-CR is the commercial release runtime of TF with CUDA support. Emgu.TF.Lite.runtime.windows-CR is the commercial release runtime of TF Lite.
  • Click the "Install" button. Nuget will download Emgu commercial release and configure the project for you.

The type initializer for 'Emgu.TF.TfInvoke' threw an exception.

If you see this exception, please check the following

Are you missing any dependency?

Download Dependency Walker and use it to open the "tfextern.dll" or "tfliteextern.dll" file. Check if any dependency is missing.