rekaXua/demosaic_project
Removing Pixelated Mosaic Censorship using ESRGAN and green_mask_project
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
demosaic_project
Removing Pixelated Mosaic Censorship using ESRGAN (Enhanced SRGAN) and green_mask_project
ESRGAN model should be downloaded here: Twittman's 4x_FatalPixels_340000_G.pth, and placed into models folder!
To have a decent performance you need a CUDA+cudnn(NVIDIA) or ROCm(AMD) compatible GPU with installed drivers! Otherweis use "--cpu" key, but beware it can be VERY slow.
HOW TO USE:
- Place your images inside decensor_input
- Run "python demosaic_project_ESRGAN.py" or ("python demosaic_project_ESRGAN.py --cpu" for cpu version)
- Take your decensored images from decensor_output
- ???
- Profit
Don't forget to install python3 and all the requirements with command "pip3 install -r requirements.txt" in cmd or bash
TODO:
- GUI
- Config file
- Better detection algorithm
Inspiration from DeepCreamPy and hent-AI
Credits to Twittman for making trained model Fatal Pixels.
Sample image by hks(@timbougami)
Similar Projects
Discover other similar projects and AI models.
Training-free language model modification: Remove censorship, suppress slop, reduce sycophancy, and more
A cross-platform GUI application for browsing and exploring v2ray geosite and geoip DAT files.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.
将 SRT 字幕做成暖米黄纸张底的流式笔迹白板手绘动画 skill:mask 分区遮罩编排 + stream 连续笔迹(ink→color)。