artoolkitx icon indicating copy to clipboard operation
artoolkitx copied to clipboard

Camera resolution in Android (Low res for marker, and high for the video)

Open vgadalov opened this issue 6 years ago • 3 comments
trafficstars

Is it possible to show video stream in full resolution (1080p for example), but for tracking use much lower resolution (f.e. 640x360)? Maybe using dual camera or in case of only back camera use image matrix filter to make resolution lower while tracking? Thanks for reply.

vgadalov avatar Apr 30 '19 15:04 vgadalov

It's not directly supported in the framework, but I'll admit its an often-requested feature. The simplest way to tackle it would be to down sample in ARVideo directly, but that doesn't allow display at full resolution.

philip-lamb avatar May 01 '19 09:05 philip-lamb

With Android Jetpack CameraX coming up this can be fixed. CameraX is a high-level API for providing all camera functionalities present in a device. Along with this, it supports processing camera input frame by frame. Both of these, when included, will fix this problem. The CameraX is still in Alpha so it might be a while before this gets its own stable release.

chintan-mishra avatar May 31 '19 08:05 chintan-mishra

是否可以以全分辨率(例如1080p)显示视频流,但使用更低分辨率(fe 640x360)进行跟踪?也许使用双摄像头,或者在仅使用后置摄像头的情况下,使用图像矩阵滤镜降低跟踪时的分辨率?谢谢您的回复。

你现在解决这个问题了吗?

linearpi avatar Jun 16 '20 07:06 linearpi