Repository navigation
Closed
flutter/packages
#7950Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Implement image camera streams on the web.
Use case
It would be useful to add support for the streaming images with the camera plugin on the web. It would allow developers to implement all kinds of use cases, including computer vision, saving images and much more.
Proposal
Add support for the streaming images with the camera plugin on the web
Example
Here is an example of how to initialize the image stream of a camera controller:
controller = CameraController(cameras[0], ResolutionPreset.medium);
controller.initialize().then((_) {
if (!mounted) {
return;
}
controller.startImageStream((CameraImage availableImage) {
// Process each image here.
});
});
See also
- [camera] document how to use ImageStream #26348 for the ticket about the documentation for this image stream API.
Reacted by braj065, SAGAR SURI, Ipek Guven, chunhunghan, Alonso Rubén Maya Martínez, Kasun Hasanga, airai-ad-117, Khushal Singh Rao and Fredrik Baberg
Reacted by Erick Massa Sprengel, SAGAR SURI, Tessa van der Heijden, chunhunghan and Francesco Iapicca
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Activity
stuartmorgan-g commentedon May 19, 2024
[camera_web] Re: Support for camera stream on web (flutter#7950)