[tool] [tutorial] Free AI Person Detection for Blue Iris

Is there an updated guide on how to setup this tool with CPAI? I have been using the built in CPAI integration and it is not as configurable as I would like. However, after adding my CPAI URLs and verifying they work with test images the aiinput folder fills up with images to analyze and nothing happens.

Still having trouble?
 
Been using AITOOL with Telegram for awhile and it's been great, but I'm giving Pushover a try to see if I like it better. I have two pushover devices and I'm having trouble getting alerts to go to both. When I put either device in the field, they work. But when I put multiple, separated by pipes as the program instructs me to, neither work. Anybody have any luck with this?

The "TEST" feature in AI TOOL also seems to be buggy, not sure if it's related.

Clarification: It only sends it to the device that is first in the list. For example:

Code:
desktop_main|galaxys23

Only desktop_main gets the pushover alert.

Code:
galaxys23|desktop_main

Only galaxys23 gets the alert.
 
Following up with a solution: If you leave the "Device(s):" field in AITOOL blank, it will send to all of your Pushover devices.


@Chris Dodge What's the best way to donate to the AITOOL project? Git? The button in AITOOL? Doesn't matter? Something else? I really want to kick some $$ to whoever is currently/recently spending time on this.




Been using AITOOL with Telegram for awhile and it's been great, but I'm giving Pushover a try to see if I like it better. I have two pushover devices and I'm having trouble getting alerts to go to both. When I put either device in the field, they work. But when I put multiple, separated by pipes as the program instructs me to, neither work. Anybody have any luck with this?

The "TEST" feature in AI TOOL also seems to be buggy, not sure if it's related.
Clarification: It only sends it to the device that is first in the list. For example:

Code:
desktop_main|galaxys23

Only desktop_main gets the pushover alert.

Code:
galaxys23|desktop_main

Only galaxys23 gets the alert.
 
Hi, I have a lot of time without working BI-telegram sending cams photos, (SCREENSHOT option work like a charm :idk:) and trying make it work again, here are the error messages, any tips about them will be aprecciates ..thank you !! :banghead: :smash:

AItools start log error
While reading 'C:\AITOOL\_Settings\FaceStorage\Faces.JSON', got: Type specified in JSON 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85XXXXXXXXXX],[AITool.ClsFaceFile, AITool, Version=2.6.95.8918, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85XXXXXXXXXX' is not compatible with 'System.Collections.Generic.List`1[[AITool.ClsFaceFile, AITool, Version=2.6.95.8918, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85XXXXXXXXXX'. Path 'faces.$values[0].files.$type', line 12, position 126. [JsonSerializationException] (In Global.ReadFromJsonFile[T](String filePath):3416 > Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) > Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) > Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) > Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) > Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) > Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) > Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) > Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object& newValue, String& id) > Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) > Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) > Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) > Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) > Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) > Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object& newValue, String& id) > Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName))


Telegram messages (I did one cam test)
telegram_error.png

Have a great day !! :headbang:
 

Attachments

  • telegram_error.png
    telegram_error.png
    34.3 KB · Views: 6
Hello all. My previous instance of AI Tool stopped working so I had to re-do it all with the latest version, and also then had issues with Deepstack, so now have AICP running and this seems to be working so far.
One issue, when I launch AI Tool I get the following error:

Code:
 Text "Segoe UI, 8.25pt" cannot be parsed. The expected text format is "name, size[units[, style=style1[, style2, ...]]]". (Parameter 'value') [ArgumentException] (In Global_GUI.SetAppDefaultFont(Boolean firsttime, Control currentform):620)

Anybody have a fix for this?
 
Good day all,

Since Whatsapp has AI bots now. Is there any chance we can look at adding sending alerts to whatsapp? I think that will be a great feature
 
I have 3 windows servers running CPAI 2.6.5 and 3 different BI/Aitool Installations using Mesh. Has anyone upgraded from CPAI 2.6.5 to 2.9.5 recently? I've read lots articles about problems with the update depository moving and updates failing. I tried to update versions a few months ago but had to restore from a full backup. Thought I'd ask here before I tried again. Everything’s working without issue but I'm concerned about being marooned on this version if I don't update now.
 
I have 3 windows servers running CPAI 2.6.5 and 3 different BI/Aitool Installations using Mesh. Has anyone upgraded from CPAI 2.6.5 to 2.9.5 recently? I've read lots articles about problems with the update depository moving and updates failing. I tried to update versions a few months ago but had to restore from a full backup. Thought I'd ask here before I tried again. Everything’s working without issue but I'm concerned about being marooned on this version if I don't update now.
I have three machines that have downloaded and are running 2.9.5 with no problems, if you have a very slow internet connections you may possibly encounter some timeout while installing some of the modules, if that happens I can point you to the thread with how to increase the timeout values
 
An update on my original query with upgrading Code Project AI to 2.9.5 from 2.6.5 which may help someone both time and stress!

I've spent the last couple of days trying to get this to work. I could upgrade to ver 2.9.5 but not ver 2.8.0 which despite being on the main download site for the installs does not install, as some of the modules that it downloads on first run are not available. Ver 2.9.5 does install and at first will appear to be working but soon I started getting multiple failures and errors. I use both the Mesh function between several servers and the IPCam custom models. I think the ver 2.9.5 does not work correctly with custom models and generates the following type of errors: (from AITool Log)

Problem with AI URL: 'ERROR: Failure response from 'CodeProject_AI_IPCAM_Combined'. Error='No File supplied for custom object detection.'. JSON: '{"error":"No File supplied for custom object

It seems to work with the standard models but I didn't persevere with that as that’s not going to work for me as I have some "alarm" systems monitoring ponds which need the wider animal detections of the custom models.

Unfortunately I discovered the problems after having updated 4 systems. You cannot just reinstall 2.6.5 as like 2.8.0 the required download modules are not available. I did however discover that if you try to install 2.6.5 from the exe it sets up enough including the service entry that you can just restore a backup of the "C:\Program Files\CodeProject" folder if you have it and restart the service from the "windows services" application.

Looks like I’m stuck on 2.6.5 for now which is working perfectly again with AITool.
 
An update on my original query with upgrading Code Project AI to 2.9.5 from 2.6.5 which may help someone both time and stress!

I've spent the last couple of days trying to get this to work. I could upgrade to ver 2.9.5 but not ver 2.8.0 which despite being on the main download site for the installs does not install, as some of the modules that it downloads on first run are not available. Ver 2.9.5 does install and at first will appear to be working but soon I started getting multiple failures and errors. I use both the Mesh function between several servers and the IPCam custom models. I think the ver 2.9.5 does not work correctly with custom models and generates the following type of errors: (from AITool Log)

Problem with AI URL: 'ERROR: Failure response from 'CodeProject_AI_IPCAM_Combined'. Error='No File supplied for custom object detection.'. JSON: '{"error":"No File supplied for custom object

It seems to work with the standard models but I didn't persevere with that as that’s not going to work for me as I have some "alarm" systems monitoring ponds which need the wider animal detections of the custom models.

Unfortunately I discovered the problems after having updated 4 systems. You cannot just reinstall 2.6.5 as like 2.8.0 the required download modules are not available. I did however discover that if you try to install 2.6.5 from the exe it sets up enough including the service entry that you can just restore a backup of the "C:\Program Files\CodeProject" folder if you have it and restart the service from the "windows services" application.

Looks like I’m stuck on 2.6.5 for now which is working perfectly again with AITool.

I've seen the "No File supplied for object detection" only with MESH enabled in 2.9.4 / .5. As soon as mesh was disabled and all the services restarted the problem goes away. In my testing it even happened without using the IPCAM modules.

I had to revert back to using multiple servers listed in AITOOL and turn off the "Allow AI server based Queue/Mesh" feature for each server URL listing:

Here is the issue logged:
(Please log a comment if you can replicate!)

Second, the IP cam 'combined' modules only seem to get installed with 3 modules. If using YOLOv8, that may be the issue:

C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-3.1\custom-models\ipcam-animal.pt
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-3.1\custom-models\ipcam-combined.pt
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-3.1\custom-models\ipcam-general.pt
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\custom-models\ipcam-animal.pt
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\custom-models\ipcam-combined.pt
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\custom-models\ipcam-general.pt
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\custom-models\ipcam-animal.onnx
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\custom-models\ipcam-combined.onnx
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\custom-models\ipcam-general.onnx
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv8\custom-models\ipcam-general.pt

For YOLOv8, only "General" gets installed but not Combined. And I think this has been the case right along, so that adds to it being a likely mesh issue.

Whatsapp: I'll try to find time to add this.