difference between SiftFeatureDetector and Ptr<FeatureDetector> featureDetector = FeatureDetector::create("SIFt")
SiftFeatureDetector Ptr<featuredetector> featureDetector = FeatureDetector::create("SIFt")
what is difference in side of memory allocate ?
both things are from outdated opencv2.4 (please do not use that, to write any new code), and current opencv does no more support any of those methods (api has changed), just saying
For reference, those module doc can be find here: https://docs.opencv.org/3.4.0/d1/db4/... Choose from the top dropwdown menu the version that you use.
Btw this are just different way to access and create what is, at the end, the same object. They just changed how you construct the object (they avoided the use of a string in a factory method) I suppose, since switch from old to new API is very easy