FoundationPose
Pose Estimation
W8A16
post
FoundationPose

FoundationPose is a groundbreaking foundation model for 6D object pose estimation and tracking. Unlike traditional methods that require offline training for specific objects, it enables "out-of-the-box" perception for unseen objects. Pre-trained on massive synthetic datasets, the model demonstrates exceptional generalization capabilities, requiring only a 3D model (CAD or reconstructed scan) or a single reference image to accurately predict 3D position and orientation. It excels in handling complex scenes with occlusions and varying lighting conditions. By utilizing a unified architecture for neural rendering and pose refinement, FoundationPose significantly lowers the deployment barriers for robotics and augmented reality (AR) applications when encountering novel objects.

Source model

Source model repository: FoundationPose

Performance Reference

Device

Backend
Precision
Inference Time
Accuracy Loss
File Size
Model Resource Acquisition

Model Farm provides optimized model resources and test code, which can be obtained through the following two methods:

  • Obtain via Model Farm page: Click Models & Test Code in the Performance Reference section on the right to obtain model resources and code packages.

  • Obtain via command line (Recommand): Users with APLUX development boards can obtain model resources and code packages through the built-in MMS tool.

# Search Models
mms list [model name]

# Get Models
mms get -m [model name] -p [precision] -c [soc] -b [backend] -d [file path]

For MMS usage, please refer to: MMS Usage & Access to Preview Models

Model Optimization

When the user has fine-tuned the source model, the model conversion process must be performed again.

Users can refer to either of the following two methods to complete the model conversion:

  • Using AIMO for model conversion: Click Model Conversion Reference in the Performance Reference section on the right to view the conversion steps.

  • Using Qualcomm QNN for model conversion: Please refer to the Qualcomm QNN Documentation.

Model Inference

The model performance benchmarks and example code provided by Model Farm are all implemented based on the APLUX AidLite SDK.

For models in .bin format, you can use either of the following two inference engines to run inference on Qualcomm chips:

Inference using APLUX AidLite: please refer to the APLUX AidLite Developer Documentation

Inference using Qualcomm QNN: Please refer to the Qualcomm QNN Documentation

Inference Example Code

The inference example code is implemented using the AidLite SDK.

Click Model & Code to download the model files and the inference code package. The file structure is as follows:

/{model_name}_{SoC Name}_{Precision}
    
    |__ models # folder where model files are stored    
    
    |__ code # aidlite python model inference example

        |__ python # aidlite python model inference example

        |__ cpp # aidlite cpp model inference example

        |__ README.md
Performance Reference

Device

Backend
Precision
Inference Time
Accuracy Loss
File Size