Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- featureDetector->detect(image, keypoints);
- descriptorExtractor->compute(image, keypoints, descriptors);
- bowTrainer.add(descriptors);
- featureDetector->detect(image, keypoints);
- bowDE->compute(image, keypoints, histogram);
- for (int i = 0; i < histogram.cols; i++)
- cout << histogram.at<unsigned>(0, i) << ",";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement