Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Accessories
  3. Image Sensors
  4. M0149 camera refocusing and tuning parameters

M0149 camera refocusing and tuning parameters

Scheduled Pinned Locked Moved Image Sensors
57 Posts 4 Posters 20.0k Views 3 Watching
  • 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

    @Aaky , you should check if any components got knocked off , which are sitting on the flex cable right next to the camera lens holder. If something got knocked loose, maybe you could attempt to replace a component (I could tell you what the component is, if there is a specific one that got knocked off).

    Besides this, I do not have any other suggestions, unfortunately. It may be worth just plugging in another camera into that camera slot on VOXL2 just to make sure the camera port is still works.

    Alex

    A Offline
    A Offline
    Aaky
    Regular
    wrote on last edited by Aaky
    #24

    @Alex-Kushleyev Thanks for the suggestion Alex.
    My doubt is, Can Adhesive like Fevi quick damage the PCB or components over it? I was under impression fevi quick acts as good insulator and wouldn't cause any problems but it seems to be have gone wrong.

    In future if something like this happens, what should be used for sticking the holder back?

    Quick Update: Camera seems to be working but unable to focus it now. I might have to clean the surface of CMOS as well. Any suggestions in this? Current image is extremely out of focused and looks very blurry.

    Alex KushleyevA 1 Reply Last reply
    0
    • A Aaky

      @Alex-Kushleyev Thanks for the suggestion Alex.
      My doubt is, Can Adhesive like Fevi quick damage the PCB or components over it? I was under impression fevi quick acts as good insulator and wouldn't cause any problems but it seems to be have gone wrong.

      In future if something like this happens, what should be used for sticking the holder back?

      Quick Update: Camera seems to be working but unable to focus it now. I might have to clean the surface of CMOS as well. Any suggestions in this? Current image is extremely out of focused and looks very blurry.

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #25

      Hi @Aaky , my guess is that CA-based super glue should not damage pcb components in general (at least in short term). I dont know about this particular glue, but it should be a good insulator. It is probably not officially approved for electronics though 🙂

      My worry about such glue is that its fumes (while drying) could deposit residue or damage the Image sensor surface. Super glue sometimes leaves white residue around application site.

      Maybe this is what happened, you can take a look at the sensor surface..

      I am curious how the lens holder came off - was a lot of force applied to it? I dont think we have had this happen before.

      A 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        Hi @Aaky , my guess is that CA-based super glue should not damage pcb components in general (at least in short term). I dont know about this particular glue, but it should be a good insulator. It is probably not officially approved for electronics though 🙂

        My worry about such glue is that its fumes (while drying) could deposit residue or damage the Image sensor surface. Super glue sometimes leaves white residue around application site.

        Maybe this is what happened, you can take a look at the sensor surface..

        I am curious how the lens holder came off - was a lot of force applied to it? I dont think we have had this happen before.

        A Offline
        A Offline
        Aaky
        Regular
        wrote on last edited by
        #26

        @Alex-Kushleyev While assembling the sensor, it might have got some force onto it since our drone previously had OV7251 mount and this camera is significantly bigger in size.

        How should I clean the sensor surface? Any particular liquid is recommended? I have lens cleaner with me does that work? Link.

        Let me know if its safe to use this over sensor surface and also over lens surface.

        Alex KushleyevA 1 Reply Last reply
        0
        • A Aaky

          @Alex-Kushleyev While assembling the sensor, it might have got some force onto it since our drone previously had OV7251 mount and this camera is significantly bigger in size.

          How should I clean the sensor surface? Any particular liquid is recommended? I have lens cleaner with me does that work? Link.

          Let me know if its safe to use this over sensor surface and also over lens surface.

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by
          #27

          @Aaky , I am not sure about that, i can check, but it should be a cleaning solution approved for cleaning camera sensors.

          A 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @Aaky , I am not sure about that, i can check, but it should be a cleaning solution approved for cleaning camera sensors.

            A Offline
            A Offline
            Aaky
            Regular
            wrote on last edited by Aaky
            #28

            @Alex-Kushleyev Thanks Alex. I managed to cleanup the lens and also is in the process of focusing the camera. Please look at below image. Is this ideal focus or can be done better? The checker board was 2.5 - 3 meters away from camera in this scenario.
            hires_debug_1711613806.png

            A 1 Reply Last reply
            0
            • A Aaky

              @Alex-Kushleyev Thanks Alex. I managed to cleanup the lens and also is in the process of focusing the camera. Please look at below image. Is this ideal focus or can be done better? The checker board was 2.5 - 3 meters away from camera in this scenario.
              hires_debug_1711613806.png

              A Offline
              A Offline
              Aaky
              Regular
              wrote on last edited by Aaky
              #29

              @Alex-Kushleyev One more problem which I am facing is, with above shown focus I am trying to perform camera calibration but it is always failing. On the same checker board I did calibration of new OV7251 and it worked well providing reprojection error of 0.34 at the best. With AR0144 I am always getting reprojection error of around 0.6 to 0.8 and never going below 0.5. Can this also be somehow related to focus or the repair which I did manually?

              Please let me know your thoughts on both these queries.

              Alex KushleyevA 1 Reply Last reply
              0
              • A Aaky

                @Alex-Kushleyev One more problem which I am facing is, with above shown focus I am trying to perform camera calibration but it is always failing. On the same checker board I did calibration of new OV7251 and it worked well providing reprojection error of 0.34 at the best. With AR0144 I am always getting reprojection error of around 0.6 to 0.8 and never going below 0.5. Can this also be somehow related to focus or the repair which I did manually?

                Please let me know your thoughts on both these queries.

                Alex KushleyevA Offline
                Alex KushleyevA Offline
                Alex Kushleyev
                ModalAI Team
                wrote on last edited by
                #30

                @Aaky ,

                I think the focus looks ok.

                Keep in mind AR0144 has 2x resolution and reprojection error is reported in pixels, so 2x larger reprojection error for AR0144 roughly represents the same error as ov7251 in terms of angle that each pixel represents.

                I will double check with the team what reprojection error is expected on AR0144

                By the way, how did you resolve the issue of camera not being detected?

                A 1 Reply Last reply
                0
                • Alex KushleyevA Alex Kushleyev

                  @Aaky ,

                  I think the focus looks ok.

                  Keep in mind AR0144 has 2x resolution and reprojection error is reported in pixels, so 2x larger reprojection error for AR0144 roughly represents the same error as ov7251 in terms of angle that each pixel represents.

                  I will double check with the team what reprojection error is expected on AR0144

                  By the way, how did you resolve the issue of camera not being detected?

                  A Offline
                  A Offline
                  Aaky
                  Regular
                  wrote on last edited by Aaky
                  #31

                  @Alex-Kushleyev Yes I will be waiting for your input on reprojection error on AR0144.

                  Camera was not detecting maybe because the glue which I used was wet yesterday night. In the morning, probably after 10 hours when I checked camera was working normally. This might be only due to glue got enough time to dry off.

                  Also just FYI, I remember first time when I got AR0144 and I performed calibration I did get reprojection error below 0.5.

                  Alex KushleyevA 1 Reply Last reply
                  0
                  • A Aaky

                    @Alex-Kushleyev Yes I will be waiting for your input on reprojection error on AR0144.

                    Camera was not detecting maybe because the glue which I used was wet yesterday night. In the morning, probably after 10 hours when I checked camera was working normally. This might be only due to glue got enough time to dry off.

                    Also just FYI, I remember first time when I got AR0144 and I performed calibration I did get reprojection error below 0.5.

                    Alex KushleyevA Offline
                    Alex KushleyevA Offline
                    Alex Kushleyev
                    ModalAI Team
                    wrote on last edited by
                    #32

                    @Aaky , our team provided feedback that typically we get around 0.6 pixel reprojection error when calibrating AR0144, so this is consistent with your results. At least, it seems that your camera is not performing worse than expected. We do see higher variance in reprojection error when calibrated multiple times (compared to ov7251). This could be due to the convergence criteria of the calibration procedure - we did not do a thorough investigation.

                    A 1 Reply Last reply
                    0
                    • Alex KushleyevA Alex Kushleyev

                      @Aaky , our team provided feedback that typically we get around 0.6 pixel reprojection error when calibrating AR0144, so this is consistent with your results. At least, it seems that your camera is not performing worse than expected. We do see higher variance in reprojection error when calibrated multiple times (compared to ov7251). This could be due to the convergence criteria of the calibration procedure - we did not do a thorough investigation.

                      A Offline
                      A Offline
                      Aaky
                      Regular
                      wrote on last edited by Aaky
                      #33

                      @Alex-Kushleyev Okay. Thanks for the feedback. In that case should I increase the reprojection criteria in voxl-camera-calibration package and save the calibration below 0.6 reprojection? Any other suggestions are welcome. I will perform handheld qvio tests also with this calibration. Any specific error I should be looking for in qvio? Like BAD_CAM_CAL?

                      Alex KushleyevA 1 Reply Last reply
                      0
                      • A Aaky

                        @Alex-Kushleyev Okay. Thanks for the feedback. In that case should I increase the reprojection criteria in voxl-camera-calibration package and save the calibration below 0.6 reprojection? Any other suggestions are welcome. I will perform handheld qvio tests also with this calibration. Any specific error I should be looking for in qvio? Like BAD_CAM_CAL?

                        Alex KushleyevA Offline
                        Alex KushleyevA Offline
                        Alex Kushleyev
                        ModalAI Team
                        wrote on last edited by Alex Kushleyev
                        #34

                        @Aaky , yes you can adjust the threshold, since the threshold was tuned for ov7251. Reprojection error of 0.5 or 0.6 is not going to matter too much.

                        QVIO will complain about BAD_CAM_CAL if the calibration is REALLY bad, so it probably wont be the case here.

                        The ultimate metric of QVIO is drift vs distance traveled (and stability), in good feature rich environments it could get as low as few % drift over distance.

                        A 1 Reply Last reply
                        0
                        • Alex KushleyevA Alex Kushleyev

                          @Aaky , yes you can adjust the threshold, since the threshold was tuned for ov7251. Reprojection error of 0.5 or 0.6 is not going to matter too much.

                          QVIO will complain about BAD_CAM_CAL if the calibration is REALLY bad, so it probably wont be the case here.

                          The ultimate metric of QVIO is drift vs distance traveled (and stability), in good feature rich environments it could get as low as few % drift over distance.

                          A Offline
                          A Offline
                          Aaky
                          Regular
                          wrote on last edited by Aaky
                          #35

                          @Alex-Kushleyev Thanks for your feedback Alex. I got re-projection error of 0.51 on AR0144 and now I have started to test QVIO in indoors. On few instances I got BAD_CAM_CAL while testing handheld. My MSV was around 70 and extrinsic is caliberated correctly as per my UAV's IMU and camera positions. Please look at below image. I didnt got any error other then BAD_CAM_CAL (ofcourse discounting IMU and vibration errors)

                          As a observation I didnt see odometry drift in QVIO while I roam around and came back to same origin where my odometry said same x,y and z axis to be almost 0.

                          00467.png

                          Even if Quality in above image looks fine, there are good enough points for tracking still why does QVIO report BAD_CAM_CAL? I am aware QVIO is blackbox for everyone but just wanted your analysis.

                          Also on a very seperate note, I read somewhere on forum there is some work happening on dual camera support for QVIO? Can you provide me any early stage update on same? Even how is the software architecture for dual QVIO instance and fusion?

                          Alex KushleyevA 1 Reply Last reply
                          0
                          • A Aaky

                            @Alex-Kushleyev Thanks for your feedback Alex. I got re-projection error of 0.51 on AR0144 and now I have started to test QVIO in indoors. On few instances I got BAD_CAM_CAL while testing handheld. My MSV was around 70 and extrinsic is caliberated correctly as per my UAV's IMU and camera positions. Please look at below image. I didnt got any error other then BAD_CAM_CAL (ofcourse discounting IMU and vibration errors)

                            As a observation I didnt see odometry drift in QVIO while I roam around and came back to same origin where my odometry said same x,y and z axis to be almost 0.

                            00467.png

                            Even if Quality in above image looks fine, there are good enough points for tracking still why does QVIO report BAD_CAM_CAL? I am aware QVIO is blackbox for everyone but just wanted your analysis.

                            Also on a very seperate note, I read somewhere on forum there is some work happening on dual camera support for QVIO? Can you provide me any early stage update on same? Even how is the software architecture for dual QVIO instance and fusion?

                            Alex KushleyevA Offline
                            Alex KushleyevA Offline
                            Alex Kushleyev
                            ModalAI Team
                            wrote on last edited by
                            #36

                            @Aaky ,

                            I am not sure why QVIO is reporting bad cam cal. Please double check that you entered the camera calibration parameters correctly for QVIO.

                            In your test image, this is actually not a great scenario for VIO because all the points are roughly in the same location and at the same distance. Try to test in a more feature rich environment and see if the bad camera calibration warning is still there.

                            Sometimes it is possible that something else is off and the algorithm "thinks" that it is caused by a bad camera calibration. It is trying to provide a solution within a large state space (many parameters) so it could incorrectly estimate some parameter and think the camera calibration is off.

                            We are not working on a dual QVIO fusion, but we are working on another flavor of VIO algorithm that supports dual cameras.

                            Alex

                            A 1 Reply Last reply
                            0
                            • Alex KushleyevA Alex Kushleyev

                              @Aaky ,

                              I am not sure why QVIO is reporting bad cam cal. Please double check that you entered the camera calibration parameters correctly for QVIO.

                              In your test image, this is actually not a great scenario for VIO because all the points are roughly in the same location and at the same distance. Try to test in a more feature rich environment and see if the bad camera calibration warning is still there.

                              Sometimes it is possible that something else is off and the algorithm "thinks" that it is caused by a bad camera calibration. It is trying to provide a solution within a large state space (many parameters) so it could incorrectly estimate some parameter and think the camera calibration is off.

                              We are not working on a dual QVIO fusion, but we are working on another flavor of VIO algorithm that supports dual cameras.

                              Alex

                              A Offline
                              A Offline
                              Aaky
                              Regular
                              wrote on last edited by
                              #37

                              @Alex-Kushleyev Thanks Alex. Will test this further. Any update over shading correction for corners of AR0144 camera stream as we discussed previously?

                              Alex KushleyevA 1 Reply Last reply
                              0
                              • A Aaky

                                @Alex-Kushleyev Thanks Alex. Will test this further. Any update over shading correction for corners of AR0144 camera stream as we discussed previously?

                                Alex KushleyevA Offline
                                Alex KushleyevA Offline
                                Alex Kushleyev
                                ModalAI Team
                                wrote on last edited by
                                #38

                                @Aaky ,

                                Sorry, there is no update just yet. it is in the queue to experiment with, but we are testing with AR0144 with the same lens shading issues and it seems the performance is good. It could potentially be better with the shading corrected, but it is not a blocking issues at this point, as we understand. Just to be realistic, I would estimate at least a few weeks before I would have something to test for this feature.

                                Alex

                                A 1 Reply Last reply
                                0
                                • Alex KushleyevA Alex Kushleyev

                                  @Aaky ,

                                  Sorry, there is no update just yet. it is in the queue to experiment with, but we are testing with AR0144 with the same lens shading issues and it seems the performance is good. It could potentially be better with the shading corrected, but it is not a blocking issues at this point, as we understand. Just to be realistic, I would estimate at least a few weeks before I would have something to test for this feature.

                                  Alex

                                  A Offline
                                  A Offline
                                  Aaky
                                  Regular
                                  wrote on last edited by
                                  #39

                                  @Alex-Kushleyev Thanks for the update. Can you provide me with camera parameters of AR0144 with which you got better results? In my tests I am getting good results in indoors but it fails in outdoors (imagine flat grass land) where in both cases camera is looking 35 degree downwards from horizon and ideally should be able to get some features. My camera reporjection error came out to be 0.51. If you can share any test bench data and parameters with which you tested QVIO with AR0144 will act as good reference point for my development.
                                  Thank you!

                                  Alex KushleyevA 1 Reply Last reply
                                  0
                                  • A Aaky

                                    @Alex-Kushleyev Thanks for the update. Can you provide me with camera parameters of AR0144 with which you got better results? In my tests I am getting good results in indoors but it fails in outdoors (imagine flat grass land) where in both cases camera is looking 35 degree downwards from horizon and ideally should be able to get some features. My camera reporjection error came out to be 0.51. If you can share any test bench data and parameters with which you tested QVIO with AR0144 will act as good reference point for my development.
                                    Thank you!

                                    Alex KushleyevA Offline
                                    Alex KushleyevA Offline
                                    Alex Kushleyev
                                    ModalAI Team
                                    wrote on last edited by
                                    #40

                                    @Aaky , camera calibration parameters are specific to each camera module, so i don't think any other calibration parameters would work for you better than what you have. Does that make sense? Or are you asking about different parameters (please specify).

                                    I will check to see if we can provide reference data sets running QVIO with AR0144

                                    A 1 Reply Last reply
                                    0
                                    • Alex KushleyevA Alex Kushleyev

                                      @Aaky , camera calibration parameters are specific to each camera module, so i don't think any other calibration parameters would work for you better than what you have. Does that make sense? Or are you asking about different parameters (please specify).

                                      I will check to see if we can provide reference data sets running QVIO with AR0144

                                      A Offline
                                      A Offline
                                      Aaky
                                      Regular
                                      wrote on last edited by Aaky
                                      #41

                                      @Alex-Kushleyev Alex actually I am asking for voxl-camera-server related parameters for AR0144 and ofcourse not camera calibration parameters. Along with that, like you mentioned even good test datasets recorded by you would be also beneficial with all camera server parameters and maybe qvio server parameters except intrinsic and extrinsic. Let me know.
                                      Thank you!

                                      1 Reply Last reply
                                      0
                                      • Gary HolmgrenG Offline
                                        Gary HolmgrenG Offline
                                        Gary Holmgren
                                        Regular
                                        wrote on last edited by
                                        #42

                                        having very similar issues to you Aaky, qvio does not like this M0149 camera whatsoever.

                                        Alex KushleyevA 1 Reply Last reply
                                        0
                                        • Gary HolmgrenG Gary Holmgren

                                          having very similar issues to you Aaky, qvio does not like this M0149 camera whatsoever.

                                          Alex KushleyevA Offline
                                          Alex KushleyevA Offline
                                          Alex Kushleyev
                                          ModalAI Team
                                          wrote on last edited by
                                          #43

                                          @Gary-Holmgren , I replied to your new thread, we can discuss your issues there. https://forum.modalai.com/topic/3522/vio-errors-with-new-ar0144-tracking-camera-unstable-flight-crashing

                                          A 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          ModalAI
                                          Categories Recent Tags ModalAI.com Docs
                                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups