Skip to content

Processing Results from PDF Scanning #2

@pecknigel

Description

@pecknigel

I'm trying to make use of this and may be missing something. I get:

TypeError: Cannot read property '0' of undefined
    at init (.../node_modules/line-segmentation-gcp-vision-ocr/index.js:12:37)

It seems that it is looking for data.textAnnotations[0] but the data I'm getting back from GC Vision is structured as:

{ fullTextAnnotation: [Object], context: [Object] }

Has the data format changed? Am I missing something here?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions