-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
SURF integration / opencv-contrib #13
Conversation
(surf pointer don't work correct) add orb class declaration to feature_lib.h add surf class definition to feature_lib.cpp add orb class definition to feature_lib.cpp
…OAD_DIR}/opencv-${OPENCV_VERSION}.zip. And also change the NOT EXISTS check. And also change that path in the archive_extract command
modify config flags
yesterday it builds with xfeatures2d |
download opencv-contrib download link edited
opencv-extra DOWNLOAD parameter(url) changed extracting opencv-extra DESTINATION parameter changed -DOPENCV_EXTRA_MODULES_PATH parameter changed
It builds, but xfeatures2d can't get in touch with project |
new instances of surf and orb in detection_example.cpp new print func in detection_example.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments on CMake style.
C++ code will be reviewed by @anastasiia-kornilova later, I guess, but in general I'd say that:
- You probably can move a lot of duplicated code from the detectors in their common abstract parent.
- In the example it would be better to accept a command line argument with the algorithm name and run only the selected one because running all three is pretty messy.
- Maybe we don't even need to print descriptors as it looks like a mess in the output -- just put descriptor size for each keypoint (in some algorithms the size may be dynamic, though, not in ours).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I absolutely agree with @TimPushkin comments, but for now it looks like they are not crucial for MVP. I suggest to move all suggestions into separate issues and after the full ready working pipeline we will beautify those things.
aeefc6d
to
def282e
Compare
remove space between -D and OPENCV_ENABLE_NONFRE
def282e
to
809e7ef
Compare
remove space between -D and OPENCV_ENABLE_NONFREE
now we use that func instead prev version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small style fixes required
xfeatures2d which contains SURF appears in whitelist but don't in the library summary while build