Created
September 6, 2020 02:03
-
-
Save xximjasonxx/ea543401e7a1b050faf33b61e08591a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var computerVisionResults = await ProcessWithComputerVision(fileBlob, fileId); | |
// save the batch data | |
var batchOperation = new TableBatchOperation(); | |
computerVisionResults.ForEach(result => batchOperation.Insert(result)); | |
batchOperation.Insert(new OcrResult(fileId) { KeyName = FileLengthKeyName, OcrValue = fileBlob.Length.ToString(), OcrType = OcrType.None }); | |
var executeReslt = await ocrDataTable.ExecuteBatchAsync(batchOperation); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment