Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pet Segmentation on Android with Fritz (www.fritz.ai)
// 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
You can’t perform that action at this time.