fernandotonon commited on
Commit
ec328fe
·
verified ·
1 Parent(s): f34c51e

Add model card

Browse files
Files changed (1) hide show
  1. README.md +54 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ tags:
4
+ - mesh-segmentation
5
+ - part-segmentation
6
+ - point-cloud
7
+ - onnx
8
+ - 3d
9
+ - qtmesheditor
10
+ library_name: onnx
11
+ pipeline_tag: other
12
+ ---
13
+
14
+ # QtMeshEditor — Mesh Part Segmentation
15
+
16
+ A point-cloud part-segmentation network (PointNet++-style) that predicts a
17
+ semantic body-part label (head / torso / left+right arm / left+right leg) per
18
+ point, exported to **ONNX** for in-app inference via ONNX Runtime.
19
+
20
+ Built for **[QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor)** (issue #410) — a free,
21
+ open-source 3D mesh & animation editor — and its companion **QtMesh Cloud**
22
+ asset service. The app downloads this model on first use and runs it locally
23
+ (offline) to power the Edit-Mode **"Select by Part (AI)"** action, the
24
+ `qtmesh segment` CLI, and the `segment_mesh` MCP tool. Labels also feed the
25
+ auto-rigger as placement priors.
26
+
27
+ ## Model
28
+
29
+ - **Input:** a sampled point cloud `float32 [1, N, 3]` (normalised to a centred
30
+ unit box).
31
+ - **Output:** per-point class logits over 7 labels
32
+ (`unknown, head, torso, left_arm, right_arm, left_leg, right_leg`); argmax →
33
+ label, scattered back to mesh vertices/faces by nearest sampled point.
34
+ - When the model is unavailable, QtMeshEditor falls back to a deterministic
35
+ **geometric** segmenter (connected-component islands + an up-axis/lateral
36
+ spatial heuristic, refined by skeleton-bone proximity when the mesh is rigged).
37
+
38
+ ## Training data & license
39
+
40
+ Trained **from scratch** on **synthetic, permissively-derived** data: per-vertex
41
+ part labels read from **rigged-humanoid bone weights** (a CC0 derivation we own)
42
+ sampled into point clouds. This sidesteps the standard part-segmentation
43
+ datasets (ShapeNet-Part, PartNet), which are **non-commercial** and therefore
44
+ incompatible with QtMeshEditor's permissive (MIT) distribution.
45
+
46
+ Works best on upright humanoid meshes near the training distribution; other
47
+ shapes fall back to the geometric labeling.
48
+
49
+ Weights released under **CC-BY-4.0**; please credit *QtMeshEditor*.
50
+
51
+ ## Reproducing
52
+
53
+ `scripts/export-meshseg-onnx.py` in the QtMeshEditor repo (one-time, offline;
54
+ not shipped with the app).