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…
Turns a tangent-space normal map into a height map in one transformer step, using Marigold V2 on FLUX.2 klein 4B. A Gradio app for texture and 3D material work.
Marigold V2 klein Normal to Height is a kit in the Productivity 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 NightRaven109/marigold-v2-klein-normal-to-height --repo-type space --local-dir marigold-v2-klein-normal-to-height cd marigold-v2-klein-normal-to-height
This is a Gradio app that makes a height map from a tangent-space normal map. The model is a Marigold V2 variant built on FLUX.2 klein 4B and trained further with Megascans and MatSynth data. One transformer pass turns the normal map into the height map. It runs on zero-a10g hardware at Hugging Face.
Texture and 3D material artists who have a normal map and need a matching height map, and developers who want to see how the model is wrapped in an app.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Games | Environment artists | Get a height map to go with a material | Convert the normal map of a stone wall |
| Software | Developers | Read app.py and tiling.py to see how images are processed | Reuse the Gradio layout |
| Research | Graphics researchers | Try a normal-to-height model | Run a few maps and inspect the results |
Skip it if you start from photos or color maps, since the input is a normal map.
| Use case | Who | What they get back |
|---|---|---|
| Make a height map | Texture artists | A height map from your normal map |
| Try the model | Researchers | A way to test the normal-to-height fine-tune |
pip install -U huggingface_hub hf download NightRaven109/marigold-v2-klein-normal-to-height --repo-type space --local-dir marigold-v2-klein-normal-to-height cd marigold-v2-klein-normal-to-height pip install gradio==6.24.0 pip install -r requirements.txt python app.py
The weights sit in a private model repository, which the token must be able to read. A setting called MODEL_REPO can point to a different repository id.
Online, open the Space and give it a normal map through the form on its page. On your own machine, run the app file and open the page Gradio serves in your browser. The page lists no other commands.
| Tool | What it does |
|---|---|
| python app.py | Starts the Gradio app on your computer |
| HF_TOKEN | Secret that holds a read token for the model repository |
| MODEL_REPO | Overrides the repository id the weights come from |
You upload the normal map of a brick wall and run the conversion. The app returns a height map of the wall in a single step, which you can save for use next to your other texture files.
If you are new, a normal map stores surface direction, while a height map stores how high each point sits. Open the Space online and try one small normal map first.
If you know the field, this is a fine-tune of Marigold V2 on the FLUX.2 klein 4B base, trained with Megascans and MatSynth, and inference needs only one transformer pass. A tiling.py file sits beside app.py, but the page does not explain it.
Turns a tangent-space normal map into a height map in one transformer step, using Marigold V2 on FLUX.2 klein 4B. A Gradio app for texture and 3D material work.
Made by NightRaven109 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 is a Gradio app that makes a height map from a tangent-space normal map. The model is a Marigold V2 variant built on FLUX.2 klein 4B and trained further with Megascans and MatSynth data. One transformer pass turns the normal map into the height map. It runs on zero-a10g hardware at Hugging Face.
Who it suits: Texture and 3D material artists who have a normal map and need a matching height map, and developers who want to see how the model is wrapped in an app.
Industry | Who uses it | How they use it | Example
Games | Environment artists | Get a height map to go with a material | Convert the normal map of a stone wall
Software | Developers | Read app.py and tiling.py to see how images are processed | Reuse the Gradio layout
Research | Graphics researchers | Try a normal-to-height model | Run a few maps and inspect the results
Skip it if you start from photos or color maps, since the input is a normal map.
Where to use it:
Use case | Who | What they get back
Make a height map | Texture artists | A height map from your normal map
Try the model | Researchers | A way to test the normal-to-height fine-tune
How to set it up:
pip install -U huggingface_hub
hf download NightRaven109/marigold-v2-klein-normal-to-height --repo-type space --local-dir marigold-v2-klein-normal-to-height
cd marigold-v2-klein-normal-to-height
pip install gradio==6.24.0
pip install -r requirements.txt
python app.py
The weights sit in a private model repository, which the token must be able to read. A setting called MODEL_REPO can point to a different repository id.
How to use it: Online, open the Space and give it a normal map through the form on its page. On your own machine, run the app file and open the page Gradio serves in your browser. The page lists no other commands.
Tool | What it does
python app.py | Starts the Gradio app on your computer
HF_TOKEN | Secret that holds a read token for the model repository
MODEL_REPO | Overrides the repository id the weights come from
Example: You upload the normal map of a brick wall and run the conversion. The app returns a height map of the wall in a single step, which you can save for use next to your other texture files.
For newcomers and experts: If you are new, a normal map stores surface direction, while a height map stores how high each point sits. Open the Space online and try one small normal map first.
If you know the field, this is a fine-tune of Marigold V2 on the FLUX.2 klein 4B base, trained with Megascans and MatSynth, and inference needs only one transformer pass. A tiling.py file sits beside app.py, but the page does not explain it.
Upload a tangent-space normal map
Marigold V2 on FLUX.2 klein 4B runs once
A height map is predicted
You download the height map
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 |
|---|---|---|---|---|
| Marigold V2 klein Normal to Height This page | 1 | gradio | apache-2.0 | |
| MusicGenShares gradio | 5,116 | gradio | cc-by-nc-4.0 | |
| Kokoro TTSShares gradio | 3,556 | gradio | apache-2.0 | |
| Background RemovalShares gradio | 2,988 | gradio | mit | |
| Omni Image EditorShares gradio | 2,922 | gradio | mit | |
| Diffusers Image OutpaintShares gradio | 2,565 | gradio | apache-2.0 |
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…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…