VOXL2 NOT DETECTING APRIL TAG
-
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 thisvoxl2:/$ 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 -
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 -
@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 -
Class confidence and detection confidence are pertinent towards voxl tflite server not voxl-tag-detector - are you sure this is the right output?
-
@Zachary-Lowell-0 yes, i copied that directly from the terminal after running this command voxl-inspect-detections -a tag_detections.