I just setup Deepstack to use with my instance of Blue Iris. I run a custom python scrip when alerts are triggered that sends the alert image to my slack channel. In that script, I get the latest image from my alerts folder and use that name to populate the image URL that's passed into slack. http://<bi_ip>:<bi_port>/file/clips/<name_of_jpg>. What I notice happening is the alert gets saved with one name, then renamed. My guess is the alert image is created, then deepstack is burning the label mark up to the image and saving it with a new name. What happens is I try to view the image in my slack channel and it doesn't work because that name it was uploaded with doesn't exist anymore.
After Update:
"camera":"FD",
"newalerts":12613,
"newalerttime":"1625451561",
"path":"@27990618.bvr",
"clip":"@27853974.bvr",
"file":"FD.20221019_202125.1869199.5123.29097.30579.jpg",
"memo":"person:54%",
"offset":1869199,
"flags":335740928,
"res":"2560x1920",
"zones":1,
"date":1666227152,
"color":9068350,
"filesize":"29 sec (357K)"
Original:
After Update:
"camera":"FD",
"newalerts":12613,
"newalerttime":"1625451561",
"path":"@27990618.bvr",
"clip":"@27853974.bvr",
"file":"FD.20221019_202125.1864706.3.jpg",
"memo":"person:54%",
"offset":1864706,
"flags":335741184,
"res":"2560x1920",
"zones":1,
"date":1666227152,
"color":9068350,
"filesize":"0 sec (357K)"
Does anyone know of a way to make sure the alert image remains the same name? Is there a way to pass in the what the final name is going to be to they python script? Maybe a different way to get the image url to pass to slack? I've also tried via the blue iris json api, but the same thing happens. Any help is muchly apricated!



After Update:
"camera":"FD",
"newalerts":12613,
"newalerttime":"1625451561",
"path":"@27990618.bvr",
"clip":"@27853974.bvr",
"file":"FD.20221019_202125.1869199.5123.29097.30579.jpg",
"memo":"person:54%",
"offset":1869199,
"flags":335740928,
"res":"2560x1920",
"zones":1,
"date":1666227152,
"color":9068350,
"filesize":"29 sec (357K)"
Original:
After Update:
"camera":"FD",
"newalerts":12613,
"newalerttime":"1625451561",
"path":"@27990618.bvr",
"clip":"@27853974.bvr",
"file":"FD.20221019_202125.1864706.3.jpg",
"memo":"person:54%",
"offset":1864706,
"flags":335741184,
"res":"2560x1920",
"zones":1,
"date":1666227152,
"color":9068350,
"filesize":"0 sec (357K)"
Does anyone know of a way to make sure the alert image remains the same name? Is there a way to pass in the what the final name is going to be to they python script? Maybe a different way to get the image url to pass to slack? I've also tried via the blue iris json api, but the same thing happens. Any help is muchly apricated!



Last edited: