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

General result handling in ContentRecog #11555

Open
ShubhamJain7 opened this issue Sep 4, 2020 · 2 comments
Open

General result handling in ContentRecog #11555

ShubhamJain7 opened this issue Sep 4, 2020 · 2 comments

Comments

@ShubhamJain7
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The contentRecog module is currently only used by the OCR and so some of the code is written only to that end. The OCR presents its recognition result in a virtual window using the contentRecog/recogUi/RecogResultNVDAObject class whose instance is created and set to focus in by contentRecog/recogUi/_recogOnResult. contentRecog/recogUi/_recogOnResult is also, in part, responsible in ensuring multiple recognition processes aren't being run at the same time. This system works well for the OCR but is very limiting for use with any other recognizers that might want to present results differently.

Describe the solution you'd like

A more general approach where the author of the content recognition feature can define how to present recognition results while the the contentRecog module is only responsible for running and maintaining recognition processes.

@Adriani90
Copy link
Collaborator

I think this would probably improve significantly the flexibility of OCR results presentation. cc: @LeonarddeR

@Adriani90
Copy link
Collaborator

To be considered when implementing #17406.
cc: @josephsl, @CyrilleB79

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

No branches or pull requests

2 participants