In the exercise "Android 4 Face Detection: setFocusAreas() using face detected faces", I set focus area using the code:
camera.getParameters().setFocusAreas(focusList);
camera.getParameters().setMeteringAreas(focusList);
It's in-correct!
It should be modified as:
Parameters para = camera.getParameters();
para.setFocusAreas(focusList);
camera.setParameters(para);
and
Parameters para = camera.getParameters();
para.setMeteringAreas(focusList);
camera.setParameters(para);
Subscribe to:
Post Comments (Atom)
0 Response to "Set Camera.Parameters"
Post a Comment