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 an uploaded picture into a 3D relief STL file by estimating depth, and lets you reshape the depth map with a curve editor before you export. Suits makers who want a height model from a photo.
Image To Relief 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 oedevs/image-to-relief-grayscale --repo-type space --local-dir image-to-relief-grayscale cd image-to-relief-grayscale
Image To Relief turns a picture you upload into an STL file of a relief. It asks the Depth Anything V2 model to estimate depth, then gives you a curve editor and texture controls so you can adjust the depth map before anything is exported.
It suits anyone who wants a height-based 3D model from a flat image and wants a say in how the depth looks.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| 3D printing | Makers and hobbyists | Turn a photo into a model file that has height | Upload a photo and export an STL |
| Design | Designers | Reshape depth so the subject stands out from the background | Apply the foreground emphasis preset |
| Computer vision | Developers | See how a depth estimate becomes a height map | Edit the curve and watch the previewed height map change |
| Local tinkering | Anyone with a spare computer | Raise the pixel limit for larger images | Start the app with a higher limit |
If you need to edit a mesh by hand or sculpt freely, you can skip it.
You can use it in a browser, in Docker, or with plain Python.
| Use case | Who | What they get back |
|---|---|---|
| Make a relief from a photo | Makers | An STL file built from the adjusted depth |
| Fix a flat or harsh depth estimate | Designers | A reshaped depth map with the curve and presets |
| Work on bigger images | Local users | A higher processing limit than the hosted Space allows |
Pick one of two routes. The hosted Space needs nothing. For a local copy you need the items below.
pip install -U huggingface_hub hf download oedevs/image-to-relief-grayscale --repo-type space --local-dir image-to-relief-grayscale cd image-to-relief-grayscale docker build -t image-to-relief-grayscale . docker run -it -p 7860:7860 image-to-relief-grayscale
Without Docker, install the requirements and start the app directly.
pip install -r requirements.txt python app.py
Work through the page from top to bottom.
| Tool | What it does |
|---|---|
| Estimate Depth Map | Runs the depth model on the image you uploaded |
| Depth histogram + curves editor | Remaps depth values when you drag, add or remove curve points |
| Curve presets | Apply midtone contrast, foreground emphasis or background compression |
| Luminance Texture Strength | Adds surface texture taken from the image's brightness |
| Generate STL from Adjusted Depth | Builds the STL file from the depth map you tuned |
To raise the processing limit on your own computer, pass a flag when you launch.
python app.py --max-resolution-pixels 4000000
You upload a photo, click Estimate Depth Map, then drag a point on the curve so the main subject sits higher than the background. After you click Generate STL from Adjusted Depth, you get an STL file of that relief.
If you are new to this, open the Space, upload any image and click Estimate Depth Map. Look at the result before you touch the curve, then try one preset.
If you work with depth models, the app uses Depth Anything V2 Large for the estimate and lets you remap its values by hand. The texture is scaled to the current height range, so a larger Max Z-Height does not make the surface texture twice as deep. HEIC and HEIF uploads are decoded on the server with pillow-heif.
The hosted Space has a cap you cannot change, and a local copy can raise it.
Turns an uploaded picture into a 3D relief STL file by estimating depth, and lets you reshape the depth map with a curve editor before you export. Suits makers who want a height model from a photo.
Made by oedevs 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: Image To Relief turns a picture you upload into an STL file of a relief. It asks the Depth Anything V2 model to estimate depth, then gives you a curve editor and texture controls so you can adjust the depth map before anything is exported.
Who it suits: It suits anyone who wants a height-based 3D model from a flat image and wants a say in how the depth looks.
Title: Who might use this app
Industry | Who uses it | How they use it | Example
3D printing | Makers and hobbyists | Turn a photo into a model file that has height | Upload a photo and export an STL
Design | Designers | Reshape depth so the subject stands out from the background | Apply the foreground emphasis preset
Computer vision | Developers | See how a depth estimate becomes a height map | Edit the curve and watch the previewed height map change
Local tinkering | Anyone with a spare computer | Raise the pixel limit for larger images | Start the app with a higher limit
If you need to edit a mesh by hand or sculpt freely, you can skip it.
Where to use it: You can use it in a browser, in Docker, or with plain Python.
Title: What the app is good for
Use case | Who | What they get back
Make a relief from a photo | Makers | An STL file built from the adjusted depth
Fix a flat or harsh depth estimate | Designers | A reshaped depth map with the curve and presets
Work on bigger images | Local users | A higher processing limit than the hosted Space allows
How to set it up: Pick one of two routes. The hosted Space needs nothing. For a local copy you need the items below.
pip install -U huggingface_hub
hf download oedevs/image-to-relief-grayscale --repo-type space --local-dir image-to-relief-grayscale
cd image-to-relief-grayscale
docker build -t image-to-relief-grayscale .
docker run -it -p 7860:7860 image-to-relief-grayscale
Without Docker, install the requirements and start the app directly.
pip install -r requirements.txt
python app.py
How to use it: Work through the page from top to bottom.
Title: The controls you will use
Tool | What it does
Estimate Depth Map | Runs the depth model on the image you uploaded
Depth histogram + curves editor | Remaps depth values when you drag, add or remove curve points
Curve presets | Apply midtone contrast, foreground emphasis or background compression
Luminance Texture Strength | Adds surface texture taken from the image's brightness
Generate STL from Adjusted Depth | Builds the STL file from the depth map you tuned
To raise the processing limit on your own computer, pass a flag when you launch.
python app.py --max-resolution-pixels 4000000
Example: You upload a photo, click Estimate Depth Map, then drag a point on the curve so the main subject sits higher than the background. After you click Generate STL from Adjusted Depth, you get an STL file of that relief.
For newcomers and experts: If you are new to this, open the Space, upload any image and click Estimate Depth Map. Look at the result before you touch the curve, then try one preset.
If you work with depth models, the app uses Depth Anything V2 Large for the estimate and lets you remap its values by hand. The texture is scaled to the current height range, so a larger Max Z-Height does not make the surface texture twice as deep. HEIC and HEIF uploads are decoded on the server with pillow-heif.
Upload an image
Estimate the depth map
Reshape the curve and texture
Preview the height map
Generate the STL file
Good to know: The hosted Space has a cap you cannot change, and a local copy can raise it.
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 6 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Image To Relief This page | 3 | docker | mit | |
| AI JukeboxShares docker | 426 | docker | mit | |
| AUDIOShares docker | 25 | docker | apache-2.0 | |
| Swap Face ModelShares docker | 21 | docker | mit | |
| Xiaomi OCR 0 DemoShares docker | 18 | docker | apache-2.0 | |
| Hermes Agent by Mega-EvolutionsShares docker | 3 | docker | mit |
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…