🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Stack Camera Streaming

    PROJECTS
    4
    9
    25.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Calin
      last edited by Calin

      Here is a repository with 2 projects on it: https://github.com/botofancalin/ESP32_Camera_System.git

      • A camera software for M5Stack camera
      • A M5Stack software that can recieve the video stream from M5Stack camera and display it on the screen.

      The projects can be compiled using PlatformIO

      The camera stream can be accessed from browser too and can set various settings on it, while running:

      0_1546809980628_Untitled.png

      M 1 Reply Last reply Reply Quote 1
      • C
        Calin
        last edited by

        Added Loboris TFT DMA library.
        This library improve the framerate on M5Stack TFT. Is 30ms faster for each frame.

        The library is activated by macro -DUSE_DMA from platformio.ini

        1 Reply Last reply Reply Quote 0
        • M
          MrJelloFingers @Calin
          last edited by MrJelloFingers

          @calin Do you know if this code will work "M5Camera" or is it only for the "ESP32Cam"? I'm getting these names from this doc : https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera.md

          Edit: Nevermind! It is working with the "M5Camera". I just had to change D0_GPIO_NUM from 17 to 32. It looks like the pins in that link are all messed up...

          For some reason the images I'm getting have a ton of noise. Not sure if it's my camera or what...
          0_1547989330180_Screenshot from 2019-01-20 08-01-38.png

          M C 2 Replies Last reply Reply Quote 0
          • M
            MrJelloFingers @MrJelloFingers
            last edited by

            @mrjellofingers, @Calin Just for comparison, here's an image taken with an ArduCam mini, which also uses an OV2640:

            0_1547990062862_arducam.jpg

            The ArduCam has a lens, but it doesn't seem like that would make a difference as far as the noise I'm getting using the M5Camera...

            This isn't specific to your project, Calin, the noise was showing up with the original firmware and program that the M5Camera came with.

            Anyone have any ideas on how to improve the image quality?

            m5-docsM 1 Reply Last reply Reply Quote 0
            • m5-docsM
              m5-docs @MrJelloFingers
              last edited by

              @mrjellofingers
              Hey, have a try with this code
              https://github.com/m5stack/m5stack-cam-psram

              Be carefull that We have two version M5Cameras(one is A model, another is B).

              M5Stack documentation URL

              https://docs.m5stack.com

              1 Reply Last reply Reply Quote 0
              • C
                Calin @MrJelloFingers
                last edited by Calin

                @mrjellofingers

                That noise is definitely related to your camera hardware or camera settings.
                As you can see on the image from my post, there is no noise on the image with the camera i am using.

                1 Reply Last reply Reply Quote 0
                • M
                  MrJelloFingers
                  last edited by

                  @Calin @m5-docs Thanks all, I guess I just got a bad camera.

                  I tried using a different camera and the image quality is fine using this example: https://github.com/espressif/esp-who/tree/master/examples/single_chip/camera_web_server.

                  I have a "model A" camera and I wasn't able to get the code at https://github.com/m5stack/m5stack-cam-psram to work using the ModeA branch and setting the flag #define M5_CAM_KIND 1.

                  m5-docsM ajb2k3A 2 Replies Last reply Reply Quote 0
                  • m5-docsM
                    m5-docs @MrJelloFingers
                    last edited by

                    @mrjellofingers Is your M5Camera (A Model) not working properly?

                    M5Stack documentation URL

                    https://docs.m5stack.com

                    1 Reply Last reply Reply Quote 0
                    • ajb2k3A
                      ajb2k3 @MrJelloFingers
                      last edited by

                      @mrjellofingers said in M5Stack Camera Streaming:

                      I have a "model A" camera and I wasn't able to get the code at https://github.com/m5stack/m5stack-cam-psram to work using the ModeA branch and setting the flag #define M5_CAM_KIND 1.

                      Can you post a picture of you camera?

                      UIFlow, so easy an adult can learn it!
                      If I don't know it, be patient!
                      I've ether not learned it or am too drunk to remember it!
                      Author of the WIP UIFlow Handbook!
                      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post