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

[Enhancement] Printing summary texts on Checked OMR images #194

Open
Udayraj123 opened this issue Jul 6, 2024 · 0 comments
Open

[Enhancement] Printing summary texts on Checked OMR images #194

Udayraj123 opened this issue Jul 6, 2024 · 0 comments

Comments

@Udayraj123
Copy link
Owner

This issue extends #156

  • Currently printing score and answers_summary on the final image

Provide access to omr response in printing

We can also pass **omr_response in a new format string that can help us print custom_labels etc on the image.

Support custom colors

We can take custom colors and thickness for each summary text in a font object

Support for new lines in the texts

cv2 putText doesn't seem to support newlines by default
We can use this answer as a util: https://stackoverflow.com/a/73471951/6242649

Handling custom page_dimensions

using "page_dimensions" in evaluation.json will not work currently because all bubble positions are relative to template.pageDimensions
We can use a transformation matrix to map all the field bubbles to the resized page dimensions

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

No branches or pull requests

1 participant