jakaskerl What do you mean? The values already have their own human readable values. eg dai.CameraControl.AutoFocusMode.CONTINUOUS_VIDEO
I meant for UI display. I'll just create a map (where your example's 3
becomes "Continuous Video"
). The root of the question assumed others may have wanted this already and thus a util exists.
jakaskerl Check which setting causes the "washed out" image. I don't think I've seen that before though with other devices. Could you attach an image?
Since I don't set any manual settings (outside the OP image), the lighting of the environment must have been the culprit. I can't share images but can tell you when someone walked in front of the camera at about 2ft, this noticeably caused the camera to auto refocus (and maybe any other auto settings kicked in). Further, the images prior to this refocus were bluer and cooler in color (where the washed out whites poorly impacted off device NN) where after the refocus they were the desired warmer colors and again it worked as expected.
Seeing this difference in before and after images made me think I should manually set the camera (wbColorTemp
, awbMode
, expManual
, expCompensation
, etc.), to detect when the camera is reading images as cooler and force to read as warmer.
In the cooler images the whites were washed out so less detail was detectable (thus the poor NN inference performance) but when not washed out the details and contrast in the whites were more obvious and off-device inference again worked reliably.
jakaskerl Yes. But not hot enough to burn you. You can check the temps by running the pipeline in debug mode.
Thank you for confirming.
jakaskerl Use Video(NV12) since it is half the size of preview(RGB) (unless you are using NN, which needs preview-RGB).
I'm doing off-device NN. As I understand it "preview" is for NN workloads as the on device resizing happens efficiently whereas "video" is restricted to typical aspect ratios and thus requires off device processing to get the desired frame size for inference. Is that correct? Any other details you can add?