<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[UNIT V2 RESULT PAGE WORKING!]]></title><description><![CDATA[<p dir="auto">Hello lonely UnitV2 Users</p>
<p dir="auto">I figured out how to get the RESULTS!</p>
<p dir="auto">anyway, here is the code for 'server_core.py'</p>
<pre><code>@app.route('/other/', methods=['GET'])
def func_result2():
     def genFuncResult2():
            item = pipe_result_rx_queue.get()
            pipe_result_rx_queue.task_done()
            item += bytes('|'.encode('ascii'))
            yield item
return Response(genFuncResult2(), mimetype='application/json; boundary=func_result')**
</code></pre>
<ul>
<li>PUT THAT CODE BELLOW THE @app.route('/')  return response NOT INSIDE IT!</li>
<li>Remember after updating server_core.py, login to ssh and type 'reboot' and then wait! IMPORTANT THAT YOU WAIT!<br />
Once done, navigating to <a href="http://10.254.239.1/other/" target="_blank" rel="noopener noreferrer nofollow ugc">http://10.254.239.1/other/</a> will give you live information of the result every time you refresh the page.</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1630526310286-love.jpg" alt="0_1630526307447_LOVE.jpg" class=" img-fluid img-markdown" /><br />
Also, this might help if you want more than 10 classes.</p>
<p dir="auto">1: SSH YOUR UNITV2<br />
2: NAV TO: /home/m5stack/payload/static/js/bin/<br />
EDIT 'online_classifier.js'<br />
change<br />
<strong>var classifier_online_type_count_limit = 10;</strong><br />
to<br />
<strong>var classifier_online_type_count_limit = 41;</strong><br />
#job done</p>
<p dir="auto">WANNA SEE THE GOD DAMN SCROLL BAR?<br />
1: SSH YOUR UNITV2<br />
2: NAV TO: /home/m5stack/payload/templates/<br />
change<br />
<strong>&lt;div id="dynamic_func_area"&gt;</strong><br />
to<br />
<strong>&lt;div id="dynamic_func_area" style="overflow-y: scroll;"&gt;</strong><br />
#job done</p>
<p dir="auto">Now you can see all your classes in the list!</p>
<p dir="auto">THANKS AND YOU'RE WELCOME M5 STACK</p>
]]></description><link>https://community.m5stack.com/topic/3557/unit-v2-result-page-working</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 21:29:40 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3557.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Sep 2021 18:58:15 GMT</pubDate><ttl>60</ttl></channel></rss>