最近感兴趣做了一个手写数学公式的识别,效果还很不错.
results:
{"status": 0, "msg": "success", "noid": "34fbfd58-0e66-11ea-bb9a-fa163ebe6507",
"results": [{"text": "(8/15)-(3/15)=(1/3)", "location": [[987, 163], [814, 162], [814, 247], [987, 248]]},
{"text": "(1/8)+(1/8)=(1/4)", "location": [[706, 188], [554, 189], [554, 269], [706, 268]]},
{"text": "(4/6)+(5/6)=(3/2)", "location": [[458, 213], [323, 214], [322, 288], [458, 287]]},
{"text": "(5/25)+(5/25)=(2/5)", "location": [[985, 260], [814, 259], [814, 337], [985, 338]]},
{"text": "(52/78)-(25/78)=(9/26)", "location": [[731, 271], [552, 272], [552, 355], [731, 354]]},
{"text": "(24/25)-(20/25)=(4/25)", "location": [[473, 287], [320, 288], [319, 370], [472, 370]]},
{"text": "(57/70)-(7/70)=(5/7)", "location": [[988, 343], [806, 343], [806, 424], [988, 424]]},
{"text": "(22/15)-(8/15)=(14/15)", "location": [[733, 358], [548, 359], [548, 438], [733, 437]]},
{"text": "(5/9)-(2/9)=(1/3)", "location": [[460, 377], [318, 379], [318, 452], [460, 450]]},
{"text": "0.28+0.2=0.48", "location": [[788, 442], [548, 443], [548, 491], [788, 491]]},
{"text": "6.5-5.6=0.9", "location": [[1015, 438], [810, 437], [810, 488], [1015, 489]]},
{"text": "1.8+0.9=2.7", "location": [[508, 458], [318, 459], [318, 504], [508, 503]]},
{"text": "0.25\u00d74=1", "location": [[477, 513], [318, 513], [318, 557], [476, 557]]},
{"text": "2.5\u00d70.4=1", "location": [[741, 500], [548, 501], [548, 546], [741, 545]]},
{"text": "1.25\u00d70.8=1", "location": [[1003, 497], [812, 496], [812, 543], [1003, 544]]},
{"text": "0.54\u00f70.6=0.9", "location": [[523, 561], [313, 562], [313, 606], [524, 605]]},
{"text": "0.12\u00f70.4=0.3", "location": [[774, 554], [546, 554], [546, 599], [774, 599]]},
{"text": "0.45\u00f70.5=0.9", "location": [[1027, 552], [809, 552], [809, 602], [1026, 602]]},
{"text": "0.24\u00d70.5=0.12", "location": [[523, 616], [312, 616], [312, 658], [523, 658]]},
{"text": "1.85\u00d70.1=0.185", "location": [[799, 610], [545, 610], [544, 658], [798, 657]]},
{"text": "1.2\u00d70.7=0.81", "location": [[1032, 607], [807, 607], [806, 664], [1031, 664]]},
{"text": "8.5-2.9=5.6", "location": [[500, 667], [311, 666], [311, 711], [500, 712]]},
{"text": "4.8-4=0.8", "location": [[757, 662], [543, 661], [543, 716], [757, 716]]},
{"text": "3.8+4.02=7.82", "location": [[1022, 667], [805, 667], [805, 725], [1022, 726]]},
{"text": "0.09\u00f73=0.03", "location": [[509, 717], [310, 716], [309, 762], [509, 763]]},
{"text": "4.9\u00f77=0.7", "location": [[765, 722], [545, 720], [545, 774], [766, 775]]},
{"text": "0.86-0.6=0.2", "location": [[1029, 721], [804, 720], [804, 775], [1029, 775]]},
{"text": "1.1\u00d73=3.3", "location": [[506, 769], [303, 768], [303, 823], [506, 824]]},
{"text": "0.32+0.21=0.53", "location": [[804, 781], [544, 777], [544, 825], [804, 829]]},
{"text": "37.2+2.8=10", "location": [[1007, 782], [789, 782], [788, 843], [1007, 843]]},
{"text": "3:7=(3/7)", "location": [[324, 1009], [169, 1002], [166, 1079], [320, 1086]]},
{"text": "1:7=(1/7)", "location": [[321, 1085], [168, 1068], [159, 1149], [312, 1165]]},
{"text": "15\u00d718\u00d7(1-(1/3))=114", "location": [[893, 1080], [600, 1078], [594, 1283], [887, 1285]]}],
"time_ms": 10063.664197921753}