作者:skysky001 | 来源:互联网 | 2024-09-29 10:47
#include
#include
#includeusing namespace cv;
using namespace std;int main()
{Mat srcImage(Size(600, 600), CV_8UC3, Scalar(0));RNG &rng = theRNG();char key;while (1){//随机生成一些点//首先就是随机生成点的总数量int g_nPointCount = rng.uniform(10, 30);//接下来就是随机生成一些点的坐标vector points;for (int i = 0; i }