
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
claritycore
Advanced tools
Next-generation Open Source toolkit for low-level vision. Engineered for state-of-the-art performance in image and video restoration, including Super-Resolution, Denoising, Deblurring, and more.
[!!!WORK IN PROGRESS!!!]Next-generation Open Source toolkit for low-level vision. Engineered for state-of-the-art performance in image and video pixel2pixel tasks, including Super-Resolution, Denoising, Deblurring, and more.
If you find ClarityCore useful, please consider giving it a star ⭐ and Join Discord!
Latest News 🚀
pip install claritycore
Or install from source:
git clone https://github.com/Bezdarnost/claritycore.git
cd claritycore
pip install -e .
Train a 4x super-resolution model with one command:
# List available presets
claritycore list
# Train with a preset
claritycore train rrdbnetx4
# Train with custom settings
claritycore train rrdbnetx4 --steps 100000 --batch-size 8
from claritycore import AutoConfig, AutoModel, Trainer
from claritycore.data import Pixel2PixelDataset, DatasetConfig
# Create model
config = AutoConfig.from_name("rrdbnet", scale=4)
model = AutoModel.from_config(config)
# Create dataset
data_config = DatasetConfig(target_dir="data/HR", scale=4)
dataset = Pixel2PixelDataset(data_config)
# Train
trainer = Trainer(model, train_loader, optimizer, training_config)
trainer.train()
| Model | Task | Parameters | Scales |
|---|---|---|---|
| RRDBNet | Super-Resolution | 16.7M (full) / 1M (lite) | 2×, 3×, 4×, 8× |
See docs/models.md for detailed documentation.
ClarityCore expects datasets in this structure:
datasets/DIV2K/
├── hr/ # Target (high-resolution) images
├── x2/ # Input images for 2x SR
├── x3/ # Input images for 3x SR
└── x4/ # Input images for 4x SR
The Pixel2PixelDataset automatically:
0001x4.png)# Show help
claritycore --help
# List available training presets
claritycore list
# Train with preset
claritycore train <preset> [options]
# Examples
claritycore train rrdbnetx4 # Full RRDBNet, 4x SR
claritycore train rrdbnet-litex4 # Lightweight variant
claritycore train rrdbnetx4 --steps 50000 # Custom steps
claritycore train rrdbnetx4 --batch-size 8 # Custom batch size
# Advanced training (full control)
claritycore train --model rrdbnet --scale 4 --data path/to/data
| Preset | Model | Scale | Config | Steps |
|---|---|---|---|---|
rrdbnetx2 | RRDBNet | 2× | 64 feat, 23 blocks | 400K |
rrdbnetx4 | RRDBNet | 4× | 64 feat, 23 blocks | 400K |
rrdbnet-litex4 | RRDBNet | 4× | 32 feat, 6 blocks | 200K |
Run claritycore list for all available presets.
If you use ClarityCore in your research, please cite:
@software{ClarityCore_2025,
author = {Urumbekov, Aman},
license = {Apache-2.0},
title = {{ClarityCore}},
url = {https://github.com/Bezdarnost/claritycore},
year = {2025}
}
Urumbekov, A. (2025). ClarityCore: A toolkit for low-level vision. GitHub. https://github.com/bezdarnost/claritycore
Apache License 2.0. See LICENSE.
FAQs
Next-generation Open Source toolkit for low-level vision. Engineered for state-of-the-art performance in image and video restoration, including Super-Resolution, Denoising, Deblurring, and more.
We found that claritycore demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.