mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

iOS CSV pose classification

Open sujie0308 opened this issue 3 years ago • 5 comments

I can already use MediaPipe Colab. Currently, Android has a csv posture classification and counting method. For iOS, I don’t know how to classify posture actions based on csv files. Will this part of the code be added in the future?

sujie0308 avatar May 27 '21 08:05 sujie0308

Thanks for your feedback! We don't have current plan to provide an iOS example, but if we did, iOS would have the same logic as Android. If you are familiar with Java, you can try to map the Android classification code to iOS code. The classification code doesn't use any platform specific things, just general process and algorithm.

bcdj avatar May 27 '21 21:05 bcdj

Thank you. I tried Android Studio and opened the code in the demo. I think I don't know Java and it's still hard to map the Swift code

sujie0308 avatar May 28 '21 06:05 sujie0308

@sujie0308 is ur problem solved? can you share how to solve this issue?

ahmdmau avatar Apr 14 '22 05:04 ahmdmau

I'm also looking for iOS examples

sraliu avatar May 11 '22 02:05 sraliu

I was also looking for iOS samples, but didn't find a solution either. So I mapped the java code to swift and rebuilt the minimal pose classification example. You can find the code here: https://github.com/Throvn/MLKitPoseClassificationExample

Note though, that I am not a Swift native coder, so parts of the code could be a bit messy. Therefore any kind of pull requests (like code cleaning, or adding a readme) are more then welcome.

Throvn avatar Jun 21 '22 11:06 Throvn

We don't plan to provide an iOS example, but you can use the Android classification code as an example and try to replicate it on iOS. The classification code doesn't use any platform specific things, just general process and algorithm.

bcdj avatar Aug 30 '22 22:08 bcdj