Closed stiefen1 closed 2 years ago
It sounds more like an issue with the JDK. Could you try again with JDK 8 or 11?
Thank you for your very quick answer! Actually I was already on open JDK 11 and tried to downgrade to open JDK 8 but I still have the same problem. Maybe I forgot to install something, I'm not use to Java. The complete error message is the following:
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
RealSense devices found: 0
RealSense2 devices found: 0
(1) Could not find the CLEyeMulticam.dll
(2) Could not find the CLEyeMulticam.dll
Aug 10, 2022 2:14:27 PM org.openide.util.ImageUtilities$CachedLookupLoader getLoader
WARNING: No interface org.openide.util.spi.SVGLoader instance found in ProxyLookup(class=class org.netbeans.core.startup.MainLookup)->[MetaInfServicesLookup[sun.misc.Launcher$AppClassLoader@677327b6], SingletonLookup[sun.misc.Launcher$AppClassLoader@677327b6], org.openide.util.Lookup$Empty@57f49b3, AbstractLookup[]]
Aug 10, 2022 2:14:27 PM org.openide.util.ImageUtilities getIcon
INFO: No SVG loader available for loading jar:file:/home/smonnet/calibration/procamcalib-1.5.7-bin/modules/org-netbeans-swing-plaf.jar!/org/netbeans/swing/plaf/resources/hidpi-folder-closed.svg
Aug 10, 2022 2:14:27 PM org.openide.util.ImageUtilities getIcon
INFO: No SVG loader available for loading jar:file:/home/smonnet/calibration/procamcalib-1.5.7-bin/modules/org-netbeans-swing-plaf.jar!/org/netbeans/swing/plaf/resources/hidpi-folder-open.svg
org.bytedeco.javacv.FrameGrabber$Exception: Failed to load class org.bytedeco.javacv.FlyCapture2FrameGrabber
at org.bytedeco.javacv.FlyCapture2FrameGrabber.tryLoad(FlyCapture2FrameGrabber.java:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.bytedeco.javacv.FrameGrabber.init(FrameGrabber.java:54)
at org.bytedeco.procamcalib.MainFrame.main(MainFrame.java:1280)
Caused by: java.lang.UnsatisfiedLinkError: no jniFlyCapture2 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:871)
at java.lang.System.loadLibrary(System.java:1124)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1800)
at org.bytedeco.javacpp.Loader.load(Loader.java:1402)
at org.bytedeco.javacpp.Loader.load(Loader.java:1214)
at org.bytedeco.javacpp.Loader.load(Loader.java:1190)
at org.bytedeco.flycapture.global.FlyCapture2.
Do you have any other idea ? Thank you very much again.
Caused by: java.lang.UnsupportedOperationException: Cannot change display mode
Ah, here's the problem. It looks like you'll need to change the display resolution to 1024x768.
Thank you very much this solved my problem! And thank you also for your quick and accurate answers!
Hello,
I'm trying to calibrate a projector-camera system (Azure Kinect + BenQ MX631ST) on Ubuntu 20.04. If I use the default projector resolution (1080 x 1920) the program runs normally (images are correctly received from the camera and the pattern is projected through the projector) but if I change these values to 768 x 1024, which is the resolution of my projector, I get the following error when I press the start button :
Is there any other parameters I should change such as a ratio ? Here is the configuration of the projector I use when the error appears:
Thank you very much for your help!