Is there any solution to take picture using the laptop camera with Flutter desktop (on Windows)? I don't want to use go-flutter.
Asked
Active
Viewed 1,795 times
6
-
1Did you figure this out? – Huzaifa Asif Jan 11 '21 at 07:16
-
Any updates on this thread? Thanks. – Alexis Nov 18 '21 at 10:20
-
I managed to open the camera referring to this Git repository, https://github.com/westracer/flutter_native_opencv, but the camera opens up in a new window, also not able to capture the image. Thanks. – Alexis Nov 25 '21 at 14:06
2 Answers
2
You would need to write a plugin that implements it using Windows APIs.
Since the Texture widget isn't supported for Windows yet, you would need to use a separate native window for any live preview UI.

smorgan
- 20,228
- 3
- 47
- 55
-
did you have already write something like that ? like an example on how to communicate between flutter desktop app and a native window. – Nadim Gouia Jan 28 '20 at 10:50
-