CoolFace
Modelpublic

qualcomm/MediaPipe-Hand-Detection

sourceHugging Faceapache-2.0updated 11d agoView on Hugging Face
38likes1.6kdownloads
Model Card

MediaPipe-Hand-Detection: Optimized for Qualcomm Devices

The MediaPipe Hand Landmark Detector is a machine learning pipeline that predicts bounding boxes and pose skeletons of hands in an image.

This is based on the implementation of MediaPipe-Hand-Detection found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.

Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.

Getting Started

There are two ways to deploy this model on your device:

Option 1: Download Pre-Exported Models

Below are pre-exported model assets ready for deployment.

RuntimePrecisionChipsetSDK VersionsDownload
ONNXfloatUniversalQAIRT 2.45, ONNX Runtime 1.27.1Download
QNN_DLCfloatUniversalQAIRT 2.45Download
TFLITEfloatUniversalQAIRT 2.45Download

For more device-specific assets and performance metrics, visit [MediaPipe-Hand-Detection on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/mediapipe_hand).

Option 2: Export with Custom Configurations

Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:

  • Custom weights (e.g., fine-tuned checkpoints)
  • Custom input shapes
  • Target device and runtime configurations

This option is ideal if you need to customize the model beyond the default configuration provided here.

See our repository for MediaPipe-Hand-Detection on GitHub for usage instructions.

Model Details

Model Type: Modelusecase.object_detection

Model Stats:

  • Input resolution: 256x256
  • Model size (hand_detector) (float): 6.75 MB
  • Model size (handlandmarkdetector) (float): 7.70 MB
  • Number of parameters (hand_detector): 1.76M
  • Number of parameters (handlandmarkdetector): 2.01M

Performance Summary

ModelRuntimePrecisionChipsetInference Time (ms)Peak Memory Range (MB)Primary Compute Unit
hand_detectorONNXfloatSnapdragon® X2 Elite0.487 ms2 - 2 MBNPU
hand_detectorONNXfloatSnapdragon® X Elite0.851 ms0 - 0 MBNPU
hand_detectorONNXfloatSnapdragon® 8 Gen 3 Mobile0.592 ms0 - 65 MBNPU
hand_detectorONNXfloatSnapdragon® 8 Gen 1 Mobile1.5 ms1 - 63 MBNPU
hand_detectorONNXfloatQualcomm® Dragonwing™ IQ-82751.39 ms1 - 4 MBNPU
hand_detectorONNXfloatQualcomm® Dragonwing™ QCS8550 (Proxy)0.837 ms0 - 6 MBNPU
hand_detectorONNXfloatQualcomm® QCS84501.5 ms1 - 63 MBNPU
hand_detectorONNXfloatQualcomm® Dragonwing™ IQ-90751.266 ms1 - 3 MBNPU
hand_detectorONNXfloatQualcomm® Dragonwing™ IQ-X71810.851 ms0 - 0 MBNPU
hand_detectorONNXfloatQualcomm® Dragonwing™ Q-87500.498 ms0 - 41 MBNPU
hand_detectorONNXfloatSnapdragon® 8 Elite Mobile0.498 ms0 - 41 MBNPU
hand_detectorONNXfloatSnapdragon® 8 Elite Gen 5 Mobile0.432 ms0 - 48 MBNPU
hand_detectorQNN_DLCfloatSnapdragon® X2 Elite0.606 ms1 - 1 MBNPU
hand_detectorQNN_DLCfloatSnapdragon® X Elite0.888 ms1 - 1 MBNPU
hand_detectorQNN_DLCfloatSnapdragon® 8 Gen 3 Mobile0.535 ms0 - 57 MBNPU
hand_detectorQNN_DLCfloatSnapdragon® 8 Gen 1 Mobile1.374 ms0 - 56 MBNPU
hand_detectorQNN_DLCfloatQualcomm® Dragonwing™ IQ-82751.214 ms1 - 4 MBNPU
hand_detectorQNN_DLCfloatQualcomm® Dragonwing™ QCS8550 (Proxy)0.729 ms1 - 2 MBNPU
hand_detectorQNN_DLCfloatQualcomm® SA8775P1.285 ms0 - 41 MBNPU
hand_detectorQNN_DLCfloatQualcomm® SA8650P1.285 ms0 - 41 MBNPU
hand_detectorQNN_DLCfloatQualcomm® SA8255P1.285 ms0 - 41 MBNPU
hand_detectorQNN_DLCfloatQualcomm® QCS84501.374 ms0 - 56 MBNPU
hand_detectorQNN_DLCfloatQualcomm® Dragonwing™ IQ-90751.111 ms3 - 5 MBNPU
hand_detectorQNN_DLCfloatQualcomm® Dragonwing™ IQ-X71810.888 ms1 - 1 MBNPU
hand_detectorQNN_DLCfloatQualcomm® Dragonwing™ Q-87500.44 ms1 - 39 MBNPU
hand_detectorQNN_DLCfloatQualcomm® SA7255P3.776 ms1 - 39 MBNPU
hand_detectorQNN_DLCfloatQualcomm® SA8295P1.692 ms0 - 31 MBNPU
hand_detectorQNN_DLCfloatSnapdragon® 8 Elite Mobile0.44 ms1 - 39 MBNPU
hand_detectorQNN_DLCfloatSnapdragon® 8 Elite Gen 5 Mobile0.388 ms0 - 40 MBNPU
hand_detectorTFLITEfloatSnapdragon® 8 Gen 3 Mobile0.541 ms0 - 55 MBNPU
hand_detectorTFLITEfloatSnapdragon® 8 Gen 1 Mobile1.374 ms0 - 56 MBNPU
hand_detectorTFLITEfloatQualcomm® Dragonwing™ IQ-82751.219 ms0 - 8 MBNPU
hand_detectorTFLITEfloatQualcomm® Dragonwing™ QCS8550 (Proxy)0.732 ms0 - 2 MBNPU
hand_detectorTFLITEfloatQualcomm® SA8775P1.302 ms0 - 41 MBNPU
hand_detectorTFLITEfloatQualcomm® SA8650P1.302 ms0 - 41 MBNPU
hand_detectorTFLITEfloatQualcomm® SA8255P1.302 ms0 - 41 MBNPU
hand_detectorTFLITEfloatQualcomm® QCS84501.374 ms0 - 56 MBNPU
hand_detectorTFLITEfloatQualcomm® Dragonwing™ IQ-90751.13 ms0 - 7 MBNPU
hand_detectorTFLITEfloatQualcomm® Dragonwing™ Q-87500.446 ms0 - 35 MBNPU
hand_detectorTFLITEfloatQualcomm® SA7255P3.845 ms0 - 38 MBNPU
hand_detectorTFLITEfloatQualcomm® SA8295P1.715 ms0 - 29 MBNPU
hand_detectorTFLITEfloatSnapdragon® 8 Elite Mobile0.446 ms0 - 35 MBNPU
hand_detectorTFLITEfloatSnapdragon® 8 Elite Gen 5 Mobile0.391 ms0 - 36 MBNPU
handlandmarkdetectorONNXfloatSnapdragon® X2 Elite0.713 ms2 - 2 MBNPU
handlandmarkdetectorONNXfloatSnapdragon® X Elite1.145 ms6 - 6 MBNPU
handlandmarkdetectorONNXfloatSnapdragon® 8 Gen 3 Mobile0.816 ms0 - 67 MBNPU
handlandmarkdetectorONNXfloatSnapdragon® 8 Gen 1 Mobile2.089 ms1 - 60 MBNPU
handlandmarkdetectorONNXfloatQualcomm® Dragonwing™ IQ-82752.008 ms1 - 4 MBNPU
handlandmarkdetectorONNXfloatQualcomm® Dragonwing™ QCS8550 (Proxy)1.182 ms0 - 37 MBNPU
handlandmarkdetectorONNXfloatQualcomm® QCS84502.089 ms1 - 60 MBNPU
handlandmarkdetectorONNXfloatQualcomm® Dragonwing™ IQ-90751.839 ms1 - 4 MBNPU
handlandmarkdetectorONNXfloatQualcomm® Dragonwing™ IQ-X71811.145 ms6 - 6 MBNPU
handlandmarkdetectorONNXfloatQualcomm® Dragonwing™ Q-87500.659 ms0 - 38 MBNPU
handlandmarkdetectorONNXfloatSnapdragon® 8 Elite Mobile0.659 ms0 - 38 MBNPU
handlandmarkdetectorONNXfloatSnapdragon® 8 Elite Gen 5 Mobile0.571 ms0 - 44 MBNPU
handlandmarkdetectorQNN_DLCfloatSnapdragon® X2 Elite0.868 ms1 - 1 MBNPU
handlandmarkdetectorQNN_DLCfloatSnapdragon® X Elite1.292 ms1 - 1 MBNPU
handlandmarkdetectorQNN_DLCfloatSnapdragon® 8 Gen 3 Mobile0.765 ms0 - 56 MBNPU
handlandmarkdetectorQNN_DLCfloatSnapdragon® 8 Gen 1 Mobile1.932 ms0 - 55 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® Dragonwing™ IQ-82751.833 ms1 - 4 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® Dragonwing™ QCS8550 (Proxy)0.999 ms1 - 2 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® SA8775P1.878 ms0 - 37 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® SA8650P1.878 ms0 - 37 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® SA8255P1.878 ms0 - 37 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® QCS84501.932 ms0 - 55 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® Dragonwing™ IQ-90751.691 ms1 - 3 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® Dragonwing™ IQ-X71811.292 ms1 - 1 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® Dragonwing™ Q-87500.601 ms0 - 34 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® SA7255P5.336 ms1 - 35 MBNPU
handlandmarkdetectorQNN_DLCfloatQualcomm® SA8295P2.235 ms0 - 30 MBNPU
handlandmarkdetectorQNN_DLCfloatSnapdragon® 8 Elite Mobile0.601 ms0 - 34 MBNPU
handlandmarkdetectorQNN_DLCfloatSnapdragon® 8 Elite Gen 5 Mobile0.516 ms0 - 34 MBNPU
handlandmarkdetectorTFLITEfloatSnapdragon® 8 Gen 3 Mobile0.769 ms33 - 91 MBNPU
handlandmarkdetectorTFLITEfloatSnapdragon® 8 Gen 1 Mobile1.952 ms0 - 59 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® Dragonwing™ IQ-82751.842 ms0 - 10 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® Dragonwing™ QCS8550 (Proxy)0.998 ms0 - 3 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® SA8775P1.871 ms0 - 43 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® SA8650P1.871 ms0 - 43 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® SA8255P1.871 ms0 - 43 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® QCS84501.952 ms0 - 59 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® Dragonwing™ IQ-90751.683 ms0 - 9 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® Dragonwing™ Q-87500.608 ms0 - 37 MBNPU
handlandmarkdetectorTFLITEfloatQualcomm® SA7255P9.224 ms0 - 30 MBGPU
handlandmarkdetectorTFLITEfloatQualcomm® SA8295P2.221 ms0 - 35 MBNPU
handlandmarkdetectorTFLITEfloatSnapdragon® 8 Elite Mobile0.608 ms0 - 37 MBNPU
handlandmarkdetectorTFLITEfloatSnapdragon® 8 Elite Gen 5 Mobile0.527 ms0 - 46 MBNPU

License

  • The license for the original implementation of MediaPipe-Hand-Detection can be found here.

References

Community