JSartoolkit: camera_para.dat for Android rear camera

I (again) have a problem using JSartoolkit 5 ( https://github.com/artoolkit/jsartoolkit5 ).

I am trying to use the rear cam of my device (Android - Nexus 5x, if that matters). I saw that this structure uses .dat files to import camera settings.

So, I used the .dat files that are provided in the repo (there: https://github.com/artoolkit/jsartoolkit5/tree/master/examples/Data ).

But both of these files use the user's camera (face to face) on my Android device.

Does anyone have a file that I can use to stream the rear camera on Android? Or knows how to configure it?

EDIT:

I used this app https://play.google.com/store/apps/details?id=com.artoolworks.ar.utils.calib_camera as stated in the artoolkit documentation. However, when I finish the calibration process, he says that he downloads the data: I do not know where and how I can use it. Can someone tell me how can I export a .dat file from this application?

+6
source share
1 answer

all you need is the right device for your phone / tablet. This has nothing to do with camera_para.dat. You need to use navigator.mediaDevices.enumerateDevices() , it will return you a list of devices on your phone.

0
source

All Articles