MicahJames
Pulling my weight
I installed deep stack and enabled it in BI. looks great but when I went to inspect the jpeg used for detection it’s from the sub steam so the quality is terrible. Is there a way to have it scope the main stream ?
When it is just Object (person or otherwise) detection, it doesn't need to be high res. Even Sentry uses the substream. It would take a long time to process if you sent a high res jpeg to the AI, which would make it useless for triggering motion.I installed deep stack and enabled it in BI. looks great but when I went to inspect the jpeg used for detection it’s from the sub steam so the quality is terrible. Is there a way to have it scope the main stream ?
I notice for me it detects people as cars sometimes and cars as people. Not sure if there's a way to change that? It just detected a fox as a person lol. I'm using deep stack off of a gpu.Like others, I have found that DeepStack is fantastic during the day, but rejects way too many things at night. I'm guessing that changing the mode to high, which BI currently is not giving the option for, might help. But... what do I know?
Anyway, in the meantime, to most easily have the best of both worlds, under AI for each cam, I have unticked the "Hide cancelled alerts on timeline and all alerts AND ticked the Auto-flag confirmed alerts. That way clicking on the Flag shows me only confirmed DeepStack alerts, but clicking on the Lightning Bolt shows me everything.
I'm sure that, with time, I won't need to do that. For now though, this way works best (for me)...
Thank you for thisWhen it is just Object (person or otherwise) detection, it doesn't need to be high res. Even Sentry uses the substream. It would take a long time to process if you sent a high res jpeg to the AI, which would make it useless for triggering motion.
Facial recognition may need higher resolution, but BI Integration and AI Tool does not yet do that.
You can set BI to record a High Res JPEG in settings on trigger if I recall, but have not played with that setting.
As long as DeepStack or whatever AI you use can make out if it is a person or not, resolution doesn't need to be higher.
As a note, if you want to send high res to the AI, which is not recommended due to speed of processing, you would have to turn the substream off, which is also not recommended.
It is interestingg I still have IVS enabled on my dahuas and I can't tell for sure although it appears that the AI will match the IVS alerts or potentially cancel out IVS alerts. I walked outside and there is no record of me walking outside lol whether I check alerts, confirmed alerts or cancelled alerts. I was closer to the camera than some alerts I have seen it make that were significantly further. This morning the trash people came around 6am and this camera is very far from the street although slightly aided by an ir illuminator it picked up both the truck and person through some branches I didn't even see until I looked closer. Then in broad daylight at 9am it didn't even see me.I used Deepstack with AITools quite a while back and also found the it worked perfectly during the day but was hit and miss during the night, since then I stopped using it and now rely upon in camera detection which does have more false positives but at least nothing is missed.
One of the advantages of having AI integrated into BI is you can now take full advantage of using profiles and have different AI configurations for day and night.I used Deepstack with AITools quite a while back and also found the it worked perfectly during the day but was hit and miss during the night, since then I stopped using it and now rely upon in camera detection which does have more false positives but at least nothing is missed.
FYI I had a lot of trouble getting this to work. Somehow I followed the link to download the windows CPU version and got a super old, activation-required version. Burnt 2 hours trying to figure out why it wasn't working.
Solution - download the latest DeepStack windows binary from Releases · johnolafenwa/DeepStack
You can disable protect flagged alerts.I notice another little "glitch". Fooling this morning I made changes in the AI sections of every camera, 15 out of 17 anyway. AI stopped and motion detection was degraded afterwards and it took a reboot to get hing running right again.
@wittaj Another comment regarding using "auto flag" AI confirmed events. Keep in mind that a flagged alert is a protected alert and will effect disk space utilization wherever you're storing them. I shut off "auto flag" as a result. Too many confirmed alerts in a relatively short time will run you out of disk space.
What's the basis for selecting CPU vs GPU?
I'm assuming that if you have a higher-end GPU that would be the way to go.
But I don't.
My BI server is an i7-6500 with a (somewhat pitiful) Radeon R5 340X (2MB). Card isn't used for anything. Server runs at about 14% baseline/20% max CPU depending on what's happening.
Stick with CPU or offload to GPU?
Deepstack is much faster with a GPU than a CPU alone because it can parallelize its task with a GPU. However, you need a really hefty gaming GPU from NVidia for Deepstack, so unless you have that, then stay with the CPU version.
I have used Deepstack for almost a year with one of the implementations described in this forum and I have also seen that it doesn't work well at night with headlights etc. On the other hand, the human eye also has trouble at night.
When it comes to computation time, several posts here claim that computation time does not increase much due to Deepstack. That is both right and wrong. If Blue Iris sees a person and sends it to deepstack, then a single image is really easy for deepstack. However, if there is a spider web in front of the camera or it is snowing heavily, then deepstack gets an image to analyze every second or two, and then the CPU gets very busy. Then my CPU load goes up from 10-15% to maybe 75% for hours and the computer becomes red hot. (I just ordered a Jetson Nano to try to offload the AI to that one, don't know if it will work).
Some people here wrote that the new version of BI does not allow you to limit recordings to those "verified" by Deepstack? Is that really true? Does it mean that I will get hundreds, if not thousands, of clips when a spider decides to climb in front of the camera? That would definitely be bad.