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

    VOXL2 NOT DETECTING APRIL TAG

    AprilTag Relocalization
    2
    5
    89
    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.
    • T
      taiwohazeez
      last edited by

      Hello support,
      I have an issue detecting apriltags with my voxl2 (starling 2), I looked at the documentation online to see how it works.
      I ran voxl-tag-detector, and i got this

      voxl2:/$ voxl-tag-detector
      loading tag-detector config file
      loading apriltag config file
      =================================================================

      detector #0
      enable: 1
      input_pipe: tracking_front
      en_fast_mode: 1
      n_threads: 1
      en_undistortion: 1
      undistort_scale: 0.60
      overlay_name: tracking_tag_overlay
      lens_cal_file: /data/modalai/opencv_tracking_intrinsics.yml
      skip_n_frames: 5
      detector #1
      enable: 0
      input_pipe: stereo
      en_fast_mode: 1
      n_threads: 1
      en_undistortion: 1
      undistort_scale: 0.90
      overlay_name: stereo_tag_overlay
      lens_cal_file: /data/modalai/opencv_stereo_intrinsics.yml
      skip_n_frames: 5
      detector #2
      enable: 0
      input_pipe: extra
      en_fast_mode: 1
      n_threads: 1
      en_undistortion: 0
      undistort_scale: 1.00
      overlay_name: extra_tag_overlay
      lens_cal_file: /data/modalai/opencv_extra_intrinsics.yml
      skip_n_frames: 5
      =================================================================

      default_size_m: 0.160
      #0:
      id: 0
      name: default_name
      loc_type: unknown
      size_m: 0.400
      T_tag_wrt_fixed: 0.0 0.0 0.0
      R_tag_to_fixed: 0.0 -1.0 0.0
      1.0 0.0 0.0
      0.0 0.0 1.0
      found cam matrix with name 'M' for detector #0
      detector #0 is fisheye
      waiting for cam pipe tracking_front
      detector #0 connected to camera pipe tracking_front
      lens #0: fx:460.04 fy:460.58 cx:666.72 cy:382.58
      lens #0: fxrect:276.02 fyrect:276.35
      .

      Then on another terminal, i ran voxl-inspect-detections -a tag_detections, but i keep getting unknown, can you help with what i might be doing wrong.

      Meanwhile, I have ros2 run voxl_mpa_to_ros2 voxl_mpa_to_ros2_node running.

      KIndly assist @tom @teddy-zaremba
      Thanks,
      Taiwo

      1 Reply Last reply Reply Quote 0
      • Zachary Lowell 0Z
        Zachary Lowell 0 ModalAI Team
        last edited by

        Hi @taiwohazeez - can you paste the output? Usually you get NANS or unknown when the locations.txt file isnt filled out meaning the tag detector service is referencing an empty file. Once you paste the output of voxl-inspect-detections I will be able to give you better guidance.

        Thanks!
        Zach

        T 1 Reply Last reply Reply Quote 0
        • T
          taiwohazeez @Zachary Lowell 0
          last edited by

          @Zachary-Lowell-0 thank you for your response, this is the output,
          Class Name Camera Class Confidence Detection Confidence Frame ID Timestamp(
          unknown nan nan 62 447765889248

          Thanks,
          Taiwo

          1 Reply Last reply Reply Quote 0
          • Zachary Lowell 0Z
            Zachary Lowell 0 ModalAI Team
            last edited by

            Class confidence and detection confidence are pertinent towards voxl tflite server not voxl-tag-detector - are you sure this is the right output?

            T 1 Reply Last reply Reply Quote 0
            • T
              taiwohazeez @Zachary Lowell 0
              last edited by

              @Zachary-Lowell-0 yes, i copied that directly from the terminal after running this command voxl-inspect-detections -a tag_detections.

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