Skip to content

[camera_web] Support camera image streams on the web #92460

Closed
flutter/packages
#7950

Description

@aalex

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

Activity

  1. added
    in triagePresently being triaged by the triage team
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    platform-webWeb applications specifically
    and removed
    in triagePresently being triaged by the triage team
    on Oct 26, 2021
  2. added
    P3Issues that are less important to the Flutter project
    on Oct 28, 2021
  3. stuartmorgan-g commented on May 19, 2024

    @stuartmorgan-g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions