Start a new topic
iink SDK on Device
for example:
The letter B is identified as 13。More serious in Chinese.following image:
The right answer is 平方千米,But the result of recognition is 掰米。
How to solve the segmentation error,Is there any parameter to set the size of the split character
thank you for your reply
I tried to add this parameter, and It's worked
Best regards, and happy new year
Dear Almin Dan,
Thank you for your question. There is no parameter for tuning character split.
Can you give us some details on how you send the strokes to the recognition engine and the configuration that you are using?
Regards,
Gwenaëlle
Thank you for your reply, my configuration :
{"configuration":{"lang":"zh_CN","text":{"configuration":{"customResources":["chinese_number_symbol"]}}},"width":1000,"strokeGroups":[{"strokes":[{"x":[380400,380800,382100,386200,393200,400700,408700,414600,417900,419500,419200,417400],"y":[401800,402200,402600,403300,404000,403600,400600,397600,396200,395400,395100,395400]},{"x":[396200,400100],"y":[419000,418900]},{"x":[417300,416600,413900,411200,407000,402700,398000,393000],"y":[409200,410800,413900,417400,420400,423100,425700,428600]},{"x":[368100,369300,371900,378800,403800,415200,423200,427900,428400,426700,417900],"y":[441400,441200,441100,439400,428100,421600,416600,413000,412000,413000,416900]},{"x":[404900,403800,403400,403100,403000,403000,402400,400300,396100,393400,393000,393100,393300,393400,393200,393100,393300,392700,392100,392200,393300],"y":[407200,407200,407600,408000,409600,414900,424800,436500,450200,461100,467000,470500,471200,470900,470800,470500,470100,469300,467700,464400,460700]},{"x":[435700,435800,440500,442600,445400,446500,448400,450800,451300,451000,449600],"y":[404200,403700,407500,408500,409900,410900,412000,412300,412100,411500,411100]},{"x":[429800,430900,433800,439100,445000,450700,457200,459600,460100],"y":[422700,422800,421800,418900,415600,412200,408300,406900,406200]},{"x":[439800,440200,441600,443000,446100,447400,447200,446500,442200,441300,439700,437300,434700,432500,431000,430900,432400,435900,440000,441200,435700,431300,426100,421300,418200,416100,415900,415800,416000,417100,421900],"y":[418400,419400,421100,423300,429100,434800,441400,449000,459300,459000,458700,458100,455300,451500,445400,437300,428500,421600,417400,422800,436600,443000,449200,454000,456500,457100,457000,456300,456000,454900,452600]},{"x":[490600,491200,491300,491100,490700,488600,483200,476800,463300,460500,460500,461600,463500,466600,473000],"y":[401600,401800,402200,402900,404400,408100,414900,421200,430400,431000,430400,429700,428700,427400,424300]},{"x":[463100,463000,463200,464200,465300,469100,474800,482300,489300,497300,500900,501900,501700,501100,499300],"y":[431200,431700,432300,433400,434200,435400,435600,433200,430200,426600,424200,423000,422600,422100,422300]},{"x":[482300,482300,482300,482400,482300,482400,481900,479800,479300,480300,480600,480500,480300,480200,480500,481700],"y":[415200,415300,416300,419600,425100,434400,446100,458700,468000,471700,473000,472900,472600,471900,470500,467300]},{"x":[512300,513700,514400,515600,516400,516900,516900],"y":[402400,404100,405400,406800,407500,408200,410300]},{"x":[530500,529700,527400,519700,514600,509000,504700,502200,502600,507500,515500,522800,530000,536500,537500,537300,536400],"y":[403100,404300,407200,413600,417600,422100,424900,426900,427100,426500,423700,420100,416100,411100,409700,409300,408300]},{"x":[520800,518800,519800,521300,521900,521900,520600,520400,520300,520200,519900,519400,517200,514900],"y":[393400,394500,401100,411600,422700,432800,443500,448700,451000,452000,451700,451300,449900,446800]},{"x":[507700,507900,507800,507700,507600],"y":[438400,438800,438900,439000,438800]},{"x":[515700,519700,524000,528000,532500,537300,541700,545900,550000,555900,561800,564000,564300,564100,563600],"y":[431800,432100,435000,439000,442100,444700,447000,448800,450500,451100,451700,451100,450500,450000,449700]}]}],"contentType":"Text","height":1000}
Thank you for your data.
It seems that in your case, the horizontal and vertical dpi values are quite different so by playing your ink with following configuration I was able to improve recognition and get your expected results:
平方千米
Configuration I used:
"configuration":{"lang":"zh_CN"},"xDPI": 48,"yDPI": 96,"contentType":"Text","strokeGroups": ...So you should probably tune your dpi values to optimize recognition.
Best regards,
almin dan
for example:
The letter B is identified as 13。More serious in Chinese.following image:
The right answer is 平方千米,But the result of recognition is 掰米。
How to solve the segmentation error,Is there any parameter to set the size of the split character
thank you for your reply
I tried to add this parameter, and It's worked
Best regards, and happy new year
- Oldest First
- Popular
- Newest First
Sorted by Popularalmin dan
thank you for your reply
I tried to add this parameter, and It's worked
Best regards, and happy new year
Gwenaelle @MyScript
Dear Almin Dan,
Thank you for your question. There is no parameter for tuning character split.
Can you give us some details on how you send the strokes to the recognition engine and the configuration that you are using?
Regards,
Gwenaëlle
almin dan
Thank you for your reply, my configuration :
{"configuration":{"lang":"zh_CN","text":{"configuration":{"customResources":["chinese_number_symbol"]}}},"width":1000,"strokeGroups":[{"strokes":[{"x":[380400,380800,382100,386200,393200,400700,408700,414600,417900,419500,419200,417400],"y":[401800,402200,402600,403300,404000,403600,400600,397600,396200,395400,395100,395400]},{"x":[396200,400100],"y":[419000,418900]},{"x":[417300,416600,413900,411200,407000,402700,398000,393000],"y":[409200,410800,413900,417400,420400,423100,425700,428600]},{"x":[368100,369300,371900,378800,403800,415200,423200,427900,428400,426700,417900],"y":[441400,441200,441100,439400,428100,421600,416600,413000,412000,413000,416900]},{"x":[404900,403800,403400,403100,403000,403000,402400,400300,396100,393400,393000,393100,393300,393400,393200,393100,393300,392700,392100,392200,393300],"y":[407200,407200,407600,408000,409600,414900,424800,436500,450200,461100,467000,470500,471200,470900,470800,470500,470100,469300,467700,464400,460700]},{"x":[435700,435800,440500,442600,445400,446500,448400,450800,451300,451000,449600],"y":[404200,403700,407500,408500,409900,410900,412000,412300,412100,411500,411100]},{"x":[429800,430900,433800,439100,445000,450700,457200,459600,460100],"y":[422700,422800,421800,418900,415600,412200,408300,406900,406200]},{"x":[439800,440200,441600,443000,446100,447400,447200,446500,442200,441300,439700,437300,434700,432500,431000,430900,432400,435900,440000,441200,435700,431300,426100,421300,418200,416100,415900,415800,416000,417100,421900],"y":[418400,419400,421100,423300,429100,434800,441400,449000,459300,459000,458700,458100,455300,451500,445400,437300,428500,421600,417400,422800,436600,443000,449200,454000,456500,457100,457000,456300,456000,454900,452600]},{"x":[490600,491200,491300,491100,490700,488600,483200,476800,463300,460500,460500,461600,463500,466600,473000],"y":[401600,401800,402200,402900,404400,408100,414900,421200,430400,431000,430400,429700,428700,427400,424300]},{"x":[463100,463000,463200,464200,465300,469100,474800,482300,489300,497300,500900,501900,501700,501100,499300],"y":[431200,431700,432300,433400,434200,435400,435600,433200,430200,426600,424200,423000,422600,422100,422300]},{"x":[482300,482300,482300,482400,482300,482400,481900,479800,479300,480300,480600,480500,480300,480200,480500,481700],"y":[415200,415300,416300,419600,425100,434400,446100,458700,468000,471700,473000,472900,472600,471900,470500,467300]},{"x":[512300,513700,514400,515600,516400,516900,516900],"y":[402400,404100,405400,406800,407500,408200,410300]},{"x":[530500,529700,527400,519700,514600,509000,504700,502200,502600,507500,515500,522800,530000,536500,537500,537300,536400],"y":[403100,404300,407200,413600,417600,422100,424900,426900,427100,426500,423700,420100,416100,411100,409700,409300,408300]},{"x":[520800,518800,519800,521300,521900,521900,520600,520400,520300,520200,519900,519400,517200,514900],"y":[393400,394500,401100,411600,422700,432800,443500,448700,451000,452000,451700,451300,449900,446800]},{"x":[507700,507900,507800,507700,507600],"y":[438400,438800,438900,439000,438800]},{"x":[515700,519700,524000,528000,532500,537300,541700,545900,550000,555900,561800,564000,564300,564100,563600],"y":[431800,432100,435000,439000,442100,444700,447000,448800,450500,451100,451700,451100,450500,450000,449700]}]}],"contentType":"Text","height":1000}
Gwenaelle @MyScript
Dear Almin Dan,
Thank you for your data.
It seems that in your case, the horizontal and vertical dpi values are quite different so by playing your ink with following configuration I was able to improve recognition and get your expected results:
平方千米
Configuration I used:
"configuration":{"lang":"zh_CN"},"xDPI": 48,"yDPI": 96,"contentType":"Text","strokeGroups": ...
So you should probably tune your dpi values to optimize recognition.
Best regards,
Gwenaëlle