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] Support for multi-page OMRs #145

Open Udayraj123 opened 1 year ago

Udayraj123 commented 1 year ago

Is your feature request related to a problem? Please describe. We have discovered use cases for OMRs having multiple pages. Need a discussion on how to standardise the process of creating multi-page OMRs so that OMRChecker can identify that the two images are part of the same OMR sheet.

Discord message link: https://discord.com/channels/590134763784896514/1122965202997096549/1122966382137573596

Describe the solution you'd like We will rely on file naming conventions and file structure: Consider adding a special new file template-multi.json with a rough draft schema:

{
    "templateNames":{
        "page1": {
            "relative_path": "template-page1.json",
            "imageNameSelector": {
                "type": "OMR_ID_PAGE_NUMBER",
                "imageNameSuffix": "_1"
            }
        },
        "page2": {
            "relative_path": "template-page2.json",
            "imageNameSelector": {
                "type": "OMR_ID_PAGE_NUMBER",
                "imageNameSuffix": "_2"
            }
        }
    },
    "outputColumns": ["q1", "q2", "q3", "q4"]
}

Describe alternatives you've considered

Additional context Many directions will be affected with change in the central schema for template files. Some items to start thinking upon:

ghplvh commented 9 months ago

把图片拼成一张,不就行了,虽然不是很提倡,但是也是个办法

Udayraj123 commented 9 months ago

@ghplvh English please?

ghplvh commented 9 months ago

@ghplvh English please?

Merge the images?

Udayraj123 commented 8 months ago

@ghplvh merging the images can be desirable too, but if the number of pages is too high, we would prefer creating a single folder per OMR id

Sadhgun commented 8 months ago

Here's a brief idea: Having two markers - one for identifying the participant details and one for describing the page number. The marker for page number could also be used to make sure the paper is correctly aligned. Pre processor to be created - Person identifier to rename the omr sheet. Page identifier to sort the files into two folders with each having their template.json Two csv created will be merged using person identifier as common marker

Udayraj123 commented 8 months ago

@Sadhgun we will discuss on discord and put the minutes of the call here.