markisus / pytagmapper

Python Mapping library for Fiducial Tags
MIT License
20 stars 2 forks source link

Unable to effectively prevent occlusion #3

Closed zh-csc closed 4 months ago

zh-csc commented 5 months ago

Hello, I am using your project in Inside Out In the tracker file, my occlusion has a significant impact on him. As long as it is occluded, it cannot be detected. I request your help

markisus commented 5 months ago

Can you upload a screen recording of the effect? You can drag and drop a video file into your reply on this issue, or upload to imgur.com.

zh-csc commented 5 months ago

Thank you for your response!https://1drv.ms/b/s!Am34rxOMkDUNejQQ2uN84bgjs10?e=8nrqabhttps://1drv.ms/v/s!Am34rxOMkDUNeRRcAraMjMsMJHs?e=eAgDdf

markisus commented 5 months ago

When I look at your video, it's apparent that the tracker never initializes properly. That's why there are a cluster of tags right in the middle of the screen. image

When working properly, each tag in this cluster moves towards its correct location. Additionally you can tell by the huge tracking error that the program has not successfully figured out where the camera is.

image

Have you checked that the map that was built (try python pytagmapper_tools/show_map.py [the map directory]) matches what you see in real life? Please paste a screenshot.

Also it looks like your setup is 2D, so you should use --mode 2d when you run build_map.py.

markisus commented 5 months ago

@zh-csc Any updates?

zh-csc commented 5 months ago

I'm not sure where my problem lies, but I now suspect it's an initialization issue (referencing your other issue, which was shot with an iPhone, and I suspect the iPhone's lens zooming may result in inaccurate camera parameters). My issue is similar, and I suspect it's a distortion or camera parameter problem. However, even after changing the camera, there hasn't been much improvement.Finally, thank you for your patient replies and assistance. Best wishes!

markisus commented 5 months ago

No problem! In the other issue, the user mentioned some alternative software that ended up working well for him. I encourage you to try that as well.