How can I finetune CPAI?

General discussion about Blue Iris
Post Reply
roechas
Posts: 6
Joined: Sun Jan 10, 2021 4:09 pm

How can I finetune CPAI?

Post by roechas »

CPAI is detecting a gas can, grill cover, and plastic wrapping from shingles as a person. Is there any way to train it that these items are not people?
gascan.gif
gascan.gif (105.41 KiB) Viewed 650 times
shingles.gif
shingles.gif (109.53 KiB) Viewed 650 times
BruceH
Posts: 242
Joined: Wed Apr 01, 2020 10:10 pm

Re: How can I finetune CPAI?

Post by BruceH »

I often get squirrels that are 60% person, I really don't have the time or the inclination to get rid of what I consider minor nuisances, CPAI has dramatically reduced my nuisance motion detection triggers from shadows, rain, snow and clouds etc..

Have you tried to turn of static object detection, it might help with the identification of non moving objects, there are a number of opinions on how static object detection is supposed to work, but I have it shut off on all of my cameras and I have three different systems running, one of them has over 28 cameras on it.
User avatar
TimG
Posts: 2806
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: How can I finetune CPAI?

Post by TimG »

Can you eliminate them by increasing the percentage required for a valid identification ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
MikeBwca
Posts: 1143
Joined: Thu Jun 20, 2019 5:39 am

Re: How can I finetune CPAI?

Post by MikeBwca »

I've had similar issues... tree trunks, electrical poles, signposts...

Static detection works... most of the time... for foreground large objects... sometimes! I'm not saying it doesn't work - I just haven't figured it out - yet.

What I ended up doing is to mask out those areas. Works great.
You may think... But you won't get alerts in those areas!. Yes, that's correct. But you will still get motion/AI in the areas around it. And, if the masked out areas are small enough, it wont be an issue.

In your case...

First image of the pathway between the fence & building:
, mask out the small areas where the items are by the brick wall. Motion/AI will not be detected there. It should not impact detection of people as it is small and low to the floor. Even if a person slithered on the floor next to the wall (unlikely), they would have to climb over or push the items away causing motion/AI detection.

Second image of deck:
Zone out breaks in-line with motion, like streaks. This will break up the falsely detected objects, but still allow motion detection between the zoned-out areas.

For example... (I colored the masked areas red to be more noticeable)
gascan.gif
gascan.gif (136.44 KiB) Viewed 384 times
shingles.gif
shingles.gif (137.85 KiB) Viewed 384 times

Increasing the 'Object size' may also help.

Raising the conformed % will work. But, you will loose detection of lower confirmed %'s that are valid, which can happen in certain circumstances.

Another thing to consider If an detected person moves to/from the foreground, they will appear very large. The alert may be canceled if the "Reset detector when/Object size exceeds' is too small. You may want to increase it to 95 or 100, or disable it.
Post Reply