Skip to content
This repo provides a WPF sample that integrates facial recognition into an OpenTok call using EmguCV
C#
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Properties
Themes
.gitignore
App.config
App.xaml
App.xaml.cs
CustomVideoRenderer.csproj
CustomVideoRenderer.sln
License-LGPL.txt
MainWindow.xaml
MainWindow.xaml.cs
README.md
SampleVideoRenderer.cs
haarcascade_frontalface_default.xml
haarcascade_profileface.xml
packages.config

README.md

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.

You can’t perform that action at this time.