We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeJs v16.17.1 npm v8.19.2
OS: Ubuntu 22.04
On a new empty project. OpenCV previously installed.
import cv from '@anpanman/opencv_ts'; import { PNG } from 'pngjs'; const mat = new cv.Mat();
Results in :
TypeError: opencv_ts_1.default.Mat is not a constructor
Also, trying to get the webcam's mat. How to get it ? No docs. default opencv code would be
const webcam = new cv.VideoCapture(0); const frame = new cv.Mat(); webcam.read(frame); // ...
But VideoCapture does not exists.
VideoCapture
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NodeJs v16.17.1
npm v8.19.2
OS: Ubuntu 22.04
On a new empty project.
OpenCV previously installed.
Results in :
Also, trying to get the webcam's mat. How to get it ? No docs. default opencv code would be
But
VideoCapture
does not exists.The text was updated successfully, but these errors were encountered: