TODO: Write a project description
TODO: Describe the installation process
#include <cmath> | |
#include <iostream> | |
#include <opencv2/opencv.hpp> | |
using namespace cv; | |
int main(int argc, const char * argv[]) { | |
Mat img = imread("lillestromfisheye.jpg"); | |
// assume the source image is square, and its width has even number of pixels |
var btn = document.getElementById("copy-button"); | |
btn.addEventListener("click", clickHandler, false); | |
btn.addEventListener("copy", copyHandler, false); | |
function clickHandler(e) { | |
e.target.dispatchEvent(new ClipboardEvent("copy")); | |
} | |
function copyHandler(e) { | |
e.clipboardData.setData("text/plain", "Simulated copy. Yay!"); |
Uses a docpad configuration file to specify template data that we can use in our document to generate absolute urls.