Answer the question
In order to leave comments, you need to log in
Explain OCR on fingers: how to parse a sequence of letters?
I understand how a classifier that parses single characters works. The same handwritten MNIST. For my task, I built a primitive model that perfectly copes with my particular task: a certain font, only 21 characters in the alphabet - individual characters are recognized with a bang.
model = tf.keras.models.Sequential([
tf.keras.layers.Flatten(input_shape=(28, 28, 1)),
tf.keras.layers.Dense(128,activation='relu'),
tf.keras.layers.Dense(21, activation='softmax')
])
model.compile(
loss='categorical_crossentropy',
optimizer=tf.keras.optimizers.Adam(0.001),
metrics=['accuracy'],
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question