MocapNET Error message

I’ve compiled MocapNET(Camera Based Motion Tracking) successfully and i want to make an AppImage. https://github.com/FORTH-ModelBasedTracker/MocapNET
But when i copy the Binary into another Directory it gives me this Error: (in the original Directory it works fine)

./WebcamJointBIN
Welcome to the MocapNET demo
Populating Demo Figures… You probably don’t need that, but I did in Researcher’s night 2019…
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /build/opencv-iC2m9y/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp, line 3492
terminate called after throwing an instance of ‘cv::Exception’
what(): /build/opencv-iC2m9y/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp:3492: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
Aborted (core dumped)

I don’t know how to fix this.

Looks like an issue with the application not being relocatable in the filesystem, not necessarily something specific to AppImage. Do you have a working AppDir?