On Sige5, a camera preview can look sharp and correctly exposed while a red indicator appears blue. A common cause is disagreement about RGB and BGR channel order between capture, image conversion and display. A model trained on RGB input is also sensitive to that mismatch.

ArmSoM Sige5 single-board computer · ArmSoM
Use a frame with known colors
Place red, green and blue objects in the same scene and save one decoded frame immediately before inference. Read a few interior pixel values and compare them with the format declared by the capture API. Inspect the same pixels after the last conversion. If only the preview swaps channels, correct the display path. If the model tensor is wrong too, correct the shared conversion.
In an eight-bit RGB sample, a red patch should have a substantially larger first component than third. Use relative values from the center of the patch because exposure and lighting affect absolute values.
Keep this frame as a regression sample. A grayscale scene or a white calibration card will rarely expose a red-blue swap.
Reference material
ArmSoM Sige5 hardware documentation
Linux Video4Linux capture interface
Related ArmSoM guide
A camera inspection station on Sige5 from image capture to a decision
