question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handwriting Recognition?

See original GitHub issue

I want to input training data where each character is represented as an array of vectors (I mean each point’s coordinates are given relative to the previous point) with the end property signifying whether it’s the last point of a stroke.

For example, the letter “T” might look like this:

[ { x: 15, y: 38, end: false}, { x: 49, y: -8, end: false}, { x: 15, y: 4, end: true}, { x: 47, y: 26, end: false}, { x: -4, y: 37, end: false}, { x: 0, y: 4, end: false}, { x: 12, y: 21, end: true} ]

I believe I should use LSTM. But the page says training data must be array of values. Obviously I have an array of hashes. So what do I do?

EDIT: By the way, I have successfully used regular brain.NeuralNetwork on images (in the form of pixel arrays). But I want to use vectors not pixels.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
alirezagcommented, Nov 2, 2019

I see. I am more from ML background a d new to brainjs. If you dont have an actual stroke data it is hard to learn a consistent model for strokes. The typical mnist dataset for example doesn’t provide any stroke data…

On Wed, Oct 30, 2019, 8:10 AM MelerEcckmanLawler notifications@github.com wrote:

Yes

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BrainJS/brain.js/issues/460?email_source=notifications&email_token=AAMOGFK3PTVT6WCEKGNYN7DQRC7GLA5CNFSM4I57OHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECSMKKI#issuecomment-547669289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOGFPEQDDD6NJ7RQSUDXDQRC7GLANCNFSM4I57OHPA .

0reactions
alirezagcommented, Nov 6, 2019

Nice!

On Tue, Nov 5, 2019, 2:21 PM MelerEcckmanLawler notifications@github.com wrote:

I have a graphics tablet to create my own stroke data

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BrainJS/brain.js/issues/460?email_source=notifications&email_token=AAMOGFI2O3IXLZT4KNHAZ7DQSD7GXA5CNFSM4I57OHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDBUDQI#issuecomment-549667265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOGFOTNNDT3ETQYPN3UXTQSD7GXANCNFSM4I57OHPA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handwriting recognition - Wikipedia
Handwriting recognition (HWR), also known as handwritten text recognition (HTR), is the ability of a computer to receive and interpret intelligible ...
Read more >
Top 10 Handwriting Recognition Apps - Business News Daily
The 10 best handwriting recognition apps in 2022 · 1. MetaMoJi Note · 2. Microsoft OneNote · 3. MyScript Nebo · 4. Notes...
Read more >
Handwriting Recognition with ML (An In-Depth Guide)
Want to do handwritten OCR? This blog is a comprehensive overview of the latest methods of handwritten text recognition using deep learning.
Read more >
Handwriting recognition - Keras
Description: Training a handwriting recognition model with variable-length sequences. Introduction. This example shows how the Captcha OCR ...
Read more >
Detect handwriting in images | Cloud Vision API
Handwriting detection with Optical Character Recognition (OCR). The Vision API can detect and extract text from images: DOCUMENT_TEXT_DETECTION extracts text ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found