Thanks to visit codestin.com
Credit goes to github.com

Skip to content

countshadow/MyScriptJS

 
 

Repository files navigation

MyScriptJS

MyScriptJS is a free and open-source JavaScript library providing the easiest way to use the MyScript Cloud handwriting recognition service in your app.

Build Status GitHub version Bower version npm version

MyScriptJS speeds up the development of handwriting interfaces with JavaScript, by abstracting and providing default implementations for the common tasks that need to be managed:

  • Ink management: Store strokes and benefit from a built-in undo/redo system.
  • Ink rendering: Attach a renderer to a HTML5 canvas to start capturing and displaying smooth strokes.
  • Call to the recognizer: MyScriptJS manages requests to MyScript Cloud as well as API calls, using HTTP/REST or WebSocket protocols (new in Cloud 3.0).
  • All MyScript recognition types: The object model of MyScriptJS supports the recognition of handwritten text, shapes, music notation and mathematical expressions.
  • Result tree parsing: The recognition result tree is exposed and fully traversable.
  • Typesetting (coming soon): Replace ink with digital equivalent, whether it is text, music, shapes or mathematical expressions.

Learn more on MyScriptJS in the Developer Guide and API Reference Guide.

Installation

Browser: Use our CDN or Download the latest myscript.js

Bower: bower install myscript

Node: npm install myscript

Start using MyScriptJS

MyScriptJS requires a valid MyScript Developer account (sign up, then go to Dashboard and click CDK samples to accept the CDK Terms and Conditions).

Check our Getting Started tutorial to start building your first app.

You are free to use MyScriptJS in any of your personal or commercial project, as permitted by the Apache 2.0 License.

Examples

Checking the code samples is a good way to start implementing MyScriptJS in your project and to get familiar with the concepts.

Contribute

We welcome your contributions: If you would like to extend MyScriptJS for your needs, feel free to fork it!

Please sign our Contributor License Agreement before submitting your pull request.

Share your feedback

Made a cool app with MyScriptJS? We would love to hear about you!

We’re planning to showcase apps using MyScriptJS so let us know by sending a quick mail to [email protected]

About

The JavaScript library for the MyScript Cloud recognition service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.2%
  • HTML 5.1%
  • Other 0.7%