OMRChecker icon indicating copy to clipboard operation
OMRChecker copied to clipboard

[Feature] Generate score and indicator whether answer is right or wrong to images in CheckedOMRs folder

Open clrscr0 opened this issue 1 year ago • 10 comments

Is your feature request related to a problem? Please describe. As teacher, instead of just giving out the scores, I think it also benefits the students to receive feedback on a more granular level (ex. whether their answer is correct on a certain question). It will save a lot of time if I can just upload the image generated in the CheckedOMRs folder on an LMS for the students to see this kind of granular feedback.

Describe the solution you'd like After running the tool, I would like to see also whether an answer to a question is right/wrong (it can be marked X if wrong or it can be color-coded i.e. red for wrong, green for correct) on the generated image in the CheckedOMRs folder.

Describe alternatives you've considered Doing it manually as needed (whenever there are students requesting to have their answer sheets checked thoroughly).

Additional context Maybe something similar to this image

clrscr0 avatar Oct 19 '23 22:10 clrscr0

Hi @clrscr0 this seems like an interesting enhancement. Would keep this open for anyone to work in hacktoberfest

Udayraj123 avatar Oct 22 '23 06:10 Udayraj123

Can I work on this issue?

SarthakNikhal avatar Dec 01 '23 13:12 SarthakNikhal

Hi @SarthakNikhal, sure. You'll need to discuss a basic approach with me over chat on discord first, then I can assign you this issue.

Udayraj123 avatar Dec 05 '23 08:12 Udayraj123

Hey @Udayraj123! I really loved your idea and would love to work on this issue, shall we discuss the process on discord?

Hades1710 avatar Dec 20 '23 17:12 Hades1710

Hey @Udayraj123, can I work on this issue?

BaVaWooey avatar Dec 26 '23 09:12 BaVaWooey

@BaVaWooey have you started working on it?

palash018 avatar Jan 12 '24 13:01 palash018

Hello @SarthakNikhal @Hades1710, @BaVaWooey and @palash018 I have just created a separate thread on discord for this.

Snippet of the current discussion:

I have an idea to add colors to the evaluated responses, such as red for incorrect and green for correct. I saw a related issue on GitHub about this. I think the best place to implement this feature is in the "read_omr_response" function, where the final marked image is drawn. My current approach is to use the delta value like in the "evaluate_concatenated_response" function, and mark the response red if it is negative, or green if it is positive. Do you have any suggestions or feedback on this approach?

Feedback for your approach:

  • You're close about using the evaluate function, but currently it returns only delta value. We can make it return the question_verdict value too. Based on the verdict value we can have a mapping of colors for all cases(correct/incorrect/partially correct/unmarked)
  • find a place to create and apply a new function that makes changes in the image
  • You need to think on how to output a RGB image as well

Please collaborate further here: https://discord.com/channels/590134763784896514/1198670547463192696/1200197392964780032

Udayraj123 avatar Jan 25 '24 21:01 Udayraj123

Note: Support for this issue also should be able to close https://github.com/Udayraj123/OMRChecker/issues/128

Udayraj123 avatar Feb 26 '24 08:02 Udayraj123

Changing the complexity to intermediate as there's a refactor required to support Colored Images with access in each pre-processor.

Udayraj123 avatar Mar 23 '24 18:03 Udayraj123

Hello folks, we're testing and implementing a schema to support above feature here (collaboration with @palash018)

Here's a sample output: image

Feel free to suggest improvements like more ways to pack the answer key information in the output images.

Udayraj123 avatar Apr 08 '24 20:04 Udayraj123