1 line
9.7 KiB
XML
1 line
9.7 KiB
XML
<xml version="Mixly 2.0 Beta11" board="MixGo AI" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_block_notes" id="l4;*:v)tot?o4PHIoVg6" x="-356" y="-111"><field name="VALUE">人脸追踪_识别追踪采集图片的人脸</field><next><block type="camera_init" id="~//]XFuzfPa[w76Uz4}Z" inline="true"><value name="key1"><shadow type="mode" id="h[S$w|I[]}NofUX?G3SY"><field name="flag">sensor.YUV422</field></shadow></value><value name="key2"><shadow type="size" id="k#@su;g/[l_z5X$0}hF:"><field name="flag">sensor.QVGA</field></shadow></value><value name="key3"><shadow type="on_off" id="tsN9}zWuQSM-gLp.`drX"><field name="flag">1</field></shadow></value><next><block type="lcd_init" id="LEQHFigyohnf+PiE8O+x" inline="true"><value name="freq"><shadow type="math_number" id="jsOX7Vp$6yss!T.)lcmy"><field name="NUM">15000000</field></shadow></value><value name="color"><shadow type="math_number" id="2s/et`zZ3Q,.|@h3F-x="><field name="NUM">0x0000</field></shadow></value><next><block type="tuple_anchor" id="8W.x(2ZY%6UALvok#DYX"><field name="VAR">anchor</field><field name="TEXT">1.889, 2.5245, 2.9465, 3.94056, 3.99987, 5.3658, 5.155437, 6.92275, 6.718375, 9.01025</field><next><block type="KPU_load1" id="CQ8113%z)~%|)uP0L!8s"><value name="SUB"><shadow type="variables_get" id="^.HAw@y.*R1B9YI!Ff^U"><field name="VAR">KPU</field></shadow></value><value name="path"><shadow type="text" id="!tXWEV;p)4!B5HIjg3Aj"><field name="TEXT">/sd/facedetect.kmodel</field></shadow></value><next><block type="KPU_init_yolo2" id="5$+MyVk?kF19Y|Zs!XMu" inline="true"><value name="SUB"><shadow type="variables_get" id="j0[@Bpc0hX27u08a+NH^"><field name="VAR">KPU</field></shadow></value><value name="threshold"><shadow type="math_number" id="es\Z`w/rvdQdS0{F0,"><field name="NUM">0.5</field></shadow></value><value name="nms_value"><shadow type="math_number" id="@zsU$SWOOMWlHE3b*pFp"><field name="NUM">0.3</field></shadow></value><value name="anchor_num"><shadow type="math_number" id="%Er`Q[O.Sa.t}A[D`Utr"><field name="NUM">5</field></shadow></value><value name="anchor"><shadow type="factory_block_return" id="9P7RG9E!]3w-zRlso(s6"><field name="VALUE">anchor</field></shadow></value><next><block type="controls_whileUntil" id="!4:*LHZmXH%By-fHlI^#"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id=".boKAPP(r}~g;S7K_tVU"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="L}f=Krgl3jv|xyxCNwC."><field name="VAR">img</field><value name="VALUE"><block type="camera_snapshot" id="/!x8a:iSS`w9$m%;vU1a"></block></value><next><block type="variables_set" id="t@hNqJASFamQIhgpv(Eh"><field name="VAR">code</field><value name="VALUE"><block type="KPU_run_yolo2" id="BR;fALjz^*QK851z7-(k"><value name="SUB"><shadow type="variables_get" id=")(9BHA#P{?8#}hOpQZR["><field name="VAR">KPU</field></shadow></value><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="[^e!j*rvV(9d633=,NY{"><field name="VAR">image</field></shadow><block type="variables_get" id="k2=M|cJ_e0Fpr1Uv~2uO"><field name="VAR">img</field></block></value></block></value><next><block type="controls_if" id="y~iy?V*[EFy/I_Bz7Cqy"><value name="IF0"><block type="variables_get" id="A$ae8-%M/Ib:YbBQDq,b"><field name="VAR">code</field></block></value><statement name="DO0"><block type="controls_forEach" id="iW]Z?I.f.cBk7(Qoxe;H"><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="C=fYSGEMRG?{!]*m@vTD"><field name="CONTENT">0,1,2,3</field></shadow><block type="variables_get" id="%FNN2nOeXd0ylb_pmn-z"><field name="VAR">code</field></block></value><value name="VAR"><shadow type="variables_get" id="bJv=O#?J59|H[Ebi|,Hp"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="variables_set" id="oPcY/U$H_i]LshMK*qx;"><field name="VAR">img</field><value name="VALUE"><block type="image_draw_rectangle" id="?xX,Y-`.}Ne5zdDRiOBK" inline="true"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="N%JX9#CTHN6v)BtZUNh2"><field name="VAR">image</field></shadow><block type="variables_get" id="tFqt))GbI7{6~Iw0Mtc("><field name="VAR">img</field></block></value><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="`pX9|+}[lWcN%9h[(K|5"><field name="CONTENT">10,20,30,40</field></shadow><block type="image_rect" id="*A590!D=A5lw[]oD=!Np"><field name="key">rect</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="W2%g+48--A=RHEeOq2Mg"><field name="VAR">rect</field></shadow><block type="variables_get" id="MU]MF:V2@q*@j?_E*B2="><field name="VAR">i</field></block></value></block></value><value name="color"><block type="tuple_create_with_text_return" id=":Df#xk-oIDfS?w=6VY1)"><field name="TEXT">255,0,0</field></block></value><value name="thi"><shadow type="math_number" id="[4fyo^I;{*hixk`TYVx?"><field name="NUM">2</field></shadow></value><value name="fil"><shadow type="true_false" id=",wb4t2l9b$#($?{I@05!"><field name="flag">0</field></shadow></value></block></value><next><block type="variables_set" id="f:G8f}@Dypu.j^VW.}vO"><field name="VAR">x</field><value name="VALUE"><block type="math_arithmetic" id="8nMi`2a(de4~vwa.%^/H"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="6t?bY3^Z3w~w6u}L)K=5"><field name="NUM">1</field></shadow><block type="image_rect" id="N)KePQ2kNgUxK.#^Ii2@"><field name="key">x</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="`:n3R)N2}(eUS.LbP*{["><field name="VAR">rect</field></shadow><block type="variables_get" id="nUP7kPPQ7.GCiaC/8_oT"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="B/;r4lzf@SpgA]Xg!86I"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="MN/)}zP(=|`.Z?3EK;2u"><field name="OP">ZHENGCHU</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="*{LVstb/X#2=s$^aY5Sv"><field name="NUM">1</field></shadow><block type="image_rect" id="oC:GP-2A#hn`+Yr3wfaY"><field name="key">w</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="Xwk)R5Z_K@=k5tP]2S0F"><field name="VAR">rect</field></shadow><block type="variables_get" id="9De[PvMy9YJ`dTb]*?o~"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="DV@H?8@!RVIPGdu/Q-VH"><field name="NUM">2</field></shadow></value></block></value></block></value><next><block type="variables_set" id="M|N{%YpUrCLlbZ=]t%=3"><field name="VAR">y</field><value name="VALUE"><block type="math_arithmetic" id="txS?V{r5sshX)|Yg6md$"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="6t?bY3^Z3w~w6u}L)K=5"><field name="NUM">1</field></shadow><block type="image_rect" id="lXhFuaC%?GtzT;$rq!2n"><field name="key">y</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="$j^EYup$5dy9):iUy=.("><field name="VAR">rect</field></shadow><block type="variables_get" id="B5p*p_n//4dT={:NDDvy"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="B/;r4lzf@SpgA]Xg!86I"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="CLYLR{-fc?-^;#=wZ5e`"><field name="OP">ZHENGCHU</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="*{LVstb/X#2=s$^aY5Sv"><field name="NUM">1</field></shadow><block type="image_rect" id="1Rk_n90:S4_IKp=FO~r{"><field name="key">h</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="J{eBaLg-,oSL@|{zr*a{"><field name="VAR">rect</field></shadow><block type="variables_get" id=".G[y%0tb``Tx:];*)fQ-"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="iPebd]uKx,-%!G1mrQGY"><field name="NUM">2</field></shadow></value></block></value></block></value><next><block type="variables_set" id="obAo(Jw@n_5{S(w5^vM1"><field name="VAR">img</field><value name="VALUE"><block type="image_draw_cross" id="`YdRAI[,`J(C.tT0hf6D" inline="true"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="}.}8K^]=j!]bfID~nGdL"><field name="VAR">image</field></shadow><block type="variables_get" id="cmV4772{rhk$MSpxu#rA"><field name="VAR">img</field></block></value><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="4k]F-9f7SDi_,O4F;D~G"><field name="CONTENT">10,20</field></shadow><block type="list_many_input" id=")@KhZ~g4~OI4pA^~]j!S"><field name="CONTENT">x,y</field></block></value><value name="color"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="fnR;oV6kwf{p2cjS%oCJ"><field name="NUM">0xFFFF</field></shadow><block type="tuple_create_with_text_return" id="bxaex9~)_=K^EIi2T[49"><field name="TEXT">255,0,0</field></block></value><value name="size"><shadow type="math_number" id="/a%2jluSL8xFew+6u("><field name="NUM">30</field></shadow></value><value name="thi"><shadow type="math_number" id="-.QM@yjSY*TP%v]Z~.2J"><field name="NUM">1</field></shadow></value></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type="lcd_display" id="iql9*$;Gi9?a)LA]YYgu"><value name="img"><shadow xmlns="http://www.w3.org/1999/xhtml" type="factory_block_return" id="8?j/4yFE_wo,4]KZQp^Z"><field name="VALUE">image</field></shadow><block type="variables_get" id="C#}xMJe,f90*+ba7RW@b"><field name="VAR">img</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></xml> |