bradenneufeld / K2P3Toolkit

Fork of Gene Kogan's Kinect Projector Toolkit - Processing library for calibrating a Kinect v2 to a projector for aligning projections to moving bodies and surfaces
GNU General Public License v2.0
61 stars 10 forks source link

K2P3Toolkit and Processing 4 intallation Issues. Update #10

Open angel-klassdata opened 2 years ago

angel-klassdata commented 2 years ago

Hi,

I am trying to launch calibrate.pde but apparently there are some issues with outdated libraries.

OPENCV PROCEESING Problem:

Examples.

WARNING: Illegal reflective access by gab.opencv.OpenCV (file:/Users/Name/Documents/Processing/libraries/opencv_processing/library/opencv_processing.jar) to field java.lang.ClassLoader.sys_paths
WARNING: Please consider reporting this to the maintainers of gab.opencv.OpenCV
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
NullPointerException

Possible Fix -> https://github.com/jaegonlee/opencv-processing/releases Author states -> The modified library works fine with Processing IDE, but exported application does not work on macOS.

Installing this version of OPENCV i stopped getting the above error.

UPDATE: This version seems to solve the OPENCV problem ->->https://github.com/jaegonlee/opencv-processing/releases/tag/0.6

CONTROLP5 Problem:

Controlp5 - error java.lang.NullPointerException - https://discourse.processing.org/t/controlp5-error-java-lang-nullpointerexception/16808

Apparently it is related to the above

More examples:

I cant find a workaround for this. The GUI fires ok but all buttons and controls are unresposive exept the calibrate one.

Please help

angel-klassdata commented 2 years ago

UPDATE!

ERROR -> Controlp5 - error java.lang.NullPointerException

Adding size(); before surface.setsize(); seems to solve the unresponsive buttons. Now i can move the chessboard position and size, ad search and add pairs to the calibration

void setup() 
{
  size(1200, 768);
  surface.setSize(1200, 768);