Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Reading Barcodes & QR codes to organize images and templates #105

Open
Udayraj123 opened this issue Dec 8, 2022 · 5 comments
Open
Labels
enhancement New feature or request Hard JWOC

Comments

@Udayraj123
Copy link
Owner

Is your feature request related to a problem? Please describe.
We have received this request multiple times now, reading QR codes in particular sections of the OMR, then splitting the images based on the information in the QR, and using particular template from that information. This can be extended to barcodes as well.

Note: OCR should be tracked in a different issue from this (#99)

Describe the solution you'd like
This can be implemented as a plugin. More details to follow in discussion.

Describe alternatives you've considered
Currently no alternatives present to scan QRs. Manual work needed.

Additional context
Discord discussion

@Udayraj123 Udayraj123 added the enhancement New feature or request label Dec 8, 2022
@Udayraj123
Copy link
Owner Author

Linking a draft PR to mark progress: #116

@Udayraj123
Copy link
Owner Author

Found an existing product having this feature -

image

@Udayraj123
Copy link
Owner Author

Thinking of a more generalised version and will write a schema spec for it to allow input sorting as well as composed columns using barcode values

@Udayraj123
Copy link
Owner Author

Udayraj123 commented Apr 19, 2024

  • Treat Barcode as a special field ✔️

  • "fileSorting" at top level with access to read responses

    • enabled: true means it will sort per-image level
      • if there's multiple template files, only the images corresponding to current template will move
    • the "outputDirectory" from this schema will be ignored from reading images!
  • The "fieldBlocks.COMMON" will contain fields common to all sets (default blocks)

  • A "fieldBlocks.setMapping" at with access to responses read from common

    • "SET-A" etc will contain set wise fields if provided
    • This mapping should support regex as we may need to extract some pattern (roll number prefix etc)
  • Later this can easily extend to reading OCR as a field

  • Even the Admit card/Signature Photos can be saved and read as a field (with value = saved path)

@Udayraj123
Copy link
Owner Author

Crosslinking a resource on a potentially more robust
QR detection https://discord.com/channels/590134763784896514/590134763784896520/1164363436931690587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hard JWOC
Projects
None yet
Development

No branches or pull requests

1 participant