Property | Type | Description | |
---|---|---|---|
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 |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 |
return | 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 |
return | void |
public static Factory ( List |
||
files | List |
|
runOcr | bool | |
return | 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 |
return | List |
public GetBitmap ( Orientation orientation = Orientation.Regular ) : |
||
orientation | Orientation | Specific Orientation, regular or reversed, default is regular |
return |
public GetChamfer ( Direction direction, Orientation orientation = Orientation.Regular ) : int[] | ||
direction | Direction | |
orientation | Orientation | |
return | int[] |
public GetConvolution ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
direction | Direction | |
orientation | Orientation | |
return | double[] |
public GetLuminousity ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
direction | Direction | |
orientation | Orientation | |
return | double[] |
public GetSparsity ( Direction direction, Orientation orientation = Orientation.Regular ) : long | ||
direction | Direction | |
orientation | Orientation | |
return | long |
public GetThresholded ( Direction direction, Orientation orientation = Orientation.Regular ) : double[] | ||
direction | Direction | |
orientation | Orientation | |
return | double[] |
public static Load ( string filepath ) : |
||
filepath | string | filepath of the deserialized shred |
return |
public static Save ( |
||
shred | Shred Object | |
filename | string | Destination File path |
return | 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 |
return | System |
public ToJson ( JsonTextWriter writer ) : void | ||
writer | JsonTextWriter | |
return | void |
public VisualizeChamfers ( Direction direction, Orientation orientation = Orientation.Regular ) : void | ||
direction | Direction | Direction to be traced |
orientation | Orientation | Orientation to be traced |
return | void |
public VisualizeLuminousity ( Direction direction, Orientation orientation = Orientation.Regular ) : void | ||
direction | Direction | Direction to be traced |
orientation | Orientation | Orientation to be traced |
return | void |
public VisualizeThresholded ( Direction direction, Orientation orientation = Orientation.Regular ) : void | ||
direction | Direction | Direction to be traced |
orientation | Orientation | Orientation to be traced |
return | void |
public static double[] ConvolutionKernel | ||
return | double[] |