Skip to content

Commit

Permalink
feat(app): Add ML Kit Model
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstelzer committed Nov 1, 2018
1 parent b1e08a4 commit 29c5824
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions model/ml-kit.model.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export interface MlKitText {
text: string;
textBlocks: MlKitTextBlock[];
}

export interface MlKitTextBlock {
boundingBox: MlKitBoundingBox;
lines: {
boundingBox: MlKitBoundingBox;
text: string;
}
text: string;
}

export interface MlKitBoundingBox {
left: number;
right: number;
top: number;
bottom: number;
}

0 comments on commit 29c5824

Please sign in to comment.