프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BUFFER | int | ||
Chamfer | List |
||
Convolution | List |
||
ConvolutionKernel | double[] | ||
Filepath | string | ||
Id | long | ||
Luminousity | List |
||
OCR_EMPTY_THRESHOLD | int | ||
Offsets | List |
||
SAMPLE_SIZE | int | ||
Sparsity | List |
||
THRESHOLD | double | ||
Thresholded | List |
메소드 | 설명 | |
---|---|---|
AddOcrData ( OcrData results ) : void |
Standard Add OCR will filter a shred if it is empty
|
|
AddOcrData ( OcrData results, long orienationConfidence, bool isUpsideDown ) : void |
Set OCR Results, and Orientation Confidence on an Object
|
|
Factory ( List |
||
Factory ( string prefix, string directory, bool runOcr = true ) : List |
Factory Method loads a bunch of shreds from a directory given a prefix to match
|
|
Flatten ( List |
||
GetBitmap ( Orientation orientation = Orientation.Regular ) : |
Load a bitmap image of the shred with a specific orientation
|
|
GetChamfer ( Direction direction, Orientation orientation = Orientation.Regular ) : int[] | ||
GetConvolution ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
GetLuminousity ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
GetSparsity ( Direction direction, Orientation orientation = Orientation.Regular ) : long | ||
GetThresholded ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
IsLeaf ( ) : bool | ||
Leaf ( ) : |
||
Left ( ) : INode | ||
LeftEdge ( ) : Edge | ||
LeftShred ( ) : |
||
Load ( string filepath ) : |
Deserialize binary shred on disk into memory
|
|
MatchData ( ) : |
||
Mirror ( ) : void | ||
OrphanChildren ( ) : void | ||
Parent ( ) : INode | ||
Parent ( INode parent ) : void | ||
Right ( ) : INode | ||
RightEdge ( ) : Edge | ||
RightShred ( ) : |
||
Root ( ) : INode | ||
Root ( INode representative ) : void | ||
Save ( |
Serialize Shred to binary file on disk
|
|
Shred ( string filepath, bool ignoreTopBottom = true ) : System |
Create a shred object given a filepath to a bitmap image
|
|
Size ( ) : int | ||
ToJson ( JsonTextWriter writer ) : void | ||
VisualizeChamfers ( Direction direction, Orientation orientation = Orientation.Regular ) : void |
Plots a trace of the Chamfering
|
|
VisualizeLuminousity ( Direction direction, Orientation orientation = Orientation.Regular ) : void |
Plots a trace of the Luminousity
|
|
VisualizeThresholded ( Direction direction, Orientation orientation = Orientation.Regular ) : void |
Plots a trace of the threshold
|
메소드 | 설명 | |
---|---|---|
Create ( string file, bool ignoreTopAndBottom = true ) : |
||
Index ( Direction direction, Orientation orientation ) : int |
Helper for converting Orientation + Direction into an index number
|
|
InitializeINode ( ) : void | ||
WriteLeaf ( |
public AddOcrData ( OcrData results ) : void | ||
results | OcrData | Shreds Ocr Data |
리턴 | void |
public AddOcrData ( OcrData results, long orienationConfidence, bool isUpsideDown ) : void | ||
results | OcrData | The Orientation Results from the OCR execution |
orienationConfidence | long | Absolute Orientation Confidence |
isUpsideDown | bool | Indicates if True orientation is different than the current |
리턴 | void |
public static Factory ( List |
||
files | List |
|
runOcr | bool | |
리턴 | List |
public static Factory ( string prefix, string directory, bool runOcr = true ) : List |
||
prefix | string | prefix to match within shred folder |
directory | string | path where folder is located |
runOcr | bool | Run Optical Character Recognition for Page Text and Orientation Detection |
리턴 | List |
public GetBitmap ( Orientation orientation = Orientation.Regular ) : |
||
orientation | Orientation | Specific Orientation, regular or reversed, default is regular |
리턴 |
public GetChamfer ( Direction direction, Orientation orientation = Orientation.Regular ) : int[] | ||
direction | Direction | |
orientation | Orientation | |
리턴 | int[] |
public GetConvolution ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
direction | Direction | |
orientation | Orientation | |
리턴 | double[] |
public GetLuminousity ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
direction | Direction | |
orientation | Orientation | |
리턴 | double[] |
public GetSparsity ( Direction direction, Orientation orientation = Orientation.Regular ) : long | ||
direction | Direction | |
orientation | Orientation | |
리턴 | long |
public GetThresholded ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
direction | Direction | |
orientation | Orientation | |
리턴 | double[] |
public static Load ( string filepath ) : |
||
filepath | string | filepath of the deserialized shred |
리턴 |
public static Save ( |
||
shred | Shred Object | |
filename | string | Destination File path |
리턴 | void |
public Shred ( string filepath, bool ignoreTopBottom = true ) : System | ||
filepath | string | destination path of the shred image |
ignoreTopBottom | bool | Default is true, set to false to scan top and bottom aswell |
리턴 | System |
public VisualizeChamfers ( Direction direction, Orientation orientation = Orientation.Regular ) : void | ||
direction | Direction | Direction to be traced |
orientation | Orientation | Orientation to be traced |
리턴 | void |
public VisualizeLuminousity ( Direction direction, Orientation orientation = Orientation.Regular ) : void | ||
direction | Direction | Direction to be traced |
orientation | Orientation | Orientation to be traced |
리턴 | void |
public VisualizeThresholded ( Direction direction, Orientation orientation = Orientation.Regular ) : void | ||
direction | Direction | Direction to be traced |
orientation | Orientation | Orientation to be traced |
리턴 | void |