Back to Flet

flet-camera

sdk/python/packages/flet-camera/README.md

0.85.0.dev21.7 KB
Original Source

flet-camera

A camera control for Flet apps.

It is powered by the camera Flutter package.

Documentation

Detailed documentation for this package can be found here.

Platform Support

PlatformiOSAndroidWebWindowsmacOSLinux
Supported

Usage

Installation

To install the flet-camera package and add it to your project dependencies:

  • Using uv:

    bash
    uv add flet-camera
    
  • Using pip:

    bash
    pip install flet-camera
    

    After this, you will have to manually add this package to your requirements.txt or pyproject.toml.

Permissions

Camera access requires runtime permissions on mobile and desktop platforms. Use the flet-permission-handler package to request camera and microphone permissions before initializing the control.