-
Notifications
You must be signed in to change notification settings - Fork 478
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
Camera
control
#1281
Comments
Is there perhaps any desktop plugin too? |
Opencv ? |
Have been looking forward to the camera control, do not know when to use. |
Recently, I used Flet to do an information management project, and I wanted to use the mobile phone to open the camera and scan the QR code to obtain information, but it was not possible. |
@Python-Zhao, Hello! Still can't access the camera on your Flet app? |
@goncaze ,Yes, I have been using Python to develop projects, I want to call the camera to achieve scan code query, scan code login, photo recognition, I publish my project as PWA, I use "cap = cv2.VideoCapture(0)" to call the local camera, it can be used on Windows. However, I have been unable to access the camera when using the camera function on the phone. Is there any solution? So I'm just going to learn Dart and then redevelop with Flutter. |
no work to android, just in linux |
Why was the "platform:mobile" label removed? Even, with using cv2 from within the Fet framework there is no way to add a key interrupt to pause or stop the camera once its started, unless the app itself is refreshed which defeats the purpose |
I'm in the same boat as you are. Hoping this would be introduced soon |
Because the Camera control to be implemented is not just mobile specific. It's for all the platforms... |
My use case is mobile phone specific. Just need to press a button to take a picture and store it locally for upload to a server for more processing. |
Please can I create application that is not web app with flet and run it on android |
@ndonkoHenri @FeodorFitsner @monkeycc i made a camera class for my flet app idk if it can help it relies on the open cv2 ` class CameraMaster():
"""
ft.app(target=main) ` |
Yo brothers ans sisters! |
Please Describe The Problem To Be Solved
Web or desktop client
Directly call the camera
(Optional): Suggest A Solution
camera
https://pub.dev/packages/camera
A Flutter plugin for iOS, Android and Web allowing access to the device cameras.
Display live camera preview in a widget.
Snapshots can be captured and saved to a file.
Record video.
Add access to the image stream from Dart.
Working with camera stream:
https://www.youtube.com/watch?v=oqfCCWhNe7s
https://pub.dev/documentation/camera/latest/camera/CameraController/startImageStream.html
The text was updated successfully, but these errors were encountered: