protected float getScore(Size size, Size desired) {
        return 0.5f;
    }
Get a score for our size.

1.0 is perfect (exact match).
0.0 means we can't use it at all.

Subclasses should override this.

@param size the camera preview size (that can be scaled)
@param desired the viewfinder size
@return the score
zxing-android-embedded/src/com/journeyapps/barcodescanner/camera/PreviewScalingStrategy.java