Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot visualize AnalyzeID documents #123

Closed
ThomasDelteil opened this issue Nov 4, 2022 · 1 comment · Fixed by #125
Closed

Cannot visualize AnalyzeID documents #123

ThomasDelteil opened this issue Nov 4, 2022 · 1 comment · Fixed by #125
Assignees
Labels
bug Something isn't working

Comments

@ThomasDelteil
Copy link
Collaborator

ThomasDelteil commented Nov 4, 2022

import textractor
from textractor import Textractor
extractor = Textractor(profile_name="default")
document = extractor.analyze_id(
    file_source='./id.png',
)
document.visualize()
[]
@Belval
Copy link
Contributor

Belval commented Nov 4, 2022

Words not being added to the document object is a bug, but the fields themselves are not tied to words/lines.

{
    'Type': {
        'Text': 'DOCUMENT_NUMBER'
    },
    'ValueDetection': {
        'Text': '736HDV7874JSB',
        'Confidence': 94.3311767578125
    }
}

@Belval Belval self-assigned this Nov 4, 2022
@Belval Belval added the bug Something isn't working label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants