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.4

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.4
File Size Uploaded Provenance Actions
hintauc-0.3.4.tar.gz 53.4 kB With provenance Details for hintauc-0.3.4.tar.gz

Built distribution (wheel)

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

Total release size: 93.3 kB

Release files / hintauc-0.3.4.tar.gz

Download URL hintauc-0.3.4.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a187e8d73ffef70798bb0cbeacd700656bfa9d377b68dee96cd490f6c643ec1a
BLAKE2b-256 checksum
How to use checksums
ccdc7fad9980a067282aed37f14676cbb37203b875160058439eee8b12e81b76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

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

Download URL hintauc-0.3.4-py3-none-any.whl
Size 39.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f43fdebeebb8ad7f1f9df92e40afb25e4a5c68daf8c6d9983cf040f1506c2fa
BLAKE2b-256 checksum
How to use checksums
118d76b26083e93309ff844dafeec1b485031df343ae23179af9fd14a07c4d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Security for hintauc 0.3.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hintauc-0.3.4.tar.gz

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 Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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