BlueIris and Codeproject AI

jensie
Posts: 15
Joined: Sat Nov 11, 2023 2:46 pm

BlueIris and Codeproject AI

Post by jensie »

I launched the following models in codeproject.AI (which are indicated as green and based on the logs work)
Face processing
License Plate Reader
ObjectDetection (YOLOv5.6.2)
ObjectDetection (Coral) - TPU works and is detected (cfr. device manager)

The main reason why to move to blue iris from frigate, was the codeproject.ai integration. After 2 days trying to make it work and following multiple guides on the internet, I'm not getting it to work.

Trigger, record and alert settings are attached.

I hope that someone can please point me in the right direction.
Attachments
Screenshot 2023-12-06 at 15.27.55.png
Screenshot 2023-12-06 at 15.27.55.png (172.93 KiB) Viewed 16139 times
Screenshot 2023-12-06 at 15.26.30.png
Screenshot 2023-12-06 at 15.26.30.png (159.94 KiB) Viewed 16139 times
Screenshot 2023-12-06 at 15.25.34.png
Screenshot 2023-12-06 at 15.25.34.png (139.8 KiB) Viewed 16139 times
pootug
Posts: 17
Joined: Thu Sep 10, 2020 8:21 am
Location: South Coast UK

Re: BlueIris and Codeproject AI

Post by pootug »

How many zones are you using, as you have A-H unchecked so are you using them all including a hot spot.

https://btcloud.bt.com/web/app/share/invite/9v7uaBf3Gb
jensie
Posts: 15
Joined: Sat Nov 11, 2023 2:46 pm

Re: BlueIris and Codeproject AI

Post by jensie »

I'm using Zones A-C. I set the configuration accordingly. What would be the impact of it ?

I'm just not getting alerts and the triggering is flaky at best.
Attachments
Screenshot 2023-12-06 at 16.53.12.png
Screenshot 2023-12-06 at 16.53.12.png (6.96 KiB) Viewed 16105 times
mcvoss
Posts: 22
Joined: Sun Sep 17, 2023 11:42 pm

Re: BlueIris and Codeproject AI

Post by mcvoss »

I have a CodeProject question hopefully not hijacking this thread.

I have BI and CP working well. I have been using Yolo 5 (CP 2.34Beta), when I try Yolo 5.62 my cpu keeps pegging out at 100% where Yolo 5 it never goes above 20%. Curious any reason why it does that.

Another question, for the heck of it I changed the model size from Medium to Large. Doesn't seem to affect performance. Any advantage to keeping it at Large?

Thanks,

Micahel
jensie
Posts: 15
Joined: Sat Nov 11, 2023 2:46 pm

Re: BlueIris and Codeproject AI

Post by jensie »

Maybe you can help me in the meanwhile. What is your setup for your triggers and alerts ?
patrickm
Posts: 5
Joined: Tue Dec 05, 2023 2:51 pm

Re: BlueIris and Codeproject AI

Post by patrickm »

Does the codeproject AI web dashboard show your models processing requests?

When you say alerts do you just mean in the BI software or do you want actual push alerts to your phone? Push alerts to the phone requires adding an alert in the configuration settings of the alerts tab.

Is the motion trigger firing at all? Can you click on a motion event, go into the status window, and then click on AI and look at the analysis to see any information there?

If you're not getting motion triggers w/o AI then you may need to configure that or use onvif alerts from your camera if available.
jensie
Posts: 15
Joined: Sat Nov 11, 2023 2:46 pm

Re: BlueIris and Codeproject AI

Post by jensie »

Let me try to answer your questions.

I'm not using any alerting on the phone yet as the AI models don't work.

On the motion trigger side, sometimes it works and sometimes it doesn't. I've attached the configuration of the motion configuration (I moved the method from vector to simple).

On the AI side, I've attached what happens with a motion trigger, but it doesn't get back to BI somehow.

I'm currently looking at the footage, and there is a lot of motion from cars or my cat moving around in our car park but no detection by BI. Not sure why it doesn't pick this up ?
Attachments
Screenshot 2023-12-07 at 07.56.11.png
Screenshot 2023-12-07 at 07.56.11.png (226.95 KiB) Viewed 16049 times
Screenshot 2023-12-07 at 07.50.46.png
Screenshot 2023-12-07 at 07.50.46.png (176.1 KiB) Viewed 16050 times
Screenshot 2023-12-07 at 07.42.57.png
Screenshot 2023-12-07 at 07.42.57.png (23.49 KiB) Viewed 16050 times
User avatar
TimG
Posts: 2084
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: BlueIris and Codeproject AI

Post by TimG »

OP: Your original post shows two object detection modules in use. You can only run one. Did you get it working ? This thread is getting messy :(
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
jensie
Posts: 15
Joined: Sat Nov 11, 2023 2:46 pm

Re: BlueIris and Codeproject AI

Post by jensie »

Hi Tim,

I already adjusted this and am I using only the ObjectDetection (Coral). This was a journey on its own, as you need to restart or re-install till it actually detects the TPU and

For the rest, I'm not getting anywhere. The overall detection is currently not working properly. So movements are detected, sometimes.
At the moment, it detects movement, it sends it to the AI and then nothing happens again...
patrickm
Posts: 5
Joined: Tue Dec 05, 2023 2:51 pm

Re: BlueIris and Codeproject AI

Post by patrickm »

Does CP.AI work when you manually pass images via the explorer?
Post Reply