Comments (7)
I added some stuff from the contrib text module and also two basic usage examples for character recognition and word recognition from the trained BeamSearchDecoder CNN model. The features will be available when I published v2.14.
Good luck playing around with it, let me know if this was useful for your project =)
from opencv4nodejs.
New version is now published.
from opencv4nodejs.
Are you talking about https://docs.opencv.org/trunk/d8/df2/group__text__recognize.html?
I can add the bindings, which are independent of tesseract or are you asking for the OCRTesseract detector specifically?
from opencv4nodejs.
Yes, that was exactly what I was talking about :)
To be honest, I am not sure that I understand the difference (I am fairly new to OpenCV) - but I need to detect and decode hex numbers that are printed on boxes?
I tried other libs like: https://github.com/desmondmorris/node-tesseract but it doesn't perform very well because of its language dependencies (I think). So I would like to do it all in OpenCV instead (also because the application needs OpenCV anyway).
from opencv4nodejs.
I am not familar with the text recognition module of OpenCV either, but It seems there is an HMM classifier and a tesseract one.
I can implement the bindings to the HMM one, not sure if this one will give you better results than node-tesseract, but you can try it out.
Implementing the tesseract classifier would mean adding the dependency of a third party lib (tesseract) to the package, which I rather would not do.
from opencv4nodejs.
I don't know much about bindings, but i know they use tesseract i did use that software weeks ago, it was kind of trikky to make all work.. Maybe it give you an idea..
https://github.com/openalpr/openalpr
from opencv4nodejs.
@carlosen14 Thanks. That could be useful as well.
@justadudewhohacks Would be great! Thanks 👍 :)
from opencv4nodejs.
Related Issues (20)
- Install failing at 55% MacOS Monterey HOT 2
- [!] RollupError: Could not resolve "../build/Release/opencv4nodejs.node" from "../build/Release/opencv4nodejs.node?commonjs-external" HOT 1
- Cannot find module 'C:\Users\pierr\Desktop\onnxjs\node_modules\opencv4nodejs\build\Release\opencv4nodejs' HOT 2
- Imencode - OpenCV Error: (!image.empty()) in imencode, in file... RPI4 HOT 1
- Correct the state of the `opencv4nodejs` package on the NPM. HOT 5
- canot load opencv4nodejs after install HOT 1
- Cannot find module 'D:\Web\opencv\node_modules\opencv4nodejs\build\Release\opencv4nodejs' HOT 2
- Error: CalcHist - object has no property: ranges HOT 1
- Can't resolve '../build/Release/opencv4nodejs.node' HOT 1
- Cannot find module /node_modules/@u4/opencv4nodejs/build/Release/opencv4nodejs'
- why no cv.compare or mat.compare function?
- how to catch mouse event on imshow
- ar
- Type error with mat.drawCountours()
- Unable to install opencv4nodejs HOT 1
- Unable to install in Ubuntu 22.05
- Ssim library
- Issues with node-gyp
- Issue with cv.Mat
- Issue with importing cv
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv4nodejs.