Created
December 4, 2019 00:17
-
-
Save neonankiti/9b992fe9653d82e870a6bd749671fe03 to your computer and use it in GitHub Desktop.
Pose Estimation with TensorFlow Lite in Android Sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is copy of https://github.com/edvardHua/PoseEstimationForMobile/ projects.
This software includes the work that is distributed in the Apache License 2.0.