1 line
11 KiB
XML
1 line
11 KiB
XML
<xml version="Mixly 2.0 Beta11" board="MixGo AI" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_block_notes" id="l1N+oC$^)26ROE9(W^TY" x="-258" y="-26"><field name="VALUE">AI 20种物体识别_识别采集图片的20种物体的类别</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.RGB565</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="{@HpYX_C(KC!?)_/*AK3"><value name="SUB"><shadow type="variables_get" id="qyl![ewC55E{}%NiDMO7"><field name="VAR">task</field></shadow></value><value name="path"><shadow type="text" id="w([?@[wE3fkgDT0Jg[kj"><field name="TEXT">/sd/20class.kmodel</field></shadow></value><next><block type="lists_create_with_text" id="$[M_(nX(]^d3Er*OCl#x"><field name="VAR">classes</field><field name="TEXT">'aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog', 'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor'</field><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">task</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="_;KmCVsehz#DqWl`?:2`"><value name="SUB"><shadow type="variables_get" id="WX;FvEn)_748*#orHNW0"><field name="VAR">task</field></shadow></value><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="F2up@0c=.|UOJ}DZ+$uy"><field name="VAR">image</field></shadow><block type="variables_get" id="Kz*p`9rmhYmD){E:oVI3"><field name="VAR">img</field></block></value></block></value><next><block type="controls_if" id="y~iy?V*[EFy/I_Bz7Cqy"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><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="VGzthEX,/_[z3IBkM,tj"><field name="VAR">img</field><value name="VALUE"><block type="image_draw_rectangle" id="oZ[^@=a%[Ft9yDBeag`@" inline="true"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="51Ds4]{x}}Hf9lJkV0uV"><field name="VAR">image</field></shadow><block type="variables_get" id=".!R9r#MI6o}v#rx(v#M-"><field name="VAR">img</field></block></value><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="Tdz7b_@.E!18HjwH!YRK"><field name="CONTENT">10,20,30,40</field></shadow><block type="image_rect" id="owB4:riN_;pIlQkW^Tb/"><field name="key">rect</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="nK|Q9wQAmNV7T#8|39pc"><field name="VAR">rect</field></shadow><block type="variables_get" id="p:D[SF3noixv*)^HdGAr"><field name="VAR">i</field></block></value></block></value><value name="color"><shadow type="math_number" id="5};[*JI9D@h*B7H2^6Q}"><field name="NUM">0xFFFF</field></shadow></value><value name="thi"><shadow type="math_number" id="XRwbj_JC%YIhPEi3Ebe{"><field name="NUM">1</field></shadow></value><value name="fil"><shadow type="true_false" id="8xHa|A=wOi~/#f:6F9LU"><field name="flag">0</field></shadow></value></block></value><next><block type="lcd_display" id="jM`[U|AT/{4zR]%Q0Q{{"><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`R#I9i#?dZsIOk]2[Wg"><field name="VAR">img</field></block></value><next><block type="controls_forEach" id="*b-u;WAO0yz}$T+S65r)"><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="Jz=T:4Zty_8y3;Mi|e=r"><field name="VAR">code</field></block></value><value name="VAR"><shadow type="variables_get" id="8y!zmO|e=Fybe[7m(3fk"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="lcd_draw_string" id="OqYpYb@NQc6|bPQ0?Zgc" inline="true"><value name="x"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="f.aWFc5k.?t$rA{BD:Tg"><field name="NUM">0</field></shadow><block type="KPU_analysis" id=";!I(,SUdlky7MKxzdtf,"><field name="key">x</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="pkcFV[L~jBm#!eFV9X:*"><field name="VAR">yolo2</field></shadow><block type="variables_get" id=",(R6h]O~Z[M_fq+pVhjC"><field name="VAR">i</field></block></value></block></value><value name="y"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="o`Q_p#;d4%kHU0:t}H?g"><field name="NUM">0</field></shadow><block type="KPU_analysis" id="+]|-W+!,uX`+ruvcbJ*z"><field name="key">y</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="Q3h$={MvnmTSs1%[xSVN"><field name="VAR">yolo2</field></shadow><block type="variables_get" id="o-_XGHZjSN.~by{Walzp"><field name="VAR">i</field></block></value></block></value><value name="text"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Jx)s57}At4#tP``w=F)M"><field name="TEXT">MixPY</field></shadow><block type="lists_get_index" id="|vU#zt-m9a}GiCdr}3`N"><value name="LIST"><shadow type="variables_get" id="ngD-EzZ_s{mcC4VQ?%sE"><field name="VAR">classes</field></shadow></value><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="{sr$_Fnc4OVm:YsmU~!k"><field name="NUM">0</field></shadow><block type="KPU_analysis" id="#2W@}Jv27V[Ae`Nz5^:A"><field name="key">classid</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="Q3h$={MvnmTSs1%[xSVN"><field name="VAR">yolo2</field></shadow><block type="variables_get" id="Ft9G/3`ZxPD;hI-t.cx?"><field name="VAR">i</field></block></value></block></value></block></value><value name="color_T"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4(dx.#jbXzauk1Szxr;k"><field name="NUM">0XFFFF</field></shadow><block type="LCD_color_seclet" id="7s@dZ,7.aXptdU:vAz{{"><field name="COLOR">#ff0000</field></block></value><value name="color_S"><shadow type="math_number" id="6?m=FDAi;i^Dt,FDczZo"><field name="NUM">0X0000</field></shadow></value><next><block type="lcd_draw_string" id=";UnE4)e`aCvTdoEAr2}u" inline="true"><value name="x"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="f.aWFc5k.?t$rA{BD:Tg"><field name="NUM">0</field></shadow><block type="KPU_analysis" id="{`?U)L24^zmCa3EKj)h3"><field name="key">x</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="pkcFV[L~jBm#!eFV9X:*"><field name="VAR">yolo2</field></shadow><block type="variables_get" id="a!rm+7NIS}F+DP`IqFO?"><field name="VAR">i</field></block></value></block></value><value name="y"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="o`Q_p#;d4%kHU0:t}H?g"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="z}$z0_OApYR2fEQS4AT9"><field name="OP">ADD</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#hqZuW-Ux?q[R:*^)Dpp"><field name="NUM">1</field></shadow><block type="KPU_analysis" id="Q6qW_On.`;7s/-m0VMn["><field name="key">y</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="Q3h$={MvnmTSs1%[xSVN"><field name="VAR">yolo2</field></shadow><block type="variables_get" id="|_DCk%~.6N7ud$$F]9*Z"><field name="VAR">i</field></block></value></block></value><value name="B"><shadow type="math_number" id="[}g$whiQ-p~KtMvWN0x}"><field name="NUM">12</field></shadow></value></block></value><value name="text"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Jx)s57}At4#tP``w=F)M"><field name="TEXT">MixPY</field></shadow><block type="number_to_text" id=";GU#5T%#R5)nl2PuP`mU"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="$o^KJ#QkCZjyD%::_4QB"><field name="NUM">0</field></shadow><block type="KPU_analysis" id="zVok+bR2hkgxk)]K_]t;"><field name="key">value</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="Q3h$={MvnmTSs1%[xSVN"><field name="VAR">yolo2</field></shadow><block type="variables_get" id="jCM]FTc)EdkoktG6!Uh0"><field name="VAR">i</field></block></value></block></value></block></value><value name="color_T"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="ZK3A`Sj?V,ofO93b=yF%"><field name="NUM">0XFFFF</field></shadow><block type="LCD_color_seclet" id="8KLD]Y*=L]W~~iJ^~oi{"><field name="COLOR">#ff0000</field></block></value><value name="color_S"><shadow type="math_number" id="B:TwvMlM9fSYaM_CXeqp"><field name="NUM">0X0000</field></shadow></value></block></next></block></statement></block></next></block></next></block></statement></block></statement><statement name="ELSE"><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></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml> |