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
#!/bin/bash | |
# Replace include path | |
modules=( | |
adas | |
aruco | |
bgsegm | |
bioinspired | |
ccalib |
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
#include <opencv2/opencv.hpp> | |
#include <random> | |
using namespace std; | |
using namespace cv; | |
void make_samples(int num, double xlb, double xub, Mat param, | |
vector<Vec2d>& samples) { | |
random_device rd; | |
mt19937 mt(rd()); |