<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://student-wiki.eolab.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://student-wiki.eolab.de/feed.php">
        <title>HSRW EOLab Students Wiki drones-internal:rpi:scripts</title>
        <description></description>
        <link>https://student-wiki.eolab.de/</link>
        <image rdf:resource="https://student-wiki.eolab.de/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-21T10:23:51+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://student-wiki.eolab.de/doku.php?id=drones-internal:rpi:scripts:findaruco&amp;rev=1672925936&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://student-wiki.eolab.de/lib/tpl/dokuwiki/images/favicon.ico">
        <title>HSRW EOLab Students Wiki</title>
        <link>https://student-wiki.eolab.de/</link>
        <url>https://student-wiki.eolab.de/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://student-wiki.eolab.de/doku.php?id=drones-internal:rpi:scripts:findaruco&amp;rev=1672925936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-05T14:38:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>drones-internal:rpi:scripts:findaruco</title>
        <link>https://student-wiki.eolab.de/doku.php?id=drones-internal:rpi:scripts:findaruco&amp;rev=1672925936&amp;do=diff</link>
        <description>All the if´s in the end, are not that clean.


import numpy as np
import math
import cv2
import cv2.aruco as aruco

cap = cv2.VideoCapture(0)

ARUCO_PARAMETERS = aruco.DetectorParameters_create()
ARUCO_DICT = aruco.Dictionary_get(aruco.DICT_6X6_1000)

screenWidth = int(cap.get(3))
screenHeight = int(cap.get(4))

line1start = (int(round((screenWidth/2))), 0)
line1stop = (int(round((screenWidth/2))), int(round(screenHeight)))
line2start = (0, int(round((screenHeight/2))))
line2stop = (int(round((s…</description>
    </item>
</rdf:RDF>
