Scramblery is a tool designed to scramble images and videos for scientific, privacy, or artistic purposes. It offers various scrambling techniques, including pixel shuffling and frequency domain manipulation using Fourier transforms. This is a "byproduct" of my research for my master's thesis along with butter2d :-)
Preview of the main menu
- Image Scrambling: Various techniques—including advanced Fourier-based scrambling.
- Video Scrambling: Efficient frame processing via GStreamer's pipeline.
- Batch Processing & Face Detection: Process image directories and optionally target faces.
- Face Detection: Detect facial area and scramble facial area (options for: exclude/include bg).
- Diffeomorphic Scrambling: Smooth, topology-preserving spatial warping based on random DCT flow fields. See acknowledgements.
- Temporal Coherence (Optical Flow): Preserve original motion in scrambled video output using SEA-RAFT optical flow. See acknowledgements.
| Video | GIF Preview |
|---|---|
| Video Block scramble-only facial area exclude bg |
![]() |
| Video Pixel scramble-only facial area exclude bg |
![]() |
| Video 1 Video 2 Fourier Phase: Colorful/Gray options |
![]() |
For installation instructions, please refer to the INSTALLATION GUIDE.
Scramblery uses the following methods. If you use these features in your research, please cite the original authors also:
Diffeomorphic Scrambling:
Stojanoski, B., & Cusack, R. (2014). Time to wave good-bye to phase scrambling: Creating controlled scrambled images using diffeomorphic transformations. Journal of Vision, 14(12):6, 1–16. doi:10.1167/14.12.6
SEA-RAFT Optical Flow (Temporal Coherence):
Wang, Y., Lipson, L., & Deng, J. (2024). SEA-RAFT: Simple, Efficient, Accurate RAFT for Optical Flow. European Conference on Computer Vision (ECCV). Princeton Vision & Learning Lab.
Altun, E. (2025). altunenes/scramblery: Scramblery v2.0.0 (v2.0.0). Zenodo. https://doi.org/10.5281/zenodo.7484576




