This content has been marked as final. Show 3 replies
I worked on a project like that once, it worked by not looking at the video feed but in stead it used a snapshot function on the webcam to create pictures which could be analyzed. This was made to work through Java somehow, but in the end some native code was used to do the actual image loading and analysis because the performance wasn't good enough using ImageIO.
On to your question: no you should not use JMF as it is indeed dead as a doornail. A simple google for "java webcam" gives alternatives however, such as this:
Forum post with example code:
How to control a webcam in JFX app?
Currently JavaFX is making it's way to the new Versions. So far we have 3D objects and moveable camera nodesa, but now we are working on ossiliscopes, accelorometers, GPS, etc. This will open our world up quite a bit. I would say we should wait a little bit until it comes out, but I would design everything around the hard parts we are waiting for.
Thanks for your reply.
I will take a closer look at LTI-CIVIL. It sounds like what I am looking for :)