5.5.8 - June 13, 2022 - Code Project’s SenseAI Version 1 - See V2 here https://ipcamtalk.com/threads/codeproject-ai-version-2-0.68030/

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,211
Reaction score
4,252
Location
Brooklyn, NY
CodeProject.AI 2.0 Update

I have been Alpha testing V2.0 since Friday. There were some bugs that are being addressed. If all bugs are worked out it should be released on Monday. Below are some screenshots. The default install only installs Face Processing, Object Detection (YOLOv5 .NET), and Object Detection (YOLOv5 6.2) modules.
My ALPR module will be added to the Install Module list. Most likely the ALPR integration for Blue Iris still need to be worked out.

1670794781873.png
1670794817019.png
1670794851822.png
1670794914740.png

There is also a Light setting
1670794988644.png
 

Attachments

Last edited:

sewington

Getting the hang of it
Joined
Oct 25, 2022
Messages
24
Reaction score
51
Location
Alberta, Canada
I'm trying to help a user on the Blue Iris Facebook group, but I've hit a dead end. So far I've asked them to make sure their driver was compatible with CUDA 11.7.

Here's how their question began:

I have one instance working on another computer did all the same steps (at least I think) to set it up it works with CPU detection but since its an i3 I am trying to get the GPU detection working and i get this error on the log screen.
Object Detection (YOLO): (General Exception) : CUDA error: an illegal memory access was encountered

I am using a EVGA 1070 I have a machine working with a 1660 and i even copied the harddrive to try and see if I just missed a step.

This is where they left off:

Traceback (most recent call last):
10:55:19 PM: File "C:\Program Files\CodeProject\AI\AnalysisLayer\ObjectDetectionYolo\detect_adapter.py", line 15, in
10:55:19 PM: from codeprojectai import CodeProjectAIRunner
10:55:19 PM: File "../SDK/Python\codeprojectai.py", line 38, in
10:55:19 PM: from requestdata import AIRequestData
10:55:19 PM: File "../SDK/Python\requestdata.py", line 8, in
10:55:19 PM: from PIL import Image
10:55:19 PM: ImportError: cannot import name 'Image' from 'PIL' (unknown location)
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,211
Reaction score
4,252
Location
Brooklyn, NY
I'm trying to help a user on the Blue Iris Facebook group, but I've hit a dead end. So far I've asked them to make sure their driver was compatible with CUDA 11.7.

Here's how their question began:

I have one instance working on another computer did all the same steps (at least I think) to set it up it works with CPU detection but since its an i3 I am trying to get the GPU detection working and i get this error on the log screen.
Object Detection (YOLO): (General Exception) : CUDA error: an illegal memory access was encountered

I am using a EVGA 1070 I have a machine working with a 1660 and i even copied the harddrive to try and see if I just missed a step.

This is where they left off:

Traceback (most recent call last):
10:55:19 PM: File "C:\Program Files\CodeProject\AI\AnalysisLayer\ObjectDetectionYolo\detect_adapter.py", line 15, in
10:55:19 PM: from codeprojectai import CodeProjectAIRunner
10:55:19 PM: File "../SDK/Python\codeprojectai.py", line 38, in
10:55:19 PM: from requestdata import AIRequestData
10:55:19 PM: File "../SDK/Python\requestdata.py", line 8, in
10:55:19 PM: from PIL import Image
10:55:19 PM: ImportError: cannot import name 'Image' from 'PIL' (unknown location)
Have them try doing a repair

1670890859407.png
 

clk8

Young grasshopper
Joined
Jul 18, 2022
Messages
30
Reaction score
24
Location
NY
I'm trying to help a user on the Blue Iris Facebook group, but I've hit a dead end. So far I've asked them to make sure their driver was compatible with CUDA 11.7.

Here's how their question began:

I have one instance working on another computer did all the same steps (at least I think) to set it up it works with CPU detection but since its an i3 I am trying to get the GPU detection working and i get this error on the log screen.
Object Detection (YOLO): (General Exception) : CUDA error: an illegal memory access was encountered

I am using a EVGA 1070 I have a machine working with a 1660 and i even copied the harddrive to try and see if I just missed a step.

This is where they left off:

Traceback (most recent call last):
10:55:19 PM: File "C:\Program Files\CodeProject\AI\AnalysisLayer\ObjectDetectionYolo\detect_adapter.py", line 15, in
10:55:19 PM: from codeprojectai import CodeProjectAIRunner
10:55:19 PM: File "../SDK/Python\codeprojectai.py", line 38, in
10:55:19 PM: from requestdata import AIRequestData
10:55:19 PM: File "../SDK/Python\requestdata.py", line 8, in
10:55:19 PM: from PIL import Image
10:55:19 PM: ImportError: cannot import name 'Image' from 'PIL' (unknown location)
I am seeing this same error after uninstalling 1.6.8 and installing 2.0.0.0
Have run repair multiple times
Uninstall, Reboot, Install multiple times
Nothing has helped thus far
Interesting enough I had installed 2.0.0.0 over 1.6.8 at first and it was working, but I was having some crashing issues so I decided to do the full uninstall
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,211
Reaction score
4,252
Location
Brooklyn, NY
I am seeing this same error after uninstalling 1.6.8 and installing 2.0.0.0
Have run repair multiple times
Uninstall, Reboot, Install multiple times
Nothing has helped thus far
Interesting enough I had installed 2.0.0.0 over 1.6.8 at first and it was working, but I was having some crashing issues so I decided to do the full uninstall
Version 2.0.0.0 had some bugs and is not officially released. There is a version 2.0.1 that fixed some of the bugs, also this version is not officially released. They are working out all the bugs before they do an official release.
 

clk8

Young grasshopper
Joined
Jul 18, 2022
Messages
30
Reaction score
24
Location
NY
Version 2.0.0.0 had some bugs and is not officially released. There is a version 2.0.1 that fixed some of the bugs, also this version is not officially released. They are working out all the bugs before they do an official release.
Thanks, I had already found 2.0.1 by the time I read this and tried it.

2.0.1 worked for me
 

jrbeddow

Getting comfortable
Joined
Oct 26, 2021
Messages
374
Reaction score
489
Location
USA
Getting better all the time ! 2.02 looking good. Very fast install as well !

View attachment 148201
Awesome, but I'm curious: are you running a Docker version? I still don't see any new 2.x.x series version available with a Windows installer here on their main site, only the 1.6.8 that has been available for many weeks:

Edit: I didn't see Mike Lud's response, it came in as I was composing my question.
 

gwminor48

Known around here
Joined
Jul 16, 2015
Messages
3,655
Reaction score
7,030
Location
Texas
I guess I will be making the switch soon LOL. I have stayed on DeepStack until ALPR was part of CodeProject.
Let us know how it goes. The long install time has been my main complaint (1 hr 20 min for me on 3 different installs). I see @Tinman said his install time was now faster so that sounds hopeful.
 
Top