Camera Utils
Functions
Link copied to clipboard
fun convertToBitmap( data: ByteBuffer, width: Int, height: Int, rotationDegrees: Int): Bitmap?
Content copied to clipboard
Convert NV21 format byte buffer to bitmap.
Link copied to clipboard
Generates a list of acceptable preview sizes. Preview sizes are not acceptable if there is not a corresponding picture size of the same aspect ratio. If there is a corresponding picture size of the same aspect ratio, the picture size is paired up with the preview size.
Link copied to clipboard
Link copied to clipboard
fun getProgressToMeetBarcodeSizeRequirement(overlay: GraphicOverlay, barcode: Barcode): Float
Content copied to clipboard
Link copied to clipboard
Check if the camera is in portrait mode.