Closed sokki closed 1 year ago
I can't check right now, but quite possible there's no calibration for the iPhone 8 in the database. I'll be publishing the camera calibration tool on iTunes soon, then we can address this (I don't have an iPhone 8 to calibrate with).
I also tested an iPad Air and iPhone SE without any luck. Is there anything I could help with short term? I've an iPhone 8, iPad Air, iPhone SE and a developer account at hand ...
But I still wonder why I couldn't see the app making any request to artoolkitx.org
at all. Is there anything else I could have misconfigured?
I should also mention that a negative result (i.e. no device in the online database gets cached by the app for 1 week). So if it failed once and you tested again, you wouldn't see any network traffic on the second attempt. Deleting the app will empty the cache of course.
Good point, thanks!
I deleted the app and ran it again. Now I also get Created new camera parameters database.
in the logs. But cdp.cloud.unity3d.com
is still the only host, the app connects to 🤔
Edit: Nevermind, it seems that your requests bypass the iOS proxy settings, so I could not see stuff in Charles. In Instruments I could see connections going to eden.net.nz:443
which I can't see in Charles.
It uses libcurl for the network connection. I didn't realise that libcurl doesn't honour the iOS proxy settings; which seems like a bug in libcurl.
I've deleted my app and installed again, still cannot get cparam from server :(
I am using Apple New iPad WI-FI + CELLULAR (mp272zp/a)
2018-09-06 11:37:39.759157+0800 Geog2017[2745:1649474] [info] No predefined camera parameters for device iPad (Unknown model).
2018-09-06 11:37:39.759179+0800 Geog2017[2745:1649474] [info] Fetching external camera parameters.
2018-09-06 11:37:39.761145+0800 Geog2017[2745:1649683] [info] cparamSearch beginning search for apple/iPad/iPad6,12, camera 0, aspect ratio 4:3.
Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 1747.
Total: 4.384916 ms (FindLiveObjects: 0.533750 ms CreateObjectMapping: 0.080333 ms MarkObjects: 3.710250 ms DeleteObjects: 0.060375 ms)
2018-09-06 11:41:41.521688+0800 Geog2017[2745:1649683] [warning] Using default camera parameters for 480x360 image size, 45 degrees vertical field-of-view.
2018-09-06 11:41:41.743561+0800 Geog2017[2745:1649474] [info] Video source is running. (Waited 7261 calls.)
Also please notice the long time gap 2018-09-06 11:37:39.761145+0800
and 2018-09-06 11:41:41.521688+0800
I guess we don’t have any camera calibration for that model.
Get Outlook for iOShttps://aka.ms/o0ukef
From: chuen1118 notifications@github.com Sent: Thursday, September 6, 2018 4:41:17 PM To: artoolkitx/arunityx Cc: Subscribed Subject: Re: [artoolkitx/arunityx] Camera resolution in iOS (#5)
I've deleted my app and installed again, still cannot get cparam from server :(
I am using Apple New iPad WI-FI + CELLULAR (mp272zp/a)
2018-09-06 11:37:39.759157+0800 Geog2017[2745:1649474] [info] No predefined camera parameters for device iPad (Unknown model). 2018-09-06 11:37:39.759179+0800 Geog2017[2745:1649474] [info] Fetching external camera parameters. 2018-09-06 11:37:39.761145+0800 Geog2017[2745:1649683] [info] cparamSearch beginning search for apple/iPad/iPad6,12, camera 0, aspect ratio 4:3.
Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 1747. Total: 4.384916 ms (FindLiveObjects: 0.533750 ms CreateObjectMapping: 0.080333 ms MarkObjects: 3.710250 ms DeleteObjects: 0.060375 ms)
2018-09-06 11:41:41.521688+0800 Geog2017[2745:1649683] [warning] Using default camera parameters for 480x360 image size, 45 degrees vertical field-of-view. 2018-09-06 11:41:41.743561+0800 Geog2017[2745:1649474] [info] Video source is running. (Waited 7261 calls.)
Also please notice the long time gap 2018-09-06 11:37:39.761145+0800 and 2018-09-06 11:41:41.521688+0800
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartoolkitx%2Farunityx%2Fissues%2F5%23issuecomment-418962483&data=02%7C01%7C%7Cf68a5aafd5be461129b808d613b2fcb0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636718056791677675&sdata=gLLTosjUMQE8UmeECtlbp%2FrwUJ6WSklrtJHCipIrMOw%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP_uvH6lZpkSolS50jkypVZx2bq9u1knks5uYKdtgaJpZM4WDmfJ&data=02%7C01%7C%7Cf68a5aafd5be461129b808d613b2fcb0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636718056791677675&sdata=b593B2QZ1E6rFs0%2FW%2FezMlKRnssmXPMmmZgi%2BrXYujk%3D&reserved=0.
Oh, seeing the above reply https://github.com/artoolkitx/arunityx/issues/5#issuecomment-414311035 thought I would get Created new camera parameters database.
too.
You can contribute using the calibration app. It’s in the repo
Get Outlook for iOShttps://aka.ms/o0ukef
From: chuen1118 notifications@github.com Sent: Thursday, September 6, 2018 8:28:36 PM To: artoolkitx/arunityx Cc: Thorsten Bux; Comment Subject: Re: [artoolkitx/arunityx] Camera resolution in iOS (#5)
Oh, seeing the above reply #5 (comment)https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartoolkitx%2Farunityx%2Fissues%2F5%23issuecomment-414311035&data=02%7C01%7C%7Cccaf603312c24110196708d613d2be08%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636718193176609429&sdata=lKfmDMGh8V8fY4rOwFIH5vSkHjpV7zdNdI3Hetly5mA%3D&reserved=0 thought I would get Created new camera parameters database. too.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartoolkitx%2Farunityx%2Fissues%2F5%23issuecomment-419010039&data=02%7C01%7C%7Cccaf603312c24110196708d613d2be08%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636718193176765675&sdata=7LtwYq2Mk%2Fj5u4UQT5Keu%2FFCiYxYuuKKvBh8f6WwRIk%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP_uvLq6pjReNdW2bAhtOHcBNv4Do730ks5uYNy0gaJpZM4WDmfJ&data=02%7C01%7C%7Cccaf603312c24110196708d613d2be08%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636718193176765675&sdata=UyRF%2Bv%2FGeSJ1sBnY2BnLPzQ0zOCv9v4uLBwc0xf1qbU%3D&reserved=0.
I am not able to figure out, how to set the right camera resolution in iOS. I get the following log:
Is this related to https://github.com/artoolkitx/artoolkitx/issues/40 ? Due to cparamSearch.c it should try to curl from
https://calibration.artoolkitx.org/app/calib_camera/download.php
which does not seem to be offline. But when I sniff the apps traffic through Charles proxy, it doesn't try to connect toartoolkitx.org
at all.Is there any documentation, that could point me into the right direction?