I have (again) a trouble using JSartoolkit 5 ( https://github.com/artoolkit/jsartoolkit5 ).
I'm trying to use the rear cam of my device (Android - Nexus 5x, if that matters). I've seen that this framework uses .dat
files in order to import cam settings.
So, I used .dat
files that are provided in the repo (there : https://github.com/artoolkit/jsartoolkit5/tree/master/examples/Data ).
But both of those files uses the user (facing) cam on my Android device.
Does someone have a file I can use to stream the rear cam on Android? Or knows how to set it up?
EDIT:
I used this app https://play.google.com/store/apps/details?id=com.artoolworks.ar.utils.calib_camera as said in artoolkit documentation. However, when I finish the calibration process, it says it upload the data: I don't know where, and how I can use it. Can someone tell me how I can export a .dat file from this app?
all you need is use right device of your phone/tablet. It nothing to do with camera_para.dat. You need to use navigator.mediaDevices.enumerateDevices()
, it will return you enum of devices on your phone.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.