Error 'cv[detectorName] is not a constructor' displays when select any Feature Matching Detector name
See original GitHub issueThe problem
I want to use FeautresMatchingResult with each of Feature Detector Matching name which defined as Enum. But I’m facing the error 'cv[detectorName] is not a constructor when performing the snippet.
Environment
- Appium version: 1.21.0
- Desktop OS/version used to run Appium: MacOS Catalina 10.15.7
- Node.js version: v14.16.1
- Npm or Yarn package manager: 7.19.1
- opencv4nodejs: 5.6.0
- opencv: 4.5.3
- Java-client version: 7.0.0
Link to Appium logs
https://gist.github.com/antuking/8dbcf5a01bbe27a2d3e76a3091c22612
Code To Reproduce Issue
public enum FeatureDetector {
AKAZE, AGAST, BRISK, FAST, GFTT, KAZE, MSER, SIFT, ORB
}
FeaturesMatchingResult result = driver.matchImagesFeatures(bytesSrc,
bytesTemp,
new FeaturesMatchingOptions()
.withDetectorName(FeatureDetector.AKAZE)
.withGoodMatchesFactor(40)
.withMatchFunc(MatchingFunction.BRUTE_FORCE_HAMMING)
.withEnabledVisualization());
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Opencv Feature Matching is not matching correctly for ...
If i match source and template cropped from same images it is matching perfectly.But when i use app icon cropped from different mobile...
Read more >#016 Feature Matching methods comparison in OpenCV ...
Learn to match distinctive features between two or more images by using Brute-force and FLANN based feature matching methods.
Read more >Find matching features - MATLAB matchFeatures - MathWorks
This MATLAB function returns indices of the matching features in the two input ... using one or more name-value arguments in addition to...
Read more >Feature Detection and Matching + Image Classifier Project
We will first look at the basic code of feature detection and description and then move on to the classifier project.
Read more >Feature matching error analysis and modeling for consistent ...
However, feature measurements are subject to non-Gaussian errors and, in particular, to outliers in feature extraction and matching. If not properly accounted ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately opencv4nodejs seems to be abandoned for quite a while and I don’t think I could help much with that. Maybe there are some C++/Node experts around who could help you to make it working. Appium is also just a client to this library
Closed as third party issue