C# Class VisionAPI_WPF_Samples.TagsPage

Interaction logic for TagsPage.xaml
Inheritance: ImageScenarioPage
ファイルを表示 Open project: Microsoft/ProjectOxford-ClientSDK

Public Methods

Method Description
TagsPage ( ) : System

Protected Methods

Method Description
DoWork ( Uri imageUri, bool upload ) : System.Threading.Tasks.Task

Perform the work for this scenario

Private Methods

Method Description
GenerateTagsForUrl ( string imageUrl ) : Task

Sends a url to Project Oxford and generates tags for it

UploadAndGetTagsForImage ( string imageFilePath ) : Task

Uploads the image to Project Oxford and generates tags

Method Details

DoWork() protected method

Perform the work for this scenario
protected DoWork ( Uri imageUri, bool upload ) : System.Threading.Tasks.Task
imageUri System.Uri The URI of the image to run against the scenario
upload bool Upload the image to Project Oxford if [true]; submit the Uri as a remote url if [false];
return System.Threading.Tasks.Task

TagsPage() public method

public TagsPage ( ) : System
return System