Create a page that lets the user change the parameters of the digitization without having to re-start the server. An HTML mockup of this page can be found in backend/templates/settings.html. We'll need turn some of the underlying hardcoded variables into parameters to the functions that use them in order to implement this.
The settings we had in mind are:
number of seconds between captured frames
number of good frames to capture
alignment scores threshold (~40, where lower scores are more strict)
blurriness (two thresholds, min and max)
confidence (i.e. how much more filled in the chosen box is compared to the next most filled in box, currently around 10%)
exposure (this is a static threshold for determining whether to make a pixel black or white before doing pixel counting...we could also consider removing this parameter and just determining the checked box by overall score summed up score (!) (!) (!) < this could help a lot)...alternatively we could make this threshold dynamic based on the # of total black pixels in the reference image
Create a page that lets the user change the parameters of the digitization without having to re-start the server. An HTML mockup of this page can be found in
backend/templates/settings.html
. We'll need turn some of the underlying hardcoded variables into parameters to the functions that use them in order to implement this.The settings we had in mind are: