I'm just trying to get my head round the logic used in CameraConfigurationUtils and in particular why Macro mode is a last fall through option along with EDOF.
On the devices I have available to me the device is always forced close to the target to frame the barcode risking image clarity - it would appear that Macro should be the first choice (if available) in any focus mode selection algorithm. I suspect experience has suggested otherwise so I'm keen to understand the thinking behind the logic.
Also, there is no attempt to combine zoom adjustment along with standard autofocus as a means of forcing the device away from the target. Any insights as to why (I see there is a setFocus() method but unused in latest release).
thanks
Joe
I think devices that have macro capability don't perform well with close up targets if standard auto-focus mode is used (otherwise it wouldn't make sense to have the macro mode). In my experience macro is short distance, auto-focus (the problem is that the API does not define the relationship between macro and standard auto-focus with any clarity). It seems like scanning is a natural "up close" task which is why I'd have thought macro would be first choice.
I'm not making any suggestions for changes - I just found the selection logic a bit odd and thought I might be missing something.
Joe