0

I runned the project "ARSimpleNativeCarsProj" from ARToolKit Android SDK examples following this tutorial https://www.youtube.com/watch?v=GAWyUQ1xaNs.

Ok, I dont changed the code and it works, but the problem is when I run this application sample on Motorola Moto X (2nd Generation), it looks funny, it is looking wrong position and perspective, but in another cell phone it works normally.

I shared on my google drive, images of the problem, .apk and markers (if you wanna try on your Moto X 2nd), here: https://drive.google.com/folderview?id=0B9yAAVb6fwJ8OU9rdmMxQnN4Z2s&usp=sharing

(Sorry if it isn't better way, I do that cause I can't to post image here)

So, I tried anothers projects on web, only using ARToolKit I have this problem.

Is happening this problem only on my Moto X2 or is it a problem with ARToolKit?

Any idea how can I fix this?

[Edited] [Solved]

As suggested by Gizmo and shalafi I calibrated and tried differents resolutions, now it works for me.

Community
  • 1
  • 1
Raphael Sá
  • 66
  • 1
  • 6

2 Answers2

1

I recommend that you run the camera calibration for you phone. See tutorial here: http://artoolkit.org/documentation/doku.php?id=4_Android:android_camera_calibration

This will upload the calibration and fetch it the next time you run an ARToolKit app.

I recommend this because your example image looks like a calibration might help.

You can download the calibration app here: https://play.google.com/store/apps/details?id=com.artoolworks.ar.utils.calib_camera

Let me know if it worked for you.

Best

Thor_Bux
  • 1,137
  • 12
  • 26
  • Ok, I will try this and I post here the result. – Raphael Sá Apr 25 '16 at 11:09
  • It was just the calibration, now it works, thanks a lot. Will work it in others Moto X 2nd Gen or their phones have to make calibration too? – Raphael Sá Apr 25 '16 at 22:34
  • @RaphaelBruno, could you please tag the answer as solution as it might help others which may not read the comments :). – Thor_Bux May 01 '16 at 22:10
  • I can't use tag on title, at field tag does not have [solved] tag. "Title contains a [tag] prefix; please use the tag field to enter tags instead." – Raphael Sá May 03 '16 at 11:18
  • I meant the little green check mark beside the answer. To mark the answer as solution – Thor_Bux May 06 '16 at 00:45
0

Running the calibration is a great suggestion, you should start by doing that.

As a side suggestion try changing the camera resolution and see if it works better with other resolutions. I have found myself that some cameras have weird FOV parameters in certain resolutions.

shalafi
  • 3,926
  • 2
  • 23
  • 27