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

    Voxl-streamer rotation

    Ask your questions right here!
    5
    20
    1249
    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.
    • Alex KushleyevA
      Alex Kushleyev ModalAI Team @hmlow
      last edited by

      @hmlow , the post you referenced was for VOXL1, unfortunately the camera drivers are not compatible with VOXL2. VOXL2 camera driver does not (yet) have an option to rotate the image on the camera, which is what was being done in the different IMX214 .so drivers.

      Maybe I missed something, but I don't understand why @Zachary-Lowell-0 's suggestion would not work. Do you want to use both : rotated and not rotated images or something like that? If you just want the rotated encoded image, then it seems what Zachary said should work for you.

      Alex

      H 1 Reply Last reply Reply Quote 0
      • H
        hmlow @Alex Kushleyev
        last edited by

        @Alex-Kushleyev

        Is a VOXL2 camera driver with 180deg rotation in the works?
        The alternative for us would be physically modify the structure on our fleet of aircrafts - which is not something i am very keen on.

        With SDK1.0, voxl-camera-server sends OMX pre-encoded H265 streams to voxl-streamer. The encoding done by voxl-camera-server is way more efficient (keeps the VOXL2 nice and cool) than the encoding done by voxl-streamer in SDK0.9.5. @Zachary-Lowell-0 explained that pre-encoded streams cannot be rotated by voxl-streamer, which i have verified as well.

        H 1 Reply Last reply Reply Quote 0
        • H
          hmlow @hmlow
          last edited by

          @Alex-Kushleyev appreciate your help with the drivers pls

          Alex KushleyevA 1 Reply Last reply Reply Quote 0
          • Alex KushleyevA
            Alex Kushleyev ModalAI Team @hmlow
            last edited by

            @hmlow we are not yet working on a rotated version of the driver, although that could be a good option. I am checking if we can enable rotating in the ISP, which would also be very efficient..

            H 2 Replies Last reply Reply Quote 0
            • H
              hmlow @Alex Kushleyev
              last edited by

              @Alex-Kushleyev thank you very much for the help.
              looking forward

              1 Reply Last reply Reply Quote 0
              • H
                hmlow @Alex Kushleyev
                last edited by

                @Alex-Kushleyev any luck with this?

                Alex KushleyevA 1 Reply Last reply Reply Quote 0
                • Alex KushleyevA
                  Alex Kushleyev ModalAI Team @hmlow
                  last edited by

                  @hmlow , one of our developers is out until Monday, so I will discuss then and get back to you. Sorry about the delay! @modaltb

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hmlow @Alex Kushleyev
                    last edited by

                    @Alex-Kushleyev
                    any good news?

                    Alex KushleyevA ? 2 Replies Last reply Reply Quote 0
                    • Alex KushleyevA
                      Alex Kushleyev ModalAI Team @hmlow
                      last edited by

                      @hmlow , we built and tested the rotated camera driver, just need to see how quickly we can get it to you.. hang on!

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @hmlow
                        last edited by

                        @hmlow Please use the following procedure to enable driver-level image rotation for the imx214:

                        1. Download the file com.qti.sensor.imx214_flip.so and place it in /usr/lib/camera on VOXL2
                        2. Download the file com.qti.sensormodule.imx214_flip_3.bin and place it in /usr/lib/camera on VOXL2
                        3. Remove the file /usr/lib/camera/com.qti.sensormodule.imx214_3.bin on VOXL2. If this file does not exist on VOXL2, please let me know -- it will require a different procedure.
                        H 1 Reply Last reply Reply Quote 0
                        • H
                          hmlow @Guest
                          last edited by

                          @Ariel-Young it works! thank you very much!

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @hmlow
                            last edited by

                            @hmlow Glad it worked! For future reference, the imx214_flip driver should be available internally from SDK 1.1 (system image 1.7) onwards. Rather than downloading from the above links, after SDK 1.1 is released the procedure will be as follows:

                            1. rm /usr/lib/camera/com.qti.sensormodule.imx214_3.bin
                            2. cp /usr/share/modalai/chi-cdk/imx214-flip/com.qti.sensormodule.imx214_flip_3.bin /usr/lib/camera
                            1 Reply Last reply Reply Quote 1
                            • Alex KushleyevA Alex Kushleyev referenced this topic on
                            • First post
                              Last post
                            Powered by NodeBB | Contributors