Run tag detector with .mp4 video

49 views
Skip to first unread message

Mahroo

unread,
Jan 5, 2023, 3:21:53 PM1/5/23
to tagslam
Hi, thanks for your valuable work. 
I want to run a command similar to this:
roslaunch tagslam sync_and_detect.launch bag:=`rospack find tagslam`/example/example.bag

however, instead of example.bag I have a .mp4 video (colorful) which I converted it to the .bag file by following steps here. When I run the original example I see the information on frames and apriltags, however, when I run the same command with a new .bag file I get nothing. I attached the screenshot of my terminal. 
That would be great if you can help me with this issue. 
Best, 
Mahroo
Capture.PNG

Bernd Pfrommer

unread,
Jan 5, 2023, 6:03:09 PM1/5/23
to tagslam
The issue lies most likely with the launch file you are using to start sync_and_detect.
Please post your launch file, and post the output of

rosbag info name_of_the_bag_file.bag

Mahroo

unread,
Jan 20, 2023, 9:19:09 AM1/20/23
to tagslam
Thanks for your reply, the problem was with the bag file and now it's working as expected. 
Reply all
Reply to author
Forward
0 new messages