What determines the external or internal camera?

116 views
Skip to first unread message

김기홍 (Roy)

unread,
Apr 21, 2023, 12:36:24 AM4/21/23
to Android CameraX Discussion Group
Does the Camera Interface (USB, mipi-csi, ...) determine?

Eino-Ville Talvala

unread,
Apr 21, 2023, 1:45:05 PM4/21/23
to 김기홍 (Roy), Android CameraX Discussion Group
We define 'internal' cameras as ones that are permanently attached to the device, and 'external' cameras are disconnectable, such as USB webcams.

The underlying hardware interface isn't relevant - internal cameras can be implemented with a USB bus as well, which is sometimes done for larger form factors and self-contained integrated camera modules.

On Thu, Apr 20, 2023 at 9:36 PM 김기홍 (Roy) <kkh...@alphacode.co.kr> wrote:
Does the Camera Interface (USB, mipi-csi, ...) determine?

--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/b5d88adb-76c2-4dcc-b916-cd7c6a9b4fccn%40android.com.

김기홍 (Roy)

unread,
Apr 26, 2023, 12:10:06 AM4/26/23
to Android CameraX Discussion Group, etal...@google.com, Android CameraX Discussion Group, 김기홍
Is it impossible to switch my USB-WebCam from external to internal device then?

2023년 4월 22일 토요일 오전 2시 45분 5초 UTC+9에 etal...@google.com님이 작성:

Idle Idle

unread,
Jul 10, 2023, 2:20:30 PM7/10/23
to Android CameraX Discussion Group, kkh...@alphacode.co.kr, etal...@google.com, Android CameraX Discussion Group
Does this mean we can use androidx with usb cameras now? Last updates I saw in 2022 on github said this wasn't possible.

tonyt...@google.com

unread,
Jul 12, 2023, 4:59:42 AM7/12/23
to Android CameraX Discussion Group, colto...@protonmail.com, kkh...@alphacode.co.kr, Eino-Ville Talvala, Android CameraX Discussion Group
In practice, whether a camera is external or internal is decided by its characteristic, which is configured by its manufacturer.
Currently it's not recommended to use external cameras with CameraX because it's not fully verified and is subject to unexpected behaviors. However you may use CameraSelector.LENS_FACING_EXTERNAL to select a USB camera with some preconditions:

Idle Idle

unread,
Jul 12, 2023, 11:51:07 AM7/12/23
to Android CameraX Discussion Group, tonyt...@google.com, Idle Idle, kkh...@alphacode.co.kr, etal...@google.com, Android CameraX Discussion Group
Thanks! I will give this a shot today and then if anything I suppose I can just interact with a usb camera directly using typical android apis? (im not actually sure. im starting on a new project next week with a usb camera and I'm trying to prep myself.) 😂
Reply all
Reply to author
Forward
0 new messages