anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Scores how different a distorted image looks from its reference, with a lens overlay showing where. For image quality researchers who want to try the JLD metric in a browser.
JLD Perceptual Distance is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download shreshthsaini/JLD-demo --repo-type space --local-dir JLD-demo cd JLD-demo
This demo scores how far a distorted image sits from its reference. You upload an aligned pair, pick JLD or JLD-fast, and get one distance number plus an overlay of the local lens response. A lower number means the two images look more alike.
It suits researchers and engineers who compare image quality and want to try the JLD metric before using its Python package.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Image research | Quality-metric researchers | Try a perceptual distance on image pairs | Score a reference and a distorted copy |
| Video and imaging | Codec and pipeline engineers | Check how a processing step changes an image | Compare a source frame with its processed version |
| Machine learning | Model developers | Judge output of a restoration or generation model | Score a result image against its target |
| Teaching | Instructors | Show how a metric reacts to distortion | Upload a pair and read the overlay together |
You can skip it if your images are not aligned or not the same size, since the metric needs aligned pairs.
| Use case | Who | What they get back |
|---|---|---|
| Score an image pair | Researchers | A single distance, lower for more similar images |
| See where they differ | Engineers | An overlay of the local lens response |
| Score at full size | Developers | Native-resolution scores through the local package |
pip install -U huggingface_hub hf download shreshthsaini/JLD-demo --repo-type space --local-dir JLD-demo cd JLD-demo pip install gradio==6.29.1 pip install -r requirements.txt python app.py
The README also shows how to run the Space checkout with uv.
uv run --python 3.12 --with-requirements requirements.txt app.py
Upload the reference image and the distorted image, choose JLD or JLD-fast, and run it. Both images must be aligned and the same size. Each image may hold at most 24 megapixels, measure at most 8192 pixels along its long edge, and weigh at most 10 MB. For native-resolution scoring of larger images, use the local package from Python.
from jld import JLD
metric = JLD.pretrained("full")
distance = metric("reference.png", "distorted.png")Upload a reference photo and a copy that has been compressed. Pick JLD and run it. You get one distance value and an overlay of the lens response, and the result also lists the original, resized and scored sizes.
If you are new, upload two copies of the same picture first, one of them slightly changed, and read the number. A lower number means they look more alike.
If you know the field, the demo is the author's interactive version of a perceptual distance built on a Jacobian lens. By default a large pair is scaled down as one unit, through a single Lanczos filter, so it fits the hosted limits. The reported score then covers the scaled pair. A checkbox turns this off and asks for native resolution. The overlay leaves out the global CLS term and is scaled separately for each pair.
Scores how different a distorted image looks from its reference, with a lens overlay showing where. For image quality researchers who want to try the JLD metric in a browser.
Made by shreshthsaini on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: This demo scores how far a distorted image sits from its reference. You upload an aligned pair, pick JLD or JLD-fast, and get one distance number plus an overlay of the local lens response. A lower number means the two images look more alike.
Who it suits: It suits researchers and engineers who compare image quality and want to try the JLD metric before using its Python package.
Industry | Who uses it | How they use it | Example
Image research | Quality-metric researchers | Try a perceptual distance on image pairs | Score a reference and a distorted copy
Video and imaging | Codec and pipeline engineers | Check how a processing step changes an image | Compare a source frame with its processed version
Machine learning | Model developers | Judge output of a restoration or generation model | Score a result image against its target
Teaching | Instructors | Show how a metric reacts to distortion | Upload a pair and read the overlay together
You can skip it if your images are not aligned or not the same size, since the metric needs aligned pairs.
Where to use it:
Use case | Who | What they get back
Score an image pair | Researchers | A single distance, lower for more similar images
See where they differ | Engineers | An overlay of the local lens response
Score at full size | Developers | Native-resolution scores through the local package
How to set it up:
pip install -U huggingface_hub
hf download shreshthsaini/JLD-demo --repo-type space --local-dir JLD-demo
cd JLD-demo
pip install gradio==6.29.1
pip install -r requirements.txt
python app.py
The README also shows how to run the Space checkout with uv.
uv run --python 3.12 --with-requirements requirements.txt app.py
How to use it: Upload the reference image and the distorted image, choose JLD or JLD-fast, and run it. Both images must be aligned and the same size. Each image may hold at most 24 megapixels, measure at most 8192 pixels along its long edge, and weigh at most 10 MB. For native-resolution scoring of larger images, use the local package from Python.
from jld import JLD
metric = JLD.pretrained("full")
distance = metric("reference.png", "distorted.png")
Example: Upload a reference photo and a copy that has been compressed. Pick JLD and run it. You get one distance value and an overlay of the lens response, and the result also lists the original, resized and scored sizes.
For newcomers and experts: If you are new, upload two copies of the same picture first, one of them slightly changed, and read the number. A lower number means they look more alike.
If you know the field, the demo is the author's interactive version of a perceptual distance built on a Jacobian lens. By default a large pair is scaled down as one unit, through a single Lanczos filter, so it fits the hosted limits. The reported score then covers the scaled pair. A checkbox turns this off and asks for native resolution. The overlay leaves out the global CLS term and is scaled separately for each pair.
You upload an aligned image pair
Large pairs are shrunk together by default
The app scores the pair with JLD or JLD-fast
You get a distance and a lens overlay
Good to know:
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| JLD Perceptual Distance This page | 2 | gradio | mit | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…