UNPKG

handwritten-mathematics-recogniser

Version:

Easy and abstracted way to recognise handwritten mathematics in a browser or in a web view.

12 lines (11 loc) 527 B
export declare class HandwrittenExpressionRecogniserDNN { static recognise(canvas: HTMLCanvasElement): string; private static feedForward(image); private static format(layers, level?); private static isSuperscript(layer1, layer2, level); private static formatSuperscript(layer, layers, level); private static isSubscript(layer1, layer2, level); private static formatSubscript(layer, layers, level); private static formatSameLevel(layer, layers, level); private static isOperation(symbol); }