This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import praw | |
import time | |
from pprint import pprint | |
import urllib2 | |
import urllib | |
from urlparse import urlparse | |
from os.path import splitext, basename | |
import cPickle | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cv::Mat ransacTest( | |
const std::vector<std::vector<cv::DMatch> > &matches, // Matches between two set of keypoints | |
const std::vector<cv::KeyPoint>& keypoints1, | |
const std::vector<cv::KeyPoint>& keypoints2, | |
std::vector<std::vector<cv::DMatch> > &outMatches) { | |
// Convert keypoints into Point2f | |
std::vector<cv::Point2f> points1, points2; | |
for (std::vector<std::vector<cv::DMatch> >:: | |
const_iterator it= matches.begin(); it!= matches.end(); ++it) { |