Developers looking for developers

Need someone to tweak my myscript integrated code

Hi we are looking to hire someone with myscript experience, to tweak the myscript integration code into our software. We already integrate it but it’s very inaccurate at the moment and just need it going through as it’s more than lightly errors we have made. Please if anyone can help let us know ASAP. Kind regards


Dear Mark,


I moved your post in the proper forum "Developers looking for developers".


Best regards,


Olivier

We have already done all the Integration but it’s very inaccurate, is there any way you can go over and see if it’s our set up Oliver?

Dear Mark,


Currently, we can help you but you did not answer the questions I asked you in your other "Wacom Bamboo" topic (https://developer-support.myscript.com/support/discussions/topics/16000024465), in which you were already saying the accuracy is low.


Indeed, which kind of part are you using? "Text", "Text Document"?


As you are using an external device, did you disable the guidelines? Did you set the proper resolution when creating the renderer? Did you disable set the "processGestures" boolean to "false" when calling the pointerEvents function?


Indeed, simply following the above instructions should normally provide you with a good accuracy based on our experience.


Best regards,


Olivier

I’ll check this now, will this improve numbers too? We have issues with certain numbers

Dear Mark,


Indeed, it should also increase digits recognition.


Nevertheless, in which context are you recognizing digits? Is it in a Math part, , or in a text part with digits mixed with words?


Best regards,


Olivier

It’s either text or numbers but not mixed together.
Can I send you our code so you can check, I’ve looked at your points and it seems we already had it like this

Dear Mark,


yes, you can provide a link to your project (I will remove the link after download).


Best regards,


Olivier

Dear Mark,


In the case of numbers, did you try to create a custom subset knowledge to recognize only digits:

-https://developer.myscript.com/docs/interactive-ink/1.2/android/advanced/custom-recognition/#subset-knowledge

-https://developer.myscript.com/docs/interactive-ink/1.2/android/advanced/build-custom-resources/#subset-knowledge


This will indeed recognize numbers.


Best regards,


Olivier


Is this just for android or iOS also? I’ll post a link with the code soon

Dear Mark,


If you are facing the same behavior on both Android and iOS, in a first time just provide the Android project, that should be enough.


Best regards,


Olivier

Hi Oliver here is the link for the code ()

Dear Mark,


Thank you for the code. I had a quick look to the MyScript code, and here are the conclusions I came too (I did not refer to the wacom code):

-First, the file doesn't contain the code where the createRenderer function is called. When calling the latter, you should ensure the resolution is properly set to the one of your input device (i.e. wacom tablet).

-Then, I did not see a call to the pointerEvents function? In off-screen mode we advise to rely on a single editor.pointerEvents() call and pass it an array of all your pointer events with "processGestures" set to false. Recognition would be faster.

-In offscreen mode, you should also ensure you disable the text guidelines => not doing it can significantly decrease the accuracy in off-screen mode. The corresponding parameter shall be disabled as follows: [engine.configuration setBoolean:NO forKey@"text.guides.enable" error:nil];

-Regarding the "waitForIdle", it is properly done.


All these instructions can be found in our documentation. Please follow these carefully: https://developer.myscript.com/docs/interactive-ink/1.2/ios/advanced/off-screen-usage/


I also noticed you are using text and math part, which is indeed a good way if recognizing numbers only. Currently above you say you recognize only numbers? Do you plan to do anything else such as calculations? If no, we recommend you create a custom grammar definition and add it when configuring the engine:

-https://developer.myscript.com/docs/interactive-ink/1.2/ios/advanced/custom-recognition/#math-grammar

-https://developer.myscript.com/docs/interactive-ink/1.2/ios/advanced/build-custom-resources/#math


Following the above recommendation should significantly improve the accuracy.


Best regards,


Olivier

Hi Oliver I’ll try these steps and let you know. We use maths function handwriting and number but not all together as they are in separate parts of our app. Will following these steps make numbers more accurate or is there something separate to make numbers accurate?
Login or Signup to post a comment