The goal of this project is to allow integrated or USB-connected webcams to be accessed directly from Java. Using provided libraries users are able to read camera images and detect motion. Main project consist of several sub projects - the root one, which contains required classes, build-in webcam driver compatible with Windows, Linux and Mac OS, which can stream images as fast as your camera can serve them (up to 50 FPS). Main project can be used standalone, but user is able to replace build-in driver with different one - such as OpenIMAJ, GStreamer, V4L4j, JMF, LTI-CIVIL, FMJ, etc.
Hi,
First of all my compliment for your job: really great!!
I'm making a sub rover with raspberry PI P4 64 bit and I really need to implement a cam system to drive it and watch where it is. Unfortunately I find e problem using slog4j because every time I try (in my software) Webcam webcam = Webcam.getDefault() I get a very strange exception don't have anything to do with your software but prevent me to go ahed:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/JoranException
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:189)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:105)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:235)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:208)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:221)
at com.github.sarxos.webcam.Webcam.(Webcam.java:101)
Have you notice of something like that? I imported on my netbeans project all available library on the net so far but I didn't solve the issue.
Thanks so much in advance and best regards,
Davide
I get a very similar error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at com.github.sarxos.webcam.Webcam.(Webcam.java:101)
at Tester.main(Tester.java:17)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 2 more
You project is not mananged by maven, so the slf4j and dedefault logback logger IMPL are missing, please copy coresponding jars to your classpath. ti should work out.
Hi, First of all my compliment for your job: really great!!
I'm making a sub rover with raspberry PI P4 64 bit and I really need to implement a cam system to drive it and watch where it is. Unfortunately I find e problem using slog4j because every time I try (in my software) Webcam webcam = Webcam.getDefault() I get a very strange exception don't have anything to do with your software but prevent me to go ahed:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/JoranException at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:189) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:112) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:105) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:235) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:208) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:221) at com.github.sarxos.webcam.Webcam.(Webcam.java:101)
Have you notice of something like that? I imported on my netbeans project all available library on the net so far but I didn't solve the issue.
Thanks so much in advance and best regards, Davide