How can I use external USB camera in a flutter app?
Asked Answered
M

1

7

I'm building an android app with flutter and I want to get access to an external camera in order to take pictures.

I'm currently using the camera plugin. So when I call the availableCameras() method, the returned list does not contain the USB camera (that according to what I read it's supposed to have CameraLensDirection equal to external).

Having that said I've also found that there's an open issue referring to the problem that flutter can't access to external USB cameras.

Is there a workaround for this issue without re-writing the whole application using android platform?

Mozza answered 12/12, 2019 at 4:13 Comment(3)
Did u get anything new about this issue ?Bryantbryanty
Have you found a solution?Robert
Not yet. If you have.please tell me.Bryantbryanty
S
0

This is a new package usb_device 0.0.3 but I haven't yet tested it.

This version supports only web platform.

Sherrisherrie answered 1/8, 2021 at 22:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.