Udayraj123 / OMRChecker

Evaluate OMR sheets fast and accurately using a scanner 🖨 or your phone 🤳.
GNU General Public License v3.0
704 stars 295 forks source link

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

Open clrscr0 opened 8 months ago

clrscr0 commented 8 months ago

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

Udayraj123 commented 8 months ago

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

SarthakNikhal commented 7 months ago

Can I work on this issue?

Udayraj123 commented 7 months ago

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.

Hades1710 commented 6 months ago

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

BaVaWooey commented 6 months ago

Hey @Udayraj123, can I work on this issue?

palash018 commented 5 months ago

@BaVaWooey have you started working on it?

Udayraj123 commented 5 months ago

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 commented 4 months ago

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

Udayraj123 commented 3 months ago

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

Udayraj123 commented 3 months ago

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.