大家好,又见面了,我是你们的朋友全栈君。#include<iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp>
using namespace cv;
int main( int argc, char** argv ) { IplImage* img = cvLoadImage( “D:\123\2.jpg” ,1); cvCircle(img,cvPoint(120,120),90,cvScalar(0, 0, 255), 3, 4, 0);//这个是画圆函数//
cvNamedWindow( “zcy”, CV_WINDOW_AUTOSIZE ); cvShowImage( “zcy”, img ); cvWaitKey(0); cvReleaseImage( &img ); cvDestroyWindow(“zcy”); }
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/161532.html原文链接:https://javaforall.cn