public void OnPictureTaken(byte[] image, int imageOrientation) { // Here we get the full image from the camera. Bitmap processedImage = BitmapFactory.DecodeByteArray(image, 0, image.Length, new BitmapFactory.Options()); // Run document detection on image: var detectionResult = SBSDK.DocumentDetection(processedImage); if (detectionResult.Status.IsOk()) { processedImage = detectionResult.Image as Bitmap; } processedImage = ImagePreparer.PrepareForRecognition(processedImage); Image = processedImage; Intent itemView = new Intent(this, typeof(ItemDisplayer)); StartActivity(itemView); }