artoolkitx
artoolkitx copied to clipboard
Camera resolution in Android (Low res for marker, and high for the video)
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.
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.
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.
是否可以以全分辨率(例如1080p)显示视频流,但使用更低分辨率(fe 640x360)进行跟踪?也许使用双摄像头,或者在仅使用后置摄像头的情况下,使用图像矩阵滤镜降低跟踪时的分辨率?谢谢您的回复。
你现在解决这个问题了吗?