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…
Replaces a face in a video clip with another face, using an InsightFace swapper model behind a small Streamlit page. Runs in the browser on Hugging Face or on your own computer.
InsightFace-Face Swapper-on Video 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 zerovic/InsightFace-Face_Swapper-on_video --repo-type space --local-dir InsightFace-Face_Swapper-on_video cd InsightFace-Face_Swapper-on_video
This Space replaces a face in a video clip with a different face. A small Streamlit app in app.py drives the swap, and the model file inswapper_128.onnx sits in the same repository. You can run it in the browser or copy it to your own computer.
People who edit or experiment with video and want a quick way to try a face swap without building a pipeline. Developers who want a short Streamlit example around an ONNX model will also find it handy.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Video editing | Hobby editors | Put a stand-in face into a short clip | Trying a different face on a test clip before real editing |
| Education | Students of computer vision | Study how a face swap model handles moving pictures | Running one clip through the app and comparing it with the original |
| Software | Python developers | Read app.py and reuse the idea in their own tool | Copying the Space and changing the input clip |
If you never work with video or faces in pictures, you can skip it.
| Use case | Who | What they get back |
|---|---|---|
| Swap a face in a clip | Video hobbyists | The same clip with a different face in it |
| Test a swapper model | Students and developers | A working demo to look at and run locally |
You need only a little before you start.
pip install -U huggingface_hub hf download zerovic/InsightFace-Face_Swapper-on_video --repo-type space --local-dir InsightFace-Face_Swapper-on_video cd InsightFace-Face_Swapper-on_video pip install streamlit==1.39.0 pip install -r requirements.txt streamlit run app.py
Online, open the Space's page and use the app there. On your own computer, run this command from the project folder and open the page Streamlit shows.
streamlit run app.py
You open the Space and give the app a short video clip along with the face you want to place in it. The app hands back the clip with that face swapped in.
If you are new to this, open the Space's page in your browser and try one short clip first. Nothing needs installing for that, and you will see quickly what the swap does.
If you know the field, the swapper is an ONNX model file stored in the repository next to a single app.py, and the hosted copy runs on basic CPU hardware. A CPU host has no graphics card to speed up video work, so long clips will probably take a while.
The source states few limits, so check the results yourself.
Replaces a face in a video clip with another face, using an InsightFace swapper model behind a small Streamlit page. Runs in the browser on Hugging Face or on your own computer.
Made by zerovic 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 replaces a face in a video clip with a different face. A small Streamlit app in app.py drives the swap, and the model file inswapper_128.onnx sits in the same repository. You can run it in the browser or copy it to your own computer.
Who it suits: People who edit or experiment with video and want a quick way to try a face swap without building a pipeline. Developers who want a short Streamlit example around an ONNX model will also find it handy.
Industry | Who uses it | How they use it | Example
Video editing | Hobby editors | Put a stand-in face into a short clip | Trying a different face on a test clip before real editing
Education | Students of computer vision | Study how a face swap model handles moving pictures | Running one clip through the app and comparing it with the original
Software | Python developers | Read app.py and reuse the idea in their own tool | Copying the Space and changing the input clip
If you never work with video or faces in pictures, you can skip it.
Where to use it:
Use case | Who | What they get back
Swap a face in a clip | Video hobbyists | The same clip with a different face in it
Test a swapper model | Students and developers | A working demo to look at and run locally
How to set it up: You need only a little before you start.
pip install -U huggingface_hub
hf download zerovic/InsightFace-Face_Swapper-on_video --repo-type space --local-dir InsightFace-Face_Swapper-on_video
cd InsightFace-Face_Swapper-on_video
pip install streamlit==1.39.0
pip install -r requirements.txt
streamlit run app.py
How to use it: Online, open the Space's page and use the app there. On your own computer, run this command from the project folder and open the page Streamlit shows.
streamlit run app.py
Example: You open the Space and give the app a short video clip along with the face you want to place in it. The app hands back the clip with that face swapped in.
For newcomers and experts: If you are new to this, open the Space's page in your browser and try one short clip first. Nothing needs installing for that, and you will see quickly what the swap does.
If you know the field, the swapper is an ONNX model file stored in the repository next to a single app.py, and the hosted copy runs on basic CPU hardware. A CPU host has no graphics card to speed up video work, so long clips will probably take a while.
Open the Space or run streamlit locally
Give the app a video and a face
app.py loads the inswapper_128.onnx model
The face in the video is swapped
You get the swapped video back
Good to know: The source states few limits, so check the results yourself.
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 |
|---|---|---|---|---|
| InsightFace-Face Swapper-on Video This page | 5 | streamlit | mit | |
| Inpaint_MeShares streamlit | 11 | streamlit | apache-2.0 | |
| Spotify Song ReccomenderShares streamlit | 2 | streamlit | mit | |
| Smart SearchShares streamlit | 1 | streamlit | cc-by-nc-sa-4.0 | |
| Reddit Video DownloaderShares streamlit | 0 | streamlit | 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…