ArToolKitJpctBaseLib
ArToolKitJpctBaseLib copied to clipboard
Camera Calibration is down
I noticed after running the sample codes that it was taking a very long time before the markers would initialize but after it found them the first time everything was perfect. From a little research it seems that the camera calibration server that is being used is down so you have to wait for a timeout after starting the app.
Is these any way I can work around this please?
Thanks for the heads up!
The library is a very thin layer on top of ARToolkit and I am afraid that part in particular may be in the compiled NDK library. I'll try to take a look, but I have little time to devote to this.
It's very unfortunate that the service is down, having a calibration file for the type of camera improved tracking quite a lot.
So, quick review. The initialization of the camera happens here: https://github.com/plattysoft/ArToolKitJpctBaseLib/blob/d53476ec5ae3ff52fec59103fc4eadef87223705/ArJpctBaseLib/src/main/java/org/artoolkit/ar/base/ARActivity.java#L294 There is a path to a camera params. That call goes straight into the NDK, so AFAIK, if the camera param file exists, it does not try to get one from the server.
You can try putting that file. If this does not solve the problem, then it is all internal to ARTookit and it's beyond my knowledge.
Sorry I can't help you better.
Thanks for the help, I will give that a go.
The project is awesome btw so thanks for creating it in the first place. You should if possible link it into main artoolkit5 github under the AndroidStudioProjects to give it a little more coverage as I did a huge amount of digging before I came across your github. For creating Android apps with ArToolkit it seems the most useful project I have come across by a distance.