public Rect getPreviewFramingRect() {
        return previewFramingRect;
    }
The framing rect, relative to the camera preview resolution.

Will never be null while the preview is active.

@return the preview rect, or null
@see #isPreviewActive()
zxing-android-embedded/src/com/journeyapps/barcodescanner/CameraPreview.java