<?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/forum/18" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-10-17T15:11:43+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-10-17T15:11:43+00:00</updated>

		<published>2021-10-17T15:11:43+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9990#p9990</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9990#p9990"/>
		<title type="html"><![CDATA[Motion Sensor • Playback window - Fine Tuning Motion Settings]]></title>

					<category term="Motion Sensor" scheme="https://blueirissoftware.com/forum/viewforum.php?f=18" label="Motion Sensor"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9990#p9990"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article is a deep dive into the playback window in the context of fine tuning your Motion and AI settings.  The ability to do so is one of the key advantages of BI.  This feature allows you to really fine tune your settings for your cameras to deliver the meaningful alerts that you desire.<br><br><strong class="text-strong">Webinar</strong><div style="margin-left:3em">The webinar associated with this article is <a href="https://youtu.be/dUmdXH5bmJo" class="postlink">The Viewer window and motion fine-tuning</a>.  I would strongly recommend watching this video since it explains leveraging additional BI functionality to help fine tune BI.<br><br></div>*** The Help files refer to the Playback Window as the <strong class="text-strong">Viewer window</strong>.  Some of this content corresponds to the <strong class="text-strong">Clip Playback and The viewer window</strong> section in Help. ***<br><br><strong class="text-strong">Checklist</strong><div style="margin-left:3em">The Triggers and Alerts section of the <a href="viewtopic.php?f=11&amp;t=2426" class="postlink">Checklist</a> is the place to start if you are new to BI.  The Triggers and Alerts 101 webinar provides an overview of all the buttons and knobs in the Motion Sensor dialog.  From there you can move on to the other content listed in the Checklist.  The content listed in the Triggers and Alerts section will give you a foundational understanding of how BI motion works.<br><br>From there you can leverage this article to understand the powerful Fine tuning tools in the playback window to provide the meaningful alerts that you desire from your cameras.<br><br></div><strong class="text-strong">Tips and Tricks</strong><div style="margin-left:3em">Motion settings is as much an art as a science.  Hopefully, the <a href="viewtopic.php?f=12&amp;t=2555" class="postlink">Motion Sensor Tips and Tricks article</a> gives you ideas on how to improve your alerts.<br><br></div><strong class="text-strong">Next steps</strong><div style="margin-left:3em"><strong class="text-strong">If you cannot resolve yourself, the next steps section identifies needed information to troubleshoot.</strong><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Basic Settings</strong></span><br><br><strong class="text-strong"><a name="Sub stream">Sub stream</a></strong><div style="margin-left:3em"><br>If you are fine tuning AND your camera is setup for dual streams AND you are recording Direct-to-disc (D2D), select <strong class="text-strong">Use sub stream if available</strong>.  <br>Motion sensors are applied to the sub stream, so the sub stream view shows exactly where BI detects motion in the frame.<br>If you ONLY have one stream coming from the camera, this setting has no impact on or off.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1639" class="postimage" alt="playback sub stream.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>If you have dual streams setup, there may not be perfect synchronization between the main stream and the sub stream.  Motion sensors are applied to the sub stream.  Thus, if you play back the main stream instead of the sub stream with motion overlays it is possible the motion overlay appears ahead or behind the object.<br>In below image the motion box appears ahead of the car.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1636" class="postimage" alt="playback main stream.png" onclick="viewableArea(this);" /></dt></dl></div><br>I tried to find the corresponding frame in the sub stream.  As you can see when comparing the two images, the motion box (orange rectangle) is roughly in the same position above the "Entry gate" overlay which is how I lined up the two streams (not by time, since streams were not exactly in sync).  In the sub stream, clearly, the motion overlay coincides with the object more accurately.  <strong class="text-strong">BI triggers motion off of the sub stream</strong>.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1638" class="postimage" alt="playback sub stream image.png" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong"><a name="Overlays">Overlays</a></strong><div style="margin-left:3em"><br><span style="text-decoration:underline"><strong class="text-strong">Direct-to-disc</strong> vs Re-encode</span><br><br>With Direct-to-disc, overlays are treated as meta-data inside the BVR file.  It's a separate channel like audio.<br>Therefore, regardless of your Overlay settings, the motion and timestamp meta-data are ALWAYS saved.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1735" class="postimage" alt="motion fine tuning overlays.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><span style="text-decoration:underline">Direct-to-disc vs <strong class="text-strong">Re-encode</strong></span><br><br>However, with Re-encode, the software only encodes what is visible in the live view.<br>Therefore, if overlays and motion overlays are not active for live view, then those annotations will NOT be saved and NOT available for playback.<br><br><strong class="text-strong">Overlay options - Playback Window</strong><br><br>Based on above, the Overlays options in the Playback window only apply when you are saving D2D.<br>If you are re-encoding, Overlays will or will not be available based on your live view settings.<br><br>If you are recording D2D, <strong class="text-strong">for fine tuning, turn overlays off</strong>.  Overlays will just add confusion when trying to fine tune your settings.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1677" class="postimage" alt="playback overalys.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Fine Tuning - Motion Settings</strong></span><br><br>Blue Iris comes with powerful motion sensor functionality and AI integration with DeepStack.  This article starts with fine tuning your alerts with just the motion sensors.  From there, we share how to deliver even more accurate alerts with <a href="viewtopic.php?f=12&amp;t=2535" class="postlink">DeepStack - Fine Tuning Settings</a>.<br><br><strong class="text-strong">Fine Tuning Basics: Reduce false alerts.</strong><div style="margin-left:3em"><br>False alerts are alerts you received that do not have any value, e.g. the leaves on the trees moved because of the wind and triggered the cameras.  A squirrel ran across the yard triggering an alert.<br><br>Step 1 helps you understand why BI triggered based on motion.<br>Step 2 shows you how to make camera changes.<br>Step 3 explains how to confirm whether changes fixed the issue.<br>Rinse and repeat until your motion alerts are accurate for each of your cameras.<br><br><br><br><span style="text-decoration:underline">Step 1:  What are the motion overlays doing currently.</span><br><br>Setup the playback window so you can see what the motion settings are doing currently.<br><br>Double click on one of your false alerts.  <br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1623" class="postimage" alt="false alert.png" onclick="viewableArea(this);" /></dt></dl></div>With the playback window open, you can now setup the playback window to display motion overlays.<br><br>Confirm "<strong class="text-strong">Test &amp; Tuning -&gt; Analyze with motion detector</strong>" is SELECTED.<br>BI runs the alert through the motion detector and displays the highlights.<br>You see where BI is detecting motion.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1628" class="postimage" alt="playback motion detector.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>Now you can visually see why BI triggered an alert based on the current motion settings.  In the trigger image below, I can see the camera triggered because of the camera overlay (orange rectangle).  Very powerful.  <br><strong class="text-strong">** Pro Tip: If you hit &lt;CTRL&gt; and double-click, BI will automatically forward to the alert image at point of trigger.</strong><br><strong class="text-strong">** Pro Tip: If you hit &lt;CTRL&gt; and double-click on a DeepStack/AI alert, BI will automatically forward to the DeepStack alert image at point of DeepStack confirmation, i.e. the first frame where DeepStack identified an object.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1629" class="postimage" alt="playback trigger image.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><br><span style="text-decoration:underline">Step 2: Make changes to Motion settings to improve alerts.</span><br><br>Ok, you found the issue with your motion settings.  Now you want to fix your settings.<br>In the playback window, BI provides access to the window of the camera which created the alert.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1658" class="postimage" alt="playback camera window.png" onclick="viewableArea(this);" /></dt></dl></div><br>Why this is important is because you can make adjustments to the camera settings quickly in the playback window.<br>Right click in camera window -&gt; Camera settings.<br>You can make any camera adjustments.  In this case, we are going to alter the Motion Settings.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1627" class="postimage" alt="playback camera settings.png" onclick="viewableArea(this);" /></dt></dl></div><br>Fix:  From the alert image in Step 1 (above), I know the camera is triggering on the camera overlay.  I do not have access to the camera to turn off the overlay.  Therefore I make the appropriate adjustment in BI.<br>In this case, I am going to block out the area where the overlays appear so BI does not pay attention to that area and trigger false alerts.<br>Save the camera settings after making your adjustments.<br><br><span style="text-decoration:underline">Step 3: See if changes fixed the issue.</span><br><br>After I make the changes, I want to see if the changes fix the false alert.  After hitting ok, I'm right back in the playback window.  Very powerful.<br><br>Important step<br>I'm interested in seeing whether the new settings fixed the issue.  I go back to the beginning of the pre-trigger for the alert and start playing.<br>Confirm fix resolved the issue.<br><strong class="text-strong">** Pro Tip: Instead of starting at the first frame of the alert, start a few seconds before the alert.  If you set a Pre-trigger buffer (Camera settings -&gt; Record tab) this should not be a problem.  It's generally good to always have a 5s pre-trigger buffer.  If you do not prefer pre-trigger buffers, then you can turn pre-triggers on during fine tuning and turn off when running in production.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1628" class="postimage" alt="playback motion detector.png" onclick="viewableArea(this);" /></dt></dl></div>Confirm the Motion setting changes fixed the issue.<br><br><br><span style="text-decoration:underline">Summary</span><br><br>Step 1 helps you understand why BI triggered based on motion.<br>Step 2 shows you how to make camera changes.<br>Step 3 explains how to confirm whether changes fixed the issue.<br>Rinse and repeat until your motion alerts are accurate for each of your cameras.<br><br>Anytime you have a false alert, undertake this process.<br><br><br><br></div><strong class="text-strong">Fine Tuning Basics:  Fix missed alerts.</strong><div style="margin-left:3em"><br>A missed alert is when something happened in front of your camera, but the camera did not trigger.<br>Cameras that go into IR mode at night often have missed alerts.<br>Obviously, because the camera did not trigger, you have no record of the event in the Alerts list.<br>The ONLY way to identify missed alerts is by viewing your cameras and observing missed alerts.<br><br>How do you capture missed alerts?<br><br>First, you need to record continuous.  <br>If you do not, then you have no recording of the missed alert.<br>Thus you will not be able to fine tune your motion settings to capture missed alerts.<br><br>When you observe a missed alert, how do you record event in database for later fine tuning?<br><br>Now you can take advantage of the clipboard.<br>Double-click on the clip in the clips list (camera recording) that contains the missed alert.<br>Playback window is now open.<br>Select <strong class="text-strong">Use sub stream if available</strong> because we know the motion sensor uses the sub stream as stated above.<br>Find the start of the missed alert.  Include a pre-trigger buffer (e.g. 5s) as well.<br>Mark the start of the alert.  <strong class="text-strong">Set start frame</strong>.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1640" class="postimage" alt="playback start frame.png" onclick="viewableArea(this);" /></dt></dl></div><br>Scrub to the end of the missed alert and mark the end.  <strong class="text-strong">Set end frame</strong>.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1641" class="postimage" alt="playback end frame.png" onclick="viewableArea(this);" /></dt></dl></div><br>Confirm crop icons are placed correctly in the video position slider.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1642" class="postimage" alt="playback clipboard markers.png" onclick="viewableArea(this);" /></dt></dl></div><br>Save alert to the clipboard for later fine tuning.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1643" class="postimage" alt="playback save to clipboard.png" onclick="viewableArea(this);" /></dt></dl></div><br>Once you identify missed alerts on the clipboard, you can go back later to fine tune your motion settings to resolve the missed alerts using the process identified above for false alerts.<br>Step 1: Run alert through current motion settings to understand why the alert is being missed.<br>Step 2: Make appropriate camera setting changes.<br>Step 3: Confirm whether changes resolve the issue.<br><br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Other Playback window functionality</strong></span><br><br>Just for completeness, I thought I would call out other BI functionality in the Playback window which comes with BI.<div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">Analyze with DeepStack</span></strong><br><br>If you just installed DeepStack or installed a new camera, the Analyze with DeepStack feature allows you to kick the tires.  If you bring up a past recording/alert, you can see what objects will be identified by DeepStack.  It can give you an idea of how far away objects (people, cars) can be, before DeepStack starts identifying the objects correctly. <br> <br>If you created custom DeepStack models, this feature is of value when you want to gauge the model's accuracy.  <br><ul><li>First remember to turn off any overlays which can cause confusion on the playback.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1677" class="postimage" alt="playback overalys.png" onclick="viewableArea(this);" /></dt></dl></div></li><li>Turn on Analyze with DeepStack in the playback window.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1678" class="postimage" alt="playback analyze with deepstack menu.png" onclick="viewableArea(this);" /></dt></dl></div></li><li>Start playing the recording and see the DeepStack annotations on every frame.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1679" class="postimage" alt="playback analyze with deepstack.png" onclick="viewableArea(this);" /></dt></dl></div></li></ul><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Next steps">Next steps</a></strong></span><br><br>If you cannot resolve the issue yourself, send the following information.<ul><li>Describe issue.</li><li>A short bvr capturing the issue.<br>Couple of options to make smaller bvr files.  In Camera settings -&gt; Record tab.<br><br>If you uncheck Combine or Cut Video, that will result in BI cutting the BVR file after each motion trigger.<br>Or you can leave Combine or Cut Video, and change the time length to something small like 15 min.</li><li>Your current camera settings.  Camera settings -&gt; General tab -&gt; Export</li></ul><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Sun Oct 17, 2021 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-08-20T23:38:59+00:00</updated>

		<published>2021-08-20T23:38:59+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10108#p10108</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10108#p10108"/>
		<title type="html"><![CDATA[Motion Sensor • Motion Sensor Tips and Tricks]]></title>

					<category term="Motion Sensor" scheme="https://blueirissoftware.com/forum/viewforum.php?f=18" label="Motion Sensor"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10108#p10108"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>Setting your Motion Sensors to provide meaningful alerts can be challenging with outdoor cameras.  Below are issues faced from past tickets and my recommendations.  Hopefully you get ideas on what to do with your cameras.<br><br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Tips and Tricks</strong></span><br><br><br><strong class="text-strong">Pro Tip 2: Camera time/date overlays can trigger the BI Motion sensors</strong><br><br>Issue: Cameras keep retriggering resulting in long recordings with no events.<br><br>Fix:  If you have time/date overlays coming from the cameras, the changing seconds can cause BI to continuously re-trigger depending on your motion settings, resulting in long recordings.  The easy fix is to block out the section containing the overlay.<br><br>The simple check is to go to the playback window and see for yourself what is causing the camera to trigger.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1684" class="postimage" alt="playback motion.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong"><a name="Pro Tip 1">Pro Tip 1</a>: How do I more accurately choose the location where the camera triggers?</strong><br><br><br>User issue:  I want to fine tune my motion settings such that I capture people walking up to house much earlier.  I know I can increase the pre-trigger buffer, but that would result in ALL my motion triggers having this longer delay before a trigger which is not ideal.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1680" class="postimage" alt="trigger gotcha1.png" onclick="viewableArea(this);" /></dt></dl></div><br>Couple of options.<ul><li>Having a pre-trigger buffer (5s is always good) is a good start just to get some recording samples which can be used to fine tune the motion sensors.</li><li>The simple fix is to lower the minimum object size until the camera triggers further down the walkway.<br>Since it is an outdoor camera, by doing so, you may start getting many more motion triggers, i.e. false alerts, which would be a bad consequence.</li><li>A more robust solution would be introducing a Zone B.  <strong class="text-strong">Zone A would be the entire area of interest for the camera.  Setting a Zone A is a recommended best practice (see <a href="viewtopic.php?f=11&amp;t=2426" class="postlink">Triggers and Alerts webinar</a> for details)</strong>.<br>I would turn off Object travels because the A-B logic should provide needed alert accuracy.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1682" class="postimage" alt="motion sensor object detection.png" onclick="viewableArea(this);" /></dt></dl></div></li><li>Then, you can tell BI to only send alerts when there is activity in Zone B.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1683" class="postimage" alt="zone B.PNG" onclick="viewableArea(this);" /></dt></dl></div></li></ul><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Aug 20, 2021 11:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
