Flutter camera demo

Overview

Flutter Camera Demo

A full-fledged camera app built with Flutter using the camera package. You can even add custom features to this app and customize the user interface to match your app’s design palette.

The app contains most of the basic camera features, including:

  • Capture quality selector
  • Zoom control
  • Exposure control
  • Flash mode selector
  • Button for flipping the camera — rear cam to front cam and vice versa
  • Button for capturing an image
  • Toggle for shifting from image mode to video mode
  • Video mode controls — start, pause, resume, stop
  • Last captured image or video preview
  • Retrieve the image/video files

Packages

The packages that are used to build this app are as follows, add them to your pubspec.yaml file:

  • camera: provides cross-platform APIs for implementing the camera functionalities
  • video_player: for previewing the captured videos
  • path_provider: for storing the images or videos inside a directory from where they can be easily accessed

License

Copyright (c) 2021 Souvik Biswas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You might also like...

Virlow Flutter Recorder - an open-source Flutter application that can transcribe recorded audio

Virlow Flutter Recorder - an open-source Flutter application that can transcribe recorded audio

The Virlow Flutter Recorder is an open-source Flutter application that can transcribe recorded audio, plus it includes TL;DR and Short Hand Notes for your transcription. It also consists of a rich text editor that allows you to edit the transcription plus add any additional notes you require.

Dec 26, 2022

Flutter plugin that can support audio recording and level metering

Flutter plugin that can support audio recording and level metering

flutter_audio_recorder English | 简体中文 Flutter Audio Record Plugin that supports Record Pause Resume Stop and provide access to audio level metering pr

Dec 13, 2022

Flutter plugin for sound. Audio recorder and player.

Flutter plugin for sound. Audio recorder and player.

Flutter Sound user: your documentation is there The CHANGELOG file is here Overview Flutter Sound is a Flutter package allowing you to play and record

Jan 2, 2023

Play simultaneously music/audio from assets/network/file directly from Flutter, compatible with android / ios / web / macos, displays notifications

Play simultaneously music/audio from assets/network/file directly from Flutter, compatible with android / ios / web / macos, displays notifications

🎧 assets_audio_player 🔊 Play music/audio stored in assets files (simultaneously) directly from Flutter (android / ios / web / macos). You can also u

Dec 24, 2022

WebRTC plugin for Flutter Mobile/Desktop/Web

WebRTC plugin for Flutter Mobile/Desktop/Web

Flutter-WebRTC WebRTC plugin for Flutter Mobile/Desktop/Web Sponsored with 💖 by Enterprise Grade APIs for Feeds & Chat. Try the Flutter Chat tutorial

Jan 8, 2023

The video player for Flutter with a heart of gold

chewie The video player for Flutter with a heart of gold. The video_player plugin provides low-level access to video playback. Chewie uses the video_p

Jan 7, 2023

Flutter video trimmer package

Flutter video trimmer package

A Flutter package for trimming videos Features Customizable video trimmer Video playback control Retrieving and storing video file Also, supports conv

Jan 3, 2023

A Flutter plugin to use speech recognition on iOS & Android (Swift/Java)

A Flutter plugin to use speech recognition on iOS & Android (Swift/Java)

speech_recognition A flutter plugin to use the speech recognition iOS10+ / Android 4.1+ Basic Example Sytody, speech to todo app Installation Depend o

Dec 19, 2022
Comments
  • Add all features 🎉

    Add all features 🎉

    Added the following features:

    • Capture quality selector
    • Zoom control
    • Exposure control
    • Flash mode selector
    • Button for flipping the camera — rear cam to front cam and vice versa
    • Button for capturing an image
    • Toggle for shifting from image mode to video mode
    • Video mode controls — start, pause, resume, stop
    • Last captured image or video preview
    • Retrieve the image/video files
    opened by sbis04 0
  • [Question] Does it work with device rotation ?

    [Question] Does it work with device rotation ?

    Tx for this great sample code. I have an issue when i rotate the device. the ratio stays the same and result is not correct. Do you have experience on that issue ?

    opened by fvisticot 1
  • Do not able to save Image in 4:3 aspect ratio

    Do not able to save Image in 4:3 aspect ratio

    IMAGE 2021-10-29 00:16:36 High Resolution

    IMAGE 2021-10-29 00:16:46 Low Resolution

    But here i can't save photo with 4:3 aspect ratio with max resolution

    Flutter version : 2.5.3

    Device - Asus Zenfone Max Pro M1 - Android 11

    opened by nayanbabariya95 0
Owner
Souvik Biswas
Android, iOS & Flutter Developer | C++, Java and Dart Programmer | Technical Writer @Medium & @NevercodeHQ | @udacity Secure and Private AI '19 Scholar
Souvik Biswas
A flutter plugin to handle Android / iOS camera

?? Overview Flutter plugin to add Camera support inside your project. CamerAwesome include a lot of useful features like: ?? Live camera flip ( switch

Apparence.io 511 Jan 5, 2023
Flutter WeChat Camera Picker

Flutter WeChat Camera Picker Language: English | 中文简体 A camera picker which is an extension for wechat_assets_picker. Based on camera for camera funct

null 1 Nov 14, 2021
A plugins pick Image & camera for Flutter

christian_picker_image Flutter plugin that allows you to upload multi image picker on iOS & Android. Getting Started ChristianImagePicker is an all-in

nguyen phuc nguyen 24 Apr 29, 2022
Image Picker Load image from camera and gallery

image_choose A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

MD TAMIM ISLAM KHAN 2 Sep 12, 2022
Demo for flutter-webrtc

flutter-webrtc-demo Flutter WebRTC plugin Demo Online Demo: https://demo.cloudwebrtc.com:8086/ Usage git clone https://github.com/cloudwebrtc/flutter-

Flutter WebRTC 977 Dec 30, 2022
Official Flutter SDK for LiveKit. Easily add real-time video and audio to your Flutter apps.

LiveKit Flutter SDK Official Flutter SDK for LiveKit. Easily add real-time video and audio to your Flutter apps. This package is published to pub.dev

LiveKit 116 Dec 14, 2022
Flutter Music Player - A complete and open source music player designed in flutter.

Flutter Music Player A complete and open source music player designed in flutter. It is first complete music player designed in flutter. This app expl

Nabraj Khadka 3 Aug 20, 2022
Flutter plugin for use Video.js in flutter web

Flutter Video.js player Flutter plugin for use Video.js in flutter web Installation Add it to your package's pubspec.yaml file dependencies: video_j

null 15 Oct 17, 2022
Audio player app in Flutter. Created as a tutorial for learning Flutter.

Music Player: create a simple Flutter music player app This is a Flutter project used during a series of articles on I should go to sleep. License Cop

Michele Volpato 11 May 5, 2022
Flutter radio player mod flutter 2.5

A Flutter plugin to play streaming audio content with background support and lock screen controls.

Ayotunde abdulsalam 1 Mar 14, 2022