<?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[[Solved] UnitV unable to find april-tags]]></title><description><![CDATA[<p dir="auto">I can detect april-tags with the StickV, but not with the UnitV AI camera. For the UnitV I use the same code, but without the LCD calls. Here's the code:</p>
<pre><code>import sensor
import image  
import math

print("start script")

sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QQVGA) # 160 x 120 pixel
sensor.run(1) 
sensor.skip_frames(30)

print("start loop...")

while True: 
    img=sensor.snapshot()
    tags = img.find_apriltags() # defaults to TAG36H11 without “families”.   
    if len(tags) &gt; 0:
        for tag in img.find_apriltags(): # defaults to TAG36H11 without “families”. 
            #img.draw_rectangle(tag.rect(), color = (255, 0, 0))
            #img.draw_cross(tag.cx(), tag.cy(), color = (0, 255, 0))
            degress = 180 * tag.rotation() / math.pi
            print(tag.id(),degress)
</code></pre>
<p dir="auto">I have uploaded the latest firmware. What can be the reason that no april-tags are detected?</p>
]]></description><link>https://community.m5stack.com/topic/2150/solved-unitv-unable-to-find-april-tags</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:48:25 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2150.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jul 2020 19:17:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] UnitV unable to find april-tags on Thu, 09 Feb 2023 12:04:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hague" aria-label="Profile: hague">@<bdi>hague</bdi></a> good to see! Could you tell me how fast it can run? FPS and at resolution? Thanks!</p>
]]></description><link>https://community.m5stack.com/post/20055</link><guid isPermaLink="true">https://community.m5stack.com/post/20055</guid><dc:creator><![CDATA[maicongoe]]></dc:creator><pubDate>Thu, 09 Feb 2023 12:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] UnitV unable to find april-tags on Thu, 23 Jul 2020 22:34:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hague" aria-label="Profile: hague">@<bdi>hague</bdi></a> thanks for the info that's a newer version than I have cheers</p>
]]></description><link>https://community.m5stack.com/post/9426</link><guid isPermaLink="true">https://community.m5stack.com/post/9426</guid><dc:creator><![CDATA[kylebuttress]]></dc:creator><pubDate>Thu, 23 Jul 2020 22:34:53 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] UnitV unable to find april-tags on Thu, 23 Jul 2020 19:56:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kylebuttress" aria-label="Profile: kylebuttress">@<bdi>kylebuttress</bdi></a> Same as for the M5StickV<br />
M5StickV_Firmware_v5.1.2.kfpkg<br />
and<br />
maixpy_v0.5.0_98_gbd7c7ab_m5stickv.bin</p>
<p dir="auto">downloaded here:<br />
<a href="https://dl.sipeed.com/MAIX/MaixPy/release/master" target="_blank" rel="noopener noreferrer nofollow ugc">https://dl.sipeed.com/MAIX/MaixPy/release/master</a></p>
]]></description><link>https://community.m5stack.com/post/9425</link><guid isPermaLink="true">https://community.m5stack.com/post/9425</guid><dc:creator><![CDATA[hague]]></dc:creator><pubDate>Thu, 23 Jul 2020 19:56:03 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] UnitV unable to find april-tags on Wed, 22 Jul 2020 22:19:57 GMT]]></title><description><![CDATA[<p dir="auto">Nice one, what firmware are you using for the UnitV?</p>
]]></description><link>https://community.m5stack.com/post/9415</link><guid isPermaLink="true">https://community.m5stack.com/post/9415</guid><dc:creator><![CDATA[kylebuttress]]></dc:creator><pubDate>Wed, 22 Jul 2020 22:19:57 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] UnitV unable to find april-tags on Wed, 22 Jul 2020 21:06:03 GMT]]></title><description><![CDATA[<p dir="auto">OK, I found the cause: The image from the camera was mirrored. So the tag could not be detected. I found the error when I tried to detect QR codes:</p>
<p dir="auto"><img src="https://i.imgur.com/AU8i0Fc.jpeg" alt="UnitV QRcode failure" class=" img-fluid img-markdown" /></p>
<p dir="auto">Then I added the following line of code to mirror the image:</p>
<pre><code>sensor.set_vflip(1)
</code></pre>
<p dir="auto">After that, the QR code was detected correctly:</p>
<p dir="auto"><img src="https://i.imgur.com/7b55i0c.jpeg" alt="UnitV QRcode correctly" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now, also april tags are working:</p>
<p dir="auto"><img src="https://i.imgur.com/6L115AV.jpeg" alt="UnitV april tag correctly" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/9413</link><guid isPermaLink="true">https://community.m5stack.com/post/9413</guid><dc:creator><![CDATA[hague]]></dc:creator><pubDate>Wed, 22 Jul 2020 21:06:03 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] UnitV unable to find april-tags on Wed, 22 Jul 2020 20:48:27 GMT]]></title><description><![CDATA[<p dir="auto">In addition to the code, here are some screenshots:</p>
<p dir="auto">M5StickV with the above code:<br />
<img src="https://i.imgur.com/UcsYFfG.jpeg" alt="M5StickV" class=" img-fluid img-markdown" /><br />
As you can see, the april tags are detected correctly (output in the serial terminal)</p>
<p dir="auto">UnitV with the same code:<br />
<img src="https://i.imgur.com/qwRxL7T.jpeg" alt="UnitV" class=" img-fluid img-markdown" /><br />
No tags are detected...</p>
<p dir="auto">Same firmware, same MaixPy version, same code... But a different behavior...</p>
]]></description><link>https://community.m5stack.com/post/9412</link><guid isPermaLink="true">https://community.m5stack.com/post/9412</guid><dc:creator><![CDATA[hague]]></dc:creator><pubDate>Wed, 22 Jul 2020 20:48:27 GMT</pubDate></item></channel></rss>