C# Class VideoAPI_WPF_Samples.MotionDetectionPage

Inheritance: System.Windows.Controls.Page
Show file Open project: Microsoft/ProjectOxford-ClientSDK

Public Methods

Method Description
MotionDetectionPage ( ) : System

Private Methods

Method Description
DetectMotion ( string subscriptionKey, string originalFilePath ) : System.Threading.Tasks.Task
GetHighlights ( string json ) : IEnumerable

This method parses the JSON ouput, and converts to a sequence of time frames with highlight region. A full video highlight is created if there is motion detected in the frame.

LoadImageButton_Click ( object sender, RoutedEventArgs e ) : void

Method Details

MotionDetectionPage() public method

public MotionDetectionPage ( ) : System
return System