5.4.7 - May 25, 2021 - Support for DeepStack custom model files

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
FYI I DO see the normal DS detection indication of "person" on the image that was sent in the text message. Tried on 2 other cameras and the &JSON macro is still {"success":false,"error":"invalid image file"} on all of them.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,132
Reaction score
1,240
Location
SF Bay Area
Not sure exactly what that is telling me.
this is what a successful response looks like...
{"success":true,"predictions":[{"confidence":0.4035802,"label":"car","y_min":85,"x_min":278,"y_max":156,"x_max":408},{"confidence":0.4409739,"label":"car","y_min":89,"x_min":880,"y_max":235,"x_max":1182},{"confidence":0.57195574,"label":"bicycle","y_min":619,"x_min":0,"y_max":940,"x_max":149},{"confidence":0.8140767,"label":"car","y_min":44,"x_min":455,"y_max":138,"x_max":580},{"confidence":0.8917958,"label":"person","y_min":252,"x_min":169,"y_max":916,"x_max":394},{"confidence":0.9006534,"label":"car","y_min":155,"x_min":67,"y_max":345,"x_max":601}]}

I was hopeful it might now include model-specific results.
I’ll inquire with Ken.
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
Can someone help me confirm or deny that my BI / DS is using the custom models or not? Guessing not based on the testing results from the above. Latest screen shot of SMS with &JSON attached.
Screenshot 2021-05-27 at 10.19.26 AM.jpg
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
Looks like 5.4.7.3 has the JSON message sending the right information now:

{["objects":{"success":true,"predictions":[{"confidence":0.7478582,"label":"person","y_min":1061,"x_min":1,"y_max":2304,"x_max":707}]},
"faces":{"success":true,"predictions":[]},
"dark":{"success":true,"predictions":[{"confidence":0.8230491,"label":"People","y_min":1047,"x_min":62,"y_max":2304,"x_max":712}]},
"openlogo":{"success":false,"error":"invalid image file"}]}


On the snapshot I am not seeing both detection labels though. JSON says label "person" at 74% and custom model "dark" label "People" at 82%, but only see the "person:74%" on the image.

Great progress!
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
So based off of the new detail does that reveal that I possibly have something not quite right in my "openlogo" custom model?

{["objects":{"success":true,"predictions":[{"confidence":0.7478582,"label":"person","y_min":1061,"x_min":1,"y_max":2304,"x_max":707}]},
"faces":{"success":true,"predictions":[]},
"dark":{"success":true,"predictions":[{"confidence":0.8230491,"label":"People","y_min":1047,"x_min":62,"y_max":2304,"x_max":712}]},
"openlogo":{"success":false,"error":"invalid image file"}]}


Also, Thanks Ken!
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,132
Reaction score
1,240
Location
SF Bay Area
So based off of the new detail does that reveal that I possibly have something not quite right in my "openlogo" custom model?
I noticed that too. Suggest sharing this with Ken. Perhaps the model does not like the something about the jpgs it is receiving.
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
noticed that too. Suggest sharing this with Ken. Perhaps the model does not like the something about the jpgs it is receiving.
Don't have his email, do you mind forwarding? I can email support, but not sure if that goes directly to him or not.
 

emersonvier

Getting the hang of it
Joined
Apr 29, 2017
Messages
116
Reaction score
38
Location
IL
Hi all,
I am trying use this new feature, but now I only have "Cancel Alerts", I made changes aroud 8:30am, BI Version 5.4.7.3, could you please give some direction here.
1622220076818.png

1) Downloads files
2) Create new folder MyModels, C:/DeepStack/MyModels
3) Add 3 files on MyModels folder

1622219740578.png

4)Settings->AI->Selected "Use custom model folder"
1622219947509.png
5) Restart PC
 

tward392

Pulling my weight
Joined
Sep 9, 2019
Messages
250
Reaction score
143
Location
US
Hi all,
I am trying use this new feature, but now I only have "Cancel Alerts", I made changes aroud 8:30am, BI Version 5.4.7.3, could you please give some direction here.
View attachment 90879

1) Downloads files
2) Create new folder MyModels, C:/DeepStack/MyModels
3) Add 3 files on MyModels folder

View attachment 90877

4)Settings->AI->Selected "Use custom model folder"
View attachment 90878
5) Restart PC
What do you have for Camera Settings->Trigger->Artificial Intelligence?
 

JL-F1

Getting the hang of it
Joined
Jun 12, 2020
Messages
118
Reaction score
71
Location
USA
So,
Car , capital c is from the customs model (night)
car, lowercase c is from the regular AI model

That's what i've noticed on my labels

Maybe that means we could have a 'night' profile ai, and have it report things with capitals, and during the day report things with lowercase, haven't tried yet
 

Gary R.

Young grasshopper
Joined
Aug 6, 2017
Messages
48
Reaction score
11
Just trying to catch up with everything on BI. Is Deep Stack a free program? I assume I have to download it from somewhere and install it.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,863
Reaction score
48,490
Location
USA
Just trying to catch up with everything on BI. Is Deep Stack a free program? I assume I have to download it from somewhere and install it.
Yes DeepStack is free. Download the CPU version here:


Simply download it and run the .exe file. You do not need to open or run it. BI will take care of the rest and any setup is within BI.
 

biggen

Known around here
Joined
May 6, 2018
Messages
2,563
Reaction score
2,837
Gonna be bug fixes in those point releases. I don't think he releases an exhaustive list anywhere
 
Joined
Sep 19, 2015
Messages
956
Reaction score
1,217
Location
Naples Fl
what we need is a service like they have on bleeping computer, where you make a donation and they use login me in and rid your pc of nasty things, I used that when I had a cryptolocker and it was great. I have had a roaring headache for over three weeks and getting DS setup right is frustrating as heck. I am sure it does not help that BI is setup on my S: drive because my main drive in only 500 gig SSD
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,863
Reaction score
48,490
Location
USA
what we need is a service like they have on bleeping computer, where you make a donation and they use login me in and rid your pc of nasty things, I used that when I had a cryptolocker and it was great. I have had a roaring headache for over three weeks and getting DS setup right is frustrating as heck. I am sure it does not help that BI is setup on my S: drive because my main drive in only 500 gig SSD
What else is on your main drive? Many here have a 256GB SSD and run just fine...

Sounds like you are using the computer for more than BI?
 
Top