Skip to content

Commit

Permalink
Remove Ink Recognizer Explorer demo based on service retirement on Ja…
Browse files Browse the repository at this point in the history
…nuary 31, 2021 (microsoft#107)
  • Loading branch information
Albert Davletov authored Sep 11, 2020
1 parent e257929 commit f9726de
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 2,249 deletions.
17 changes: 0 additions & 17 deletions Documentation/InkRecognizerExplorer.md

This file was deleted.

Binary file removed Documentation/InkRecognizerExplorerFormFiller.png
Binary file not shown.
Binary file removed Documentation/InkRecognizerExplorerInkMirror.png
Binary file not shown.
Binary file removed Kiosk/Assets/InkRecognizerExplorer.png
Binary file not shown.
Binary file removed Kiosk/Assets/InkRecognizerSampleInstructions.gif
Binary file not shown.
17 changes: 0 additions & 17 deletions Kiosk/CognitiveServiceApiKeyTester.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Windows.Data.Json;
using Windows.Foundation;
using Windows.UI.Input.Inking;

namespace IntelligentKioskSample
{
Expand Down Expand Up @@ -247,20 +244,6 @@ private static async Task<HttpResponseMessage> RequestAndAutoRetryWhenThrottled(

return response;
}

public static async Task TestInkRecognizerApiKeyAsync(string key)
{
if (string.IsNullOrEmpty(key))
{
throw new ArgumentException("Invalid API Key");
}

var inkRecognizer = new ServiceHelpers.InkRecognizer(key);

JObject json = inkRecognizer.ConvertInkToJson();
var response = await inkRecognizer.RecognizeAsync(json);
response.EnsureSuccessStatusCode();
}
}

class ApiKeyServiceClientCredentials : ServiceClientCredentials
Expand Down
28 changes: 0 additions & 28 deletions Kiosk/IntelligentKioskSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,11 @@
</PropertyGroup>
<ItemGroup>
<Content Include="Assets\FormsRecognizer.jpg" />
<Content Include="Assets\InkRecognizerExplorer.png" />
<Content Include="Assets\AnomalyDetector.png" />
<Content Include="Assets\AnomalyDetector\BikeSharing.png" />
<Content Include="Assets\AnomalyDetector\LiveSound.png" />
<Content Include="Assets\AnomalyDetector\Manufacturing.jpg" />
<Content Include="Assets\AnomalyDetector\Telcom.png" />
<Content Include="Assets\InkRecognizerSampleInstructions.gif" />
<Content Include="Assets\InsuranceClaimAutomation.jpg" />
<Content Include="Assets\InsuranceClaimAutomation\icon-F780-64.jpg" />
<Content Include="Assets\RealtimeObjectDetection.png" />
Expand Down Expand Up @@ -247,8 +245,6 @@
</Compile>
<Compile Include="Models\BaseViewModel.cs" />
<Compile Include="Models\CustomVisionModelData.cs" />
<Compile Include="Models\InkRecognizerExplorer\InkResponse.cs" />
<Compile Include="Models\InkRecognizerExplorer\InkRecognitionUnit.cs" />
<Compile Include="Models\InsuranceClaimAutomation\DataModel.cs" />
<Compile Include="Models\Platform.cs" />
<Compile Include="Models\TabHeader.cs" />
Expand Down Expand Up @@ -325,12 +321,6 @@
<Compile Include="Views\FormRecognizer\InitialView.xaml.cs">
<DependentUpon>InitialView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\InkRecognizerExplorer\InkRecognizerExplorer.xaml.cs">
<DependentUpon>InkRecognizerExplorer.xaml</DependentUpon>
</Compile>
<Compile Include="Views\InkRecognizerExplorer\FormFiller.xaml.cs">
<DependentUpon>FormFiller.xaml</DependentUpon>
</Compile>
<Compile Include="Views\InsuranceClaimAutomation\DetailsViewControl.xaml.cs">
<DependentUpon>DetailsViewControl.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -377,9 +367,6 @@
<Compile Include="Controls\ImageSearchUserControl.xaml.cs">
<DependentUpon>ImageSearchUserControl.xaml</DependentUpon>
</Compile>
<Compile Include="Views\InkRecognizerExplorer\InkMirror.xaml.cs">
<DependentUpon>InkMirror.xaml</DependentUpon>
</Compile>
<Compile Include="Views\TranslatorExplorer\AlternativeTranslationsControl.xaml.cs">
<DependentUpon>AlternativeTranslationsControl.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -657,14 +644,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\InkRecognizerExplorer\InkRecognizerExplorer.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\InkRecognizerExplorer\FormFiller.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\InsuranceClaimAutomation\DetailsViewControl.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -721,10 +700,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\InkRecognizerExplorer\InkMirror.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\TranslatorExplorer\AlternativeTranslationsControl.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -795,9 +770,6 @@
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.2</Version>
</PackageReference>
<PackageReference Include="Win2D.uwp">
<Version>1.23.0</Version>
</PackageReference>
<PackageReference Include="WriteableBitmapEx">
<Version>1.6.2</Version>
</PackageReference>
Expand Down
87 changes: 0 additions & 87 deletions Kiosk/Models/InkRecognizerExplorer/InkRecognitionUnit.cs

This file was deleted.

49 changes: 0 additions & 49 deletions Kiosk/Models/InkRecognizerExplorer/InkResponse.cs

This file was deleted.

Loading

0 comments on commit f9726de

Please sign in to comment.