In my application I use Camera class to access camera hardware directly. The problem is picture quality is not good. I want to read text clearly that I captured from my application. In my code I use maximum picture size(2560*1920).My camera is 5 MP. I tried too much but not get any required solution. Please help me. My code is:
public void (SurfaceHolder holder)
{
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPictureSize(2560 , 1920);//this img size support my device
parameters.setJpegQuality(100);
camera.setParameters(parameters);
}