RecognizeBubbleSheet
Presets.RecognizeBubbleSheet method
Recognize the bubble sheet generated with CreateBubbleSheet
method. To maintain consistency in form recognition, provide the same parameters as those in the CreateBubbleSheet
method.
public static string RecognizeBubbleSheet(string fullPath, int elementsCount, int columns,
int answersCount, string title = null, BubbleType bubbleType = BubbleType.Round,
BubbleSize bubbleSize = BubbleSize.Normal, GlobalPageSettings settings = null)
Parameter | Type | Description |
---|---|---|
fullPath | String | Relative or absolute path to the completed form image. |
elementsCount | Int32 | The total number of questions in the supplemental assessment. |
columns | Int32 | The number of columns the questions are arranged into. |
answersCount | Int32 | The total number of bubbles (answers) for each question. |
title | String | Title of the bubble sheet. |
bubbleType | BubbleType | Bubble style. |
bubbleSize | BubbleSize | Size of bubbles. |
settings | GlobalPageSettings | Page layout settings. |
Return Value
CSV-formatted content (question ID and answer)
Examples
var settings = new GlobalPageSettings() { PaperSize = PaperSize.Letter }
Presets.RecognizeBubbleSheet("response.png", 100, 3, 5, "100 Questions", BubbleType.Square, BubbleSize.ExtraLarge, settings);
See Also
- enum BubbleType
- enum BubbleSize
- class GlobalPageSettings
- class Presets
- namespace Aspose.OMR.Api
- assembly Aspose.OMR