Default video resolution on iOS is 352x288, and 320x240 on Android. I optimized the plugin for performance, and compatibility to run on low / mid-range devices, also I found that marker detection is more reliable on lower resolutions.
It will be controllable from blueprint in the future plugin versions.
Currently you can only change it from code.
IOS:
ARToolkitDevice.cpp
NSString *vconf = [NSString stringWithFormat : @“%@ %@ %@ %@ %@”, @“-format=BGRA”, @“-fliph”, @“-flipv”, @“-preset=cif”, @“-position=rear”];
-preset parameter can be::
cif, 480p, 720p, 1080p, low, medium, high
Android:
Change values from 320x240 to 640x480 or higher.
AndroidJNI.cpp line 95
//Camera
FrameWidth = 320;
FrameHeight = 240
GameActivity.java
surfaceTexture.setDefaultBufferSize(320,240);
later on the same file…
cameraParam.setPreviewSize(320, 240);
Best Regards,