Commit f49cc9cf authored by limingzhe's avatar limingzhe

fix: 横向检测算法更改

parent 4a5fbb1e
No preview for this file type
......@@ -93,6 +93,7 @@ cc.Class({
getDefaultData() {
return {"write_big_0_audio_url":"http://teach.cdn.ireadabc.com/0d9ba4c3952dacb4f045b9e3dd256a3a.mp3","write_big_1_audio_url":"http://teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3","write_big_2_audio_url":"http://teach.cdn.ireadabc.com/1cebfe41cdf1d3d217722c04a448c744.mp3","write_small_0_audio_url":"http://teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3","write_small_1_audio_url":"http://teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3","write_small_2_audio_url":"http://teach.cdn.ireadabc.com/df245c175c417ec439d2ca1da033e238.mp3","finish_audio_url":"http://teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3","tip_audio_url":"http://teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3","letter":"E","animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/2eb49219aaf80a4c2dc7fb708b43bf6d.json","name":"E大彩_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/ee396cbb457c02c6830f26812c167d95.json","name":"E大彩_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/4266c47663a7279280b98ea93d6898e9.png","name":"E大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/4442c5a87ad1dcce2e978dcf67df9de0.json","name":"E大黑_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/07047fd00fd79a2e9e2da04afbc90d23.json","name":"E大黑_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/f3afdce454873c0e3febe7868e6ac77f.png","name":"E大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/fca2c94f11ebed28d300993d1dc5d5cd.json","name":"E小彩_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/2ebcdd6e674598812e36e1ed01714a5d.json","name":"E小彩_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/e6f07f6b03482e8ce30947b0c0f8e24c.png","name":"E小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/c5b8da1226b9833f666ef3c0b73321df.json","name":"NewProject_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/06b1de9f9f269e70c2a969a0518c2f4b.json","name":"NewProject_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/2035cfe53400c0e4608484c6709ac46f.png","name":"NewProject_tex.png"}}],"bg_pic_url":"http://teach.cdn.ireadabc.com/7e2e266a6e2e596103ac973e0a22d3ac.jpg","dot_big_1_url":"http://teach.cdn.ireadabc.com/2459ff2237e6fd5db3cd5114a963142c.png","dot_big_2_url":"http://teach.cdn.ireadabc.com/dc479b6c0ab7d3c9aaf67602d15461ee.png","dot_small_1_url":"http://teach.cdn.ireadabc.com/9a55ab875ba30762c8f3e0d62019fe87.png","dot_small_2_url":"http://teach.cdn.ireadabc.com/7f782ff0bbd8b2f6567c4ad7940f0e52.png","page_id":"15","book_id":"opw1","part_name":"c","bgItem2":{"url":"http://teach.cdn.ireadabc.com/5ebe42f28b4800c177911a963fa470c9.png","rect":{"x":237.51,"y":0,"width":1818.98,"height":2353}},"hotZoneItemArr2":[{"id":"1667985423743","index":0,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"3","labelText":"Trace w a say","posX":739.6403738837666,"posY":226.8698116550978,"rect":{"x":246.77,"y":192,"width":510.72,"height":69.74}},{"id":"1667985443483","index":1,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"5","labelText":"E","posX":495.55054165659374,"posY":371.08969275547736,"rect":{"x":218.59,"y":294,"width":78.9,"height":154.18}},{"id":"1667985570867","index":2,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_0_b","posX":416,"posY":190,"rect":{"x":548.39,"y":291.21,"width":97.07,"height":155.31}},{"id":"1667985632531","index":3,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_1_b","posX":503.0045881451673,"posY":191.00048605495954,"rect":{"x":717.3,"y":293.16,"width":97.07,"height":155.31}},{"id":"1667985641077","index":4,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_2_b","posX":589.0048107071751,"posY":191.00048861314355,"rect":{"x":884.26,"y":293.16,"width":97.07,"height":155.31}},{"id":"1667985654351","index":5,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_3_b","posX":675.0050332691828,"posY":190.0004911713275,"rect":{"x":1051.22,"y":291.21,"width":97.07,"height":155.31}},{"id":"1667985689529","index":6,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_4_b","posX":765.0052507148226,"posY":190.00048605495954,"rect":{"x":1225.97,"y":291.21,"width":97.07,"height":155.31}},{"id":"1667985702528","index":7,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_5_b","posX":852.0154733024123,"posY":190.00048605495954,"rect":{"x":1394.89,"y":291.21,"width":97.07,"height":155.31}},{"id":"1667985714293","index":8,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"E_6_b","posX":939.0256907736339,"posY":191.00048861314355,"rect":{"x":1563.82,"y":293.16,"width":97.07,"height":155.31}},{"id":"1667985790355","index":9,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_0_s","posX":413.03913543613623,"posY":326.00082885161515,"rect":{"x":546.59,"y":586.31,"width":89.17,"height":93.19}},{"id":"1667985813529","index":10,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_1_s","posX":501.0395805601518,"posY":325.00083396798317,"rect":{"x":715.51,"y":586.31,"width":93.03,"height":89.31}},{"id":"1667985833937","index":11,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_2_s","posX":589.0448056931345,"posY":326.00083140979916,"rect":{"x":886.36,"y":588.25,"width":93.03,"height":89.31}},{"id":"1667985881974","index":12,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_3_s","posX":677.0450256969583,"posY":325.00083140979916,"rect":{"x":1057.2,"y":586.31,"width":93.03,"height":89.31}},{"id":"1667985902797","index":13,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_4_s","posX":764.0452508171501,"posY":326.00083140979916,"rect":{"x":1226.13,"y":588.25,"width":93.03,"height":89.31}},{"id":"1667985936521","index":14,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_5_s","posX":850.0554785211076,"posY":326.00083140979916,"rect":{"x":1393.11,"y":588.25,"width":93.03,"height":89.31}},{"id":"1667986010733","index":15,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"1","labelText":"e_6_s","posX":938.0656985505134,"posY":327.00083396798317,"rect":{"x":1563.97,"y":590.19,"width":93.03,"height":89.31}},{"id":"1667986124358","index":16,"itemType":"rect","fontScale":1.7921875,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7921875,"dragDot":{"x":1147,"y":1204.6481802426345},"gIdx":"2","posX":1188.3049848033966,"posY":458.0596147426486,"rect":{"x":127.63,"y":155.2,"width":1646.33,"height":605.72}}],"isDebug":false}
return {"write_big_0_audio_url":"http://teach.cdn.ireadabc.com/408c71e718e626d16df25239fdd71163.mp3","write_big_1_audio_url":"http://teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3","write_big_2_audio_url":"http://teach.cdn.ireadabc.com/87294765bb8f37041744dc48d876c052.mp3","write_small_0_audio_url":"http://teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3","write_small_2_audio_url":"http://teach.cdn.ireadabc.com/9ccf4a2c0bf3e3baf66bddd4a0abb620.mp3","write_small_1_audio_url":"http://teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3","finish_audio_url":"http://teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3","tip_audio_url":"http://teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3","letter":"C","animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/4dd75bd1c8b9f556b580f5d256fecfb7.json","name":"C大彩_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/725d676582a580ae2cee26652712efd6.json","name":"C大彩_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/5780883b33891b445070dcd67232ca98.png","name":"C大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/8d6671efb002131453b527eeed3bf97f.json","name":"C大黑_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/73fe384407514cdb6367e836a45cfa03.json","name":"C大黑_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/ef6a958b04c1fed3a47881a592483df7.png","name":"C大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/66d8a9651b82fa83d8d3e1bbe8ffeeb6.json","name":"C小彩_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/2d25d66f78bc30c7782274f97c263303.json","name":"C小彩_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/ddddad84a4723ab74bd37f6fca21b4fe.png","name":"C小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/d1dd83aed85d64945dfc13f6a14d0020.json","name":"C小黑_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/92be77c123e33cab47275d1437dd28df.json","name":"C小黑_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/44a6134566cb62daca7dc5a2c2ebb449.png","name":"C小黑_tex.png"}}],"bg_pic_url":"http://teach.cdn.ireadabc.com/520b8785f6b253aef7ced8941711c1cf.png","dot_big_1_url":"http://teach.cdn.ireadabc.com/f58a94261f588126b877f6bfc4382e5c.png","dot_big_2_url":"http://teach.cdn.ireadabc.com/f58a94261f588126b877f6bfc4382e5c.png","dot_small_1_url":"http://teach.cdn.ireadabc.com/e6d93412e4a0b3fb49a6d3c73368ddf7.png","dot_small_2_url":"http://teach.cdn.ireadabc.com/e6d93412e4a0b3fb49a6d3c73368ddf7.png","page_id":"9","part_name":"c","book_id":"opw1","bgItem2":{"url":"http://teach.cdn.ireadabc.com/7975e4a930fe51033b0e1321260d4046.png","rect":{"x":108.53,"y":0,"width":936.93,"height":1212}},"hotZoneItemArr2":[{"id":"1667983507722","index":0,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"3","labelText":"Trace w a say","posX":367,"posY":120,"rect":{"x":123.47,"y":101,"width":270,"height":38}},{"id":"1667983545642","index":1,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"5","labelText":"C","posX":233.00411743931176,"posY":190.00048861314352,"rect":{"x":85.47,"y":149,"width":78,"height":82}},{"id":"1667983648436","index":2,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_0_b","posX":415.005000012791,"posY":191.00155025950244,"rect":{"x":270.48,"y":150,"width":71.99,"height":82}},{"id":"1667983754171","index":3,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_1_b","posX":503.00958559977425,"posY":192.00048861314352,"rect":{"x":358.48,"y":151,"width":71.99,"height":82}},{"id":"1667983783176","index":4,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_2_b","posX":592.009810719966,"posY":193.00049117132752,"rect":{"x":447.48,"y":152,"width":71.99,"height":82}},{"id":"1667983805194","index":5,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_3_b","posX":680.0100383983419,"posY":193.0004937295115,"rect":{"x":535.49,"y":152,"width":71.99,"height":82}},{"id":"1667983832332","index":6,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_4_b","posX":767.0102635185336,"posY":193.0004937295115,"rect":{"x":622.5,"y":152,"width":71.99,"height":82}},{"id":"1667983858989","index":7,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_5_b","posX":852.0204861061233,"posY":193.0004937295115,"rect":{"x":707.51,"y":152,"width":71.99,"height":82}},{"id":"1667983874768","index":8,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_6_b","posX":942.0407036029267,"posY":194.0004937295115,"rect":{"x":797.52,"y":153,"width":71.99,"height":82}},{"id":"1667984313677","index":9,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_0_s","posX":416.0509338650684,"posY":325.0004962876955,"rect":{"x":281.52,"y":299,"width":52,"height":52}},{"id":"1667984371817","index":10,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_1_s","posX":503.05458827307643,"posY":324.00083140979916,"rect":{"x":368.52,"y":298,"width":52,"height":52}},{"id":"1667984395135","index":11,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_2_s","posX":592.0548108350843,"posY":325.00082885161515,"rect":{"x":457.52,"y":299,"width":52,"height":52}},{"id":"1667984433522","index":12,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_3_s","posX":678.0550385134601,"posY":325.00083140979916,"rect":{"x":543.52,"y":299,"width":52,"height":52}},{"id":"1667984454505","index":13,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_4_s","posX":763.0552585172838,"posY":326.00083140979916,"rect":{"x":628.53,"y":300,"width":52,"height":52}},{"id":"1667984468040","index":14,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_5_s","posX":851.0654759885056,"posY":325.00083396798317,"rect":{"x":716.54,"y":299,"width":52,"height":52}},{"id":"1667984480032","index":15,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_6_s","posX":937.0757011342791,"posY":326.00083140979916,"rect":{"x":802.55,"y":300,"width":52,"height":52}},{"id":"1667984500595","index":16,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"2","posX":582,"posY":241,"rect":{"x":41.47,"y":83,"width":864,"height":316}}],"isDebug":true}
return {"animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/3854b249ba08fe0d7f7be94308eda238.json","name":"D大彩_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/047c4030ce0956e7fa491bb10efa99d0.json","name":"D大彩_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/fdeefde6344de8b50de4c1e97532de46.png","name":"D大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/4a73aa0ed1abe9fe59cbc9396164ab0b.json","name":"D大黑_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/264182a83f00f862662611adde7afc05.json","name":"D大黑_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/444b96de33fb48ab6a488b058d81449d.png","name":"D大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/4fbe3832ff08127bb2899c525f3c0918.json","name":"D小彩_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/958bfb6722f4bf5f2b5d975e420cf23c.json","name":"D小彩_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/489483bb7b433044f5736ac1f05d4bf2.png","name":"D小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/f88764f49c73d2bdc7ab21d3f3f3c4bc.json","name":"D小黑_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/403916dcfd80ce24069eddce10e0124c.json","name":"D小黑_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/840b55ebf6ae75ec7cf011c48f3189ec.png","name":"D小黑_tex.png"}}],"write_big_0_audio_url":"https://staging-teach.cdn.ireadabc.com/d4c2f72fd4238c48c1b19d747d0ce382.mp3","write_big_1_audio_url":"https://staging-teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3","write_big_2_audio_url":"https://staging-teach.cdn.ireadabc.com/a5652eadaf165869b2b551530921bb0d.mp3","write_small_0_audio_url":"https://staging-teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3","write_small_1_audio_url":"https://staging-teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3","write_small_2_audio_url":"https://staging-teach.cdn.ireadabc.com/15147c1c4ae733303566baf84fae2840.mp3","finish_audio_url":"https://staging-teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3","tip_audio_url":"https://staging-teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3","letter":"A","dot_small_2_url":"https://staging-teach.cdn.ireadabc.com/8a8cbc71ad861b372418f36aef32a8cd.png","dot_small_1_url":"https://staging-teach.cdn.ireadabc.com/80221b2a4b62f57c33c7e6491f372077.png","dot_big_1_url":"https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png","dot_big_2_url":"https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png","bg_pic_url":"http://staging-teach.cdn.ireadabc.com/7e2e266a6e2e596103ac973e0a22d3ac.jpg","bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/e94766af9c75bcdc8308a914929afc74.png","rect":{"x":172.26,"y":0,"width":1367.48,"height":1769}},"hotZoneItemArr2":[{"id":"1666840073802","index":0,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"3","labelText":"rac w a say","posX":803.5,"posY":249.5,"rect":{"x":182.53,"y":152.34,"width":391.64,"height":42.43}},{"id":"1666840147464","index":1,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"5","labelText":"A","posX":522.5,"posY":398.5,"rect":{"x":138.71,"y":220.52,"width":88.35,"height":113.39}},{"id":"1666840195993","index":2,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_0_b","posX":899.5,"posY":401.5,"rect":{"x":403.75,"y":223.99,"width":82.78,"height":110.61}},{"id":"1666840237362","index":3,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_1_b","posX":1082.4997014371008,"posY":398.5003494839767,"rect":{"x":531.05,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840289442","index":4,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_2_b","posX":"1265","posY":398.5003494839767,"rect":{"x":658,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840378939","index":5,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_3_b","posX":"1448","posY":398.5003494839767,"rect":{"x":785.3,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840417298","index":6,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_4_b","posX":"1632","posY":398.5003494839767,"rect":{"x":913.3,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840451040","index":7,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_5_b","posX":1814.0003364272902,"posY":398.5003468726394,"rect":{"x":1039.91,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840547094","index":8,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_6_b","posX":1999.0004974597578,"posY":398.5003468726394,"rect":{"x":1168.6,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840559646","index":9,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_0_s","posX":901.000658492225,"posY":683.5003468726394,"rect":{"x":412.79,"y":445.21,"width":66.78,"height":60.52}},{"id":"1666840588967","index":10,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_1_s","posX":1082.9997027427694,"posY":682.500594949684,"rect":{"x":539.4,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840599411","index":11,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_2_s","posX":1260.9998611638996,"posY":683.5005940792382,"rect":{"x":663.22,"y":445.21,"width":66.78,"height":60.52}},{"id":"1666840612277","index":12,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_3_s","posX":1444.0000161032467,"posY":684.500594949684,"rect":{"x":790.52,"y":445.9,"width":66.78,"height":60.52}},{"id":"1666840622998","index":13,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_4_s","posX":1631.0001753948227,"posY":682.5005958201295,"rect":{"x":920.6,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840636543","index":14,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_5_s","posX":1811.0003381681818,"posY":682.5005940792382,"rect":{"x":1045.82,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840652074","index":15,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_6_s","posX":1993.0004948484204,"posY":684.5005940792382,"rect":{"x":1172.42,"y":445.9,"width":66.78,"height":60.52}},{"id":"1666840663151","index":16,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"2","posX":1249.5,"posY":520.5,"rect":{"x":59.41,"y":134.26,"width":1258.4,"height":455.64}}],"page_id":"5","book_id":"opw1","part_name":"c"}
// return {"write_big_0_audio_url":"https://teach.cdn.ireadabc.com/d1dc9853d03d0237f0d2206dcf7f62e9.mp3","write_big_1_audio_url":"https://teach.cdn.ireadabc.com/eb0054aa1415046dfa35ed31a3a7e35c.mp3","tip_audio_url":"https://teach.cdn.ireadabc.com/52824b6c66664de8ee7b3bef3af5593f.mp3","finish_audio_url":"https://staging-teach.cdn.ireadabc.com/750a7079ea924a9260cebf649645b87c.mp3","write_small_0_audio_url":"https://teach.cdn.ireadabc.com/b2ce05a59cbdcaef5d85e56c6ffdcc20.mp3","write_small_1_audio_url":"https://teach.cdn.ireadabc.com/eb0054aa1415046dfa35ed31a3a7e35c.mp3","write_small_2_audio_url":"https://teach.cdn.ireadabc.com/908269df525600b866042ab473a0b879.mp3","write_big_2_audio_url":"https://teach.cdn.ireadabc.com/0fd3a090c37a2c11bb8503908a1326f2.mp3","letter":"A","animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/cdee11a12d4bf498bd3f0931bfe858cf.json","name":"A大彩_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/ae2b83555093e3a739fcef9f107f52bb.json","name":"A大彩_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/db4a8c0d718e998f8fd3983aaf39e8d5.png","name":"A大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/14c5231012b4a1f3ac898ca6f83bc213.json","name":"A大黑_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/a9e874a147023e0944cf89c351661218.json","name":"A大黑_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/8e12ae87d2c1a7bb6fc320272a930d9b.png","name":"A大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/8c0ccddb1d49eb555846c006244b27dc.json","name":"A小彩_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/667e32080f139a09ab434a698dccc18b.json","name":"A小彩_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/65abc1cc2e73a2b9bbaffa497d81e5a4.png","name":"A小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/356e9e26a2a74c57791fff7471142d54.json","name":"A小黑_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/9a262fdad701a170994510e1562baa76.json","name":"A小黑_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/500b883b3c0c0613a6de963f3deb7f72.png","name":"A小黑_tex.png"}}],"bg_pic_url":"https://teach.cdn.ireadabc.com/520b8785f6b253aef7ced8941711c1cf.png","dot_big_1_url":"https://teach.cdn.ireadabc.com/125b10277b51185a8238f0ad2d399e3e.png","dot_big_2_url":"https://teach.cdn.ireadabc.com/e61ae4cb1ce8dfbec37f153980233d6b.png","dot_small_1_url":"https://teach.cdn.ireadabc.com/9b5c4f22242cff975aa6189235e4caf9.png","dot_small_2_url":"https://teach.cdn.ireadabc.com/cd32e56db4dc9fadea2ad52aa0c93066.png"};
......@@ -381,7 +382,8 @@ cc.Class({
const firstItemRect = this.firstItemData.rect;
baseX = firstItemRect.x + firstItemRect.width / 2;
baseY = firstItemRect.y + firstItemRect.height / 2;
unitW = benchmark1Rect.x + benchmark1Rect.width - (firstItemRect.x + firstItemRect.width / 2);
// unitW = benchmark1Rect.x + benchmark1Rect.width - (firstItemRect.x + firstItemRect.width / 2);
unitW = (firstItemRect.x + firstItemRect.width / 2);
unitH = (firstItemRect.y + firstItemRect.height / 2) - benchmark1CenterY;
}
......@@ -1386,7 +1388,7 @@ cc.Class({
}
writeRect.hitCount++;
if (writeRect.hitCount < 2) {
if (writeRect.hitCount < 1) {
return;
}
......@@ -3214,7 +3216,8 @@ cc.Class({
baseX = firstItemLeft + (firstItemRight - firstItemLeft) / 2;
baseY = firstItemTop + (firstItemBottom - firstItemTop) / 2;
unitW = benchmark1Left + (benchmark1Right - benchmark1Left) - ( firstItemLeft + (firstItemRight - firstItemLeft) / 2 );
// unitW = benchmark1Left + (benchmark1Right - benchmark1Left) - ( firstItemLeft + (firstItemRight - firstItemLeft) / 2 );
unitW = ( firstItemLeft + (firstItemRight - firstItemLeft) / 2 );
unitH = ( firstItemTop + (firstItemBottom - firstItemTop) / 2 ) - (benchmark1Top + (benchmark1Bottom - benchmark1Top) / 2);
}
......@@ -3372,7 +3375,7 @@ cc.Class({
const bbox = [{x1, y1}, {x2, y2}, {x3, y3}, {x4, y4}]
// this.changeBboxPos(bbox);
this.changeBboxPos(bbox);
const content = text[j];
bboxTextArr.push({bbox, content, score});
......@@ -3897,7 +3900,8 @@ cc.Class({
getPhotoData(cb) {
const tmpData1 = {"result":{"text":[{"left":0.07899999618530273,"right":0.42899999022483826,"top":0.07959794253110886,"bottom":0.11568041145801544,"score":0.992110013961792,"content":"CTrace,write,and say.","characters":[{"character":"C","centerLoc":[0.10733333,0.09635052],"poly":[0.09066667,0.07959794,0.12566666,0.07959794,0.12566666,0.11310309,0.09066667,0.11310309]},{"character":"T","centerLoc":[0.139,0.09506186],"poly":[0.13233334,0.08604124,0.14733332,0.08604124,0.14733332,0.10408248,0.13233334,0.10408248]},{"character":"r","centerLoc":[0.15233333,0.09635052],"poly":[0.14733332,0.09119588,0.15900001,0.09119588,0.15900001,0.10279381,0.14733332,0.10279381]},{"character":"a","centerLoc":[0.169,0.09763918],"poly":[0.16066667,0.09119588,0.17733334,0.09119588,0.17733334,0.10408248,0.16066667,0.10408248]},{"character":"c","centerLoc":[0.18566667,0.09763918],"poly":[0.17733334,0.09119588,0.194,0.09119588,0.194,0.10408248,0.17733334,0.10408248]},{"character":"e","centerLoc":[0.20066667,0.09763918],"poly":[0.194,0.09248454,0.209,0.09248454,0.209,0.10408248,0.194,0.10408248]},{"character":",","centerLoc":[0.219,0.09892784],"poly":[0.21066667,0.09248454,0.229,0.09248454,0.229,0.10537113,0.21066667,0.10537113]},{"character":"w","centerLoc":[0.23733333,0.09763918],"poly":[0.229,0.09248454,0.24566667,0.09248454,0.24566667,0.10408248,0.229,0.10408248]},{"character":"r","centerLoc":[0.25066668,0.09763918],"poly":[0.24566667,0.09248454,0.25733334,0.09248454,0.25733334,0.10408248,0.24566667,0.10408248]},{"character":"i","centerLoc":[0.26233333,0.09635052],"poly":[0.25733334,0.08861856,0.269,0.08861856,0.269,0.10408248,0.25733334,0.10408248]},{"character":"t","centerLoc":[0.274,0.09635052],"poly":[0.269,0.08861856,0.28066665,0.08861856,0.28066665,0.10408248,0.269,0.10408248]},{"character":"e","centerLoc":[0.28566664,0.09763918],"poly":[0.28066665,0.09248454,0.29233333,0.09248454,0.29233333,0.10408248,0.28066665,0.10408248]},{"character":",","centerLoc":[0.30066666,0.10150516],"poly":[0.29233333,0.09763918,0.309,0.09763918,0.309,0.1066598,0.29233333,0.1066598]},{"character":"a","centerLoc":[0.31733334,0.09892784],"poly":[0.309,0.09248454,0.32733333,0.09248454,0.32733333,0.10537113,0.309,0.10537113]},{"character":"n","centerLoc":[0.33566666,0.09892784],"poly":[0.32733333,0.09248454,0.34566668,0.09248454,0.34566668,0.10537113,0.32733333,0.10537113]},{"character":"d","centerLoc":[0.35233334,0.09635052],"poly":[0.34566668,0.08861856,0.36066666,0.08861856,0.36066666,0.10537113,0.34566668,0.10537113]},{"character":" ","centerLoc":[0.36566666,0.09506186],"poly":[0.36233333,0.08861856,0.369,0.08861856,0.369,0.10279381,0.36233333,0.10279381]},{"character":"s","centerLoc":[0.37566668,0.09892784],"poly":[0.369,0.09248454,0.384,0.09248454,0.384,0.10537113,0.369,0.10537113]},{"character":"a","centerLoc":[0.39066666,0.10021649],"poly":[0.384,0.09119588,0.399,0.09119588,0.399,0.10923712,0.384,0.10923712]},{"character":"y","centerLoc":[0.40566668,0.10150516],"poly":[0.399,0.09248454,0.41233334,0.09248454,0.41233334,0.11052577,0.399,0.11052577]},{"character":".","centerLoc":[0.41733333,0.10279381],"poly":[0.41233334,0.10021649,0.424,0.10021649,0.424,0.10537113,0.41233334,0.10537113]}]},{"left":0.07566666603088379,"right":0.9523333311080933,"top":0.11052577197551727,"bottom":0.19557732343673706,"score":0.9962258338928223,"content":"CcccCCCCC","characters":[{"character":"C","centerLoc":[0.134,0.14918557],"poly":[0.10566667,0.11052577,0.16566667,0.11052577,0.16566667,0.19042268,0.10566667,0.19042268]},{"character":"c","centerLoc":[0.229,0.15562886],"poly":[0.19233333,0.12470104,0.27066666,0.12470104,0.27066666,0.19042268,0.19233333,0.19042268]},{"character":"c","centerLoc":[0.324,0.15562886],"poly":[0.28566664,0.12470104,0.36233333,0.12470104,0.36233333,0.19042268,0.28566664,0.19042268]},{"character":"c","centerLoc":[0.419,0.14918557],"poly":[0.38066667,0.11052577,0.45566666,0.11052577,0.45566666,0.19042268,0.38066667,0.19042268]},{"character":"C","centerLoc":[0.519,0.15562886],"poly":[0.48733333,0.12212372,0.5506667,0.12212372,0.5506667,0.19042268,0.48733333,0.19042268]},{"character":"C","centerLoc":[0.61399996,0.15562886],"poly":[0.58566666,0.12212372,0.6423334,0.12212372,0.6423334,0.19042268,0.58566666,0.19042268]},{"character":"C","centerLoc":[0.70566666,0.15305156],"poly":[0.674,0.1195464,0.7406666,0.1195464,0.7406666,0.19042268,0.674,0.19042268]},{"character":"C","centerLoc":[0.8006667,0.15176289],"poly":[0.7723334,0.11696908,0.8323333,0.11696908,0.8323333,0.18784536,0.7723334,0.18784536]},{"character":"C","centerLoc":[0.8923334,0.15305156],"poly":[0.8573333,0.11696908,0.929,0.11696908,0.929,0.19042268,0.8573333,0.19042268]}]},{"left":0.10400000214576721,"right":0.9423333406448364,"top":0.24068041145801544,"bottom":0.29609280824661255,"score":0.9850702285766602,"content":"CCCCCCCCC","characters":[{"character":"C","centerLoc":[0.14566666,0.26903093],"poly":[0.12733334,0.24970104,0.164,0.24970104,0.164,0.28707218,0.12733334,0.28707218]},{"character":"C","centerLoc":[0.23566666,0.26903093],"poly":[0.209,0.24970104,0.264,0.24970104,0.264,0.28707218,0.209,0.28707218]},{"character":"C","centerLoc":[0.32566667,0.26903093],"poly":[0.30233333,0.24970104,0.34733334,0.24970104,0.34733334,0.28707218,0.30233333,0.28707218]},{"character":"C","centerLoc":[0.41733333,0.26903093],"poly":[0.39733332,0.24970104,0.43733335,0.24970104,0.43733335,0.28707218,0.39733332,0.28707218]},{"character":"C","centerLoc":[0.53400004,0.26903093],"poly":[0.489,0.24970104,0.579,0.24970104,0.579,0.28707218,0.489,0.28707218]},{"character":"C","centerLoc":[0.62399995,0.26903093],"poly":[0.579,0.24970104,0.6706667,0.24970104,0.6706667,0.28707218,0.579,0.28707218]},{"character":"C","centerLoc":[0.70066667,0.26516497],"poly":[0.6706667,0.24583505,0.73399997,0.24583505,0.73399997,0.28578353,0.6706667,0.28578353]},{"character":"C","centerLoc":[0.794,0.26516497],"poly":[0.73399997,0.24583505,0.8573333,0.24583505,0.8573333,0.28578353,0.73399997,0.28578353]},{"character":"C","centerLoc":[0.88900006,0.27031958],"poly":[0.8573333,0.24970104,0.919,0.24970104,0.919,0.29093814,0.8573333,0.29093814]}]}]}}
const tmpData1 = {"result":{"text":[{"left":0.0716666653752327,"right":0.4300000071525574,"top":0.07830928266048431,"bottom":0.11568041145801544,"score":0.9845871925354004,"content":"C Trace,write,and say.","characters":[{"character":"C","centerLoc":[0.10666667,0.09635052],"poly":[0.08833333,0.07959794,0.125,0.07959794,0.125,0.11439176,0.08833333,0.11439176]},{"character":" ","centerLoc":[0.12833333,0.09506186],"poly":[0.125,0.0808866,0.13333333,0.0808866,0.13333333,0.11181444,0.125,0.11181444]},{"character":"T","centerLoc":[0.14,0.09506186],"poly":[0.135,0.0873299,0.14666666,0.0873299,0.14666666,0.10408248,0.135,0.10408248]},{"character":"r","centerLoc":[0.15166667,0.09763918],"poly":[0.14666666,0.09119588,0.15833333,0.09119588,0.15833333,0.10408248,0.14666666,0.10408248]},{"character":"a","centerLoc":[0.16833334,0.09763918],"poly":[0.16,0.09119588,0.17666666,0.09119588,0.17666666,0.1066598,0.16,0.1066598]},{"character":"c","centerLoc":[0.18333334,0.09763918],"poly":[0.17666666,0.09119588,0.19166666,0.09119588,0.19166666,0.10537113,0.17666666,0.10537113]},{"character":"e","centerLoc":[0.20166667,0.09763918],"poly":[0.19333334,0.09119588,0.21000001,0.09119588,0.21000001,0.10537113,0.19333334,0.10537113]},{"character":",","centerLoc":[0.21833333,0.09763918],"poly":[0.21000001,0.09119588,0.22833334,0.09119588,0.22833334,0.1066598,0.21000001,0.1066598]},{"character":"w","centerLoc":[0.23666666,0.09635052],"poly":[0.22833334,0.09119588,0.24666667,0.09119588,0.24666667,0.10408248,0.22833334,0.10408248]},{"character":"r","centerLoc":[0.25166667,0.09763918],"poly":[0.24666667,0.09119588,0.25666666,0.09119588,0.25666666,0.10408248,0.24666667,0.10408248]},{"character":"i","centerLoc":[0.26166666,0.09635052],"poly":[0.25666666,0.0873299,0.26666665,0.0873299,0.26666665,0.10408248,0.25666666,0.10408248]},{"character":"t","centerLoc":[0.27333334,0.09635052],"poly":[0.26666665,0.08861856,0.28,0.08861856,0.28,0.10408248,0.26666665,0.10408248]},{"character":"e","centerLoc":[0.28666666,0.09763918],"poly":[0.28,0.09119588,0.29333332,0.09119588,0.29333332,0.10408248,0.28,0.10408248]},{"character":",","centerLoc":[0.29999998,0.10279381],"poly":[0.29333332,0.10021649,0.30833334,0.10021649,0.30833334,0.1066598,0.29333332,0.1066598]},{"character":"a","centerLoc":[0.31666666,0.09892784],"poly":[0.30833334,0.09248454,0.325,0.09248454,0.325,0.10537113,0.30833334,0.10537113]},{"character":"n","centerLoc":[0.33666667,0.09892784],"poly":[0.32833335,0.09248454,0.34666666,0.09248454,0.34666666,0.10537113,0.32833335,0.10537113]},{"character":"d","centerLoc":[0.35333332,0.09635052],"poly":[0.34666666,0.08861856,0.36,0.08861856,0.36,0.10537113,0.34666666,0.10537113]},{"character":" ","centerLoc":[0.36333334,0.09506186],"poly":[0.36,0.08861856,0.36666667,0.08861856,0.36666667,0.10279381,0.36,0.10279381]},{"character":"s","centerLoc":[0.375,0.09892784],"poly":[0.36833334,0.09248454,0.38333333,0.09248454,0.38333333,0.10537113,0.36833334,0.10537113]},{"character":"a","centerLoc":[0.39000002,0.09892784],"poly":[0.38333333,0.09248454,0.39833334,0.09248454,0.39833334,0.10537113,0.38333333,0.10537113]},{"character":"y","centerLoc":[0.405,0.10150516],"poly":[0.39833334,0.09248454,0.41166666,0.09248454,0.41166666,0.11052577,0.39833334,0.11052577]},{"character":".","centerLoc":[0.41666666,0.10279381],"poly":[0.41166666,0.10021649,0.42333335,0.10021649,0.42333335,0.10537113,0.41166666,0.10537113]}]},{"left":0.08999999612569809,"right":0.9366666674613953,"top":0.11696907877922058,"bottom":0.19557732343673706,"score":0.9984811544418335,"content":"EEE E-E EEEE","characters":[{"character":"E","centerLoc":[0.14,0.15691753],"poly":[0.11833333,0.12470104,0.16333333,0.12470104,0.16333333,0.19042268,0.11833333,0.19042268]},{"character":"E","centerLoc":[0.22666667,0.15176289],"poly":[0.2,0.11696908,0.25666666,0.11696908,0.25666666,0.19042268,0.2,0.19042268]},{"character":"E","centerLoc":[0.325,0.15691753],"poly":[0.30166665,0.12470104,0.35166666,0.12470104,0.35166666,0.19042268,0.30166665,0.19042268]},{"character":" ","centerLoc":[0.37166667,0.15434021],"poly":[0.35166666,0.12470104,0.39333335,0.12470104,0.39333335,0.1865567,0.35166666,0.1865567]},{"character":"E","centerLoc":[0.42000002,0.15691753],"poly":[0.4,0.12470104,0.44333333,0.12470104,0.44333333,0.19042268,0.4,0.19042268]},{"character":"-","centerLoc":[0.46166667,0.15434021],"poly":[0.44333333,0.11696908,0.48333335,0.11696908,0.48333335,0.19557732,0.44333333,0.19557732]},{"character":"E","centerLoc":[0.50333333,0.15949485],"poly":[0.48333335,0.12470104,0.525,0.12470104,0.525,0.193,0.48333335,0.193]},{"character":" ","centerLoc":[0.54833335,0.15691753],"poly":[0.525,0.12470104,0.57166666,0.12470104,0.57166666,0.18784536,0.525,0.18784536]},{"character":"E","centerLoc":[0.6016667,0.15691753],"poly":[0.5783333,0.12470104,0.625,0.12470104,0.625,0.18784536,0.5783333,0.18784536]},{"character":"E","centerLoc":[0.685,0.15691753],"poly":[0.65833336,0.12470104,0.715,0.12470104,0.715,0.18784536,0.65833336,0.18784536]},{"character":"E","centerLoc":[0.78333336,0.15691753],"poly":[0.75333333,0.12470104,0.81666666,0.12470104,0.81666666,0.18784536,0.75333333,0.18784536]},{"character":"E","centerLoc":[0.88166666,0.15691753],"poly":[0.855,0.12341237,0.9116667,0.12341237,0.9116667,0.19042268,0.855,0.19042268]}]},{"left":0.10999999940395355,"right":0.1733333319425583,"top":0.2458350509405136,"bottom":0.29351547360420227,"score":0.7904122471809387,"content":"e","characters":[{"character":"e","centerLoc":[0.14,0.26774228],"poly":[0.11,0.24583505,0.17333333,0.24583505,0.17333333,0.29351547,0.11,0.29351547]}]},{"left":0.18333333730697632,"right":0.9133333563804626,"top":0.24196907877922058,"bottom":0.29609280824661255,"score":1,"content":"e: ee e e eee","characters":[{"character":"e","centerLoc":[0.23166667,0.26903093],"poly":[0.20666666,0.25098968,0.255,0.25098968,0.255,0.28836083,0.20666666,0.28836083]},{"character":":","centerLoc":[0.26833332,0.26903093],"poly":[0.255,0.26258764,0.28,0.26258764,0.28,0.27547425,0.255,0.27547425]},{"character":" ","centerLoc":[0.30166665,0.26774228],"poly":[0.28833333,0.25098968,0.31833333,0.25098968,0.31833333,0.28449485,0.28833333,0.28449485]},{"character":"e","centerLoc":[0.33333334,0.26903093],"poly":[0.31833333,0.25098968,0.35,0.25098968,0.35,0.28836083,0.31833333,0.28836083]},{"character":"e","centerLoc":[0.41833332,0.26903093],"poly":[0.39333335,0.25098968,0.44333333,0.25098968,0.44333333,0.2896495,0.39333335,0.2896495]},{"character":" ","centerLoc":[0.46333334,0.26774228],"poly":[0.44333333,0.25098968,0.48333335,0.25098968,0.48333335,0.28449485,0.44333333,0.28449485]},{"character":"e","centerLoc":[0.50333333,0.26903093],"poly":[0.48833334,0.25098968,0.52,0.25098968,0.52,0.28836083,0.48833334,0.28836083]},{"character":" ","centerLoc":[0.55833334,0.26645362],"poly":[0.5416666,0.25098968,0.575,0.25098968,0.575,0.2832062,0.5416666,0.2832062]},{"character":"e","centerLoc":[0.6,0.26774228],"poly":[0.575,0.25098968,0.625,0.25098968,0.625,0.28578353,0.575,0.28578353]},{"character":" ","centerLoc":[0.6433333,0.26645362],"poly":[0.625,0.25098968,0.6616667,0.25098968,0.6616667,0.2832062,0.625,0.2832062]},{"character":"e","centerLoc":[0.70166665,0.26774228],"poly":[0.665,0.25098968,0.74,0.25098968,0.74,0.28578353,0.665,0.28578353]},{"character":"e","centerLoc":[0.79333335,0.26903093],"poly":[0.745,0.25098968,0.84,0.25098968,0.84,0.28836083,0.745,0.28836083]},{"character":"e","centerLoc":[0.86833334,0.27031958],"poly":[0.84,0.25098968,0.8983333,0.25098968,0.8983333,0.29093814,0.84,0.29093814]}]}]}}
// const tmpData1 = {"result":{"text":[{"left":0.07899999618530273,"right":0.42899999022483826,"top":0.07959794253110886,"bottom":0.11568041145801544,"score":0.992110013961792,"content":"CTrace,write,and say.","characters":[{"character":"C","centerLoc":[0.10733333,0.09635052],"poly":[0.09066667,0.07959794,0.12566666,0.07959794,0.12566666,0.11310309,0.09066667,0.11310309]},{"character":"T","centerLoc":[0.139,0.09506186],"poly":[0.13233334,0.08604124,0.14733332,0.08604124,0.14733332,0.10408248,0.13233334,0.10408248]},{"character":"r","centerLoc":[0.15233333,0.09635052],"poly":[0.14733332,0.09119588,0.15900001,0.09119588,0.15900001,0.10279381,0.14733332,0.10279381]},{"character":"a","centerLoc":[0.169,0.09763918],"poly":[0.16066667,0.09119588,0.17733334,0.09119588,0.17733334,0.10408248,0.16066667,0.10408248]},{"character":"c","centerLoc":[0.18566667,0.09763918],"poly":[0.17733334,0.09119588,0.194,0.09119588,0.194,0.10408248,0.17733334,0.10408248]},{"character":"e","centerLoc":[0.20066667,0.09763918],"poly":[0.194,0.09248454,0.209,0.09248454,0.209,0.10408248,0.194,0.10408248]},{"character":",","centerLoc":[0.219,0.09892784],"poly":[0.21066667,0.09248454,0.229,0.09248454,0.229,0.10537113,0.21066667,0.10537113]},{"character":"w","centerLoc":[0.23733333,0.09763918],"poly":[0.229,0.09248454,0.24566667,0.09248454,0.24566667,0.10408248,0.229,0.10408248]},{"character":"r","centerLoc":[0.25066668,0.09763918],"poly":[0.24566667,0.09248454,0.25733334,0.09248454,0.25733334,0.10408248,0.24566667,0.10408248]},{"character":"i","centerLoc":[0.26233333,0.09635052],"poly":[0.25733334,0.08861856,0.269,0.08861856,0.269,0.10408248,0.25733334,0.10408248]},{"character":"t","centerLoc":[0.274,0.09635052],"poly":[0.269,0.08861856,0.28066665,0.08861856,0.28066665,0.10408248,0.269,0.10408248]},{"character":"e","centerLoc":[0.28566664,0.09763918],"poly":[0.28066665,0.09248454,0.29233333,0.09248454,0.29233333,0.10408248,0.28066665,0.10408248]},{"character":",","centerLoc":[0.30066666,0.10150516],"poly":[0.29233333,0.09763918,0.309,0.09763918,0.309,0.1066598,0.29233333,0.1066598]},{"character":"a","centerLoc":[0.31733334,0.09892784],"poly":[0.309,0.09248454,0.32733333,0.09248454,0.32733333,0.10537113,0.309,0.10537113]},{"character":"n","centerLoc":[0.33566666,0.09892784],"poly":[0.32733333,0.09248454,0.34566668,0.09248454,0.34566668,0.10537113,0.32733333,0.10537113]},{"character":"d","centerLoc":[0.35233334,0.09635052],"poly":[0.34566668,0.08861856,0.36066666,0.08861856,0.36066666,0.10537113,0.34566668,0.10537113]},{"character":" ","centerLoc":[0.36566666,0.09506186],"poly":[0.36233333,0.08861856,0.369,0.08861856,0.369,0.10279381,0.36233333,0.10279381]},{"character":"s","centerLoc":[0.37566668,0.09892784],"poly":[0.369,0.09248454,0.384,0.09248454,0.384,0.10537113,0.369,0.10537113]},{"character":"a","centerLoc":[0.39066666,0.10021649],"poly":[0.384,0.09119588,0.399,0.09119588,0.399,0.10923712,0.384,0.10923712]},{"character":"y","centerLoc":[0.40566668,0.10150516],"poly":[0.399,0.09248454,0.41233334,0.09248454,0.41233334,0.11052577,0.399,0.11052577]},{"character":".","centerLoc":[0.41733333,0.10279381],"poly":[0.41233334,0.10021649,0.424,0.10021649,0.424,0.10537113,0.41233334,0.10537113]}]},{"left":0.07566666603088379,"right":0.9523333311080933,"top":0.11052577197551727,"bottom":0.19557732343673706,"score":0.9962258338928223,"content":"CcccCCCCC","characters":[{"character":"C","centerLoc":[0.134,0.14918557],"poly":[0.10566667,0.11052577,0.16566667,0.11052577,0.16566667,0.19042268,0.10566667,0.19042268]},{"character":"c","centerLoc":[0.229,0.15562886],"poly":[0.19233333,0.12470104,0.27066666,0.12470104,0.27066666,0.19042268,0.19233333,0.19042268]},{"character":"c","centerLoc":[0.324,0.15562886],"poly":[0.28566664,0.12470104,0.36233333,0.12470104,0.36233333,0.19042268,0.28566664,0.19042268]},{"character":"c","centerLoc":[0.419,0.14918557],"poly":[0.38066667,0.11052577,0.45566666,0.11052577,0.45566666,0.19042268,0.38066667,0.19042268]},{"character":"C","centerLoc":[0.519,0.15562886],"poly":[0.48733333,0.12212372,0.5506667,0.12212372,0.5506667,0.19042268,0.48733333,0.19042268]},{"character":"C","centerLoc":[0.61399996,0.15562886],"poly":[0.58566666,0.12212372,0.6423334,0.12212372,0.6423334,0.19042268,0.58566666,0.19042268]},{"character":"C","centerLoc":[0.70566666,0.15305156],"poly":[0.674,0.1195464,0.7406666,0.1195464,0.7406666,0.19042268,0.674,0.19042268]},{"character":"C","centerLoc":[0.8006667,0.15176289],"poly":[0.7723334,0.11696908,0.8323333,0.11696908,0.8323333,0.18784536,0.7723334,0.18784536]},{"character":"C","centerLoc":[0.8923334,0.15305156],"poly":[0.8573333,0.11696908,0.929,0.11696908,0.929,0.19042268,0.8573333,0.19042268]}]},{"left":0.10400000214576721,"right":0.9423333406448364,"top":0.24068041145801544,"bottom":0.29609280824661255,"score":0.9850702285766602,"content":"CCCCCCCCC","characters":[{"character":"C","centerLoc":[0.14566666,0.26903093],"poly":[0.12733334,0.24970104,0.164,0.24970104,0.164,0.28707218,0.12733334,0.28707218]},{"character":"C","centerLoc":[0.23566666,0.26903093],"poly":[0.209,0.24970104,0.264,0.24970104,0.264,0.28707218,0.209,0.28707218]},{"character":"C","centerLoc":[0.32566667,0.26903093],"poly":[0.30233333,0.24970104,0.34733334,0.24970104,0.34733334,0.28707218,0.30233333,0.28707218]},{"character":"C","centerLoc":[0.41733333,0.26903093],"poly":[0.39733332,0.24970104,0.43733335,0.24970104,0.43733335,0.28707218,0.39733332,0.28707218]},{"character":"C","centerLoc":[0.53400004,0.26903093],"poly":[0.489,0.24970104,0.579,0.24970104,0.579,0.28707218,0.489,0.28707218]},{"character":"C","centerLoc":[0.62399995,0.26903093],"poly":[0.579,0.24970104,0.6706667,0.24970104,0.6706667,0.28707218,0.579,0.28707218]},{"character":"C","centerLoc":[0.70066667,0.26516497],"poly":[0.6706667,0.24583505,0.73399997,0.24583505,0.73399997,0.28578353,0.6706667,0.28578353]},{"character":"C","centerLoc":[0.794,0.26516497],"poly":[0.73399997,0.24583505,0.8573333,0.24583505,0.8573333,0.28578353,0.73399997,0.28578353]},{"character":"C","centerLoc":[0.88900006,0.27031958],"poly":[0.8573333,0.24970104,0.919,0.24970104,0.919,0.29093814,0.8573333,0.29093814]}]}]}}
// const tmpData1 = { "result" : { "text" : [ { "bottom" : 0.12310344725847244, "top" : 0.0817241370677948, "score" : 6.4884182106673037e+28, "content" : "CTrace, write,and say.", "right" : 0.4464285671710968, "left" : 0.071428574621677399 }, { "bottom" : 0.21137930452823639, "top" : 0.12448275834321976, "score" : 6.4884182106673037e+28, "content" : "AAA AAA", "right" : 0.69285714626312256, "left" : 0.078571431338787079 }, { "bottom" : 0.30241379141807556, "top" : 0.25689655542373657, "score" : 6.4884182106673037e+28, "content" : "O1o", "right" : 0.39642858505249023, "left" : 0.19285714626312256 } ] }}
// const tmpData1 = {"result":{"text":[{"left":0.08800879865884781,"right":0.42794278264045715,"top":0.010067113675177097,"bottom":0.16778524219989777,"score":1,"content":"CTrace,write,and say."},{"left":0.09350935369729996,"right":0.48184818029403687,"top":0.1845637559890747,"bottom":0.46644294261932373,"score":0.9882554411888123,"content":"AAAA"},{"left":0.5731573104858398,"right":0.6347634792327881,"top":0.20469798147678375,"bottom":0.463087260723114,"score":0.9638504385948181,"content":"A"},{"left":0.751375138759613,"right":0.8129813075065613,"top":0.20134228467941284,"bottom":0.4563758373260498,"score":0.8285241723060608,"content":"A"},{"left":0.5665566325187683,"right":0.6281628012657166,"top":0.6677852272987366,"bottom":0.8791946172714233,"score":0.8251835703849792,"content":"a"}]}}
// const tmpData1 = {"result":{"text":[{"left":0,"right":0.33299797773361206,"top":0.0971250981092453,"bottom":0.12354312092065811,"content":1,"text":"race,write,and say."},{"left":0.14084507524967194,"right":0.9476861357688904,"top":0.13131313025951385,"bottom":0.21445220708847046,"content":0.9066159129142761,"text":"AAAA-A-AA"},{"left":0.28470826148986816,"right":0.9315895438194275,"top":0.2735042870044708,"bottom":0.32867133617401123,"content":0.9610617756843567,"text":"aaaq qa"},{"left":0.03018108569085598,"right":0.6438632011413574,"top":0.37995338439941406,"bottom":0.41025641560554504,"content":1,"text":"Listen. Then write Aa or cross it out. o5"},{"left":0.636820912361145,"right":0.7655935883522034,"top":0.4755244851112366,"bottom":0.5314685106277466,"content":0.8729087710380554,"text":"Aa"},{"left":0.10663983970880508,"right":0.11167001724243164,"top":0.5788655877113342,"bottom":0.6021755933761597,"content":0.7464486360549927,"text":"4"},{"left":0.1589537262916565,"right":0.29074445366859436,"top":0.5936285853385925,"bottom":0.6596736311912537,"content":0.8887001872062683,"text":"Aa"},{"left":0.6549295783042908,"right":0.7786720395088196,"top":0.5920745730400085,"bottom":0.6643356680870056,"content":0.9307805895805359,"text":"Aa"},{"left":0.11267605423927307,"right":0.4034205377101898,"top":0.7700077891349792,"bottom":0.807303786277771,"content":1,"text":"Lusten and chant, bd"},{"left":0.28973841667175293,"right":0.7162978053092957,"top":0.9254079461097717,"bottom":0.9712509512901306,"content":0.9342746138572693,"text":"户藤미 Ow"},{"left":0.8158953785896301,"right":0.7203219532966614,"top":0.9611499905586243,"bottom":0.9370629191398621,"content":0.7845855951309204,"text":"0章"}]}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment