improve qr detection #17

Open
opened 2023-03-23 16:38:26 -04:00 by hz · 1 comment

more exams are slipping through with undetected qr codes than i might like. i had played around with contrast, blurring, etc, and i hadn't found anything all that reliable. but maybe we could do something like what's described here: https://kdmurray.id.au/post/2022-03-21_decode-qrcodes/

i think actually the big size of the images hurts us. maybe we want to downsample first? that might also improve the quality of the output pdfs, now that i think of it (they're kind of terrible, maybe since we're letting the transform do the downscaling for us?).

more exams are slipping through with undetected qr codes than i might like. i had played around with contrast, blurring, etc, and i hadn't found anything all that reliable. but maybe we could do something like what's described here: <https://kdmurray.id.au/post/2022-03-21_decode-qrcodes/> i think actually the big size of the images hurts us. maybe we want to downsample first? that might also improve the quality of the output pdfs, now that i think of it (they're kind of terrible, maybe since we're letting the transform do the downscaling for us?).
hz added the
enhancement
pdf
labels 2023-03-24 07:20:02 -04:00
Poster
Owner

I have an attempt at this in 8f47a041a4. After some quick testing, it does seem to work better (but it can be really slow). Maybe we also need an option to toggle slow/med/fast.

I have an attempt at this in 8f47a041a4dab5b6068bc4349889bd004a0d94c7. After some quick testing, it does seem to work better (but it can be really slow). Maybe we also need an option to toggle slow/med/fast.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: catsoop/gradesoop#17
There is no content yet.