(5.4.4.3)

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,901
Reaction score
21,269
(5.4.4.3) face recognition must now substantially overlap a “person” object detection. Too
many false-positive “unknown” faces result otherwise. A new macro &JSON may be used
for access to raw DeepStack object detection data during an alert
 

m_listed

Getting the hang of it
Joined
Jun 11, 2016
Messages
176
Reaction score
57
&JSON doesn't work for me even on the latest (5.4.4.7), just outputs an empty string. But using %001 does. It just grabs the memo, which is set to the detected object if there is one.

What kind of voodoo magic does one have to do to get faces to work? It was working earlier, and DeepStack logs are showing that Blue Iris is hitting up its facial recognition endpoint for every image, but I can't get any faces to show up, even when I go up to the camera and stare straight into its soul. It works when I take a snapshot of a video, and do "Run through DeepStack" in BI (it annotates the faces), but not during actual real life.
 

m_listed

Getting the hang of it
Joined
Jun 11, 2016
Messages
176
Reaction score
57
Got faces to work! You have to put the face names and the word "unknown" into the "To confirm" box for them to work. e.g. "To confirm": "face1,face2,unknown,person,car,truck"

In the initial release, this wasn't necessary. But it is now!
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,132
Reaction score
1,240
Location
SF Bay Area
&JSON doesn't work for me even on the latest (5.4.4.7), just outputs an empty string.
It’s working now in 5.4.4.8.

Here’s an example captured in the body text of an email action:
{"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}]}
 
Last edited:

m_listed

Getting the hang of it
Joined
Jun 11, 2016
Messages
176
Reaction score
57
Ah, okay. So &JSON is not suitable for use inline in a push notification text, for example. For that, you can use &MEMO. This works except for when the initial trigger is external, in which case it'll use the memo for that external trigger, which is mostly fine. I was using %001, but that doesn't work in the "On reset..." alerts, only the "On alert..." alerts, so I've switched to the better &MEMO macro for my alerts.
 
Top