openCV 的文字指令 cvPutText文字
[PHP]
#include
#include
#include
#include
#include
#include
using namespace cv;
int main(int argc,char **argv)
int width,height;
if(argc
std::coutwidth;
height=image->height;
CvFont font;
double hScale=1.0;
double vScale=1.0;
int lineWidth=1;
cvInitFont(&font,CV_FONT_HERSHEY_SIMPLEX
[/PHP]
02 cvPutText文字
No comments:
Post a Comment