You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing image recognition, I was not able to make it work.
Appium Desktop 1.7.0
[2018-09-12 10:54:41][BaseDriver] Verifying screenshot size and aspect ratio
[2018-09-12 10:54:41][BaseDriver] Screenshot size matched screen size
[2018-09-12 10:54:41][W3C] Encountered internal error running command: Error: opencv4nodejs module is required to use OpenCV features. Please install it first (npm i -g opencv4nodejs) and restart Appium. Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install for more details on this topic.
[2018-09-12 10:54:41][W3C] at initOpenCV (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/image-util.js:100:11)
[2018-09-12 10:54:41][W3C] at Object.getImageOccurrence$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/image-util.js:420:3)
[2018-09-12 10:54:41][W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
While testing image recognition, I was not able to make it work.
Appium Desktop 1.7.0
[2018-09-12 10:54:41][BaseDriver] Verifying screenshot size and aspect ratio
[2018-09-12 10:54:41][BaseDriver] Screenshot size matched screen size
[2018-09-12 10:54:41][W3C] Encountered internal error running command: Error: opencv4nodejs module is required to use OpenCV features. Please install it first (npm i -g opencv4nodejs) and restart Appium. Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install for more details on this topic.
[2018-09-12 10:54:41][W3C] at initOpenCV (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/image-util.js:100:11)
[2018-09-12 10:54:41][W3C] at Object.getImageOccurrence$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/image-util.js:420:3)
[2018-09-12 10:54:41][W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
Nevertheless, opencv4nodejs is already installed
$ npm list -g --depth=0
/usr/local/lib
├── [email protected]
└── [email protected]
The text was updated successfully, but these errors were encountered: