Skip to content

This repo provides a WPF sample that integrates facial recognition into an OpenTok call using EmguCV

License

Notifications You must be signed in to change notification settings

opentok-community/wpf-facial-detection

Repository files navigation

WPF Facial Detection

This project uses the custom video renderer features in the OpenTok Windows SDK. With it you'll be able to add your first bit of Computer Vision to your application - facial detection

Important: To use this application, follow the instructions in the Quick Start section of the main README file for this repository.

Quick Start

  1. Get values for your OpenTok API key, session ID, and token.

    You can obtain these values from your TokBox account. Make sure that the token isn't expired.

    For testing, you can use a session ID and token generated at your TokBox account page. However, the final application should obtain these values using the OpenTok server SDKs. For more information, see the OpenTok developer guides on session creation and token creation.

  2. In Visual Studio, open the .sln solution file for the sample app you are using CustomVideoRenderer.sln

  3. Open the MainWindow.xaml.cs file for the app and edit the values for API_KEY, SESSION_ID, and TOKEN to match API key, session ID, and token data you obtained in step 1.

NuGet automatically installs the OpenTok SDK when you build the project.

Test on non-development machines: OpenTok SDK includes native code that depends on Visual C++ Redistributable for Visual Studio 2015. It's probably already installed on your development machine but not on test machines. Also, you may need 32-bit version even if all your code is AnyCPU running on a 64-bit OS.

EMGU CV Licence

Please read the Emgu Cv Licence They have a dual licence system for Open Source vs Commercial Closed Source.

About

This repo provides a WPF sample that integrates facial recognition into an OpenTok call using EmguCV

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages