Windows SDK Installation

Ensure that you have C# 7.0 and the .Net 4.6.2 or newer framework installed before you begin working with the SDK. Microsoft Visual Studio 2017 or newer is strongly recommended.

Also note that the SDK supports 64-bit x86 CPUs only. Make sure you select the x64 configuration in the configuration pop-up menu. You may have to create a x64 configuration in the configuration manager if the project doesn't already contain one.

SDK Installation

Install the SAFR SDK and create a Visual Studio project by doing the following:

  1. The SDK is distributed as a .zip file containing documentation, samples, and a NuGet package that makes it easy to add the SDK to your project.
    • Create a SAFR Account and download the SAFR Windows SDK from the Download Portal.
    • Unzip the SDK.
  2. Create a project in Visual Studio.
  3. Change project build configuration from Any CPU to x64. Applications that want to use the SAFR SDK have to be built for the x64 CPU architecture. Neither "Any CPU" nor "x86" are supported.
    • Open the Build Configuration Manager (Build > Configuration Manager).
    • In the Platform list box for your project, select <New…>.
    • Select x64 for the platform and Any CPU for the Copy Settings From listbox.
    • Click OK, and select the x64 Platform the Solution Platform Build listbox.
  4. Install the SAFR SDK NuGet package:
    • In Visual Studio, open the Package Manager console (Tools > NuGet Package Manager).
    • Run Install-Package C:\ArgusSDK\nu-package\RealNetworks.Argus.SDK.<SDK Version Number>.nupkg to install the standard SDK package. To install the Lite SDK package, replace .Argus. with .Argus.Lite.
  5. Update the post build step to copy face detector dependencies to the output folder.
    • Copy the following code for the standard SDK package:

      copy $(SolutionDir)packages\RealNetworks.Argus.SDK.<SDK Version number>\content\bin\$(PlatformName)\$(ConfigurationName) $(TargetDir)
      

      For the Lite SDK package, replace .Argus. with .Argus.Lite.

See Also