justadudewhohacks / justadudewhohacks/opencv4nodejs

extra modules check break demo

Open
#808 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

https://github.com/justadudewhohacks/opencv4nodejs/blob/24bff921c8d9c78500228e4be2d7bcd36e7a3904/examples/matchFeatures.js#L34

cv.modules was undefined on my Mac, add a undefined check to fix this problem

`if (cv.xmodules && cv.xmodules.xfeatures2d) {`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.