Skip to main content

hintauc

Deterministic region-based hint generation (DHT) and Hint-AUC evaluation for line-art colorization, from Hint-AUC: Deterministic Region-based Hint Generation for Line Art Colorization Evaluation (IEEE Transactions on Visualization and Computer Graphics, 2026, DOI 10.1109/TVCG.2026.3738401).

pip install hintauc                 # deterministic hints, pixel metrics, Hint-AUC
pip install "hintauc[paper]"        # + torchvision / torchmetrics 1.4.0: the exact evaluation backend of the paper
pip install "hintauc[perceptual]"   # + LPIPS / OpenCLIP / DINOv2 / DreamSim
hintauc demo                        # self-contained example (synthetic image, ~10 s): hints -> curve -> Hint-AUC
import hintauc
hints = hintauc.generate_hints("illustration.png", size=64)      # image -> deterministic scribble and dot hints
color, mask = hints.at_ratio(0.10, hint_type="scribble")         # hints of the largest 10 % of the regions
evaluator = hintauc.Evaluator(metrics=("psnr", "lpips", "dreamsim"))
print(evaluator("colorized.png", "ground_truth.png"))

Command line: hintauc generate image.png --ratio 0.1, hintauc eval pred_dir gt_dir --metrics mse psnr ssim, hintauc curve pred_root gt_dir (Hint-AUC from one directory of outputs per hint ratio; every ratio must hold the same images). Your own model as a Python function: hintauc.evaluate_colorizer(fn, samples). Every result carries a protocol record (grid, metric settings, the resize / SSIM backend in use, library versions).

Documentation (setup, "evaluate your own model", API reference with input/output examples, model zoo, reproduction guide): https://madonokouki.github.io/projects/hintauc/docs/ — project page: https://madonokouki.github.io/projects/hintauc/ — repository (DetFill colorization model, checkpoints, reproduction package): https://github.com/MADONOKOUKI/DetFill-with-DHT

Metadata

Release files for hintauc 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hintauc 0.3.3
File Size Uploaded
hintauc-0.3.3.tar.gz 51.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hintauc 0.3.3
File Interpreter ABI Platform
hintauc-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 91.6 kB

Release files / hintauc-0.3.3.tar.gz

Download URL hintauc-0.3.3.tar.gz
Size 51.8 kB
Tags Source
SHA-256 checksum
How to use checksums
19a7c32d79a8c802648d804219cbe390ec9f172ab511f38af0f7d05ee11b913c
BLAKE2b-256 checksum
How to use checksums
6258ee151f3c83792a48d191d19b4d23565c5bb1a2b6bb2b738ceb09eb5100de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release files / hintauc-0.3.3-py3-none-any.whl

Download URL hintauc-0.3.3-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eda903801844c60b69f1d17c8224a154e745c034f4ec96da471c8beef9e1d53e
BLAKE2b-256 checksum
How to use checksums
6567a4b584661c953a751cef15713422f5a55bdbf91f26e2d7fce66b9b369726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page