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…
Try the BiRefNet image models in a browser: they separate the main subject of a picture from its background. Six variants are named, and you can also run a copy on your own computer.
BiRefNet Demo 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 ZhengPeng7/BiRefNet_demo --repo-type space --local-dir BiRefNet_demo cd BiRefNet_demo
This Space is a demo of BiRefNet, a family of image models that separate the main subject of a picture from its background. The repository names six variants, among them high resolution, matting, portrait and lite versions. You can try it in a browser or run a copy yourself.
People who need to cut a subject out of a picture and want to try the models before building anything. Researchers and developers can look at all six named variants in one place.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| E-commerce | Shop owners | Cut a product out of its photo background | Preparing a product picture before adding it to a listing |
| Design | Designers | Cut a subject out for a poster or collage | Placing a portrait on a new background |
| Research | Computer vision researchers | Try the named variants on their own pictures | Running the portrait and lite variants on the same photo |
| Software | Python developers | Read app.py to see how the models are wired into a page | Copying the Space and changing the inputs |
If you never cut subjects out of pictures, you can skip it.
| Use case | Who | What they get back |
|---|---|---|
| Cut a subject out of a photo | Designers and shop owners | The picture with its background separated from the subject |
| Compare the model variants | Researchers | A working demo to try each named model on the same picture |
Online use needs nothing. A copy on your own computer needs a little.
pip install -U huggingface_hub hf download ZhengPeng7/BiRefNet_demo --repo-type space --local-dir BiRefNet_demo cd BiRefNet_demo pip install gradio==5.35.0 pip install -r requirements.txt python app.py
Online, open the Space's page and use the demo there. On your own computer, run this command from the project folder and open the page Gradio shows. The repository also holds an app_local.py file and an examples folder.
python app.py
You open the Space and give it a photo of a person. The demo hands back the photo with the person separated from the background.
If you are new to this, open the Space's page and try one photo with a clear subject. Nothing needs installing, and you see what separating a subject from its background looks like.
If you know the field, the demo names six checkpoints under one author, from the base model to HR, matting, portrait and lite forms. The hosted copy runs on zero-a10g hardware at Hugging Face. A copy at home uses your own machine, and the source lists no hardware you must have.
The source says little about limits, so check results on your own pictures.
Try the BiRefNet image models in a browser: they separate the main subject of a picture from its background. Six variants are named, and you can also run a copy on your own computer.
Made by ZhengPeng7 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 Space is a demo of BiRefNet, a family of image models that separate the main subject of a picture from its background. The repository names six variants, among them high resolution, matting, portrait and lite versions. You can try it in a browser or run a copy yourself.
Who it suits: People who need to cut a subject out of a picture and want to try the models before building anything. Researchers and developers can look at all six named variants in one place.
Industry | Who uses it | How they use it | Example
E-commerce | Shop owners | Cut a product out of its photo background | Preparing a product picture before adding it to a listing
Design | Designers | Cut a subject out for a poster or collage | Placing a portrait on a new background
Research | Computer vision researchers | Try the named variants on their own pictures | Running the portrait and lite variants on the same photo
Software | Python developers | Read app.py to see how the models are wired into a page | Copying the Space and changing the inputs
If you never cut subjects out of pictures, you can skip it.
Where to use it:
Use case | Who | What they get back
Cut a subject out of a photo | Designers and shop owners | The picture with its background separated from the subject
Compare the model variants | Researchers | A working demo to try each named model on the same picture
How to set it up: Online use needs nothing. A copy on your own computer needs a little.
pip install -U huggingface_hub
hf download ZhengPeng7/BiRefNet_demo --repo-type space --local-dir BiRefNet_demo
cd BiRefNet_demo
pip install gradio==5.35.0
pip install -r requirements.txt
python app.py
How to use it: Online, open the Space's page and use the demo there. On your own computer, run this command from the project folder and open the page Gradio shows. The repository also holds an app_local.py file and an examples folder.
python app.py
Example: You open the Space and give it a photo of a person. The demo hands back the photo with the person separated from the background.
For newcomers and experts: If you are new to this, open the Space's page and try one photo with a clear subject. Nothing needs installing, and you see what separating a subject from its background looks like.
If you know the field, the demo names six checkpoints under one author, from the base model to HR, matting, portrait and lite forms. The hosted copy runs on zero-a10g hardware at Hugging Face. A copy at home uses your own machine, and the source lists no hardware you must have.
Open the Space or run app.py locally
Give the demo a picture
A BiRefNet model separates subject from background
You get the result back
Good to know: The source says little about limits, so check results on your own pictures.
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 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| BiRefNet Demo This page | 341 | gradio | mit | |
| 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…