alt.freeweights.vision / mediapipe_selfie_segmentation_landscape
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

mediapipe_selfie_segmentation_landscape

Date: 2026-11-15Commit: 2497d5bSigned: 2DC28CC7B26A283B ✓

Image segmentation model. Onnx weights, 2.56 MB in all. Published by onnx-community under Apache-2.0.

vision2.56MBmediapipe_selfie_segmentation_landscapeonnxpermissive
FactsParamsnot statedSize2.56 MBFormatsonnxTaskimage segmentationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/mediapipe_selfie_segmentation_landscape
# manifest sha256 9706ea2f5255… · 2.56 MB · 12 files
$ fw verify ./mediapipe_selfie_segmentation_landscape onnx-community/mediapipe_selfie_segmentation_landscape
From sourceHosted (signed)onnx-community/mediapipe_selfie_segmentation_landscapeLast check: 2026-11-15 03:19 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
2.56 MB
Weights
224 KB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
image segmentation
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:19 UTCpassed

Model card

From the publisher at commit 2497d5b. Shown as plain text with links; images open at the publisher.

Usage (Transformers.js)#

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

Example: Selfie segmentation with onnx-community/mediapipe_selfie_segmentation_landscape.

import { AutoModel, AutoProcessor, RawImage } from '@huggingface/transformers';

// Load model and processor
const model_id = 'onnx-community/mediapipe_selfie_segmentation_landscape';
const model = await AutoModel.from_pretrained(model_id, { dtype: 'fp32' });
const processor = await AutoProcessor.from_pretrained(model_id);

// Load image from URL
const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/selfie_segmentation_landscape.png';
const image = await RawImage.read(url);

// Pre-process image
const inputs = await processor(image);

// Predict alpha matte
const { alphas } = await model(inputs);

// Save output mask
const mask = await RawImage.fromTensor(alphas[0].mul(255).to('uint8')).resize(image.width, image.height);
mask.save('mask.png');

// (Optional) Apply mask to original image
const result = image.clone().putAlpha(mask);
result.save('result.png');
Input imagePredicted maskOutput image
Image: image/pngImage: image/pngImage: image/png

Files

12 files · 2.56 MBWeights 224 KB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md1.83 KB0a9511679afbe3e771294a5930758e4bd746219bed01f83063eee2b88507e895
config.json34 B5afaf993d2ee78cc7c052132dc087379b0318f5e8dea0c1339855822d79cf37b
onnx/model.onnx462 KB7a0adcfdb1715d3b0ff0f61486d8a181c33f4a208343a5abfccbc6540e872d24
onnx/model_bnb4.onnx462 KB4628e4ac06ec549e4680becb8a994438c7f9c4a8cf010b325ab019a4bbf1f21b
onnx/model_fp16.onnx251 KBfa1dd66e4c1686824daea5b5449acf43b8d91d806f973dfd598aa54d835f9fea
onnx/model_int8.onnx224 KBadd5ba17fd92b28d2b0fa5d95e4a58cfa9df8a88cff19a1f2ff9906086f6597f
onnx/model_q4.onnx462 KB4628e4ac06ec549e4680becb8a994438c7f9c4a8cf010b325ab019a4bbf1f21b
onnx/model_q4f16.onnx251 KB6b267c9f9542b1dc2ec5b046b228c068e78b2882409b5205ecadcda249550eff
onnx/model_quantized.onnx224 KBb5baab5ea0bc0328548d6fe09e1c01a20f9573605d14c9011f1bb6d02b07f3cf
onnx/model_uint8.onnx224 KBb5baab5ea0bc0328548d6fe09e1c01a20f9573605d14c9011f1bb6d02b07f3cf
preprocessor_config.json253 B0fd554b271a4ea7d93137a49b1d6a5242fe189ffe13510b584777f0096065e16
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
2497d5bec2 pinned now2026-11-15 03:19 UTC12 files · 2.56 MB

Use it

$ fw get onnx-community/mediapipe_selfie_segmentation_landscape
# manifest sha256 9706ea2f5255… · 2.56 MB · 12 files
$ fw verify ./mediapipe_selfie_segmentation_landscape onnx-community/mediapipe_selfie_segmentation_landscape
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/mediapipe_selfie_segmentation_landscape.json --dir ./mediapipe_selfie_segmentation_landscape $ python3 fw.py verify ./mediapipe_selfie_segmentation_landscape ./onnx-community__mediapipe_selfie_segmentation_landscape.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/mediapipe_selfie_segmentation_landscape --revision 2497d5bec26c626c7b3c4edc6e1fefc21b64f6c3 --local-dir ./mediapipe_selfie_segmentation_landscape

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
0a9511679afbe3e771294a5930758e4bd746219bed01f83063eee2b88507e895
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject: mediapipe_selfie_segmentation_landscapeDate: 2026-11-15Commit: 2497d5bSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/mediapipe_selfie_segmentation_landscape
Pinned commit
2497d5bec26c626c7b3c4edc6e1fefc21b64f6c3
Manifest
mediapipe_selfie_segmentation_landscape.json · .minisig
Manifest sha256
9706ea2f5255af3232b611567010ecdb237e317bf0f47e8c31feee19a9ddee6e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:19 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/mediapipe_selfie_segmentation_landscape.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/mediapipe_selfie_segmentation_landscape.json.minisig $ minisign -Vm mediapipe_selfie_segmentation_landscape.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/mediapipe_selfie_segmentation_landscape
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. mediapipe_selfie_segmentation_landscape.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX