
In this memo, we work on a corrupt.py which will corrupt sprites.
Trial 1
Operations:
- White BG
- Apply random translation (less than 1px)
- Apply random scale (less than 1 px)
- Gaussian Noise
- Gaussian Blur
Actual
- Left: hand pixeled
- Middle: Resampled Pseudo Pixel Art
- Right: Artificial Corruption
This already is pretty good.
Trial 2
Operations:
- Add White BG
- Layer the sprite
- Upscale 3x (nearest neighbor)
- Add minor compression artifact
- Add gaussian noise
- Blur
- Translate randomly few pixels
- Upscale 2x (bilinear)
- Add jpeg compression artifact
- Downscale (bilinear) to original size.
- Add jpeg compression artifact
resample (bilinear), corrupt_v1, corrupt_v2
Next Steps:
- I will run this corruption on my sprite dataset to prepare data.
- Then, I will work on model design and training
— Sprited Dev 🐛
Comments
Join the discussionNo comments yet. Be the first to comment.



