openvino
openvino copied to clipboard
[OV JS] Add optical-character-recognition sample
Details:
- added code in node notebook
- updated the samples list in readme
Workarounds which still needs to be worked upon
-
couldn't find the js equivalent method for
cv2.getTextSize()
(opencv python method) which is used for getting the height and width of the crop text the opencv-wasm package does not have this api , in the current implementation I have written a custom functiongetTextSize
which uses canvas to get the width and height of the text -
text-recognition-resnet-fc
model IR was larger in size it was around 355MB hence I did not included it in my PR
Please provide Feedback @Aliczi @vishniakov-nikolai
With Regards Prakash