Proper AI settings

General discussion about Blue Iris
Post Reply
dwhelan
Posts: 8
Joined: Mon Dec 18, 2023 9:07 am

Proper AI settings

Post by dwhelan »

Hi - running latest stable release of 5.8.8.12 with latest CPAI 2.6.2 (clean install)

Unsure why I'm getting Object Detection (YOLOv5 6.2) command detect 'found suitcase' when ALL of my camera AI settings have ONLY 'ipcam-general' listed in the custom models alert setup. I've also tried disabiling 'Use Custom models' on the general AI settings tab and after rebooting still see objects reconized in CPAI status screen not included in the ipcam-general model.

What am I missing? Is the only way around this to delete all the other custom models in CPAI models folder I don't want?

David
User avatar
TimG
Posts: 2391
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Proper AI settings

Post by TimG »

Steady on there !

Do you want to use the default model ? Ensure Settings/ Default object detection is ticked. Untick it if you want to use custom models.
If you want custom models, tick "Use custom models".

If you tick "Save AI analysis .DAT files" for a camera, you can then view a DAT file to see which models are being used. We can then use the 0: command to turn off unwanted models like this "Custom models: alpr:0,ipcam-combined,faces".

Then you turn off DAT files else they fill up your folders.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
dwhelan
Posts: 8
Joined: Mon Dec 18, 2023 9:07 am

Re: Proper AI settings

Post by dwhelan »

Thanks so much for your suggestions TimG

This is feeling like whack-a-mole... All I want is for CPAI to detect person, yet it keeps taking extra CPU time and detecting many other types of object (correctly I should add).

So, I've done the following, but am still getting YOLOv5 6.2 detections for "Found Bowl, bicycle, potted plant" in the Console:

Disabled all my cameras except the front door
In General AI, have Use Custom models unchecked and Default object detection enabled. Shows Medium and Use GPU (I have a NVIDIA video card). Facial recognition disabled.
On the Camera/Alert/AI Configuration I have To confirm 'person', and in Custom models I have ipcam-general,actionnetv2:0,ipcam-animal:0,ipcam-combined:0,ipcam-dark:0,license-plate:0
I have Save AI analysis .DAT files enabled, and 'save unknown faces' disabled.
I have Face processing stopped, Object detection (YOLOv5 6.2) started.
If I trigger the camera and look at the DAT file in AI status window, it doesn't show the AI model used. I do notice static showing bicycle, bowl and potted plant...

Is BlueIris possibly not honoring my model lists while doing static object detection, thus causing these extra object detections to show up in the CPAI console?

Is this expected or not?

Thanks!

David
User avatar
TimG
Posts: 2391
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Proper AI settings

Post by TimG »

in Custom models I have ipcam-general,actionnetv2:0,ipcam-animal:0,ipcam-combined:0,ipcam-dark:0,license-plate:0
So you turned off custom models in General settings, but in camera AI settings you have custom model "ipcam-general" without a :0 so it is called up.

When turning off custom models and enabling the default model, the only model you should see in a DAT file is "Objects" which is the default AI model. Now there is a lot of confusion with the Help file explaining that the custom file list can be an inclusion or exclusion list, but I think it means if you start using the :0 disable function you end up needing it everywhere.

For your Camera/Custom models, what happens if you leave it empty ? Check a DAT file after the next alert. Why would you need a custom model if you are only using the default model ? Getting closer 8-)

My system does use custom models including ipcam-combined, faces and license plates. My "Custom models" for one camera looks like this:

One.png
One.png (30.18 KiB) Viewed 2545 times

So you can see I had to disable faces and number plates on that camera, but I do use ipcam-combined. A corresponding DAT file looks like this:

Two.png
Two.png (65.18 KiB) Viewed 2545 times

And there you can see the only model running on that camera is ipcam-combined.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
dwhelan
Posts: 8
Joined: Mon Dec 18, 2023 9:07 am

Re: Proper AI settings

Post by dwhelan »

Hi!

I think I've figured this out!! Now I'm getting ONLY 'person' or 'vehicle' sub 100ms results consistently from CPAI on my wimpy Nvidia 1030 CUDA graphics card? In General settings / AI, I have Use Custom Models. Then I have to list this in Custom Models on the AI Alert on each Camera:

ipcam-general,objects:0,actionnetv2:0,ipcam-animal:0,ipcam-combined:0,ipcam-dark:0,license-plate:0


The KEY thing is to add objects:0

With that added, I'm no longer getting bowls, etc detected.

-David
User avatar
TimG
Posts: 2391
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Proper AI settings

Post by TimG »

That should do the same as turning the default model off, but hey don't knock it if it works :D
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Post Reply