Ask Your Question

eruru's profile - activity

2019-06-03 08:03:36 -0600 received badge  Popular Question (source)
2018-08-08 03:31:29 -0600 received badge  Notable Question (source)
2018-04-10 08:29:37 -0600 received badge  Popular Question (source)
2015-05-15 08:15:26 -0600 commented question Extracting features with opencv for image classification

Hi berak, thank you for reply. But can I use this approach to understand which algorithm gives me the best classification for images? Suppose that I run 2 test with following combination SIFT kp +SIFT descriptor and FAST kp + SIFT descriptor. If the latter test show really bad result, how can I be sure that the the problem is due to FAST itself, and not due to an incompatibility between them?

2015-05-15 06:57:57 -0600 commented question Extracting features with opencv for image classification

Hi thdrksdfthmn thank you for answer, I've hear about the conversion to CV32F but i found for example here that is not a good tecnique because maybe it could be happen that there is a bad clustering.

2015-05-15 06:50:53 -0600 commented question Extracting features with opencv for image classification

Hi berak, thank you for answer. So I can use only SIFT or SURF descriptors but the combination (for example) FAST keypoints + SIFT descriptor does have any sense or is completely wrong?

2015-05-15 04:01:01 -0600 asked a question Extracting features with opencv for image classification

Hi everybody, I started to study computer vision and machine learning. I have a dataset of images and my goal is to extract the features with opencv3 (using different feature detection algorithms: Fast, GoodFeaturesToTrack, Mser, Star, Sift, Surf) and using the extracted matrix of features with an algorithm of machine learning for the images classification.

After a lot of search I've started with SIFT and SURF and I used the tecnique of bag of word for obtaining my final matrix. Now the problem comes with the other algorithms, because I've noted that, for example FAST, provide only a keypoints extractor but not a descriptor, so seem that I've to use one of following descriptor:

  1. SIFT
  2. SURF
  3. BRIEF
  4. BRISK
  5. ORB
  6. FREAK

But I have a lot a doubts...I've read here that BRISK / FREAK / ORB are not for image classification problem and, since they are binary descriptors, I can't use it with the implementation of bow in opencv because the kmeans works only with non binary descriptor. If I use, for example, only the SIFT descriptor with keypoint extracted with other algorithm (Fast, Star etc) the program works but has sense?I've search and it not seems good strategy (I report belove some lines of my algorithrm)

bowTrain = cv2.BOWKMeansTrainer(10)
detector = cv2.MSER_create()
sift = cv2.xfeatures2d.SIFT_create()
kp = detector.detect(img,None)
kp,des = sift.compute(img,kp)
bowTrain.add(des)

Is correct or there are other tecniques that I can use? Thank you for help.

2015-05-06 10:18:58 -0600 commented question DescriptorExtractor_create and FeatureDetector_create not found with opencv 3.0.0-dev and python3

Thank you so much :)

2015-05-06 09:52:30 -0600 asked a question DescriptorExtractor_create and FeatureDetector_create not found with opencv 3.0.0-dev and python3

Hello everybody, I'm using opencv 3.0.0-dev and python3 and I'm learning how to use BOW. I found an useful example here but there is some modules that not work...

For example the line cv2.DescriptorExtractor_create("SIFT")

Generate the following error: AttributeError: 'module' object has no attribute 'DescriptorExtractor_create'

But BOWKMeansTrainer() and BOWImgDescriptorExtractor() are included so I don't undestand why only the descriptor extractor (and also FeatureDetector) are missing! Any suggest? Thank you for help!