Ignore maven generated folders.
Cancel scan request when rear-facing camera is not present or when camera instance is null. #7