Skip to content

Commit

Permalink
scalefactor removed
Browse files Browse the repository at this point in the history
  • Loading branch information
brunsgaard committed Mar 18, 2019
1 parent 01429f9 commit f158b90
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 60 deletions.
62 changes: 24 additions & 38 deletions gen/go/ssn/ocrservice/v1/ocrservice.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions gen/go/ssn/ocrservice/v1/ocrservice.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 7 additions & 14 deletions gen/python/ssn/ocrservice/v1/ocrservice_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions proto/ssn/ocrservice/v1/ocrservice.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ message OcrScanImageRequest {

message OcrScanImageResponse {
string tess_hocr = 1;
// Aspect ratio is kept, but image might have been resized before
// text annotation was done, boundary polygons should be multiplied
// with the scale factor to get the position of the polygon on the
// original image
double scale_factor = 2;
// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol
google.cloud.vision.v1.TextAnnotation text_annotation = 3;
google.cloud.vision.v1.TextAnnotation text_annotation = 2;
}

0 comments on commit f158b90

Please sign in to comment.