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
#define CERES_FOUND true | |
#include <opencv2/sfm.hpp> | |
#include <opencv2/viz.hpp> | |
#include <opencv2/calib3d.hpp> | |
#include <opencv2/core.hpp> | |
#include <opencv2/highgui.hpp> | |
#include <iostream> | |
#include <pcl/io/pcd_io.h> |
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
function simple_curl($url) | |
{ | |
$ch = curl_init(); | |
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt ($ch, CURLOPT_URL, $url); | |
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 20); | |
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, true); | |
curl_setopt($ch, CURLOPT_HEADER, true); | |
curl_setopt($ch, CURLOPT_NOBODY, true); | |
$content = curl_exec ($ch); |
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) { |
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
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |
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
<!-- html --> | |
<a class="btn btn-mini hider-toggle" style="padding:0px 4px;"> | |
<i class="icon-eye-open"></i> | |
</a> | |
<span class="hider">{$number->decrypted_password}</span> | |
<span class="hider-fake">*******</span> | |
<!-- style --> | |
<style> | |
.hider { |