this headline">¶</a></h2>
<p>As you would have noticed most of the code is same as the <a class="reference internal" href="basic_tut4.html#basic-tut-4"><span class="std std-ref">Basic tutorial 4: Live preview with analytics and overlay</span></a>.
Which means we now have things in place for starting preview both live and on HDMI.
We can start the analytics using the <em>set_analytics_state</em> API. And are getting results
using the <em>get_inferences</em> API. Based on this result you can take any action.