docs
This commit is contained in:
parent
8c48f3be9d
commit
715ca399f1
@ -9,7 +9,14 @@
|
|||||||
|
|
||||||
using namespace cv;
|
using namespace cv;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
void help()
|
||||||
|
{
|
||||||
|
cout << "\nThis code generates an artificial camera and artificial chessboard views,\n"
|
||||||
|
<< "and then calibrates. It is basically test code for calibration that shows\n"
|
||||||
|
<< "how to package calibration points and then calibrate the camera.\n"
|
||||||
|
<< "Call:\n"
|
||||||
|
<< "./calibration_artificial\n" << endl;
|
||||||
|
}
|
||||||
namespace cv
|
namespace cv
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -53,8 +60,11 @@ template<class T> ostream& operator<<(ostream& out, const Mat_<T>& mat)
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
help();
|
||||||
cout << "Initializing background...";
|
cout << "Initializing background...";
|
||||||
Mat background(imgSize, CV_8UC3);
|
Mat background(imgSize, CV_8UC3);
|
||||||
randu(background, Scalar::all(32), Scalar::all(255));
|
randu(background, Scalar::all(32), Scalar::all(255));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user