All Projects → MyScript → iinkJS

MyScript / iinkJS

Licence: other
✏️ ☁️ iinkJS is the fastest way to integrate rich handwriting recognition features in your webapp.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Makefile
30231 projects

Projects that are alternatives of or similar to iinkJS

handwriting.js
A simple API access to the handwriting recognition service of Google IME
Stars: ✭ 89 (+36.92%)
Mutual labels:  handwriting, handwriting-recognition
form-segmentation
Let's explore how we can extract text from forms
Stars: ✭ 42 (-35.38%)
Mutual labels:  handwriting-recognition
Sharer.js
🔛 🔖 Create your own social share buttons. No jquery.
Stars: ✭ 1,624 (+2398.46%)
Mutual labels:  vanillajs
BVSelect-VanillaJS
BVSelect - Vanilla Javascript Fully Customizable SelectBox
Stars: ✭ 107 (+64.62%)
Mutual labels:  vanillajs
Svelte Notifications
Svelte toast notifications component that can be used in any JS application
Stars: ✭ 146 (+124.62%)
Mutual labels:  vanillajs
Handwritten-Names-Recognition
The goal of this project is to solve the task of name transcription from handwriting images implementing a NN approach.
Stars: ✭ 54 (-16.92%)
Mutual labels:  handwriting-recognition
Html5sortable
VanillaJS sortable lists and grids using native HTML5 drag and drop API.
Stars: ✭ 1,384 (+2029.23%)
Mutual labels:  vanillajs
han
Using Tensorflow to train a model to detect miswritten Chinese characters.
Stars: ✭ 12 (-81.54%)
Mutual labels:  handwriting
tensorflowjs-remove-background
Remove Background from the picture using WebAssembly & TensorFlow.js
Stars: ✭ 79 (+21.54%)
Mutual labels:  vanillajs
kanji-recognition
ichisadashioko.github.io/kanji-recognition/
Stars: ✭ 21 (-67.69%)
Mutual labels:  handwriting-recognition
handwriting-recognition
Handwriting Recognition Web API Proposal
Stars: ✭ 51 (-21.54%)
Mutual labels:  handwriting-recognition
Datepickk
Simple, beautiful and powerful datepicker!
Stars: ✭ 160 (+146.15%)
Mutual labels:  vanillajs
svelte-googlemaps
Svelte Google Maps Components
Stars: ✭ 62 (-4.62%)
Mutual labels:  vanillajs
Defer.js
🥇 A super small, super efficient library that helps you lazy load everything like images, video, audio, iframe as well as stylesheets, and JavaScript.
Stars: ✭ 138 (+112.31%)
Mutual labels:  vanillajs
embla-carousel-wheel-gestures
wheel interactions for Embla Carousel
Stars: ✭ 30 (-53.85%)
Mutual labels:  vanillajs
Vanillajs Deck
A Vanilla.js Single Page App (SPA) slide deck for a presentation about Vanilla.js written with no frameworks.
Stars: ✭ 119 (+83.08%)
Mutual labels:  vanillajs
Optiscroll
Custom scrollbars for modern webapps. Supercharge the native scroll!
Stars: ✭ 201 (+209.23%)
Mutual labels:  vanillajs
kanji-handwriting-swift
Kanji handwriting recognition for iOS using Zinnia.
Stars: ✭ 27 (-58.46%)
Mutual labels:  handwriting-recognition
rnnt decoder cuda
An efficient implementation of RNN-T Prefix Beam Search in C++/CUDA.
Stars: ✭ 60 (-7.69%)
Mutual labels:  handwriting-recognition
Mathematical-Handwriting-recognition
Convert hand written mathematical expressions and formula to Latext using Machine Learning
Stars: ✭ 50 (-23.08%)
Mutual labels:  handwriting-recognition

iinkJS

npm version Examples Documentation

The fastest way to integrate rich handwriting features in your webapp.

iinkJS is a JavaScript library that can be used in every web application to bring handwriting recognition.

It integrates all you need:

  • Signal capture for all devices,
  • Digital ink rendering,
  • Link to MyScript Cloud to bring handwriting recognition.

Table of contents

Examples

Discover Interactive Ink with iinkJS and its major features with our text demo and tutorial.

Try our two basic examples featuring the text recognition and the math recognition.

All our examples with the source codes in this directory.

We also provide examples of integration with the major JavaScript frameworks:

Framework Link
Example of React integration
Example of Angular integration
Example of Vue integration

Features

  • Text and Math support,
  • Easy to integrate,
  • Digital ink capture and rendering,
  • Rich editing gestures,
  • Import and export content,
  • Styling,
  • Typeset support,
  • More than 200 mathematical symbols supported,
  • 65 supported languages.

You can discover all the features on our Developer website for Text and Math.

Requirements

  1. Have npm, yarn.
  2. Have a MyScript developer account. You can create one here.
  3. Get your keys and the free monthly quota to access MyScript Cloud at developer.myscript.com

Installation

iinkJS can be installed with the well known package managers npm, yarn.

If you want to use npm or yarn you first have to init a project (or use an existing one).

npm init
OR
yarn init 

You can then install iinkJS and use it as showed in the Usage section.

npm install iink-js
OR
yarn add iink-js

Usage

  1. Create an index.html file in the same directory.

  2. Add the following lines in the head section of your file to use iinkJS and the css. We use PEP to ensure better browsers compatibilities. Note that you can also use it using dependencies from node_modules:

<script src="node_modules/iink-js/dist/iink.min.js"></script>
<script src="https://code.jquery.com/pep/0.4.3/pep.js"></script>
  1. Still in the head section, add a style and specify the height and the width of your editor:
<style>
    #editor {
        width: 100%;
        height: 100%;
    }
</style>
  1. In the body tag, create a div tag that will contain the editing area:
    <div id="editor"></div>
  1. In JavaScript and within a <script> tag placed before the closing tag </body>, create the editor using the register function, your editor html element and a simple configuration:
  const editorElement = document.getElementById('editor');

  iink.register(editorElement, {
    recognitionParams: {
      type: 'TEXT',
      server: {
        applicationKey: '#YOUR MYSCRIPT DEVELOPER APPLICATION KEY#',
        hmacKey: '#YOUR MYSCRIPT DEVELOPER HMAC KEY#'
      }
    }
  });
  1. Your index.html file should look like this:
<html>
    <head>
        <script src="node_modules/iink-js/dist/iink.min.js"></script>
        <script src="https://code.jquery.com/pep/0.4.3/pep.js"></script>
        <style>
            #editor {
                width: 100%;
                height: 100%;
            }
        </style>
    </head>
    <body>
        <div id="editor" touch-action="none"></div>
    <script>
        const editorElement = document.getElementById('editor');

        iink.register(editorElement, {
            recognitionParams: {
                type: 'TEXT',
                server: {
                    applicationKey: '#YOUR MYSCRIPT DEVELOPER APPLICATION KEY#',
                    hmacKey: '#YOUR MYSCRIPT DEVELOPER HMAC KEY#'
                }
            }
        });
    </script>
    </body>
</html>
  1. Open index.html in your browser or serve your folder content using any web server.

You can find this guide, and a more complete example on the MyScript Developer website.

Documentation

You can find a complete documentation with the following sections on our Developer website:

As well as a global Configuration page.

We also provide a complete API Reference.

Development

Instructions to help you build the project and develop are available in the SETUP.md file.

Getting support

You can get support and ask your questions on the dedicated section of MyScript Developer website.

Sharing your feedback ?

Made a cool app with iinkJS? We would love to hear about you! We’re planning to showcase apps using it so let us know by sending a quick mail to [email protected].

Contributing

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

Please take a look at our contributing guidelines before submitting your pull request.

License

This library is licensed under the Apache 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].