Skip to content

Instantly share code, notes, and snippets.

@neonankiti
Created December 4, 2019 03:23
Show Gist options
  • Save neonankiti/abb217579b4be7ee119643202ac06bef to your computer and use it in GitHub Desktop.
Save neonankiti/abb217579b4be7ee119643202ac06bef to your computer and use it in GitHub Desktop.
Pose Estimation with TensorFlow Lite in Android Sample
fun setDrawPoint(
point: Array<FloatArray>,
ratio: Float
) {
var tempX: Float
var tempY: Float
for (i in 0..13) {
tempX = point[0][i] / ratio / mRatioX
tempY = point[1][i] / ratio / mRatioY
mDrawPoint.add(PointF(tempX, tempY))
}
}
@neonankiti
Copy link
Author

This is copy of https://github.com/edvardHua/PoseEstimationForMobile/ projects.
This software includes the work that is distributed in the Apache License 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment