tucan9389 / PoseEstimation-CoreML

The example project of inferencing Pose Estimation using Core ML
https://github.com/motlabs/awesome-ml-demos-with-ios
MIT License
680 stars 136 forks source link

Support cocoapods #7

Open tucan9389 opened 5 years ago

tucan9389 commented 5 years ago

Wrapper library or helper library?

Interface

// for use
typealias InferencePoint = (CGFloat, CGPoint) // maximum confidence, position of maximum confidence
func convert(result: MLMultiArray) -> [InferencePoint]

// for debug
class HeatmapView: UIView { }
class JointView: UIView { }