ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VOXL2 + Logitech C270 UVC Camera Resolution

    Ask your questions right here!
    3
    14
    788
    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.
    • J
      Jskim
      last edited by

      I am using the recommended UVC camera.
      There is a problem using the UVC camera Logitech C270 in VOXL-2.
      Logitech C270 supports 720p resolution.

      There is no problem if I set it to 640x480.
      If you set it to 1280x720, the UVC server does not work.
      voxl-uvc-server
      {
      "pipe name" : "uvc",
      "width" : 1280,
      "height" : 720,
      "fps" : 30,
      }
      When set to 720p, UVC server appears as Not running.

      UVC server program modification is required.

      Thanks,

      JongSoo, Kim

      Camera Server.jpg Services.jpg

      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @Jskim
        last edited by

        @Jskim What do you see with journalctl -u voxl-uvc-server

        J 1 Reply Last reply Reply Quote 0
        • J
          Jskim @tom
          last edited by

          @tom

          Thank you for the quick reply.
          Sorry for the late reply. It was a holiday season in Korea.

          When executing the journalctl -u voxl-uvc-server command,
          It says that the format size is incorrect.
          Resolution fail_20231011_172059795.jpg

          Thanks

          JS, kim

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @Jskim
            last edited by

            @Jskim If you are using USB 2.0 it probably cannot support that data rate. Please read the UVC tips here: https://docs.modalai.com/voxl-uvc-server/#tips to figure out what width, height, frame rate, and format combinations the camera is advertising as available.

            J 1 Reply Last reply Reply Quote 0
            • J
              Jskim @Eric Katzfey
              last edited by

              @Eric-Katzfey

              Hi Eric,

              1. Is there a way to support H.265 when using a UVC camera in VOXL 2?
              2. The same symptom occurs even when using the USB3 port. Please tell me how to increase the UVC camera resolution?
              1. Existing 640x480 to 1024x768 or 1280x720
              2. Camera manufacturer Logitech C270, YUY2

              Thanks,

              Eric KatzfeyE 2 Replies Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @Jskim
                last edited by

                @Jskim You would need to modify the voxl-uvc-server code to support h265 format. It doesn't currently support that.

                1 Reply Last reply Reply Quote 0
                • Eric KatzfeyE
                  Eric Katzfey ModalAI Team @Jskim
                  last edited by

                  @Jskim What is the output of lsusb -v -d 046d:0825 when you attach the camera to USB 3.0?

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jskim @Eric Katzfey
                    last edited by

                    @Eric-Katzfey

                    It's too long, so I'm only attaching the front part.C270 CAM_01.PNG C270 CAM_02.PNG C270 CAM_03.PNG

                    Thanks,
                    Kim

                    Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @Jskim
                      last edited by

                      @Jskim The information you need is in the part you cut out. It will tell you all of the formats it supports. But since it is only USB 2.0 you are not going to get the higher resolutions without compression. USB 2.0 just doesn't have the bandwidth for it.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jskim @Eric Katzfey
                        last edited by

                        @Eric-Katzfey

                        This is the result of our test using VOXL 2 USB3.0 / UART Expansion Adapter.
                        The symptom is the same even when using USB2.0 and USB3.0.

                        Thanks,
                        Kim.

                        Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                        • Eric KatzfeyE
                          Eric Katzfey ModalAI Team @Jskim
                          last edited by

                          @Jskim You need to look at that output of lsusb to see what formats it is supporting. I don't think the C270 is capable of USB 3.0. So those higher resolutions will only be available with compression. voxl-uvc-server does not support the compressed formats at this time.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jskim @Eric Katzfey
                            last edited by

                            @Eric-Katzfey Thanks for the reply. I'll try it with a different camera and let you know the results.

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jskim @Jskim
                              last edited by

                              @Jskim
                              Please tell me how to change the UVC camera format.
                              It is currently set to YUY2.
                              I want to change it to MJPG. The reason is to increase the resolution.

                              [Refer to DOCS contents on website]
                              The Arducam B0229 is an excellent choice:
                              Field of View (FOV)D=105°, H= 90°, V= 65°
                              Supports MJPG 15fps@ 3264x2448, 30fps@1080P, and YUY2 30fps@ 640x480 formats.

                              Thanks,
                              KIm,

                              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                              • Eric KatzfeyE
                                Eric Katzfey ModalAI Team @Jskim
                                last edited by

                                @Jskim voxl-uvc-server doesn't support that format. You would have to modify the code to add that feature.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Powered by NodeBB | Contributors