Open rstoye opened 3 months ago
@rstoye I was able to get around the issue by switching to the sync methods
@rstoye I was able to get around the issue by switching to the sync methods
Sadly this didn't work for me. The error still pops up rather quickly.
On the other hand I set up a docker container and ran the example project there and got no errors. Maybe it's an issue with Manjaro / Arch.
Hello there, I've been playing around with this library for a while now and I keep running into the following error on different occasions:
I have seen this issue https://github.com/UrielCh/opencv4nodejs/issues/134, but sadly had to realize that my problem persists even on node 18 and node 16. So there is no easy workaround it seems.
You can check out my example project https://github.com/rstoye/opencv-troubleshoot where the error happens without fail on my system.
Speaking of systems:
My use case for opencv is that I have tons of scanned documents, that all have a distinct black line in the middle. I'm using this line as a guideline to roughly calculate the angle of the scanned document and correct it, so that the output is a straight document. The document is then being manipulated further, but for the sake of simplicity I only put the straightening process in the example project.
Any help or ideas would be greatly appreciated.
Thank you.