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

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

Open
Udayraj123 opened this issue Sep 15, 2024 · 4 comments
Open
Assignees

Comments

@Udayraj123
Copy link
Owner

Udayraj123 commented Sep 15, 2024

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:

@amannaik247
Copy link

Hey, I am new to hacktoberfest and I liked this project. I wish to resolve this issue. Can I work on this ?

@Udayraj123
Copy link
Owner Author

Udayraj123 commented Oct 1, 2024

Hey @amannaik247, which part of the bulk ops ticket would you like to work on? As it's labelled continuous, I'll assign you once you decide a subtask to pick from and share a basic approach for it. Please mind that -

There's already a foundation setup in one of the development branches.

This means you can take reference of the dev branch to work on this in a structured manner. Checkout this folder: https://github.com/Udayraj123/OMRChecker/tree/dev/scripts/local

@Anushlinux
Copy link

Hey I would like to work on bulk convertor can you pls assign it to me

@Udayraj123
Copy link
Owner Author

Hey @Anushlinux, sure I can assign you this as it's an continuous issue. Please mention which of the starter ideas mentioned above you'd like to work on. Also it'll be convenient if you also join and discuss over the discord channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants