Select Different Camera and Prevent Memory Leaks with CameraView

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 37

  • @jfversluis
    @jfversluis  5 місяців тому

    Another great control is MediaElement, check it out: ua-cam.com/video/_sp4RG0I0x4/v-deo.html

  • @Ojhojojo
    @Ojhojojo 4 місяці тому +2

    thanks for the awesome video. Do you have maui tutorial on using nfc?

    • @jfversluis
      @jfversluis  4 місяці тому +2

      Not yet! I’ve looked into it at some point but never recorded it… I guess it’s about time!

  • @FredericRoussey
    @FredericRoussey 5 місяців тому +3

    It should be nice to have a sample of how to analyse or modify (opencv....) images in the stream of the camera

  • @КристиСтынкэ
    @КристиСтынкэ 5 місяців тому

    Great Video! Wanted to ask how to remove the black lines on the left and right of the CameraView?

    • @jfversluis
      @jfversluis  5 місяців тому

      I haven’t seen that? Maybe select a different resolution?

  • @shrinathhirugade9691
    @shrinathhirugade9691 3 місяці тому

    Love you gerald❤❤

  • @htrixkod3624
    @htrixkod3624 4 місяці тому +1

    Great video! Please Tell me how to connect a USB camera to an Android devices? On Windows camera Provider.Available Cameras sees a USB camera, on Android it sees only the front and back cameras. Thank you.

  • @ripdamansingh6262
    @ripdamansingh6262 2 місяці тому

    Can I get every frame detail during the video recording?

  • @tanakamawere
    @tanakamawere 5 місяців тому

    I live for the stalling and talking Gerald does while waiting for MAUI to build😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂. Love you Gerald!

    • @jfversluis
      @jfversluis  5 місяців тому

      Not me hoping no one would notice 👀

  • @paulvangeenen
    @paulvangeenen 2 місяці тому

    Can you make a button and by clicking it a picture is being made at the highest resolution and written to a file?

    • @jfversluis
      @jfversluis  2 місяці тому

      I would think so!

    • @paulvangeenen
      @paulvangeenen 2 місяці тому

      @@jfversluis
      using (var stream = e.Media)
      {
      // Create the file
      using (var fileStream = File.Create(@"c:\temp\test.jpg"))
      {
      // Copy the stream to the file
      stream.CopyTo(fileStream);
      }
      }
      writes an image of the stream which is not at the highest resolution. Making a picture should be a thing on its own.

    • @paulvangeenen
      @paulvangeenen 2 місяці тому

      @@jfversluis
      using (var stream = e.Media)
      {
      // Create the file
      using (var fileStream = File.Create(@"c:\temp\test.jpg"))
      {
      // Copy the stream to the file
      stream.CopyTo(fileStream);
      }
      }
      This writes a snapshot of the stream to a file.
      This is surely not the highest resolution.
      So how can I make a picture@ the highest resolution and write it to a file?

    • @paulvangeenen
      @paulvangeenen 2 місяці тому

      @@jfversluis I can use the mediapicker which looks great and works great on Android but on Windows: in that popup it looks very ugly.

  • @toadman5184
    @toadman5184 5 місяців тому

    Is it possible to use this in Blazor MAUI?

    • @jfversluis
      @jfversluis  5 місяців тому +1

      Absolutely!
      3 Ways Combine .NET MAUI and .NET MAUI Blazor Hybrid
      ua-cam.com/video/2dllz4NZC0I/v-deo.html

  • @유재만-o4r
    @유재만-o4r 4 місяці тому

    I want to use AI-related features with MAUI.
    Please make a video related to this field.

  • @ahmed-pr8md
    @ahmed-pr8md 5 місяців тому

    hi sir can you help me i can't type dot . in arabic android emulator it showing nothing how can i solve this? i'm trying to build app to calculate two number with maui i'm using two entry box with Numerical keyboard when i'm using english android language it work when im using arabic android language i cant using dot .

  • @PierreH1968
    @PierreH1968 5 місяців тому

    Is there a way to use 2 cameras at the same time (also called director's view) ?

    • @jfversluis
      @jfversluis  5 місяців тому

      I don’t think so simply because it’s not supported by the hardware?

    • @PierreH1968
      @PierreH1968 5 місяців тому

      @@jfversluis I have seen it on Android and iPhone, in my Samsung fold it's called director's view and I have seen apps on iPhone doing it too. using concurrent streaming.

    • @PierreH1968
      @PierreH1968 5 місяців тому

      It has been available on iPhone since 2019 and introduced by Nokia in 2017 and later by Samsung, but you might be right, the API might have restricted it since newer phones have so many cameras playing together (in the back in particular)

    • @jfversluis
      @jfversluis  5 місяців тому +1

      Oooh interesting! I guess you could add 2 CameraView controls and select a different camera for each to try

  • @PiwiLoco
    @PiwiLoco 12 днів тому

    Its there QR code reader?

    • @jfversluis
      @jfversluis  12 днів тому

      I have a couple of videos on this channel for a few different ones

  • @simonmardine6414
    @simonmardine6414 5 місяців тому

    Nice catch on the MainPage constructor 😂

    • @jfversluis
      @jfversluis  5 місяців тому +3

      Haha yeah luckily I knew immediately what was going on! And decided to leave it in so you now will know too!

  • @ademineshat
    @ademineshat 5 місяців тому

    Since you asked 😊 It's definitely time to build a small app with nvvm.

    • @jfversluis
      @jfversluis  5 місяців тому +1

      What are you building?

    • @ademineshat
      @ademineshat 5 місяців тому

      @@jfversluis I mean you not me 😀
      I have some side projects. But I want to see something you do and how you do it 😊

    • @jfversluis
      @jfversluis  5 місяців тому +1

      @@ademineshat oooh gotcha! Haha sorry! So an intro with mvvm?

  • @simonmardine6414
    @simonmardine6414 5 місяців тому