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

Address sometimes parsed as two separate parts #32

Open
lukevanin opened this issue Mar 20, 2017 · 1 comment
Open

Address sometimes parsed as two separate parts #32

lukevanin opened this issue Mar 20, 2017 · 1 comment
Labels
Projects

Comments

@lukevanin
Copy link
Owner

lukevanin commented Mar 20, 2017

Occurs when the scanned text data contains recognisable address data interleaved with other data. The app does not recognise that the two parts of data are related.

The addresses should be merged into a single entity. Separate addresses should stay disjointed.

Possible solutions:

  1. Use coordinate proximity to determine relationship.
  2. Merge by matching data with corresponding missing fields. E.g. If A has a street but no country, and B has a country but no street, then the addresses can be merged.

This may be resolved using Microsoft Vision API which groups information differently.

Alternatively, allow user to select addresses to merge. Use case:

  1. Tap on address.
  2. Tap merge button on context menu.
  3. List of all other addresses appears.
  4. Tap address to merge into.
  5. Show preview of merged address. Corresponding fields which both contain content are concatenated. Alternatively user can control the field merging by selecting the fields to be included.
  6. A new object is created with the merged data. The merged objects are deleted.
@lukevanin lukevanin created this issue from a note in OCRAI (TODO) Mar 20, 2017
@lukevanin lukevanin added the bug label Mar 20, 2017
@lukevanin lukevanin added this to the Second release milestone Mar 20, 2017
@lukevanin
Copy link
Owner Author

Mostly resolved by using Microsoft Vision API for OCR instead of Google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
OCRAI
TODO
Development

No branches or pull requests

1 participant