mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

How to pass "model_complexity" for iOS platform

Open fchen09 opened this issue 2 years ago • 1 comments

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

Yes

OS Platform and Distribution

iOS 14.0 and above

MediaPipe version

0.10.1

Bazel version

6.1.1

Solution

Pose

Programming Language and version

Obj-C, Swift

Describe the actual behavior

Hi,
I produced the iOS framework and it works very well. Now, I wanna add model_complexity to choose lite/full model on the UI. I can do it well on Android, but I cannot find any post about the solution on iOS. Could you give some guidance on how to add the model_complexity option in iOS framework? Thanks!

Describe the expected behaviour

Should have a function to pass model_complexity into the framework.

Standalone code/steps you may have used to try to get what you need

No response

Other info / Complete Logs

No response

fchen09 avatar Jun 26 '23 11:06 fchen09

Hello @fchen09,

Thanks for raising this request, This configuration is currently not possible in the iOS framework. However, We are marking this as feature request and sharing the internally based on discussion will prioritise the request.

kuaashish avatar Jun 30 '23 06:06 kuaashish