0

is there anyway to build rich animation with C++? I have been using OpenCV for object detection, and I want to show the detected object with rich animation, Is there any easy way to realize this? I know flash can be used to easily build rich animation. But can flash be reliably integrated with C++ and How?

Also, Can OpenGL help me with this? To my knowledge, OpenGL is good for 3D rendering. But I am more interested in showing 2D animations in an image. So I am not sure whether this is a right way to go.

Another question, how are those animations in augmented reality realized? What kind of library are they using?

Thank you in advance.

4

2 回答 2

1

很难判断这个答案是否相关,但根据您正在创建的应用程序类型,您可能能够使用Simple DirectMedia Layer

这是一个跨平台的 2D 和 3D(通过 OpenGL)媒体库,适用于 C、C++ 和许多其他兼容语言。

于 2010-11-08T06:39:44.773 回答
0

在我看来,您希望制作处理结果的动画演示。如果我错了,请告诉我。

制作视觉算法演示的最简单方法是在每个处理帧之后将结果转储到不同的图像文件中。在处理会话之后,这些单独的图像文件用于使用例如 mencoder 来准备视频。我采用了这样的程序来准备这个

当然,你的程序也可以产生OpenGL。许多处理 3D 重建的人都这样做。但是,在我看来,这对于简单的 2D 检测来说太过分了。制作闪光灯将是一个更大的矫枉过正。

于 2010-11-09T21:04:40.550 回答