<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/3029" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2022-01-13T21:27:37+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/3029</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-13T21:27:37+00:00</updated>

		<published>2022-01-13T21:27:37+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12085#p12085</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12085#p12085"/>
		<title type="html"><![CDATA[DeepStack user experience]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12085#p12085"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>The DeepStack integration has been widely popular.  The value of AI in surveillance is it improves accuracy to detect objects and reduces false alerts.  AI will draw attention to activity that matters by identifying objects that could be missed by humans because of lack of attention or hard to see at night.  AI also suppresses events that do not matter such as moving shadows from the wind, changes in sunlight, flies, birds, squirrels, rain etc.  AI is becoming a very effective tool for outdoor cameras.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">User experience</strong></span><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2366" class="postimage" alt="ai-alerts_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br>The above image shows the user experience across all the BI modalities: console, web interface and mobile interface.  Consistent across all modalities are annotations on the alert image identifying objects found and icons in the alert list to easily identify alerts / cancelled alerts.<br><br><strong class="text-strong"><a name="Annotation colors">Annotation colors</a></strong><ul><li>Orange: High level of confidence (&gt;67%).</li><li>Yellow: Confidence level &lt;67%, but meets your threshold, e.g. 50%.</li><li>Blue: Static object/Occupied state.  See above for details.</li><li>Red: Cancelled alert based on "To cancel" field in Camera settings.</li><li>Green:  Objects of no interest.  <br>For example a boat appeared in the scene but boat is not listed as an object of interest.</li></ul><br><strong class="text-strong">Alerts list Icons:</strong><div style="margin-left:3em"><br><strong class="text-strong">Person</strong><br><strong class="text-strong">Car</strong><br><strong class="text-strong">Green check</strong>: AI confirmation, i.e. AI found an object, but no unique icon for object.<br><strong class="text-strong">Flag</strong>: Same Flag function as before.  <br>There is a user setting to automatically flag confirmed AI alerts.<br>Camera settings -&gt; Trigger tab -&gt; AI button -&gt; <strong class="text-strong">Auto-flag confirmed alerts</strong>  (Default is unselected)<br><strong class="text-strong">Cancelled symbol</strong>: nothing found<br><strong class="text-strong">Occupied State / Static Object  (details below)</strong><br><br><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Integration details</strong></span><div style="margin-left:3em"><br><strong class="text-strong">Static object</strong><br><br>A static object is an object that is NOT moving.  The most common example is not to keep triggering on a mailbox that the AI keeps misinterpreting as a person.  BI comes with advanced alerting by overlapping motion with objects before sending an alert.  This reduces the majority of false alerts due to static objects.<br><br><strong class="text-strong">Static objects will only have a blue annotation.  Occupied state will include the time symbol.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2367" class="postimage" alt="occupied state.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong"><a name="Occupied state">Occupied state</a></strong><br>There still exists some stubborn scenes where Occupied State provides even more value.  For example, a parked car in the driveway underneath a tree for shade could be challenging.  The shadows from the tree could trigger motion and the motion boxes could very well overlap with the car causing alerts.  Occupied state should prevent such alerts based on logic described below.  <br><br>Furthermore a parked car is NOT a permanently static object like a mailbox.  When the car leaves and comes back, BI should alert on the departure/return.  The occupied state algorithm is trying to account for all these cases.<br><br><strong class="text-strong">Occupied state has the timer icon AND uses the blue annotation.</strong><br><br><span style="text-decoration:underline">Logic behind Occupied State</span><br>Same object type: +/- 10% confidence level<br>Same location: +/- 5%<br>Same object color (removed because many cameras go black&amp;white, i.e. IR, at night.  v5.5.1.17)<br><br>Occupied state list:  BI maintains two lists during an alert.  <ul><li>Current alert list:  objects identified in current alert</li><li>Static object list: A list of objects that it perceives to be static, e.g. a parked car, based off of past alerts.</li></ul>Identifying static objects<br>When an alert occurs, each object(s) in the current alert list is first compared against all the objects in the static object list.  If an object in the current alert matches any object in the static object list , then the object is considered static, e.g. parked car, and BI will NOT fire an alert based on this object.  The static object icon will be displayed if all objects are determined to be static.<br><br>Identifying new objects<br>If an object on the current alert list does NOT match any object in the static object list an alert is fired.  The new object will be placed in the static object list.  This is how the software distinguishes between parked cars and cars that drove by.  This is also how the static object list gets updated.<br><br>Removing static objects<br>Static objects continue to remain in the static object list if the object is matched.  With every match, the timestamp on the object is updated.  <br><br>If an alert arrives and the static object list has objects that were NOT matched by any of the current alert objects AND those static objects are older than 2 min, those objects are purged from the static object list.  We know AI is not perfect which is why we created the 2 min window.  A static object detected in one frame may not be detected in another frame due to lighting changes etc.  In order to remove these inaccuracies, we assume as the camera alerts, at least one frame will identify the static object correctly within 2 min or earlier.  FYI, engineering keeps tweaking the window.  It started at 30s and moved to 2 min based on false alarms.<br><br><br><br><strong class="text-strong">Static Objects is a setting that can be turned off if necessary (you want more sensitivity).  This may be a good idea in high traffic areas like a camera facing a door or a car entry gate.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2368" class="postimage" alt="static object.png" onclick="viewableArea(this);" /></dt></dl></div><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Camera settings</strong></span><div style="margin-left:3em"><br>Camera settings -&gt; Trigger tab -&gt; Artificial Intelligence (default settings)<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2370" class="postimage" alt="deepstack user experience_default settings.png" onclick="viewableArea(this);" /></dt></dl></div><br>Click on the Help button for details on each setting.  Below is some insight based on tickets.<br><br><strong class="text-strong">Custom models</strong><div style="margin-left:3em">Users often get confused how to enable/disable models on a per camera basis.<br>DeepStack has two default models: objects, faces<br>Suppose you created/added two custom models: dark, combined<br><br>Camera 1 only runs dark: Custom models = dark.  This is an inclusion list since no :0 values and dark is the only specified model.<br>Camera 2 runs faces and objects.  <div style="margin-left:3em">Custom models = dark:0, combined:0.  Exclusion list that runs all the models except dark and combined, i.e. only the default objects will be run.<br>Custom models = faces, objects.  Inclusion list that only runs faces and objects, i.e. dark and combined will not be run.</div>Camera 3 runs faces, objects and combined: Custom model = dark:0.  Run all the models except dark.<br><br></div><strong class="text-strong">List of Objects Available for detection</strong><div style="margin-left:3em"><br>Best to check <a href="https://docs.deepstack.cc/object-detection/index.html" class="postlink">deepstack.cc</a> for current list of objects.<div class="codebox"><p>Code: </p><pre><code>person,   bicycle,   car,   motorcycle,   airplane,bus,   train,   truck,   boat,   traffic light,   fire hydrant,   stop_sign,parking meter,   bench,   bird,   cat,   dog,   horse,   sheep,   cow,   elephant,bear,   zebra, giraffe,   backpack,   umbrella,   handbag,   tie,   suitcase,frisbee,   skis,   snowboard, sports ball,   kite,   baseball bat,   baseball glove,skateboard,   surfboard,   tennis racket, bottle,   wine glass,   cup,   fork,knife,   spoon,   bowl,   banana,   apple,   sandwich,   orange, broccoli,   carrot,hot dog,   pizza,   donut,   cake,   chair,   couch,   potted plant,   bed, dining table,toilet,   tv,   laptop,   mouse,   remote,   keyboard,   cell phone,   microwave,oven,   toaster,   sink,   refrigerator,   book,   clock,   vase,   scissors,   teddy bear,hair dryer, toothbrush.</code></pre></div></div><br><br><strong class="text-strong">Motion triggers vs Alerts</strong><br><br>With Artificial Intelligence there is now a wider gap between Motion Triggers, e.g. the camera triggered because a deer walked across the lawn, and an Alert, i.e. the AI correctly did not recognize the deer as a person, and therefore cancelled the alert.<br><br>The AI setting "Hide cancelled alerts on timeline and 'all alerts'" is on by default, i.e. most users after setting up their Motion and AI, do not want to be bothered by the "nothing found" alerts, because that is why they installed AI in the first place.<br><br>However, I do see users in the country side that like to record wildlife such as bears, coyotes, deer etc when they approach their property.  BI AI will cancel the Alert, however <strong class="text-strong">motion triggers are still always recorded</strong>.  This implementation was chosen just in case the AI missed something, you still had the motion trigger recording.  It turns out, this implementation provides added benefit for the users in the country side that still like to capture recordings of wildlife.  The "Hide cancelled alerts on timeline and 'all alerts'" can be unselected if you want "nothing found" alerts still listed in the Alerts folder.  Furthermore, cancelled alerts are always listed in the cancelled alerts folder regardless of the "Hide cancelled alerts on timeline and 'all alerts'" setting.<br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Thu Jan 13, 2022 9:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
