Beginning Flutter: 42 Camera

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024

Комментарии • 38

  • @AngeloWelihindha
    @AngeloWelihindha 4 года назад +3

    Fantastic tutorial that solved a couple of camera issues for me. Thank you!

  • @damanjeetsingh3801
    @damanjeetsingh3801 3 года назад

    thanks for sharing your knowledge and honestly mentioning what you do and do not know. Unlike many other instructors who confuse their viewers with half baked knowledge. Thanks again. loved your sincerity for the topic.
    Edit: your video led me to complete a task on a very crucial time.. Thanks a bunch
    BTW, to take picture, I used following code and it worked for me:
    final Directory extDir = await getExternalStorageDirectory();
    final String dirPath = "${extDir.path}"; // gives path of app directory in string format
    final String filePath = "$dirPath/image_${timeStamp()}.png" // adding a unique name to the file being saved
    //finally capturing the image
    controller.takePicture(filePath);
    This saves the captured image inside the app directory

  • @sakshamgupta1671
    @sakshamgupta1671 3 года назад

    Hey, cuz I'm trying to implement and use camera it in a particular screen without initializing anything outside of that screen. But, I can't figure out a way to get this CameraDescription list.
    Is there any way I can get cameras (i.e. await availableCameras() ) in any screen and not in the main function?
    A suggestion would be helpful.
    Thanks,
    SG!

  • @StephanCapistrano
    @StephanCapistrano 4 года назад

    Hello. I'm using the Camera plugin and i'm trying to use de ultraHigh resolution (3840x2160), but the max resolution I get is 1920x1080. I'm running the app on Samsung A10S. How do I get a better resolution?

  • @andrewebsites
    @andrewebsites Год назад

    Would it be like using security cameras using intelbras API an example?

  • @firedevelop
    @firedevelop 5 лет назад +1

    thank so much for share your knowledge!

  • @tiktokreels1596
    @tiktokreels1596 5 лет назад

    thank you so much for all your tutorials...very helpful

  • @SEOTADEO
    @SEOTADEO 2 года назад

    Great Tutorial!

  • @mustafaanas5991
    @mustafaanas5991 5 лет назад +2

    any updates on this topic? (inserting a button, capturing images/videos)
    Im trying to build an embedded camera (Just like insta or snapchat)

    • @JacksonWelch
      @JacksonWelch 4 года назад

      you can wrap the camera in a stack and place a button on the bottom.

  • @AhmedMohssen
    @AhmedMohssen 2 года назад +2

    source code Link plz

  • @yasarcanclngr9617
    @yasarcanclngr9617 3 года назад

    Awesome tutorial, thanks

  • @domontowicz
    @domontowicz 3 года назад

    How to record video in background when the screen is locked in Flutter?

  • @leninsambhudat8553
    @leninsambhudat8553 4 года назад

    Having an issue with the camera plugin: The example app works just fine when it's just that code from main.dart
    however, whenever I try to call that same code from another page, either through routing or bottom navigation bar, I get this error:
    The following NoSuchMethodError was thrown building Builder:
    The method '[]' was called on null.
    Receiver: null
    Tried calling: [](0)

    • @amarghemmour1903
      @amarghemmour1903 3 года назад

      did you find a solution ??
      if yes save me

    • @leninsambhudat8553
      @leninsambhudat8553 3 года назад

      @@amarghemmour1903 My solution was not to use a bottom navigation bar. Camera plugin works great without it.

    • @khassen.7
      @khassen.7 3 года назад

      @@amarghemmour1903 If you are using iOS, camera is not supported on the simulator.

  • @ExtremeKnowledges
    @ExtremeKnowledges 3 года назад

    Thanks For Video....

  • @domontowicz
    @domontowicz 3 года назад

    How to make a flutter video surveillance app with video analytics? How to make a free analog of TrackView and IP webcam?

  • @ExtremeKnowledges
    @ExtremeKnowledges 3 года назад

    Can we add live camera filters in flutter and how?

  • @emeanyack
    @emeanyack 5 лет назад +2

    16:23 why don't you use hot reload?

    • @dashtodartlang187
      @dashtodartlang187  5 лет назад +3

      I wasn't thinking. No other reason. Hot reload would be ideal in this situation, and would have saved a few seconds.

  • @effjaful
    @effjaful 4 года назад

    Hi, it is an amazing tutorial. very informative. but it got me wondering, Is there any way that it can be used to perform live videos, like going live on Instagram or Cameo? i'd greatly appreciate the help.

    • @mubasheransari442
      @mubasheransari442 4 года назад

      bro is this applicable for live streaming?

    • @mubasheransari442
      @mubasheransari442 4 года назад

      or did you find the solution how to add a live streaming feature in app?

    • @effjaful
      @effjaful 4 года назад

      @@mubasheransari442 That's what I am also looking for. I can't find better help for live streaming functionality

  • @ronru7749
    @ronru7749 4 года назад

    thanks for the video.

  • @glennmejias3235
    @glennmejias3235 5 лет назад

    how to add flash?

  • @naderkhaled9410
    @naderkhaled9410 5 лет назад +1

    Did you found a Solution for that Camera Stretching ?

    • @dashtodartlang187
      @dashtodartlang187  5 лет назад

      No, but there are a few open bugs filed on this issue. I suspect it should be fixed in a future version. It is still in development.

    • @iamhassii6084
      @iamhassii6084 4 года назад

      @@dashtodartlang187 is there any way that camera preview inside a Container

    • @guillaumehuardhughes
      @guillaumehuardhughes 4 года назад +2

      That could be a part of the solution ;)
      AspectRatio(
      aspectRatio: controller.value.aspectRatio,
      child: CameraPreview(controller)
      )

    • @yasarcanclngr9617
      @yasarcanclngr9617 3 года назад

      maybe
      final size = MediaQuery.of(context).size;
      final deviceRatio = (size.width) / (size.height/2);
      return AspectRatio(
      aspectRatio: deviceRatio,
      child: CameraPreview(controller),
      );

  • @guillermoguevara7171
    @guillermoguevara7171 2 года назад

    Nice tutorial! Can you please update the source code? it's unavailable

  • @turkidkil
    @turkidkil 5 лет назад

    hi how can upload multiple images to server with php

  • @omzer97
    @omzer97 4 года назад

    This might help you to get takePicture working:
    pub.dev/packages/camera#-example-tab-