I was wondering how to get a lower resolution when using the JavaCameraView
public List<size> getResolutionList() { return mCamera.getParameters().getSupportedPreviewSizes(); }
public void setResolution(Size resolution) { disconnectCamera(); mMaxHeight = resolution.height; mMaxWidth = resolution.width; connectCamera(getWidth(), getHeight()); } public Size getResolution() { return mCamera.getParameters().getPreviewSize(); }
My resolution is now 960x720, but I want to lower it for (hopefully) better performence, but I coulnd't find any solutions on how to solve this