Page 1 of 2
DeepStack showing black image in BI Status
Posted: Mon Aug 30, 2021 6:55 pm
by MattiasF
This was working yesterday but I was trying to tweak it and broke something.
* BI5 on latest version 5.4.9.18
* DS installed and working (webpage status shows, correctly identifies person)
* DS Status working when doing Test and Tune, rapidly identifying objects when playing recorded clips (Screenshot #1)
* DS Status WORKED, showing both cancelled Alerts and Confirmed Alerts when double clicking in Alerts list (now broken, Screenshot #2))
As seen in screen shot #2, the DS Status page now just shows a black image with a tiny green rect at top left. No objects are detected so the black image is probably what's being processed. The .dat files seem really tiny at ~150k so I'm guessing the 4K images are not encoded into the dat files for processing, unless they are references to the jpg files?
Any ideas how to get DS working again?
Posted: Tue Aug 31, 2021 1:16 pm
by YrbkMgr
I don't find that a dat file size of around 150K to be small enough to draw the conclusion that it's a problem. My dat files range from 34 KB to ~ 500 KB. FWIW. But I have "cut/combine" disabled in the recording tab so that each motion trigger is its own BVR and therefore dat.
In the two screen shots, the first one shows the BVR analysis in the image while the second one (black) shows the dat. To compare apples to apples, if you turn off Test and Tune and
just review dat files, do you get the same anomaly for every dat (after your changes)? Or only that one?
DS Status WORKED, showing both cancelled Alerts and Confirmed Alerts when double clicking in Alerts list (now broken, Screenshot #2))
When you say it's broken, clearly the status window is weird, but are you saying that you no longer get confirmed/cancelled alerts in the Clips pane?
Re: DeepStack showing black image in BI Status
Posted: Tue Aug 31, 2021 3:16 pm
by MattiasF
Ok good to know that the dat file may be ok. I'll try turning off the cut/combine in recording. I am recording Continuous+Alerts btw.
Yeah I have Test and Tune turned off, but I thought it was a good indicator that DS is working and it's BI not sending the right data to analysis.
Correct, confirmed/cancelled is not working any more, presumable since there is no person in the black square
Re: DeepStack showing black image in BI Status
Posted: Tue Aug 31, 2021 3:45 pm
by YrbkMgr
Just to confirm... the clips pane shows the clips, right? Or are you're saying that the confirmed or cancelled alerts don't show up in the Clips pane on the left - is the pane empty? What I'm getting at is this: the clips pane can be filtered to show confirmed or cancelled alerts - when you say it's not working, it is unclear what part is not working. It IS clear that there's an issue with object id, but it sounds like you're saying you're not able to see cancelled alerts - that's a way different problem than object ID not producing an alert.
If you review clips from previous days, does the DS tab of the Status window always shows that blacked out area with the green rectangle? For every clip?
Re: DeepStack showing black image in BI Status
Posted: Tue Aug 31, 2021 8:44 pm
by MattiasF
The clips pane shows the clips, yep.
Everything is working great except my alerts get cancelled by DS since there is no "person" present as requested. Running through the video clips from the times when the trigger happened, DOES produce DS object detection of "person" and other things.
The all black shows DS analyze when double clicking the Alert with a clear thumbnail of a the same timeframe.
The good screenshot below shows DS analyze on the clip when played back with Test & Tune enabled.
Re: DeepStack showing black image in BI Status
Posted: Wed Sep 01, 2021 12:49 am
by shap
Check that you have defined zones correctly (Zone A, B, etc). And make sure you indeed use these zone (IMHO this is your problem):
- 11.jpg (178.63 KiB) Viewed 10351 times
Re: DeepStack showing black image in BI Status
Posted: Thu Sep 02, 2021 7:51 pm
by MattiasF
I'm not using BI motion detection. I'm using ONVIF triggers.
Re: DeepStack showing black image in BI Status
Posted: Thu Sep 02, 2021 7:53 pm
by MattiasF
Holy shit that was it!!!
Even though I'm not using BI motion detection, the motion zones must be checked in the AI dialog. That's a silly bug... Thanks man!!!
Re: DeepStack showing black image in BI Status
Posted: Thu Sep 02, 2021 8:13 pm
by YrbkMgr
@ shap
You rock dude.
Re: DeepStack showing black image in BI Status
Posted: Thu Sep 02, 2021 8:28 pm
by MattiasF
To recap in case someone else runs into this problem:
In the DeepStack AI dialog, at least one of the motion zone check boxes must be checked, or you will get a black screen as described in this post.
It doesn't matter if you use BI motion detection.
It doesn't matter if you have any of zones defined i.e. "painted" (I tried to see if it would do partial blackout, nope).
It doesn't matter if motion zones are checked anywhere else.
There might be a bug in BI where an if statement checks to see if any zones are checked and if not, just don't decode the frame at all?