jc-builds / triposr-ios

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: July 03 2026
image-to-3d

Introduction of triposr-ios

Model Details of triposr-ios

TripoSR iOS (ONNX)

This is the ONNX-converted encoder from TripoSR , a fast feedforward 3D reconstruction model from Stability AI and Tripo AI.

Model Details
Property Value
Model Size ~1.6 GB
Parameters 419M
Input RGB Image (1, 3, 512, 512)
Output Scene Codes / Triplane (1, 3, 40, 64, 64)
ONNX Opset 18
Format ONNX with external data
Usage
Python (ONNX Runtime)
import onnxruntime as ort
import numpy as np
from PIL import Image

# Load the model
session = ort.InferenceSession(
    "triposr_encoder.onnx",
    providers=['CPUExecutionProvider']  # or 'CoreMLExecutionProvider' for iOS
)

# Preprocess image
image = Image.open("your_image.png").convert("RGB").resize((512, 512))
input_array = np.array(image).astype(np.float32) / 255.0
input_array = input_array.transpose(2, 0, 1)[np.newaxis, ...]

# Run inference
scene_codes = session.run(None, {"input_image": input_array})[0]
print(f"Scene codes shape: {scene_codes.shape}")
iOS (Swift with ONNX Runtime)

Add ONNX Runtime to your project via SPM:

https://github.com/nicklockwood/ORTSwift
import OnnxRuntimeBindings

// Load model
let session = try ORTSession(env: env, modelPath: modelPath, sessionOptions: nil)

// Run inference
let inputTensor = try ORTValue(tensorData: imageData, elementType: .float, shape: [1, 3, 512, 512])
let outputs = try session.run(
    withInputs: ["input_image": inputTensor],
    outputNames: ["scene_codes"]
)
Architecture

This model is the encoder portion of TripoSR:

  1. Image Tokenizer - DINO ViT-B/16 pretrained vision transformer
  2. Backbone - Transformer decoder with cross-attention
  3. Post Processor - Converts tokens to triplane representation

The output "scene codes" are triplane features that can be used with a decoder and marching cubes algorithm to extract 3D meshes.

Files
  • triposr_encoder.onnx - ONNX model graph (2.6 MB)
  • triposr_encoder.onnx.data - Model weights (1.6 GB)
Citation

Original TripoSR paper:

@article{TripoSR2024,
  title={TripoSR: Fast 3D Object Reconstruction from a Single Image},
  author={Tochilkin, Dmitry and Pankratz, David and Liu, Zexiang and Huang, Zixuan and Letts, Adam and Li, Yangguang and Liang, Ding and Laforte, Christian and Jampani, Varun and Cao, Yan-Pei},
  journal={arXiv preprint arXiv:2403.02151},
  year={2024}
}
License

MIT License (same as original TripoSR)

Runs of jc-builds triposr-ios on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About triposr-ios huggingface.co Model

More triposr-ios license Visit here:

https://choosealicense.com/licenses/mit

triposr-ios huggingface.co

triposr-ios huggingface.co is an AI model on huggingface.co that provides triposr-ios's model effect (), which can be used instantly with this jc-builds triposr-ios model. huggingface.co supports a free trial of the triposr-ios model, and also provides paid use of the triposr-ios. Support call triposr-ios model through api, including Node.js, Python, http.

jc-builds triposr-ios online free

triposr-ios huggingface.co is an online trial and call api platform, which integrates triposr-ios's modeling effects, including api services, and provides a free online trial of triposr-ios, you can try triposr-ios online for free by clicking the link below.

jc-builds triposr-ios online free url in huggingface.co:

https://huggingface.co/jc-builds/triposr-ios

triposr-ios install

triposr-ios is an open source model from GitHub that offers a free installation service, and any user can find triposr-ios on GitHub to install. At the same time, huggingface.co provides the effect of triposr-ios install, users can directly use triposr-ios installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

triposr-ios install url in huggingface.co:

https://huggingface.co/jc-builds/triposr-ios

Url of triposr-ios

triposr-ios huggingface.co Url

Provider of triposr-ios huggingface.co

jc-builds
ORGANIZATIONS

Other API from jc-builds

huggingface.co

Total runs: 15
Run Growth: 4
Growth Rate: 26.67%
Updated:July 03 2026