Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the camera to UVCcamera for recognition? #89

Open
chenxiwei1010 opened this issue Jul 16, 2023 · 4 comments
Open

How to change the camera to UVCcamera for recognition? #89

chenxiwei1010 opened this issue Jul 16, 2023 · 4 comments

Comments

@chenxiwei1010
Copy link

chenxiwei1010 commented Jul 16, 2023

How to use artoolkitX to call UVCcamera as a camera in Unity? How to change the camera to UVCcamera for recognition?UVCcamera is for use on Android systems.

@philip-lamb
Copy link
Member

What platform? If on Windows or Mac, you can select the preferred camera from the drop-down on the ARXVideoConfig component.

@chenxiwei1010
Copy link
Author

chenxiwei1010 commented Jul 17, 2023

Thank you for your reply.
I am developing on the Windows platform and the software is running on the Android platform. The UVC camera is also being used on the Android platform.
I tried all the options on the ARXVideoConfig component.The issue is that the software displays that there is no camera connected when running.There is only one camera in the hardware.
image

@philip-lamb
Copy link
Member

This document https://source.android.com/docs/core/camera/external-usb-cameras indicates that UVC cameras should be accessible to the camera2 API (and therefore supported by the NDK camera API) provided that the Android build has had the flags enabled for external camera access. Can you give any more details about the version of Android in use and/or the hardware platform?

@philip-lamb
Copy link
Member

See also discussion by some users on some devices that do not support UVC cameras natively here: https://stackoverflow.com/a/68120774/316487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants