Ask Your Question

Revision history [back]

How to display live image in application?

I am actually using JavaCV (which is supposed to be a transparent port of OpenCV), but if you can answer my general question here, that'll help me. My simple question is "How do I display a live image from a webcam?"

In JavaCV there's an object for displaying a live webcam image called CanvasFrame which WORKS GREAT and is TOTALLY USELESS. It is useless because it lives in its own window and cannot be integrated with your UI. So I'm looking for a replacement and am hoping I can translate the typical C++ way of using OpenCV for displaying a live image.

How is a live image integrated with your application in OpenCV?