I cannot find as well, so I'm going to propose some with correction and clarification needed:
https://docs.luxonis.com/projects/api/en/latest/components/messages/camera_control/#cameracontrol:~:text=name-,class,AutoFocusMode,-Members%3A
classAutoFocusMode
Members:
OFF: Terminates auto focus operation at the current focus position
AUTO: Attempts to achieve best focus once then locks focus?
MACRO: Sets lens focus at closest distance possible for device
CONTINUOUS_VIDEO: Continuously adjusts focus with smooth transitions of focus distance
CONTINUOUS_PICTURE: Continuously adjusts focus aggressively to current distance.
EDOF: Digital deblur is applied, at the current focus distance? to extend depth of field
Use cases:
- Default: setAutoFocusMode(CONTINUOUS_VIDEO)
- Constant Distance From Camera:
- setAutoFocusMode(AUTO) followed by setAutoFocusMode(OFF)
- Faster auto focusing:
- setAutoFocusMode(CONTINUOUS_PICTURE)
- Scene with greatly varied distances:
- setAutoFocusMode(Auto), followed by setAutoFocusMode(EDOF)
- Desire full control of focus distance:
- Desire to give hint to auto focus:
- setAutoFocusRange(infinityPosition=0..255, macroPosition=0.255)
Requires: infinityPosition > macroPosition
Q: The Android docs refer to an autoFocus callback to check if autofocus is complete. Is there such animal for Oak-D-Lite?
Would love to see sample code for these use cases.