Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
How can I draw x,y axes or a graph using open cv library c++. Do I need to add any extra libraries to my visual studio project?

What I have tried:

tried using cv::line.and displaying the image but did not get the graph.
Posted
Updated 28-Apr-16 0:09am
Comments
Richard MacCutchan 27-Apr-16 10:19am    
Then I guess your code needs fixing.

1 solution

The most common problem is the lack of knowledge or missing some points. My tip is, that you draw in the wrong coordinates.

Take a look at these basic open cv examples.
 
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