I'm trying to work with OCR, and I'm following this tutorial:
https://community.idolondemand.com/t5/Blog/Tutorial-OCR-on-Google-Glass/ba-p/1164
But it not works good with Glass.
The camera shows unreal colors... The color of the skin is blue :( And I don't know how to solve it. I have modified the code to start the camera like this:
@Override
public void surfaceCreated(SurfaceHolder holder) {
camera = Camera.open();
Camera.Parameters params = camera.getParameters(); //added
params.setPreviewFpsRange(30000, 30000); //added
params.setPreviewSize(640,360); //added
camera.setParameters(params); //added
// Show the Camera display
try {
camera.setPreviewDisplay(holder);
} catch (IOException e) {
this.releaseCamera();
}
}
With this problem, I can try to use the OCR and not recognize well the text of the images... But, can it be related to the camera problem?
Is there any other API to do OCR?