Files
mixly3/boards/default/python_mixpy/examples/人工智能mix/06文字识别-2.mix
2024-07-19 10:16:00 +08:00

1 line
2.8 KiB
XML

<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"storage_fileopen\" id=\"YzXj3Dmq?_X88+7fT`+^\" x=\"-643\" y=\"41\"><field name=\"MODE\">rb</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"h,$h.Q{9FM4jPDObw!lp\"><field name=\"TEXT\">filename.txt</field></shadow><block type=\"AI_ChooseAndGet\" id=\",E37Vl|rNcuC$-T9{-@3\"><field name=\"TYPE\">getOneFile</field></block></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"pB/u)vfqVG4GN[eN0;gx\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"AI_client\" id=\"?-)LQc_VjDJmqNHD,(cP\"><field name=\"CTYPE\">AipOcr</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"$TgS#pfpcclZXdJ[zm}I\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\":W~ccaY0~1Wu-pcryd7)\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"4{(ah*-O$cXr}_+w5DzO\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"R??d/QMiZ0yDT^UnR2^y\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"variables_set\" id=\"olq4i.~I;5we|KLWEBV)\"><field name=\"VAR\">list</field><value name=\"VALUE\"><block type=\"dicts_get\" id=\"A6H%Ko*]T)FK8%nB2{JC\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"QN-L5nJ2zjn%KnKe`6`|\"><field name=\"VAR\">mydict</field></shadow><block type=\"AI_Ocr\" id=\";f5wKyPAR7}Us))7IZ|T\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"STn5)J}lB2Yc{3|K_++#\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Ocr_Func\" id=\"xDtTwWKutTI[Jop]OIU_\"><field name=\"TYPE\">basicGeneral</field></shadow></value><value name=\"ADDR\"><shadow type=\"text\" id=\")zG6%L$k35eYJVN7w-HS\"><field name=\"TEXT\">C:/mixly.jpg</field></shadow><block type=\"storage_get_contents_without_para\" id=\"c|9R,=IG)Ub,W]cwe#*q\"><field name=\"MODE\">read</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"QR%QC|?m?M5wuC*S8ZOd\"><field name=\"VAR\">f</field></shadow></value></block></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"Su@oBOZ%tNvJ%ko_{Uce\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"f~zaw.d+$mC+3Yh@ShP)\"><field name=\"TEXT\">words_result</field></shadow></value></block></value><next><block type=\"inout_print\" id=\"bZcn*v8ARB^fGM5_.]E=\"><value name=\"VAR\"><shadow type=\"text\" id=\"ze6US|WK(wmBn@4hY3Uf\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"/yRFD?N5N_.x%ZdX]Pqu\"><field name=\"VAR\">list</field></block></value></block></next></block></next></block></next></block></xml>