Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Implementation Question: How to create bounding boxes around answers on worksheets

I've played around with template matching to try to standardize the submitted assignment versus the template assignment but its not quite getting the job done well and reliably. I've also experimented with keypoint detection but I believe that approach is way overkill for my use case.

Here is an example image of the TEMPLATE:

And a sample image I'm trying to match against:

What would be the best approach in terms of normalizing the sample image (scaling, deskewing), subtracting out the template image, and be left with the remaining text?

Implementation Question: How to create bounding boxes around answers on worksheets

I've played around with template matching to try to standardize the submitted assignment versus the template assignment but its not quite getting the job done well and reliably. I've also experimented with keypoint detection but I believe that approach is way overkill for my use case.

Here is an example image of the TEMPLATE:

And a sample image I'm trying to match against:

What would be the best approach in terms of normalizing the sample image (scaling, deskewing), subtracting out the template image, and be left with the remaining text?