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

Add transforms from Augraphy #1623

Open
42 tasks
ternaus opened this issue Apr 4, 2024 · 3 comments
Open
42 tasks

Add transforms from Augraphy #1623

ternaus opened this issue Apr 4, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ternaus
Copy link
Collaborator

ternaus commented Apr 4, 2024

For every transform:

  1. Double check that there is no
  2. Create separate Pull request.
  3. Add the code and check where possible that numpy operations are replaced by the similar OpenCV code.
  4. Use vectorized operations where possible.
  5. Add link to the original implementation and where possible paper where the transform was intriduced.

https://augraphy.readthedocs.io/en/latest/doc/source/list_of_augmentations.html

  • BadPhotoCopy
  • BindingsAndFasteners
  • Bleedthrough
  • BrightnessTexturize
  • ColorShift
  • DelaunayTessellation
  • DepthSimulatedBlur
  • DirtyDrum
  • DirtyRollers
  • DirtyScreen
  • DotMatrix
  • DoubleExposure
  • Faxify
  • Hollow
  • InkBleed
  • InkColorSwap
  • InkMottling
  • LCDScreenPattern
  • LensFlare
  • Letterpress
  • LightingGradient
  • LinesDegradation
  • LowInkPeriodicLines
  • LowInkRandomLines
  • LowLightNoise
  • Markup
  • Moire
  • NoiseTexturize
  • NoisyLines
  • PatternGenerator
  • ReflectedLight
  • Scribbles
  • ShadowCast
  • SubtleNoise
  • VoronoiTessellation
  • WaterMark
  • BookBinding
  • Folding
  • GlitchEffect
  • InkShifter
  • Rescale as Rescale2DPI
  • SectionShift
@ternaus ternaus added the enhancement New feature or request label Apr 4, 2024
@ternaus ternaus changed the title Add transforms from DirtyDrum Add transforms from Augraphy Apr 4, 2024
@ternaus ternaus added the good first issue Good for newcomers label Apr 5, 2024
@ternaus
Copy link
Collaborator Author

ternaus commented Apr 11, 2024

Had discussion with a person working on Document scans. She said that these look like the most valuable:

Pixel:
- BadPhotoCopy
- DirtyDrum
- Letterpress
- Markup
- WaterMark

Spatial:
- BookBinding
- Folding
- SectionShift

@MarognaLorenzo
Copy link
Contributor

Hi, I would like to try implementing BadPhotoCopy.
Should I add it in the "albumentations/augmentations/transforms.py" file? I was thinking I could create a folder like "albumentations/augmentations/augraphy" or "albumentations/augmentations/documents", where all the 42 transformations in this issue will be added.

@ternaus
Copy link
Collaborator Author

ternaus commented May 17, 2024

albumentations/augmentations/documents will work

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

No branches or pull requests

2 participants