openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[OV JS] Add optical-character-recognition sample

Open qxprakash opened this issue 8 months ago • 6 comments

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 function getTextSize 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

qxprakash avatar Jun 24 '24 19:06 qxprakash