Skip to content

Commit

Permalink
Forms:
Browse files Browse the repository at this point in the history
- Updated the DetectDocumentQuality result paramter.
  • Loading branch information
scan-mayank committed Feb 27, 2024
1 parent edc93e8 commit 1775590
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Scanbot.SDK.Example.Forms/MainPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ async void ScanningUIClicked(object sender, EventArgs e)

// If encryption is enabled, load the decrypted document.
// Else accessible via page.Document
var blur = await SBSDK.Operations.DetectDocumentQualityAsync(await page.DecryptedDocument());
//var blur = await SBSDK.Operations.EstimateBlurriness(page.Document);
Console.WriteLine("Estimated blurriness for detected document: " + blur);
var quality = await SBSDK.Operations.DetectDocumentQualityAsync(await page.DecryptedDocument());
Console.WriteLine("Estimated quality for detected document: " + quality);
}

await Navigation.PushAsync(new ImageResultsPage());
Expand Down

0 comments on commit 1775590

Please sign in to comment.