Ken98045 / On-Guard

Adds Artificial Intelligence to almost any security camera that supports HTTP, ONVIF or FTP. It uses DeepStack as the AI engine. It allows the user to easily create areas in a photo that should trigger an action (HTTP/email/MQTT) or ignore activity in that area. It can dramatically reduce the incidents of picture false alarms. It can optionally interact wtih Blue Iris.
43 stars 8 forks source link

Alpha Release #14

Closed grannysmith59 closed 3 years ago

grannysmith59 commented 3 years ago

Hi Ken, me again, I just received this error message: Capture

Log reports "2021.03.11 19:44:31:3463 - The keyword 'asynchronous processing' is not supported on this platform."

I was flicking through captured frames, and the error appeared when a person was detected

I'm using the latest .NET 5.04 on Server 2016, the same machine as v1.8 was running fine on.

Strange that the error message mentions C:\Onguardv2 when that's not where it's installed.

Earlier I had turned on "Use XML data", but then OnGuard crashed and I had to do a partial setup again (setup DeepStack IP, email and one camera), I was then able to turn off "Use XML data", restart, and then all of my other cameras appeared.

Also "Areas of interest" do not display when no image exists for that camera (even after taking a snapshot from Live)

Ken98045 commented 3 years ago

I'll look at it tonight or tomorrowKenFrom: grannysmith59 @.***>Sent: Thursday, March 11, 2021, 12:13 PMTo: Ken98045/On-GuardCc: SubscribedSubject: [Ken98045/On-Guard] Alpha Release (#14)Hi Ken, me again, I just received this error message:Log reports "2021.03.11 19:44:31:3463 - The keyword 'asynchronous processing' is not supported on this platform."I was flicking through captured frames, and the error appeared when a person was detectedI'm using the latest .NET 5.04 on Server 2016, the same machine as v1.8 was running fine on.Strange that the error message mentions C:\Onguardv2 when that's not where it's installed.Earlier I had turned on "Use XML data", but then OnGuard crashed and I had to do a partial setup again (setup DeepStack IP, email and one camera), I was then able to turn off "Use XML data", restart, and then all of my other cameras appeared.Also "Areas of interest" do not display when no image exists for that camera (even after taking a snapshot from Live)—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Ken98045 commented 3 years ago

The Microsoft support for the tools (which are supposedly new and improved) don't support the database stuff in precisely the same way. To get around this go to Application Setting. Look at the database connection string section and click on Use Default.  When you click OK this problem should go away. KenFrom: grannysmith59 @.***>Sent: Thursday, March 11, 2021, 12:13 PMTo: Ken98045/On-GuardCc: SubscribedSubject: [Ken98045/On-Guard] Alpha Release (#14)Hi Ken, me again, I just received this error message:Log reports "2021.03.11 19:44:31:3463 - The keyword 'asynchronous processing' is not supported on this platform."I was flicking through captured frames, and the error appeared when a person was detectedI'm using the latest .NET 5.04 on Server 2016, the same machine as v1.8 was running fine on.Strange that the error message mentions C:\Onguardv2 when that's not where it's installed.Earlier I had turned on "Use XML data", but then OnGuard crashed and I had to do a partial setup again (setup DeepStack IP, email and one camera), I was then able to turn off "Use XML data", restart, and then all of my other cameras appeared.Also "Areas of interest" do not display when no image exists for that camera (even after taking a snapshot from Live)—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

grannysmith59 commented 3 years ago

Hi Ken, the message only appears when show object rectangles is turned on.

Alan

On Fri, 12 Mar 2021 at 01:38, Ken98045 @.***> wrote:

I'll look at it tonight or tomorrowKenFrom: grannysmith59 @.***>Sent: Thursday, March 11, 2021, 12:13 PMTo: Ken98045/On-GuardCc: SubscribedSubject: [Ken98045/On-Guard] Alpha Release (#14)Hi Ken, me again, I just received this error message:Log reports "2021.03.11 19:44:31:3463 - The keyword 'asynchronous processing' is not supported on this platform."I was flicking through captured frames, and the error appeared when a person was detectedI'm using the latest .NET 5.04 on Server 2016, the same machine as v1.8 was running fine on.Strange that the error message mentions C:\Onguardv2 when that's not where it's installed.Earlier I had turned on "Use XML data", but then OnGuard crashed and I had to do a partial setup again (setup DeepStack IP, email and one camera), I was then able to turn off "Use XML data", restart, and then all of my other cameras appeared.Also "Areas of interest" do not display when no image exists for that camera (even after taking a snapshot from Live)—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ken98045/On-Guard/issues/14#issuecomment-797172540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUMUOAIH4NNX5U5D7GCBVDTDFWBPANCNFSM4ZA6MQMA .

Ken98045 commented 3 years ago

I will take a look later tonight. I haven’t been able to get much computer time in in the last week or so. Too much going on around here.

From: grannysmith59 @.*** Sent: Friday, March 12, 2021 5:16 AM To: Ken98045/On-Guard Cc: Ken98045; Comment Subject: Re: [Ken98045/On-Guard] Alpha Release (#14)

Hi Ken, the message only appears when show object rectangles is turned on.

Alan

On Fri, 12 Mar 2021 at 01:38, Ken98045 @.***> wrote:

I'll look at it tonight or tomorrowKenFrom: grannysmith59 @.***>Sent: Thursday, March 11, 2021, 12:13 PMTo: Ken98045/On-GuardCc: SubscribedSubject: [Ken98045/On-Guard] Alpha Release (#14)Hi Ken, me again, I just received this error message:Log reports "2021.03.11 19:44:31:3463 - The keyword 'asynchronous processing' is not supported on this platform."I was flicking through captured frames, and the error appeared when a person was detectedI'm using the latest .NET 5.04 on Server 2016, the same machine as v1.8 was running fine on.Strange that the error message mentions C:\Onguardv2 when that's not where it's installed.Earlier I had turned on "Use XML data", but then OnGuard crashed and I had to do a partial setup again (setup DeepStack IP, email and one camera), I was then able to turn off "Use XML data", restart, and then all of my other cameras appeared.Also "Areas of interest" do not display when no image exists for that camera (even after taking a snapshot from Live)—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ken98045/On-Guard/issues/14#issuecomment-797172540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUMUOAIH4NNX5U5D7GCBVDTDFWBPANCNFSM4ZA6MQMA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ken98045/On-Guard/issues/14#issuecomment-797483203 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSQ24MQACDFMWFUHR6P6FLTDIHZZANCNFSM4ZA6MQMA . https://github.com/notifications/beacon/ACSQ24MVA7DPEJTNVTJUGJLTDIHZZA5CNFSM4ZA6MQMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6EKBQY.gif

Ken98045 commented 3 years ago

Sorry for the delay in a full response. Please see below

From: grannysmith59 @.*** Sent: Friday, March 12, 2021 5:16 AM To: Ken98045/On-Guard Cc: Ken98045; Comment Subject: Re: [Ken98045/On-Guard] Alpha Release (#14)

Hi Ken, the message only appears when show object rectangles is turned on.

Alan

On Fri, 12 Mar 2021 at 01:38, Ken98045 @.***> wrote:

I'll look at it tonight or tomorrowKenFrom: grannysmith59 @.***>Sent: Thursday, March 11, 2021, 12:13 PMTo: Ken98045/On-GuardCc: SubscribedSubject: [Ken98045/On-Guard] Alpha Release (#14)Hi Ken, me again, I just received this error message:Log reports "2021.03.11 19:44:31:3463 - The keyword 'asynchronous processing' is not supported on this platform."I was flicking through captured frames, and the error appeared when a person was detectedI'm using the latest .NET 5.04 on Server 2016, the same machine as v1.8 was running fine on

I think that I responded previously on this area. I will put up a version that corrects the database connection string automatically. If you haven’t already you can correct the area by going to Tools/Application Settings and pressing the “Use Default…” under SQL Connection String”

.Strange that the

error message mentions C:\Onguardv2 when that's not where it's

Re: c:\OnGuardv2 – That is the location where it was built on my machine. It has nothing to do with yours. This just helps me track down the source of any errors.

installed.Earlier I had turned on "Use XML data", but then OnGuard crashed and I had to do a partial setup again (setup DeepStack IP, email and one camera), I was then able to turn off "Use XML data", restart, and then all of my other cameras appeared.

Yes, this is a limitation. You can startup using the non-XML settings, turn on the XML settings, go into cameras, and then the cameras and areas will be saved in the XML format. Some of the other settings are the same way. The AI connections do need to be re-entered manually.

Also "Areas of interest" do not display when

no image exists for that camera (even after taking a snapshot from Live)—

Yes, you will need to have at least 1 “real” picture. The snapshot won’t do it. I don’t think that this has changed since 1.8.x, but I could be wrong.

You are receiving this because you are subscribed to this

thread.Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ken98045/On-Guard/issues/14#issuecomment-797172540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUMUOAIH4NNX5U5D7GCBVDTDFWBPANCNFSM4ZA6MQMA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ken98045/On-Guard/issues/14#issuecomment-797483203 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSQ24MQACDFMWFUHR6P6FLTDIHZZANCNFSM4ZA6MQMA . https://github.com/notifications/beacon/ACSQ24MVA7DPEJTNVTJUGJLTDIHZZA5CNFSM4ZA6MQMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6EKBQY.gif

grannysmith59 commented 3 years ago

Everything seems OK with the latest release, although I haven't tried the xml storage yet, I'll stick with the registry.

I thought that it copied the current settings to an xml file.

Thanks for all of your work, Alan