Skip to content

Instantly share code, notes, and snippets.

@neonankiti
Created December 4, 2019 00:17
Show Gist options
  • Save neonankiti/9b992fe9653d82e870a6bd749671fe03 to your computer and use it in GitHub Desktop.
Save neonankiti/9b992fe9653d82e870a6bd749671fe03 to your computer and use it in GitHub Desktop.
Pose Estimation with TensorFlow Lite in Android Sample
fun addPixelValue(pixelValue: Int) {
//bgr
imgData!!.putFloat((pixelValue and 0xFF).toFloat())
imgData!!.putFloat((pixelValue shr 8 and 0xFF).toFloat())
imgData!!.putFloat((pixelValue shr 16 and 0xFF).toFloat())
}
@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