Skip to content

Handwriting Recognition? #460

Open
Open
@MelerEcckmanLawler

Description

@MelerEcckmanLawler

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions