Skip to content

[Enhacement][DevX] Add bulk operation scripts for optimising outputs #213

@Udayraj123

Description

@Udayraj123

Is your feature request related to a problem? Please describe.
Users may want to apply some bulk operations on their input images before passing to OMRChecker. These utilities can help the users to compress the overall input size and also optimise the execution speeds on large files for faster tuning and re-runs.

Describe the solution you'd like
A few starter ideas to run on a folder of images:

  • bulk resize,
    • clip to max width (or height)
    • with a conditional trigger if the file size exceeds a provided value
  • bulk convert :
    • pdf to jpg
    • png to jpg or vice versa
    • tiff
  • bulk rename files
    • adding folder name to file name
    • removing non-utf characters from filename (to avoid processing errors)
  • add watermark to all images
  • blur a particular section of the images (e.g. student names and signatures)
  • create a gif from a folder of images
  • Save output of cropped pages to avoid cropping in each run (and merge with manually cropped images)
  • Save output of cropped markers to avoid cropping in each run (and merge with manually cropped images)
  • More ideas welcome!

Describe alternatives you've considered
N/A

Additional context
There's already a foundation setup in one of the development branches.
Note: please share your queries and approaches on discord for quicker discussions:

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions