protected CameraInstance createCameraInstance() {
        CameraInstance cameraInstance = new CameraInstance(getContext());
        cameraInstance.setCameraSettings(cameraSettings);
        return cameraInstance;
    }
Create a new CameraInstance.

Override to use a custom CameraInstance.

@return a new CameraInstance
zxing-android-embedded/src/com/journeyapps/barcodescanner/CameraPreview.java