Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

✏️ ☁️ The easy way to integrate text handwriting recognition in your web app.

License

NotificationsYou must be signed in to change notification settings

MyScript/myscript-text-web

Repository files navigation

npm versionPublished on Vaadin  DirectoryStars on vaadin.com/directoryPublished on webcomponents.orgExamplesDocumentation

⚠️ This repository is archived⚠️

iinkJS grants you high integration flexibility by letting you choose your favorite framework or components. For this reason, we have decided to focus on iinkJS and to discontinue our ready-to-use Web components.

For more information, please seedocumentation.

We also provide an example to integrateiinkJS as webcomponent:link.

🚧

The easy way to integrate text handwriting recognition in your web app.

myscript-text-web is a Web component that can be used in every web application to bring text handwriting recognition and conversion.

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

If you're not familiar with MyScript and Interactive Ink, consider discovering its major features with ourtext demo and tutorial.

Simple example ofmyscript-text-web.

All our examples with thesource codes.

Features

  • Easy to integrate,
  • Digital ink capture and rendering,
  • Rich editing gestures,
  • Import and export content,
  • Styling,
  • Typeset support,
  • 65 supported languages.

You can discover all the text features on ourDeveloper website.

Requirements

  1. Havenpm oryarn installed.
  2. Have a MyScript developer account. You can create onehere.
  3. Get your keys and the free monthly quota to access MyScript Cloud atdeveloper.myscript.com

Installation

Use an existing project or start a fresh one.

npm init

Installmyscript-text-web and use it as showed in theUsage section.

npm install myscript-text-web

Usage

  1. Create anindex.html file in the same directory.

  2. Add the following lines in thehead section to import the library and the webcomponents polyfill.

<scripttype="module"src="node_modules/myscript-text-web/myscript-text-web.js"></script><scriptsrc="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
  1. Still in thehead section, add the following style:
<style>myscript-text-web {height:100vh;    }</style>
  1. Use the component in thebody section with the keys you received by mail.
<myscript-text-webapplicationkey="YOUR MYSCRIPT DEVELOPER APPLICATION KEY"hmackey="YOUR MYSCRIPT DEVELOPER HMAC KEY"></myscript-text-web>
  1. Yourindex.html file should look like this:
<html><head><scripttype="module"src="node_modules/myscript-text-web/myscript-text-web.js"></script><scriptsrc="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><style>myscript-text-web {height:100vh;            }</style></head><body><myscript-text-webapplicationkey="YOUR MYSCRIPT DEVELOPER APPLICATION KEY"hmackey="YOUR MYSCRIPT DEVELOPER HMAC KEY"></myscript-text-web></body></html>
  1. Launch a local Web server to start using it! We recommend to use the polymer one, you can find more information on thePolymer website.
polymer serve

You can find this guide and a more complete example on theMyScript Developer website.

Documentation

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

We also provide a completeAPI Reference.

Getting support

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

Sharing your feedback

Made a cool app withmyscript-text-web? We would love to hear about you!We’re planning to showcase apps using it so let us know by sending a quick mail tomyapp@myscript.com

Contributing

We welcome your contributions: if you wish to contribute tomyscript-text-web, feel free to fork it!

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

License

This library is licensed under theApache 2.0.

About

✏️ ☁️ The easy way to integrate text handwriting recognition in your web app.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors7


[8]ページ先頭

©2009-2025 Movatter.jp