简体   繁体   English

使用OpenCV和C ++实时生成2D图形

[英]2d graph in real-time by using opencv and c++

I have a really basic question in opencv and c++. 我在opencv和c ++中有一个非常基本的问题。 I am trying to graph something in real time by using opencv. 我正在尝试使用opencv实时绘制图形。 I am looking to find a function to draw a graph in rel-time. 我正在寻找一种在相关时间内绘制图形的函数。 But still unssuccesful. 但是仍然没有成功。 I need a function that gets two arrays as an input one for x axis and one for y. 我需要一个函数,该函数获取两个数组作为输入,一个用于x轴,一个用于y。 I tried with this but seems not work in real-time http://www.shervinemami.info/graphs.html 我尝试过此方法,但似乎无法实时使用http://www.shervinemami.info/graphs.html

I just need to know if there is something available in opencv or not. 我只需要知道opencv中是否有可用的东西。

Thanks in advance. 提前致谢。

OpenCV仅提供了低级的绘制基元 ,因此您必须寻找其他库来绘制字符或自己创建代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM