Ask Your Question

Sample code in desktop Java?

asked 2013-02-21 00:44:09 -0500

umyangxd gravatar image

updated 2013-02-21 00:50:02 -0500


I was wondering if any body can show me some sample code in desktop java of how to display video frames from a webcam? I was told there should be sample code in opencv\samples\java but there isn't any.


edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-12-08 19:40:42 -0500

magomimmo gravatar image

To see what are the classes currently supported by the Desktop Java platform I strongly suggest to keep the eyes open on the OpenCV Java API. Currently the Highgui class does not support any method having to do with windows mechanics. So, currently you're left alone with java swing.

edit flag offensive delete link more

answered 2013-02-21 04:01:47 -0500

berak gravatar image
edit flag offensive delete link more

answered 2013-02-21 02:01:56 -0500

rics gravatar image

I think you need to be patient. The Java API Howto states that it is an issue that Highgui is not fully wrapped.

edit flag offensive delete link more

Question Tools


Asked: 2013-02-21 00:44:09 -0500

Seen: 540 times

Last updated: Dec 08 '13