Created
December 4, 2019 02:37
-
-
Save neonankiti/738aa3de664d5fe557f4c385becea93f to your computer and use it in GitHub Desktop.
Pose Estimation with TensorFlow Lite in Android Sample
This file contains 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) { | |
val red = (pixelValue and 0x00FF0000 shr 16) / 255f * 2.0f - 1.0f | |
val green = (pixelValue and 0x0000FF00 shr 8) / 255f * 2.0f - 1.0f | |
val blue = (pixelValue and 0x000000FF) / 255f * 2.0f - 1.0f | |
} |
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.