Click here to Skip to main content
15,889,831 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
	IplImage *Image=cvLoadImage("ABC.jpg");
	
	CvFont Font1;
	cvInitFont(&Font1,CV_FONT_HERSHEY_COMPLEX,1,1,0.0f,2);
<!--  when i set shear argument to 0.0f , i did not get any effect -->
	
	CvFont Font2;
	cvInitFont(&Font2,CV_FONT_HERSHEY_COMPLEX,1,1,1.0f,2);
<!-- also whean shear arrgument equal 1.0f , i did not get any effect -->
	

	cvPutText(Image,"Hello World",cvPoint(50,50),&Font1,cvScalar(255));
	cvPutText(Image,"Hello World",cvPoint(200,50),&Font2,cvScalar(255));
	
	cvNamedWindow("0",0);
	cvShowImage("0",Image);
	cvWaitKey(0);
Posted
Updated 28-Sep-13 4:36am
v2
Comments
[no name] 28-Sep-13 10:33am    
http://www.codeproject.com/Answers/660261/what-is-difference-between-cvTranspose-and-cvCopy#answer1
Anderso0on 28-Sep-13 10:46am    
what is this ??!!
[no name] 28-Sep-13 10:51am    
What does it look like?
Anderso0on 28-Sep-13 10:56am    
another question !!
What is the relationship between them ??
Richard MacCutchan 28-Sep-13 12:34pm    
The relationship is that you seem to be trying to learn OpenCV by repeatedly posting questions here, rather than reading the documentation.

1 solution

Have you tried:

C++
cvInitFont(&Font1,CV_FONT_HERSHEY_COMPLEX,1,1,0.314159282f,2);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900