What camera is this? Does it have built-in AI?
Your doorbell is also lower and recognizes the flag higher and not as superman flying in, whereas this camera the AI cannot tell it is a flag because the camera is higher than the flag so it looks like a person entering the field of view.
Keep in mind CPAI is grassroots being developed by people for free. It won't compare to a company paying staff to create AI detection for their cameras.
CPAI is getting better all the time, but most of us have found camera AI is better at the moment.