-
Notifications
You must be signed in to change notification settings - Fork 547
Closed
Labels
controlsfeature requestSuggestion/Request for additional featureSuggestion/Request for additional feature
Description
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
jugurtha114, khairm, plugeit, shepard-b, rubgithub and 20 more
Metadata
Metadata
Assignees
Labels
controlsfeature requestSuggestion/Request for additional featureSuggestion/Request for additional feature
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
ndonkoHenri commentedon Apr 13, 2023
Is there perhaps any desktop plugin too?
monkeycc commentedon Apr 14, 2023
Opencv ?
cv2.VideoCapture(0)
goyalyashpal commentedon Jul 22, 2023
[-][Feature request] Flutter camera plugin[/-][+]`Camera` control[/+]Python-Zhao commentedon Dec 8, 2023
Have been looking forward to the camera control, do not know when to use.
Python-Zhao commentedon Dec 8, 2023
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.
goncaze commentedon Jan 9, 2024
@Python-Zhao, Hello! Still can't access the camera on your Flet app?
Python-Zhao commentedon Jan 10, 2024
@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.
9 remaining items
tinyabdu commentedon Apr 14, 2024
Please can I create application that is not web app with flet and run it on android
Camera
control #3354HamaBTW commentedon Aug 2, 2024
@ndonkoHenri @FeodorFitsner @monkeycc
i made a camera class for my flet app idk if it can help it relies on the open cv2
`
from pyzbar import pyzbar
from PIL import Image
import flet as ft
import threading
import base64
import cv2
import io
class CameraMaster():
def init(self, page: ft.Page, camera_img_control : ft.Image | ft.Container, is_a_qr_reader : bool = False, qr_reader_callback : callable = None):
self.page = page
self.camera_img_control = camera_img_control
self.is_a_qr_reader = is_a_qr_reader
self.qr_reader_callback = qr_reader_callback
self.crypto_handler = CryptoHandlerMaster(page)
self.camera_img_control.fit = ft.ImageFit.FILL
"""
def main(page: ft.Page):
ft.app(target=main)
"""
`
b0rygo commentedon Nov 18, 2024
Yo brothers ans sisters!
I have a question, beacause i'm doing my diploma work and it there any solution to run on flet app on ios camera? I did that i can conrol cv2 camera by phone but i want to run it and save the photo on local pc :)
fasilwdr commentedon Feb 12, 2025
@FeodorFitsner @ndonkoHenri
I am looking forward to the release of this Camera control. Could you please provide an expected timeline?
LewyAmendi commentedon Mar 5, 2025
Hello camera is an essential component of mobile development, flet is a well established library for mobile development, why don't they support it? Flet also relies on flutter which supports camera, isn't there a way to make it available in flet too.
Are there any flet developers around that can offer any kind of information on this matter, is there any development going on at the moment, or will there be one soon, when?
patel-jay commentedon Apr 4, 2025
In the Roadmap section of the Flet website, they have mentioned that they will include camera control in Flet 1.0 version which will be released this year.
LewyAmendi commentedon Apr 6, 2025
Thanks for the response.
The current version of flet is 0.27.x dev, version 1.0 seems like a world away but I'll wait.
ndonkoHenri commentedon Jun 13, 2025
Migrating this discussion over here, as it needs to be implemented as an extension.