Last active
June 10, 2019 21:22
-
-
Save jamesonthecrow/1495647f9752f107eb6c82944459ef9d to your computer and use it in GitHub Desktop.
Pet Segmentation on Android with Fritz (www.fritz.ai)
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
// Determine how to rotate the image from the camera used. | |
int imgRotation = FritzVisionOrientation.getImageRotationFromCamera(this, cameraId); | |
// Create a FritzVisionImage object from android.media.Image | |
FritzVisionImage visionImage = FritzVisionImage.fromMediaImage(image, imgRotation); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment