Have you tried disabling the GPU and running it in CPU mode?As a test
I have not. Maybe I can try and test this later today.Have you tried disabling the GPU and running it in CPU mode?
A GPU is not required, but it certainly helps speed up processing time if you have one.Also is a GPU mandatory? what's the minimum I would need?
@MikeLud1 , just FYI I'm also running a P400 w/ 2GB ram, and lpr is working fine... ~100msec return for lpr. So it must be something else at play. My PC also has 32gb ram... 16gb of which is shared with the gpu. Python processes with lpr, ipcam-combined, license-plates, and deliveries runs up to 12GB or so... system ram though.It looks like it is a memory issue. I can make a lite version of the ALPR module that I hope can run on GPUs like yours. I will work with Chris from CP.AI to get one made or have the option to change to run as a lite version.
View attachment 152669
I'm pretty sure the main motivation for cpai lpr is to get lpr completely local, without online subscriptions etc. So it would be a 180 if that changed. Also CPAI and the models I believe are all open source. So we probably won't see that side of the code pry any $ from our wallets. BI is proprietary, and I suppose they could lop lpr off and charge monthly for it. However I doubt that would happen, since as is cpai is not as good as License Recognizer online anyways.I don't have BI but for this I'm wiling to buy it assuming this LPR functionality is not planned to be a subscription type feature once it is out of beta?
I'm assuming this won't work with a standalone dahua NVR (even if i can have a Windows/Linux server to pull the RTSP stream from the camera?)
Sooooo....I tried CodeProject on a computer that I rarely give internet access to.I'm pretty sure the main motivation for cpai lpr is to get lpr completely local, without online subscriptions etc. So it would be a 180 if that changed. Also CPAI and the models I believe are all open source. So we probably won't see that side of the code pry any $ from our wallets. BI is proprietary, and I suppose they could lop lpr off and charge monthly for it. However I doubt that would happen, since as is cpai is not as good as License Recognizer online anyways.
If you can pull RTSP from your NVR or cameras, then yeah it should work. BI doesn't care where the stream is coming from as long as it works. I pull streams from a single camera with multiple clients simultaneously all the time. You may need to change your cam codecs to a basic flavor (plain 264 or 265) if they are now using smart or + or whatever.
Can you post a screenshot after running nvidia-smi, like in the below postMike, just FYI I'm also running a P400 w/ 2GB ram, and lpr is working fine... ~100msec return for lpr. So it must be something else at play. My PC also has 32gb ram... 16gb of which is shared with the gpu. Python processes with lpr, ipcam-combined, license-plates, and deliveries runs up to 12GB or so... system ram though.
One question when install CP.AI did you do a clean install or installed on top of an old version. If on top try doing a clean install.@MikeLud1 As a test, I disabled the license-plate model to see how much RAM is used by the GPU compared to when it is enabled. Confirms what you said about my lack of GPU memory.
View attachment 152688
View attachment 152689
Hmmm... I just tested this on my system and everything still worked after disconnecting from the internet.So much for it being a local solution.
Give it a little more time. It wasn't immediate, but it was shortly thereafter.Hmmm... I just tested this on my system and everything still worked after disconnecting from the internet.
It's been disconnected for 15 minutes and CPAI is still processing motion from all my cameras.Give it a little more time. It wasn't immediate, but it was shortly thereafter.
Maybe mine would be an anomaly? And if so why?It's been disconnected for 15 minutes and CPAI is still processing motion from all my cameras.
FWIW, I'm running driver 516.94, as recommended in the cuda notes on the CPAI install instruction page.
Not sure, but I have CPAI installed on two machines and both of them seem to be working fine without an internet connection.Maybe mine would be an anomaly? And if so why?
I had uninstalled and reinstalled in the event something got messed up in the installation, but both times it throws up errors once it doesn't have an internet connection.
That would be great news! Hopefully someone else can try it as well. And I will try to figure out why mine is doing this.Not sure, but I have CPAI installed on two machines and both of them seem to be working fine without an internet connection.