peterbraden / node-opencv

OpenCV Bindings for node.js
MIT License
4.37k stars 858 forks source link

[BUG]not a function #664

Closed nickabocker171 closed 4 years ago

nickabocker171 commented 4 years ago

Describe the bug A clear and concise description of what the bug is. Trying to use OpenCV function ImageSimilarity but receive an error each time I run NPM start. To Reproduce Steps to reproduce the behavior: https://www.twilio.com/wireless/blueprints/security-camera/steps/6

Above link is steps involved for project I was testing. Package.json references NPM install opencv

OS / Libraries

Additional context Add any other context about the problem here.

guangmingwan commented 4 years ago

Run node-v in Bash to confirm the version of nodejs. If it is less than 12, it can be used. If the version of nodejs is greater than 12, try the version I modified: Https://gitee.com/netwan/node-opencv (nodejs12+ supported)

peterbraden commented 4 years ago

Can you make a pull request?

peterbraden commented 4 years ago

Fixed in #667