Page 1 of 1

Codeproject AI and clouds

Posted: Mon Aug 19, 2024 4:21 pm
by RickJamesBish
Maybe I have something configured incorrectly or missing a step, clouds going over cause a trigger, and the AI is detecting parked cars during that trigger and therefore keeping the recording.

Is there any way around this?

Re: Codeproject AI and clouds

Posted: Tue Aug 20, 2024 1:10 am
by veldthui
Doesn't appear to be. I have a parked trailer in my back yard and everytime something triggers the AI says it is a car and sets the alert.
I also have a tree branch and in windy conditions it say it is a person with an 86% confidence. For the trailer I had to stop it detecting cars, trucks, etc and put that into the cancel alert.

Re: Codeproject AI and clouds

Posted: Thu Aug 22, 2024 11:39 am
by RickJamesBish
veldthui wrote: Tue Aug 20, 2024 1:10 am Doesn't appear to be. I have a parked trailer in my back yard and everytime something triggers the AI says it is a car and sets the alert.
I also have a tree branch and in windy conditions it say it is a person with an 86% confidence. For the trailer I had to stop it detecting cars, trucks, etc and put that into the cancel alert.
It seems like a basic setup of Codeproject AI in BI attempts to determine what are false triggers and omits them, but I found it also omits triggers that are legitimate. I see quite a few taking place while I am watching where a car enters the scene, BI records then CAI deletes it.
I'm going to take the CAI off my system for now and see if maybe it improves later. Granted that without it, I will have to manually determine what are false triggers and delete them, but I also don't have to worry a trigger I need being deleted. I know there is an option to not delete them, but once you start doing that, you may as well just not have CAI. I have not seen any other feature of CAI that merits keeping it.

Thanks for your input.

Re: Codeproject AI and clouds

Posted: Fri Aug 23, 2024 5:38 am
by TimG
I don't understand the static object detection in BI5 for CPAI. It appears to be what we need here, but I can't make it work. I regularly get clouds reflected from my parked car windscreen triggering BI5, then CPAI figuring out it's a car and the static detection cannot figure out that the parked car hasn't moved for hours. I tried adding rules for static detection but was told that would prevent it working. We need a good guide on how to use this :!:

Re: Codeproject AI and clouds

Posted: Sat Aug 24, 2024 11:02 am
by louyo
My $0.02: If the windshield area of the car is changing, then the car is not static. Maybe blank out that area. Maybe just trigger on the vehicle entering the area. Or clone and alert the clone on persons. I think you have to sneak up on it, CPAI is just a tool, not the end all. I don't like static object detection, it triggers constant calls to CPAI.
I have a camera that covers some steel steps and a loading dock entrance. Alerts are set for vehicle and persons. At night, headlights on the steel steps cause a trigger and AI decides the steps are a vehicle. Does not happen during working hours.
I am not interested in catching a vehicle going up the steps. I cloned the camera, the clone only records on alerts. For non working hours, I set the steps to only alert on persons. On the main camera, I mask out the steps. If I suspect something, I also look through cancelled alerts.

Also, keep in mind that the size of the CPAI model will affect the accuracy. You can use jpegs to test out CPAI separately from Blue Iris.
FWIIW: We have a cat that wanders around the back lot at night. If the light is right (usually headlights), the cat+shadow will get identified as a person. Really pisses off the cat.