<xml xmlns="https://developers.google.com/blockly/xml">
  <block type="add_mp_hands" id="0)AC#`y{G:k20LLU,!zX" x="18" y="62">
    <next>
      <block type="controls_whileUntil" id="RWWuJF^Ze$chN#uEXO~V">
        <field name="MODE">WHILE</field>
        <value name="BOOL">
          <shadow type="logic_boolean" id="s{.J$0!_b1VLE4W}B^Rj">
            <field name="BOOL">TRUE</field>
          </shadow>
        </value>
        <statement name="DO">
          <block type="plot_datapoint" id="uUFB-guGCPJ8,t(E1+vR">
            <field name="PLOTNAME">myplot</field>
            <value name="VALUE">
              <block type="ai_distance" id="1|BA8Y{ZH]B]%N~;TaO|">
                <field name="finger_joint_1">4</field>
                <field name="finger_joint_2">8</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </next>
  </block>
<description>
<![CDATA[<h2>Introduction</h2><p><br></p><p>AI is used to find positions of each finger, and determine distance from any one finger joint to another.</p><p><br></p><p><br></p><h2>JOINT numbers</h2><p><br></p><p>Joints are numbered as shown in the image below</p><p><img src="data:image/png;base64,[encoded data, 6960 characters]"></p><p><br></p><p>We can now determine gestures such as pinching (distance from 4 to 8)</p>]]>
</description>
</xml>