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