|
| 1 | +--- |
| 2 | +layout: default-layout |
| 3 | +title: BufferedCharacterItem Class - Dynamsoft Label Recognizer Module Java Edition API Reference |
| 4 | +description: Definition of the BufferedCharacterItem class in Dynamsoft Label Recognizer Module Java Edition. |
| 5 | +keywords: BufferedCharacterItem |
| 6 | +--- |
| 7 | + |
| 8 | +# BufferedCharacterItem |
| 9 | + |
| 10 | +The `BufferedCharacterItem` class represents a buffered character item recognized by the library. |
| 11 | + |
| 12 | +## Definition |
| 13 | + |
| 14 | +*Package:* com.dynamsoft.dlr |
| 15 | + |
| 16 | +```java |
| 17 | +public class BufferedCharacterItem |
| 18 | +``` |
| 19 | + |
| 20 | +## Methods |
| 21 | + |
| 22 | +| Method | Description | |
| 23 | +|----------------------|-------------| |
| 24 | +| [`getCharacter`](#getcharacter) | Gets the buffered character value. | |
| 25 | +| [`getImage`](#getimage) | Gets the image data of the buffered character. | |
| 26 | +| [`getFeatures`](#getfeatures) | Gets all the features formatted with id and value of the buffered character. | |
| 27 | + |
| 28 | +### getCharacter |
| 29 | + |
| 30 | +Gets the buffered character value. |
| 31 | + |
| 32 | +```java |
| 33 | +public char getCharacter() |
| 34 | +``` |
| 35 | + |
| 36 | +**Return Value** |
| 37 | + |
| 38 | +Returns the buffered character value. |
| 39 | + |
| 40 | +### getImage |
| 41 | + |
| 42 | +Gets the image data of the buffered character. |
| 43 | + |
| 44 | +```java |
| 45 | +public ImageData getImage() |
| 46 | +``` |
| 47 | + |
| 48 | +**Return Value** |
| 49 | + |
| 50 | +Returns the image data of the buffered character. |
| 51 | + |
| 52 | +**See Also** |
| 53 | + |
| 54 | +[ImageData]({{ site.dcvb_java_api }}core/basic-classes/image-data.html) |
| 55 | + |
| 56 | +### getFeatures |
| 57 | + |
| 58 | +Gets all the features formatted with id and value of the buffered character. |
| 59 | + |
| 60 | +```java |
| 61 | +public HashMap<Integer, Float> getFeatures() |
| 62 | +``` |
| 63 | + |
| 64 | +**Return Value** |
| 65 | + |
| 66 | +Returns all the features as a HashMap where keys are feature IDs and values are feature values. |
| 67 | + |
| 68 | +**See Also** |
| 69 | + |
| 70 | +[ImageData]({{ site.dcvb_java_api }}core/basic-classes/image-data.html) |
| 71 | + |
| 72 | +### getFeatures |
| 73 | + |
| 74 | +Gets all the features formatted with id and value of the buffered character. |
| 75 | + |
| 76 | +```java |
| 77 | +public HashMap<Integer, Float> getFeatures() |
| 78 | +``` |
| 79 | + |
| 80 | +**Return Value** |
| 81 | + |
| 82 | +Returns all the features as a HashMap where keys are feature IDs and values are feature values. |
| 83 | + |
| 84 | + |
0 commit comments